:root{--nav:#1a0b34;--nav-selected:#36205c;--primary:#7135d5;--primary-dark:#5b20be;--forest:#17633c;--page:#f5f7fc;--white:#fff;--ink:#182340;--muted:#728099;--border:#e5eaf2;--light:#f3ecff;--red:#bb3e52;--amber:#a26a15;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;font:14px var(--font);color:var(--ink);background:var(--page)}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex:0 0 246px;min-height:100vh;background:var(--nav);color:#fff;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 14px}.brand{display:flex;align-items:center;gap:8px;padding:0 5px 39px}.brand img{width:64px;height:64px;object-fit:contain;border-radius:12px}.brand strong{font-size:25px;letter-spacing:-1px;display:block;white-space:nowrap}.brand strong span{color:#28a95c}.brand small{display:block;letter-spacing:1.4px;font-size:8px;color:#bba9d5;margin-top:3px}.nav{display:flex;flex-direction:column;gap:7px}.nav-link{display:flex;align-items:center;gap:15px;text-align:left;border:0;background:transparent;color:#c7b8dc;min-height:47px;padding:0 13px;border-radius:10px;font-weight:500}.nav-link:hover,.nav-link.active{background:var(--nav-selected);color:#fff}.nav-ico{font-size:21px;line-height:1;width:25px;color:#cbaeff}.nav-link em{margin-left:auto;border-radius:9px;padding:2px 7px;background:#60418b;font-style:normal;font-size:11px}.nav-link i{margin-left:auto;color:#c9b8e2;font-size:9px;font-style:normal}.side-footer{background:#302047;margin-top:auto;border-radius:12px;padding:18px}.side-footer .eyebrow{font-weight:700;color:#d4b9ff;font-size:10px;letter-spacing:1px}.side-footer p{font-weight:600;font-size:12px;margin:12px 0 8px}.side-footer small{font-size:11px;line-height:1.5;color:#c4acdc}.main-wrap{min-width:0;flex:1}.topbar{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 35px;color:var(--muted);border-bottom:1px solid var(--border)}.account{background:var(--page);border-radius:24px;padding:7px 15px;display:flex;align-items:center;gap:12px;color:var(--ink);font-size:13px}.avatar{background:var(--light);color:var(--primary);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-weight:700}.menu-button{display:none;border:none;background:none;font-size:23px;color:var(--ink)}.content{padding:34px;max-width:1600px;margin:auto}.view{display:none}.view.active{display:block}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head h1{margin:0 0 6px;font-size:31px;letter-spacing:-.7px}.page-head p{color:var(--muted);margin:0;font-size:14px}.primary-btn{border:none;border-radius:9px;background:var(--primary);color:#fff;font-size:13px;font-weight:650;padding:13px 20px;white-space:nowrap}.primary-btn:hover{background:var(--primary-dark)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin-bottom:23px}.stat-card{padding:20px;border:1px solid var(--border);border-radius:13px;background:#fff;min-height:122px;display:flex;flex-direction:column}.stat-card small{color:var(--muted);font-size:13px;font-weight:550}.stat-card strong{font-size:29px;margin:5px 0;font-weight:750}.stat-card span{font-size:12px}.green{color:var(--forest)}.amber{color:var(--amber)}.filter-panel{background:#fff;border:1px solid var(--border);border-radius:13px;padding:17px 19px 12px;margin-bottom:20px}.filter-row{display:flex;gap:10px;align-items:center}.search{display:flex;flex:1;min-width:170px;align-items:center;background:var(--page);border-radius:8px;padding:0 12px;height:42px}.search span{font-size:28px;color:var(--muted);margin-right:9px}.search input{background:transparent;border:0;outline:0;width:100%;font-size:13px;color:var(--ink)}.filter-row select{height:42px;padding:0 30px 0 11px;min-width:145px;border:0;background:var(--page);border-radius:8px;color:var(--ink);outline-color:var(--primary)}.secondary-filter{margin-top:14px;justify-content:space-between}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip,.text-button{background:none;border:none;font-size:12px;color:var(--muted);padding:8px 11px;border-radius:8px}.chip.on{background:var(--light);color:var(--primary);font-weight:700}.text-button{font-weight:700;color:var(--primary)}.table-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:960px}th{background:#f5f0fc;font-size:10px;font-weight:700;color:var(--muted);text-align:left;padding:18px 12px;white-space:nowrap}td{font-size:12px;padding:15px 12px;border-bottom:1px solid var(--border);vertical-align:middle}tbody tr:nth-child(even){background:#fafbfe}tbody tr:hover{background:#f9f5ff}.star-col{width:40px;padding-left:17px}.star-btn{border:none;background:none;font-size:23px;color:#aab2c4;padding:0 1px}.star-btn.saved{color:#18834b}.link-button{border:none;background:none;padding:0;color:var(--primary);font-weight:700;text-align:left;font-size:12px}.name-cell{max-width:280px;min-width:170px}.authority-cell{min-width:155px}.price-cell,.date-cell{white-space:nowrap;font-weight:550}.status{display:inline-block;padding:7px 10px;border-radius:6px;font-size:10px;font-weight:750;white-space:nowrap}.status.new{background:#f1eaff;color:var(--primary)}.status.saved{background:#e7f4eb;color:var(--forest)}.status.work{background:#fff2db;color:var(--amber)}.table-footer{display:flex;justify-content:space-between;padding:18px 20px;font-size:12px;color:var(--muted)}.empty{padding:48px 20px;text-align:center;color:var(--muted)}.calendar-panel{border:1px solid var(--border);background:#fff;border-radius:14px;padding:23px;max-width:1190px}.calendar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.month-label{font-size:21px;font-weight:750;text-transform:capitalize}.month-actions{display:flex;gap:5px}.month-actions button{border:1px solid var(--border);border-radius:7px;background:#fff;padding:9px 13px;color:var(--ink);font-weight:600}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays span{text-align:center;font-size:10px;font-weight:750;color:var(--muted);padding:0 0 12px}.calendar-grid{border-top:1px solid var(--border);border-left:1px solid var(--border)}.day{border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:111px;padding:9px 6px;min-width:0;overflow:auto}.day.outside{background:#fafbfe}.day.today{background:#faf6ff}.day-num{font-size:12px;font-weight:650;padding-left:4px}.outside .day-num{color:#adb6c7}.event{display:block;width:100%;border:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;margin-top:7px;padding:6px;border-radius:5px;font-size:10px;font-weight:650;cursor:pointer}.event.deadline{background:#fce9ed;color:var(--red)}.event.clarification{background:#fff2db;color:var(--amber)}.calendar-legend{display:flex;gap:26px;flex-wrap:wrap;margin:22px 3px 14px;font-size:12px;font-weight:600}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}.dot.red{background:var(--red)}.dot.amber-dot{background:var(--amber)}.dot.purple-dot{background:var(--primary)}.calendar-note{background:var(--page);border-radius:8px;padding:14px;color:var(--muted);font-size:12px}.simple-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px;max-width:850px}.simple-panel h2{margin:0 0 10px}.simple-panel p{line-height:1.8;color:var(--muted);margin-bottom:25px}dialog{border:0;border-radius:15px;box-shadow:0 20px 80px #150a2a40;width:min(540px,calc(100% - 32px));padding:28px;color:var(--ink)}dialog::backdrop{background:#120a2888}.dialog-close{float:right;background:none;border:0;font-size:26px;color:var(--muted)}.dialog-meta{display:grid;grid-template-columns:135px 1fr;gap:12px;border-top:1px solid var(--border);padding-top:13px;margin-top:13px;font-size:13px}.dialog-meta dt{color:var(--muted)}.dialog-meta dd{margin:0;overflow-wrap:anywhere}.toast{position:fixed;bottom:24px;right:24px;padding:13px 18px;border-radius:10px;color:#fff;background:var(--nav);box-shadow:0 12px 30px #10052335;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1180px){.content{padding:28px}.stats{gap:12px}.filter-row{flex-wrap:wrap}.search{flex-basis:100%}.filter-row select{flex:1}}@media(max-width:820px){.sidebar{position:fixed;z-index:10;left:-270px;transition:left .2s}.sidebar.open{left:0}.menu-button{display:block}.topbar{padding:0 20px;gap:15px;justify-content:flex-start}.account{margin-left:auto}.content{padding:22px 17px}.page-head{flex-wrap:wrap}.page-head h1{font-size:26px}.stats{grid-template-columns:1fr}.stat-card{min-height:100px}.calendar-panel{padding:10px}.day{height:95px;padding:5px 2px}.weekdays span{font-size:8px}.event{font-size:9px}.calendar-legend{gap:10px}}@media(max-width:510px){.account strong,.topbar>span{display:none}.month-label{font-size:16px}.calendar-top{gap:10px}.month-actions button{padding:7px}.day{height:82px}.event{padding:3px}.secondary-filter{flex-direction:column;align-items:flex-start}}

/* Categorized experience catalog */
.experience-categories{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 15px}
.experience-category-pill{border:1px solid var(--border);border-radius:30px;padding:7px 10px;background:var(--page);color:var(--ink);font:inherit;font-size:11px;cursor:pointer}
.experience-category-pill.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.experience-searchbar{display:flex;gap:8px;margin-bottom:13px;flex-wrap:wrap}
.experience-searchbar input,.experience-searchbar select{border:1px solid var(--border);border-radius:8px;padding:10px;background:var(--page);color:var(--ink);font:inherit;font-size:12px;min-width:0;flex:1 1 180px}
.experience-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.experience-import-label{cursor:pointer;display:inline-flex;align-items:center}
.experience-import-label[hidden]{display:none}
.experience-contract-item .experience-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.experience-tag{font-size:10px;padding:3px 6px;border-radius:5px;background:var(--light);color:var(--primary-dark)}

/* Distinct category navigation and section labels */
.section-eyebrow{display:inline-block;margin-bottom:9px;font-size:10px;letter-spacing:1.3px;font-weight:800;color:var(--forest)}
.nav-link[data-view="adv"] .nav-ico{color:#6ce0a5}
.nav-link[data-view="all"] .nav-ico{color:#cbaeff}
.nav-link[data-view="adv"].active{background:#194d3d;color:#fff}
.nav-link[data-view="adv"].active em{background:#23684d}
.nav-link[data-view="all"].active{background:#36205c}
.nav-link em{white-space:nowrap}
@media(max-width:820px){.section-eyebrow{margin-bottom:7px}}

/* Manual SICAP refresh state */
.primary-btn:disabled{opacity:.65;cursor:wait}

/* Team workspace: authenticated app, accounts, saved-by and claimed-by. */
[hidden]{display:none!important}
body:not(.authenticated) .app-shell{display:none}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:35px 15px;background:linear-gradient(130deg,#170b2e 0%,#291146 55%,#17633c 140%)}
.auth-card{width:min(480px,100%);background:#fff;border-radius:19px;padding:36px;box-shadow:0 25px 75px #03000a55}
.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:28px}
.auth-brand img{width:56px;height:56px;object-fit:contain}
.auth-brand strong{font-size:26px;color:var(--nav);letter-spacing:-1px}
.auth-brand strong span{color:var(--forest)}
.auth-brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted)}
.auth-card h1{font-size:25px;margin:0 0 8px;color:var(--ink)}
.auth-card p{line-height:1.55;color:var(--muted)}
.auth-card form label,.team-form label{display:flex;flex-direction:column;gap:7px;margin-top:17px;color:var(--ink);font-size:12px;font-weight:700}
.auth-card form input,.team-form input{height:44px;border:1px solid var(--border);border-radius:9px;padding:0 12px;outline-color:var(--primary);font-size:14px;color:var(--ink);background:#fff}
.auth-submit{margin-top:24px;width:100%}
.auth-message,.team-message{color:var(--red);min-height:18px;font-size:13px}
.auth-message.ok,.team-message.ok{color:var(--forest)}
.auth-help{padding:12px;background:var(--light);border-radius:9px}
.logout-btn{background:none;border:0;border-left:1px solid var(--border);padding-left:12px;color:var(--primary);font-size:12px;font-weight:700}
.logout-btn:hover{text-decoration:underline}
.shared-cell{min-width:130px;max-width:195px;overflow-wrap:anywhere}
.saved-names{color:var(--forest);font-weight:650;font-size:11px;line-height:1.5}
.owner-name{font-size:11px;color:#723d00}
.owner-cell{min-width:148px}
.owner-action{margin-top:7px}
.muted-label{color:var(--muted);font-size:11px}
.mini-action{border:1px solid #decff9;background:#faf7ff;color:var(--primary);font-weight:650;font-size:10px;border-radius:7px;padding:6px 8px;cursor:pointer;margin:2px 4px 2px 0}
.mini-action:hover{background:var(--light)}
.claim-action{background:#eaf6ef;color:var(--forest);border-color:#b5dec4}
.claim-release{background:#fff6ec;color:var(--amber);border-color:#f3dfbd}
.team-grid{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:20px;align-items:start}
.team-panel{padding:24px;max-width:none}
.team-panel p{font-size:12px}
.team-panel>small{color:var(--muted);line-height:1.6;display:block}
.team-users{min-height:250px}
.team-users table{min-width:700px}
.team-form .primary-btn{margin-top:20px}
@media(max-width:1120px){.team-grid{grid-template-columns:1fr}}
@media(max-width:600px){.auth-card{padding:23px}.account{padding:5px 8px;gap:6px}.logout-btn{padding-left:7px}}

/* Public self-registration entry point */
.auth-switch{text-align:center;margin:15px 0 0;font-size:12px;color:var(--muted)}
.auth-link{padding:3px 5px;background:transparent;border:0;color:var(--primary);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.auth-link:hover{color:var(--primary-dark)}
.team-users td:nth-child(4){font-weight:650}

/* Shared calendar / personal-filtered calendar switch */
.calendar-mode{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.calendar-tab{border:1px solid var(--border);border-radius:10px;padding:10px 16px;background:#fff;color:var(--ink);font-size:12px;font-weight:750;transition:background .15s}
.calendar-tab.active{background:var(--light);border-color:#d0bcf8;color:var(--primary)}
.calendar-tab:hover{border-color:var(--primary)}

/* Licitiq tender decision statuses and scoped comments */
.stage-select{min-width:123px;max-width:135px;border:1px solid #d8c9ee;border-radius:8px;background:#fbf9ff;color:#4b2c76;padding:7px 8px;font-size:11px;font-weight:750;cursor:pointer}
.stage-badge{display:inline-block;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:750;white-space:nowrap;background:#f2f4f8;color:#687487}
.stage-in_progress{background:#f3eaff;color:#6230ad}
.stage-participated{background:#e7f5e9;color:#17633c}
.stage-no_go{background:#fff0ed;color:#aa3e36}
#detailsDialog{width:min(720px,calc(100vw - 30px));max-height:90vh}
.comments-area{border-top:1px solid var(--border);margin-top:22px;padding-top:20px}
.comments-area h3{font-size:17px;margin:0 0 7px;color:var(--ink)}
.comments-explainer{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 16px}
.comments-list{display:flex;flex-direction:column;gap:10px;max-height:315px;overflow-y:auto;padding:4px 2px 12px}
.comment-entry{border:1px solid var(--border);background:#fbfcff;border-radius:11px;padding:12px 13px}
.comment-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.comment-head strong{font-size:12px;color:var(--ink)}
.comment-head time{font-size:10px;color:var(--muted);margin-left:auto}
.comment-visibility{background:#f1eaff;color:#5f319e;border-radius:100px;padding:4px 9px;font-size:10px;font-weight:750}
.comment-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:13px;margin:11px 0 2px;color:var(--ink)}
.comment-empty{font-size:12px;color:var(--muted);padding:14px;background:#f8f9fc;border-radius:9px}
.comment-form{display:flex;flex-direction:column;gap:8px;margin-top:12px;border-top:1px solid var(--border);padding-top:14px}
.comment-form label{font-size:12px;font-weight:750;color:var(--ink)}
.comment-form textarea,.comment-form select{width:100%;background:#fff;border:1px solid var(--border);border-radius:9px;padding:10px 12px;font:inherit;color:var(--ink);resize:vertical}
.comment-form textarea:focus,.comment-form select:focus{outline:2px solid #d4bdf7}
.comment-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:5px}
.comment-form-footer #commentError{color:var(--red);font-size:12px}
.visibility-hint{font-size:11px;color:var(--muted);margin:1px 0 5px}
@media(max-width:600px){.comment-form-footer .primary-btn{width:100%}}

/* Comments indicator: highlight only comments visible to the logged-in account. */
.comment-indicator{transition:background-color .15s,border-color .15s,color .15s;white-space:nowrap}
.comment-indicator-active{background:#eaf6ef!important;color:#17633c!important;border-color:#add8be!important;box-shadow:inset 3px 0 0 #2a8554;font-weight:800}
.comment-indicator-active:hover{background:#d9efe1!important}

/* Licitiq tender table layout — all ten columns fit without clipping. */
#view-all .table-scroll,
#view-saved .table-scroll {
  container-type:inline-size;
  max-width:100%;
  overflow-x:hidden;
}
#view-all .table-scroll > table,
#view-saved .table-scroll > table {
  width:100%;
  min-width:0;
  table-layout:fixed;
}
#view-all table th,
#view-saved table th {
  padding:14px 7px;
  white-space:normal;
  overflow-wrap:anywhere;
  vertical-align:middle;
  line-height:1.35;
  font-size:10px;
}
#view-all table td,
#view-saved table td {
  padding:12px 7px;
  overflow-wrap:anywhere;
  min-width:0;
}
#view-all table th:nth-child(1),#view-saved table th:nth-child(1){width:3.5%}
#view-all table th:nth-child(2),#view-saved table th:nth-child(2){width:8.5%}
#view-all table th:nth-child(3),#view-saved table th:nth-child(3){width:13%}
#view-all table th:nth-child(4),#view-saved table th:nth-child(4){width:17%}
#view-all table th:nth-child(5),#view-saved table th:nth-child(5){width:9.5%}
#view-all table th:nth-child(6),#view-saved table th:nth-child(6){width:11%}
#view-all table th:nth-child(7),#view-saved table th:nth-child(7){width:8%}
#view-all table th:nth-child(8),#view-saved table th:nth-child(8){width:10.5%}
#view-all table th:nth-child(9),#view-saved table th:nth-child(9){width:9.5%}
#view-all table th:nth-child(10),#view-saved table th:nth-child(10){width:9.5%}
#view-all .star-col,#view-saved .star-col {
  padding-left:6px;
  text-align:center;
  width:auto;
}
#view-all .authority-cell,#view-saved .authority-cell,
#view-all .name-cell,#view-saved .name-cell,
#view-all .shared-cell,#view-saved .shared-cell,
#view-all .owner-cell,#view-saved .owner-cell {
  min-width:0;
  max-width:none;
}
#view-all .price-cell,#view-saved .price-cell,
#view-all .date-cell,#view-saved .date-cell {
  white-space:normal;
  overflow-wrap:normal;
  font-size:11px;
}
#view-all .link-button,#view-saved .link-button {
  font-size:11px;
  overflow-wrap:anywhere;
}
#view-all .stage-select,#view-saved .stage-select {
  display:block;
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
  padding:8px 4px;
  font-size:10.5px;
}
#view-all .owner-name,#view-saved .owner-name {
  display:block;
  line-height:1.35;
  overflow-wrap:anywhere;
}
#view-all .owner-action .mini-action,#view-saved .owner-action .mini-action {
  margin:6px 0 0;
  max-width:100%;
  white-space:normal;
}
#view-all .comment-indicator,#view-saved .comment-indicator {
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  padding:7px 3px;
  line-height:1.35;
  overflow-wrap:anywhere;
  white-space:normal;
  text-align:center;
}

/* Narrower workspaces use stacked, fully visible tender rows rather than offscreen cells. */
@container (max-width:990px) {
  #view-all table,#view-saved table {display:block;width:100%;min-width:0}
  #view-all thead,#view-saved thead {display:none}
  #view-all tbody,#view-saved tbody {display:block}
  #view-all tbody tr,#view-saved tbody tr {
    display:grid;
    grid-template-columns:30px minmax(0,1fr) minmax(0,1fr);
    gap:8px 12px;
    padding:13px 15px;
    border-bottom:1px solid var(--border);
  }
  #view-all tbody td,#view-saved tbody td {
    display:block;
    padding:0;
    border:0;
    max-width:none;
    min-width:0;
  }
  #view-all tbody td:nth-child(1),#view-saved tbody td:nth-child(1){grid-column:1;grid-row:1 / span 2;text-align:left}
  #view-all tbody td:nth-child(2),#view-saved tbody td:nth-child(2){grid-column:2;grid-row:1;align-self:center}
  #view-all tbody td:nth-child(3),#view-saved tbody td:nth-child(3){grid-column:2 / 4;grid-row:2;color:var(--muted);font-size:11px}
  #view-all tbody td:nth-child(4),#view-saved tbody td:nth-child(4){grid-column:2 / 4;grid-row:3;font-size:13px;font-weight:600}
  #view-all tbody td:nth-child(5),#view-saved tbody td:nth-child(5){grid-column:2;grid-row:4}
  #view-all tbody td:nth-child(6),#view-saved tbody td:nth-child(6){grid-column:3;grid-row:4}
  #view-all tbody td:nth-child(7),#view-saved tbody td:nth-child(7){grid-column:2;grid-row:5}
  #view-all tbody td:nth-child(8),#view-saved tbody td:nth-child(8){grid-column:3;grid-row:5}
  #view-all tbody td:nth-child(9),#view-saved tbody td:nth-child(9){grid-column:2;grid-row:6}
  #view-all tbody td:nth-child(10),#view-saved tbody td:nth-child(10){grid-column:3;grid-row:6;align-self:center}
  #view-all tbody td:nth-child(5)::before,#view-saved tbody td:nth-child(5)::before{content:"VALOARE"}
  #view-all tbody td:nth-child(6)::before,#view-saved tbody td:nth-child(6)::before{content:"DEPUNERE"}
  #view-all tbody td:nth-child(7)::before,#view-saved tbody td:nth-child(7)::before{content:"SALVAT DE"}
  #view-all tbody td:nth-child(8)::before,#view-saved tbody td:nth-child(8)::before{content:"PRELUAT DE"}
  #view-all tbody td:nth-child(9)::before,#view-saved tbody td:nth-child(9)::before{content:"STATUS"}
  #view-all tbody td:nth-child(10)::before,#view-saved tbody td:nth-child(10)::before{content:"COMENTARII"}
  #view-all tbody td:nth-child(n+5)::before,#view-saved tbody td:nth-child(n+5)::before {
    display:block;
    margin-bottom:5px;
    color:var(--muted);
    font-size:9px;
    font-weight:750;
    letter-spacing:.03em;
  }
  #view-all .stage-select,#view-saved .stage-select{width:100%;max-width:160px}
  #view-all .comment-indicator,#view-saved .comment-indicator{width:100%;max-width:170px}
  #view-all td[colspan],#view-saved td[colspan]{grid-column:1 / -1;grid-row:1}
}

/* Personal tender activity: quick status filters and Excel reporting. */
.saved-action-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.secondary-action-btn{background:#fff;border:1px solid var(--border);border-radius:9px;padding:12px 17px;color:var(--primary);font-size:12px;font-weight:700}
.secondary-action-btn:hover{background:var(--light);border-color:#d8c5f7}
.saved-toolbar{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 16px;margin-bottom:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.saved-toolbar-label{font-size:12px;font-weight:750;color:var(--ink)}
.saved-status-filters{display:flex;flex-wrap:wrap;gap:6px}
.saved-filter-chip{border:1px solid var(--border);background:#fff;padding:9px 12px;border-radius:9px;color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}
.saved-filter-chip:hover{border-color:#d4b9ff;background:#faf7ff}
.saved-filter-chip.active{border-color:#bc9aef;color:var(--primary);background:var(--light)}
.saved-filter-chip[data-saved-status="in_progress"].active{background:#f2eaff;border-color:#d2baf8}
.saved-filter-chip[data-saved-status="participated"].active{background:#e9f7ee;border-color:#b8dfc8;color:var(--forest)}
.saved-filter-chip[data-saved-status="no_go"].active{background:#fff0ed;border-color:#f3c4bc;color:#a33f37}
.saved-filter-count{font-size:10px;color:inherit;opacity:.85;margin-left:4px}
.saved-toolbar-note{font-size:11px;color:var(--muted);margin-left:auto}
@media(max-width:800px){.saved-toolbar-note{width:100%;margin-left:0}.saved-action-buttons{width:100%}}

/* Shared unassigned tender queue — daily registry, responsive cards. */
.unclaimed-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.unclaimed-toolbar label{font-size:11px;color:var(--muted);font-weight:700;display:flex;flex-direction:column;gap:6px}
.unclaimed-toolbar input[type="search"],.unclaimed-toolbar select{height:40px;border:1px solid var(--border);border-radius:8px;padding:0 12px;background:#f8f9fd;color:var(--ink);font-size:12px}
.unclaimed-search-label{flex:1 1 240px;min-width:170px}
.unclaimed-toolbar input[type="search"]{width:100%}
.unclaimed-expired-label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;white-space:nowrap;min-height:40px}
.unclaimed-expired-label input{accent-color:var(--primary)}
.unclaimed-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}
.unclaimed-overview>div{background:#fff;border:1px solid var(--border);border-radius:11px;padding:14px 17px;display:flex;align-items:center;gap:12px}
.unclaimed-overview strong{font-size:23px;color:var(--ink)}
.unclaimed-overview span{font-size:11px;color:var(--muted)}
.unclaimed-explainer{font-size:11px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.unclaimed-groups{display:flex;flex-direction:column;gap:19px}
.unclaimed-day{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.unclaimed-day-head{background:#f5f0fc;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.unclaimed-day-head h2{margin:0 0 3px;font-size:16px;color:var(--ink);text-transform:capitalize}
.unclaimed-day-head span{font-size:10px;color:var(--muted)}
.unclaimed-day-head>strong{background:#fff;border:1px solid #e5d8f5;border-radius:15px;padding:6px 10px;white-space:nowrap;font-size:11px;color:var(--primary)}
.unclaimed-day-list{display:flex;flex-direction:column}
.unclaimed-notice{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(170px,2fr) minmax(130px,1.1fr) minmax(120px,.9fr);align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--border)}
.unclaimed-notice:last-child{border-bottom:0}
.unclaimed-notice:nth-child(even){background:#fafbfe}
.unclaimed-notice:hover{background:#f9f5ff}
.unclaimed-identity{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.unclaimed-type,.unclaimed-expired{font-size:9px;font-weight:750;border-radius:6px;padding:4px 6px}
.unclaimed-type{background:#f0e8ff;color:var(--primary)}
.unclaimed-expired{background:#fce8e9;color:var(--red)}
.unclaimed-description{display:flex;flex-direction:column;gap:6px;min-width:0}
.unclaimed-description strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--ink)}
.unclaimed-description span{font-size:11px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.unclaimed-figures{display:grid;grid-template-columns:1fr;gap:2px;min-width:0}
.unclaimed-cell-label{color:var(--muted);font-size:9px;font-weight:700;margin-top:5px}
.unclaimed-figures strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.unclaimed-figures small{font-size:10px;color:var(--forest);overflow-wrap:anywhere;margin-top:5px}
.unclaimed-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
.unclaimed-actions .mini-action{margin:0;width:100%;max-width:100%;white-space:normal;padding:8px 7px;line-height:1.35}
.unclaimed-empty{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;color:var(--muted);font-size:13px}
@media(max-width:1100px){.unclaimed-notice{grid-template-columns:minmax(105px,.8fr) minmax(160px,2fr) minmax(145px,1.3fr)}.unclaimed-actions{grid-column:1 / -1;flex-direction:row}.unclaimed-actions .mini-action{width:auto;flex:1}}
@media(max-width:700px){.unclaimed-overview{grid-template-columns:1fr 1fr}.unclaimed-overview>div:last-child{grid-column:1 / -1}.unclaimed-toolbar{gap:10px}.unclaimed-toolbar label{flex:1 1 140px}.unclaimed-toolbar .unclaimed-search-label{flex:1 1 100%}.unclaimed-notice{grid-template-columns:1fr 1fr;gap:10px}.unclaimed-identity{grid-column:1 / -1}.unclaimed-description{grid-column:1 / -1}.unclaimed-figures{grid-column:1 / -1;grid-template-columns:1fr 1fr;gap:4px 12px}.unclaimed-actions{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap}.unclaimed-actions .mini-action{flex:1 1 125px}.unclaimed-day-head h2{font-size:14px}}

/* Account invitation and password recovery */
.team-link-box{margin-top:16px;padding:14px;border:1px solid #cdb1ee;border-radius:10px;background:#f8f3ff;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.team-link-box[hidden]{display:none}
.team-link-box strong{color:var(--primary);font-size:13px}
.team-link-box p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.team-link-box input{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--border);border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);font-size:12px}
.team-security-hint{font-size:11px;color:var(--muted);line-height:1.7;margin-top:18px}
.team-users td:last-child{min-width:165px}
.team-users .mini-action{margin:3px;white-space:normal}


/* Sidebar: keep the brand and info visible, scroll the menu independently.
   Works with short desktop windows and the mobile slide-out menu. */
.sidebar {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.sidebar .brand {
  flex: 0 0 auto;
}
.sidebar .nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #8060ad #25143e;
  padding-right: 5px;
  padding-bottom: 12px;
}
.sidebar .nav::-webkit-scrollbar {
  width: 8px;
}
.sidebar .nav::-webkit-scrollbar-track {
  background: #25143e;
  border-radius: 12px;
}
.sidebar .nav::-webkit-scrollbar-thumb {
  background: #8060ad;
  border: 2px solid #25143e;
  border-radius: 12px;
}
.sidebar .nav::-webkit-scrollbar-thumb:hover {
  background: #ab83dc;
}
.sidebar .nav-link {
  flex-shrink: 0;
}
.sidebar .side-footer {
  flex: 0 0 auto;
  margin-top: 12px;
}

/* Inclusive publication date filter for the unclaimed tenders registry. */
.unclaimed-date-range{
  display:flex;
  flex:0 1 auto;
  align-items:end;
  flex-wrap:wrap;
  gap:9px;
  padding:9px 11px;
  border:1px solid #e1d5f5;
  border-radius:10px;
  background:#faf7ff;
}
.unclaimed-toolbar .unclaimed-date-range label{
  min-width:140px;
  flex:1 1 140px;
}
.unclaimed-date-range input[type="date"]{
  display:block;
  width:100%;
  min-width:0;
  height:40px;
  border:1px solid var(--border);
  border-radius:8px;
  padding:0 9px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  color-scheme:light;
  cursor:pointer;
}
.unclaimed-date-range input[type="date"]:focus{
  outline:2px solid #bd9be7;
  outline-offset:1px;
}
.unclaimed-date-range input[type="date"][aria-invalid="true"]{
  border-color:#c95564;
}
.unclaimed-clear-dates{
  min-height:40px;
  padding:8px 10px;
  border:1px solid #dbc7f0;
  border-radius:8px;
  background:#fff;
  color:var(--primary);
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.unclaimed-clear-dates:hover{background:#f0e7ff}
.unclaimed-date-feedback{margin:-8px 0 13px;color:#b33248;font-size:12px}
@media(max-width:750px){
  .unclaimed-date-range{flex:1 1 100%;width:100%}
  .unclaimed-clear-dates{flex:1 1 100%}
}

/* Admin-only role assignment, with room for long names and mobile screens. */
.team-role-select{
  width:100%;
  min-width:120px;
  max-width:170px;
  border:1px solid #cfc0ec;
  background:#f9f5ff;
  color:#4c2c79;
  border-radius:9px;
  padding:9px 8px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.team-role-select:disabled{background:#f3f4f7;color:#8b91a1;cursor:not-allowed}
.role-self-label{color:var(--primary);font-size:12px;font-weight:700}
#createMemberForm select{
  height:44px;
  border:1px solid var(--border);
  border-radius:9px;
  padding:0 12px;
  width:100%;
  color:var(--ink);
  background:#fff;
}


/* Licitiq application shell — workspace-first navigation, not a permanent sidebar. */
body{background:#f7f8fa}
.app-shell{display:block;min-height:100vh}
.main-wrap{width:100%;min-width:0}
.sidebar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  z-index:120!important;
  width:min(312px,calc(100vw - 44px))!important;
  max-width:312px;
  height:100vh;
  height:100dvh;
  transform:translateX(-103%);
  transition:transform .22s ease;
  box-shadow:10px 0 50px rgba(19,9,38,.18);
  border-right:1px solid #40245f;
}
.sidebar.open{transform:translateX(0)}
.sidebar-backdrop{
  position:fixed;
  z-index:115;
  inset:0;
  display:block;
  padding:0;
  border:0;
  background:rgba(13,17,31,.38);
  cursor:default;
}
.sidebar-backdrop[hidden]{display:none!important}
body.drawer-open{overflow:hidden}
.sidebar .brand{padding-bottom:24px;position:relative;padding-right:36px}
.sidebar-close{
  position:absolute;
  right:0;
  top:8px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  background:#ffffff12;
  border:1px solid #ffffff29;
  border-radius:8px;
  color:#fff;
  font-size:24px;
}
.sidebar-close:hover{background:#ffffff20}
.sidebar .nav{padding-top:8px}
.sidebar .nav-link{min-height:44px;border-radius:8px;font-size:13px}
.sidebar .nav-link.active{background:#ffffff1b;box-shadow:inset 3px 0 0 #8bcbaa}
.sidebar .nav-link[data-view="home"] .nav-ico{color:#b5d9c5}
.topbar{
  height:70px;
  padding:0 clamp(18px,3vw,48px);
  border-bottom:1px solid #e5e8ef;
  background:#fff;
  gap:15px;
  justify-content:space-between;
}
.topbar-left{display:flex;align-items:center;gap:17px;min-width:0}
.topbar .menu-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:11px;
  flex:0 0 auto;
  padding:9px 11px;
  min-height:40px;
  color:#28263e;
  background:transparent;
  border:1px solid #e2e4ea;
  border-radius:7px;
  font-size:12px;
  font-weight:650;
  line-height:1;
}
.topbar .menu-button:hover{background:#f4f3f7;border-color:#c8bed6}
.menu-button-icon{display:flex;flex-direction:column;justify-content:center;gap:4px;width:17px}
.menu-button-icon>span{display:block;width:17px;height:2px;border-radius:2px;background:#352b48}
.topbar-divider{height:24px;width:1px;background:#e7e8ec}
.header-home{
  background:transparent;
  border:0;
  padding:3px 0;
  color:#1b1430;
  font-size:20px;
  letter-spacing:-.75px;
  font-weight:820;
}
.header-home span{color:#217949}
.topbar-page{
  display:inline-block;
  max-width:280px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  border-left:1px solid #e7e8ec;
  padding-left:17px;
  font-size:12px;
  color:#647082;
}
.topbar .account{background:transparent;padding:4px 0;font-size:12px}
.topbar .avatar{width:31px;height:31px;background:#efe9f8;color:#6335a4}
.topbar .logout-btn{color:#4f346f}
.content{max-width:1640px;padding:clamp(24px,3.2vw,54px) clamp(20px,3.6vw,58px) 80px}
.view>.page-head h1{font-size:clamp(25px,2.4vw,33px);font-weight:740;letter-spacing:-.9px}
.view>.page-head p{font-size:13px}

/* Home: editorial layout with real operational data, no decorative KPI cards. */
.home-intro{padding:11px 0 28px;border-bottom:1px solid #dfe4e9}
.home-eyebrow{color:#28724f;font-size:10px;font-weight:800;letter-spacing:1.2px;margin:0 0 15px}
.home-eyebrow span{padding:0 8px;color:#b9b6c0}
.home-intro-row{display:flex;align-items:end;justify-content:space-between;gap:22px}
.home-intro h1{font-size:clamp(32px,3.9vw,51px);line-height:1.13;font-weight:760;letter-spacing:-2px;margin:0 0 12px;color:#201b30}
.home-intro-row p{font-size:14px;color:#637082;margin:0;line-height:1.6}
.home-main-link{
  display:inline-flex;
  gap:14px;
  align-items:center;
  background:#211339;
  color:#fff;
  border:1px solid #211339;
  border-radius:7px;
  padding:13px 18px;
  font-size:12px;
  font-weight:680;
  white-space:nowrap;
}
.home-main-link:hover{background:#392151}
.home-main-link span{font-size:18px;line-height:1}
.home-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid #e1e5ea;
  background:#fff;
  margin:30px 0 30px;
  border-radius:9px;
}
.home-overview-item{
  min-width:0;
  padding:25px 25px 23px;
  border-right:1px solid #e5e9ed;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.home-overview-item:last-child{border-right:0}
.home-overview-item>span{font-size:10px;font-weight:750;letter-spacing:.7px;color:#75808e}
.home-overview-item>strong{
  font-size:39px;
  color:#211b30;
  font-weight:730;
  letter-spacing:-1.5px;
  line-height:1.25;
  padding:10px 0 16px;
}
.home-overview-item>button,.home-sheet-heading>button,.home-footnote>button{
  background:none;
  border:0;
  color:#4e3d6b;
  font-size:11px;
  font-weight:700;
  padding:0;
  text-align:left;
}
.home-overview-item>button:hover,.home-sheet-heading>button:hover,.home-footnote>button:hover{text-decoration:underline;text-underline-offset:4px}
.home-overview-item>button span,.home-sheet-heading>button span,.home-footnote>button span{margin-left:7px}
.home-workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.home-sheet{background:#fff;border:1px solid #e1e5ea;border-radius:9px;min-width:0;overflow:hidden}
.home-sheet-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;padding:22px 23px 16px;border-bottom:1px solid #e9ecf0}
.home-sheet-heading>div>span{font-size:10px;letter-spacing:.7px;color:#28724f;font-weight:800}
.home-sheet-heading h2{font-size:20px;letter-spacing:-.5px;color:#262134;margin:7px 0 0}
.home-sheet-heading>button{white-space:nowrap}
.home-list{min-height:215px}
.home-tender-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  min-width:0;
  background:transparent;
  border:0;
  border-bottom:1px solid #edf0f3;
  padding:15px 23px;
  gap:12px;
  text-align:left;
  color:inherit;
}
.home-tender-row:last-child{border-bottom:0}
.home-tender-row:hover{background:#f9f8fb}
.home-tender-main{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.home-tender-main strong{color:#593789;font-size:11px}
.home-tender-main>span{font-size:12px;font-weight:650;color:#25243a;overflow-wrap:anywhere}
.home-tender-main small{font-size:11px;color:#7d8590;line-height:1.45;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.home-tender-meta{white-space:nowrap;flex:0 0 auto;font-size:11px;font-weight:650;color:#626c7a}
.home-list-empty{margin:0;padding:34px 23px;color:#6f7885;font-size:12px;line-height:1.5}
.home-footnote{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:21px 1px;font-size:11px;color:#7b8490}
@media(max-width:1050px){
  .home-workspace{grid-template-columns:1fr}
  .home-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-overview-item:nth-child(2){border-right:0}
  .home-overview-item:nth-child(-n+2){border-bottom:1px solid #e5e9ed}
}
@media(max-width:700px){
  .topbar{height:66px;padding:0 16px}
  .topbar-page{display:none}
  .topbar-left{gap:12px}
  .topbar .menu-button{padding:8px 9px}
  .topbar .menu-button>span:last-child{display:none}
  .topbar-divider{display:none}
  .topbar .account strong{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .home-intro-row{align-items:flex-start;flex-direction:column}
  .home-intro h1{letter-spacing:-1px}
  .home-main-link{width:100%;justify-content:space-between}
  .home-overview-item{padding:18px 16px}
  .home-overview-item>strong{font-size:30px}
  .home-sheet-heading{padding:18px 16px}
  .home-tender-row{padding:13px 16px}
}
@media(max-width:450px){
  .topbar .account strong{display:none}
  .home-overview-item>span{font-size:9px}
  .home-sheet-heading{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}


/* User-selectable Light / Dark appearance. Saved per browser. */
.header-actions{display:flex;align-items:center;gap:19px;min-width:0}
.theme-toggle{
  display:inline-flex;align-items:center;gap:8px;justify-content:center;
  border:1px solid #e0e3e9;border-radius:8px;background:transparent;
  color:#514869;font-size:12px;font-weight:700;min-height:39px;
  padding:7px 12px;white-space:nowrap;
}
.theme-toggle:hover{background:#f4f1f8;border-color:#b7a3d4}
.theme-toggle:focus-visible{outline:2px solid #906bd6;outline-offset:2px}
.theme-toggle-icon{font-size:18px;line-height:1}
@media(max-width:700px){
  .header-actions{margin-left:auto;gap:9px}
  .theme-toggle{padding:7px 9px}
}
@media(max-width:450px){
  .theme-toggle #themeLabel{display:none}
}
html[data-theme="dark"]{
  color-scheme:dark;
  --page:#131622;
  --white:#1c2030;
  --ink:#edf0f7;
  --muted:#aeb8c9;
  --border:#30374a;
  --light:#322442;
  --primary:#bd95ff;
  --primary-dark:#a57bec;
  --forest:#64d69a;
  --amber:#efbd71;
  --red:#ff8fa2;
}
html[data-theme="dark"] body{background:#131622;color:var(--ink)}
html[data-theme="dark"] .topbar{
  background:#1a1e2a;border-bottom-color:#303749;color:#aeb8c9;
}
html[data-theme="dark"] .topbar-divider,
html[data-theme="dark"] .topbar-page{border-color:#343a4b;background-color:transparent}
html[data-theme="dark"] .topbar-divider{background:#343a4b}
html[data-theme="dark"] .topbar-page{color:#aeb8c9}
html[data-theme="dark"] .header-home{color:#f1edf8}
html[data-theme="dark"] .header-home span{color:#6fd4a0}
html[data-theme="dark"] .topbar .menu-button{
  color:#e4e9f4;background:#23283a;border-color:#394155;
}
html[data-theme="dark"] .topbar .menu-button:hover{background:#2d3348}
html[data-theme="dark"] .menu-button-icon>span{background:#e2e6f2}
html[data-theme="dark"] .topbar .account{background:transparent;color:#ecf0f7}
html[data-theme="dark"] .topbar .avatar{background:#39274c;color:#d6b5ff}
html[data-theme="dark"] .topbar .logout-btn{border-color:#41495a;color:#cba9ff}
html[data-theme="dark"] .theme-toggle{
  background:#29243b;color:#e4d4ff;border-color:#514268;
}
html[data-theme="dark"] .theme-toggle:hover{background:#3a2d54}
html[data-theme="dark"] .sidebar{box-shadow:10px 0 50px #06081277}
html[data-theme="dark"] .sidebar-backdrop{background:#070910a8}
html[data-theme="dark"] .home-intro{border-color:#34394a}
html[data-theme="dark"] .home-eyebrow,
html[data-theme="dark"] .home-sheet-heading>div>span{color:#79d9a3}
html[data-theme="dark"] .home-intro h1,
html[data-theme="dark"] .home-sheet-heading h2,
html[data-theme="dark"] .home-overview-item>strong{color:#f0effa}
html[data-theme="dark"] .home-intro-row p,
html[data-theme="dark"] .home-overview-item>span,
html[data-theme="dark"] .home-tender-main small,
html[data-theme="dark"] .home-tender-meta,
html[data-theme="dark"] .home-list-empty,
html[data-theme="dark"] .home-footnote{color:#a7b3c5}
html[data-theme="dark"] .home-main-link{background:#50327c;border-color:#694395}
html[data-theme="dark"] .home-main-link:hover{background:#654397}
html[data-theme="dark"] .home-overview,
html[data-theme="dark"] .home-sheet{
  background:#1c2030;border-color:#343c50;
}
html[data-theme="dark"] .home-overview-item,
html[data-theme="dark"] .home-sheet-heading,
html[data-theme="dark"] .home-tender-row{border-color:#30384a}
html[data-theme="dark"] .home-tender-row:hover{background:#292c3d}
html[data-theme="dark"] .home-tender-main strong{color:#cba7ff}
html[data-theme="dark"] .home-tender-main>span{color:#e6eaf3}
html[data-theme="dark"] .home-overview-item>button,
html[data-theme="dark"] .home-sheet-heading>button,
html[data-theme="dark"] .home-footnote>button{color:#cfafff}

/* Data panels, stats and tables */
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .filter-panel,
html[data-theme="dark"] .table-card,
html[data-theme="dark"] .calendar-panel,
html[data-theme="dark"] .simple-panel,
html[data-theme="dark"] .team-panel,
html[data-theme="dark"] .saved-toolbar,
html[data-theme="dark"] .unclaimed-toolbar,
html[data-theme="dark"] .unclaimed-overview>div,
html[data-theme="dark"] .unclaimed-day,
html[data-theme="dark"] .unclaimed-empty{
  background:#1d2231;border-color:#343b4d;color:#edf0f7;
}
html[data-theme="dark"] .stat-card small,
html[data-theme="dark"] .stat-card span,
html[data-theme="dark"] .page-head p,
html[data-theme="dark"] .simple-panel p,
html[data-theme="dark"] .team-panel p,
html[data-theme="dark"] .table-footer,
html[data-theme="dark"] .unclaimed-explainer,
html[data-theme="dark"] .saved-toolbar-note{color:#abb5c6}
html[data-theme="dark"] .section-eyebrow{color:#7bdaa7}
html[data-theme="dark"] th{background:#292639;color:#c9bedf}
html[data-theme="dark"] td{border-color:#30384a;color:#e8ecf5}
html[data-theme="dark"] tbody tr:nth-child(even){background:#212638}
html[data-theme="dark"] tbody tr:hover{background:#302943}
html[data-theme="dark"] .table-card{color:#e8ecf5}
html[data-theme="dark"] .empty{color:#b0bacc}
html[data-theme="dark"] .muted-label{color:#a1aec1}
html[data-theme="dark"] .owner-name{color:#e7bf86}
html[data-theme="dark"] .saved-names{color:#83d9a8}
html[data-theme="dark"] .link-button,
html[data-theme="dark"] .text-button{color:#d0afff}
html[data-theme="dark"] .star-btn{color:#9da9bd}
html[data-theme="dark"] .star-btn.saved{color:#77d49e}
html[data-theme="dark"] .mini-action,
html[data-theme="dark"] .secondary-action-btn,
html[data-theme="dark"] .saved-filter-chip,
html[data-theme="dark"] .calendar-tab{
  background:#2c2740;border-color:#57456e;color:#d8bcff;
}
html[data-theme="dark"] .mini-action:hover,
html[data-theme="dark"] .secondary-action-btn:hover,
html[data-theme="dark"] .saved-filter-chip:hover,
html[data-theme="dark"] .calendar-tab:hover{background:#3a3052}
html[data-theme="dark"] .claim-action{background:#203d33;border-color:#357b5a;color:#9be1b9}
html[data-theme="dark"] .claim-release{background:#493722;border-color:#78603d;color:#ffd39a}
html[data-theme="dark"] .saved-filter-chip.active,
html[data-theme="dark"] .calendar-tab.active{background:#45315f;border-color:#8661b4;color:#eee0ff}
html[data-theme="dark"] .saved-filter-chip[data-saved-status="participated"].active{background:#234634;color:#a4e5be;border-color:#40835b}
html[data-theme="dark"] .saved-filter-chip[data-saved-status="no_go"].active{background:#4c2b39;color:#ffb1b9;border-color:#965665}
html[data-theme="dark"] .saved-filter-chip[data-saved-status="in_progress"].active{background:#44315f;color:#e4c8ff;border-color:#77539e}
html[data-theme="dark"] .status.new,
html[data-theme="dark"] .stage-in_progress{background:#45325d;color:#e4c9ff}
html[data-theme="dark"] .status.saved,
html[data-theme="dark"] .stage-participated{background:#234837;color:#aeebc4}
html[data-theme="dark"] .status.work{background:#4a382a;color:#ffdaab}
html[data-theme="dark"] .stage-no_go{background:#522e3b;color:#ffbac6}
html[data-theme="dark"] .stage-badge{color:#d4dbea;background:#303548}

/* Form controls and search filters */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select{
  background:#252b3c;color:#edf0f7;border-color:#465065;
  color-scheme:dark;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#929fb3}
html[data-theme="dark"] .search,
html[data-theme="dark"] .filter-row select{background:#252b3c;color:#edf0f7}
html[data-theme="dark"] .search input{background:transparent!important;border:0!important}
html[data-theme="dark"] .chips .chip{color:#adb7ca}
html[data-theme="dark"] .chips .chip.on{background:#42305f;color:#e4ceff}
html[data-theme="dark"] .unclaimed-date-range{background:#292339;border-color:#57486b}
html[data-theme="dark"] .unclaimed-date-range input[type="date"]{background:#252b3c;color:#edf0f7}
html[data-theme="dark"] .unclaimed-clear-dates{background:#332a44;border-color:#615077;color:#dec5ff}
html[data-theme="dark"] .unclaimed-day-head{background:#2c263f}
html[data-theme="dark"] .unclaimed-day-head h2{color:#e7eaf4}
html[data-theme="dark"] .unclaimed-day-head>strong{background:#3b3152;border-color:#655078;color:#e4ccff}
html[data-theme="dark"] .unclaimed-notice{border-color:#34394d}
html[data-theme="dark"] .unclaimed-notice:nth-child(even){background:#22283a}
html[data-theme="dark"] .unclaimed-notice:hover{background:#302b41}
html[data-theme="dark"] .unclaimed-description strong,
html[data-theme="dark"] .unclaimed-figures strong,
html[data-theme="dark"] .unclaimed-overview strong{color:#ecedf6}
html[data-theme="dark"] .unclaimed-description span,
html[data-theme="dark"] .unclaimed-cell-label,
html[data-theme="dark"] .unclaimed-overview span{color:#acb8c9}
html[data-theme="dark"] .unclaimed-type{background:#41305b;color:#e3cbff}
html[data-theme="dark"] .unclaimed-expired{background:#512f3d;color:#ffb4c1}
html[data-theme="dark"] .unclaimed-figures small{color:#91dcaf}

/* Calendars and procedure details */
html[data-theme="dark"] .calendar-grid,
html[data-theme="dark"] .day{border-color:#394153}
html[data-theme="dark"] .day.outside{background:#191e2b}
html[data-theme="dark"] .day.today{background:#342a4c}
html[data-theme="dark"] .outside .day-num{color:#6e7a90}
html[data-theme="dark"] .weekdays span{color:#adb8ca}
html[data-theme="dark"] .month-actions button{background:#2b3041;border-color:#485064;color:#e5eaf3}
html[data-theme="dark"] .event.deadline{background:#522d3e;color:#ffb6c2}
html[data-theme="dark"] .event.clarification{background:#51402c;color:#ffdc99}
html[data-theme="dark"] .calendar-note{background:#282e3e;color:#b0bdce}
html[data-theme="dark"] dialog{background:#1c2231;color:#e9edf6;border:1px solid #465065}
html[data-theme="dark"] dialog::backdrop{background:#060713a8}
html[data-theme="dark"] .dialog-meta{border-color:#343d50}
html[data-theme="dark"] .dialog-meta dt{color:#aeb8ca}
html[data-theme="dark"] .dialog-close{color:#c6cfde}
html[data-theme="dark"] .comments-area{border-color:#3b4355}
html[data-theme="dark"] .comments-area h3,
html[data-theme="dark"] .comment-head strong,
html[data-theme="dark"] .comment-body,
html[data-theme="dark"] .comment-form label{color:#edf0f7}
html[data-theme="dark"] .comments-explainer,
html[data-theme="dark"] .comment-head time,
html[data-theme="dark"] .visibility-hint{color:#b0bbcb}
html[data-theme="dark"] .comment-entry{background:#242b3c;border-color:#3b4357}
html[data-theme="dark"] .comment-empty{background:#272d40;color:#aeb9ca}
html[data-theme="dark"] .comment-visibility{background:#453159;color:#ebd6ff}
html[data-theme="dark"] .comment-form{border-color:#394153}
html[data-theme="dark"] .comment-indicator-active{background:#244735!important;color:#a5eec4!important;border-color:#3b885a!important}
html[data-theme="dark"] .team-link-box{background:#332740;border-color:#66517b}
html[data-theme="dark"] .team-security-hint,
html[data-theme="dark"] .team-link-box p{color:#bbc3d3}
html[data-theme="dark"] .auth-screen{background:linear-gradient(130deg,#0e1019,#201332)}
html[data-theme="dark"] .auth-card{background:#1b2030;color:#eef0f7}
html[data-theme="dark"] .auth-card h1,
html[data-theme="dark"] .auth-brand strong,
html[data-theme="dark"] .auth-card form label,
html[data-theme="dark"] .team-form label{color:#eef0f7}
html[data-theme="dark"] .auth-card p{color:#b7c2d2}
html[data-theme="dark"] .auth-help{background:#332944}
html[data-theme="dark"] .auth-link{color:#d7b5ff}
html[data-theme="dark"] .toast{background:#4a316f;color:#fff}

/* Specificity fix: the team creation form's ID selector previously overrode
   the generic dark-mode select, leaving a white menu with white text. */
html[data-theme="dark"] #createMemberForm select,
html[data-theme="dark"] #createMemberRole {
  background-color:#252b3c;
  color:#f0f2fb;
  border:1px solid #68758e;
  color-scheme:dark;
}
html[data-theme="dark"] #createMemberForm select option,
html[data-theme="dark"] .team-role-select option {
  background-color:#252b3c;
  color:#f0f2fb;
}
html[data-theme="dark"] .team-role-select {
  background-color:#292b40;
  color:#f0f2fb;
  border-color:#68758e;
  color-scheme:dark;
}
html[data-theme="dark"] .team-role-select:disabled {
  background:#272c39;
  color:#b6c0d2;
  opacity:1;
}
html[data-theme="dark"] #createMemberRole:focus-visible,
html[data-theme="dark"] .team-role-select:focus-visible {
  outline:2px solid #ca9eff;
  outline-offset:2px;
}


/* Licitiq typography: quiet, familiar Windows application.
   Preserve the original product wordmark font independently from app text. */
:root {
  --font:"Segoe UI",Tahoma,Arial,sans-serif;
  --font-brand:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body{
  font-family:var(--font);
  font-size:14px;
  font-weight:400;
  letter-spacing:normal;
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font-family:var(--font)}
/* Brand stays as it was before the typography experiment. */
.brand strong,.auth-brand strong,.header-home,.topbar .header-home{
  font-family:var(--font-brand);
  font-weight:800;
  letter-spacing:-.75px;
}
.brand strong{font-size:25px}
.auth-brand strong{font-size:26px}
.header-home,.topbar .header-home{font-size:20px}
/* App titles: no serif, no oversized / overly bold UI. */
.home-intro h1{
  font-family:var(--font);
  font-size:clamp(28px,3vw,39px);
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.7px;
}
.view>.page-head h1{
  font-family:var(--font);
  font-size:clamp(24px,2.1vw,30px);
  font-weight:600;
  letter-spacing:-.4px;
}
.home-sheet-heading h2{
  font-family:var(--font);
  font-size:18px;
  font-weight:600;
  letter-spacing:-.2px;
}
.home-intro-row p,.view>.page-head p{font-size:13px;line-height:1.55}
.home-overview-item>strong{
  font-family:var(--font);
  font-size:34px;
  font-weight:600;
  letter-spacing:-.3px;
}
.home-overview-item>span,
.home-sheet-heading>div>span,
.home-eyebrow,
.section-eyebrow{
  font-size:11px;
  font-weight:600;
  letter-spacing:.15px;
}
.home-tender-main>span{font-weight:500}
.home-tender-main strong{font-weight:600}
.home-tender-meta{font-weight:500}
.home-main-link,.home-overview-item>button,
.home-sheet-heading>button,.home-footnote>button,
.topbar .menu-button,.topbar .logout-btn,.theme-toggle{font-weight:600}
.sidebar .nav-link{font-weight:500;letter-spacing:normal}
.sidebar .nav-link.active{font-weight:600}
th{font-family:var(--font);font-size:11px;font-weight:600;letter-spacing:0}
td{font-family:var(--font)}
.status,.stage-badge,.mini-action,.saved-filter-chip,.calendar-tab,
.secondary-action-btn,.primary-btn{font-family:var(--font);letter-spacing:normal;font-weight:600}
.auth-card h1{font-family:var(--font);font-weight:600;letter-spacing:-.2px}
.unclaimed-day-head h2{font-size:16px;font-weight:600;letter-spacing:0}
.unclaimed-description strong{font-weight:600}
@media(max-width:700px){
  .home-intro h1{font-size:clamp(28px,7vw,36px)}
  .home-overview-item>strong{font-size:29px}
}

/* Product-category filters shared by CN/SCN and ADV: compact, scrollable
   on smaller screens instead of overcrowding the data table. */
.product-filter-group{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.product-filter-title{
  flex:0 0 auto;
  color:var(--muted);
  font-size:11px;
  font-weight:600;
}
.product-chips{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.product-chips .chip{
  padding:7px 9px;
  font-size:11px;
  border:1px solid transparent;
  white-space:nowrap;
}
.product-chips .chip.on{border-color:#d8c2f8}
.product-chips .chip:focus-visible{outline:2px solid #8a61d5;outline-offset:2px}
.secondary-filter{gap:12px}
.secondary-filter #exportCsv{flex:0 0 auto;white-space:nowrap}
.unclaimed-toolbar #unclaimedProductCategory{min-width:160px;max-width:240px}
html[data-theme="dark"] .product-filter-title{color:#adb9cd}
html[data-theme="dark"] .product-chips .chip.on{border-color:#7655aa}
@media(max-width:1100px){
  .secondary-filter{align-items:flex-start;flex-direction:column}
  .product-filter-group{width:100%;align-items:flex-start;flex-direction:column;gap:5px}
  .secondary-filter #exportCsv{align-self:flex-end}
}
@media(max-width:700px){
  .product-chips{flex-wrap:nowrap;overflow-x:auto;max-width:100%;width:100%;padding-bottom:6px;scrollbar-width:thin}
  .unclaimed-toolbar #unclaimedProductCategory{max-width:none;width:100%}
}

/* Restricted Experts directory; light and dark themes follow application palette. */
.experts-summary{
  background:var(--white);border:1px solid var(--border);border-radius:10px;
  padding:17px;display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:16px;
}
.experts-summary>span{font-size:12px;color:var(--muted);min-width:170px}
.experts-summary>span strong{font-size:23px;color:var(--ink);margin-right:5px}
.experts-summary label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted);font-weight:600}
.experts-summary .experts-search-label{flex:1 1 270px}
.experts-summary input,.experts-summary select{
  height:40px;min-width:0;padding:0 12px;border:1px solid var(--border);
  border-radius:8px;background:var(--page);color:var(--ink);font-size:13px;
}
.experts-summary select{min-width:170px;max-width:340px}
.experts-message{min-height:18px;color:var(--forest);font-size:12px;margin:0 0 13px}
.experts-message.error{color:var(--red)}
.experts-table{min-width:1080px}
.experts-table td{vertical-align:top;line-height:1.5;max-width:350px;overflow-wrap:anywhere}
.expert-name-cell{font-weight:700;color:var(--ink);min-width:170px}
.expert-cert-cell{min-width:260px;white-space:pre-line}
.experts-admin-tools{
  margin-top:22px;padding:19px;background:var(--white);border:1px solid var(--border);
  border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:15px;
}
.experts-admin-tools[hidden]{display:none!important}
.experts-admin-tools strong{font-weight:650;font-size:14px}
.experts-admin-tools p{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.55}
.experts-import-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap}
.expert-dialog{
  width:min(730px,calc(100vw - 30px));max-height:90vh;overflow:auto;
  background:var(--white);color:var(--ink);border:1px solid var(--border);
  border-radius:13px;padding:25px;
}
.expert-dialog::backdrop{background:rgba(14,15,28,.65)}
.expert-dialog-heading h2{font-size:23px;font-weight:600;margin:8px 0 22px}
.expert-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.expert-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:var(--ink)}
.expert-form-grid .expert-span{grid-column:1/-1}
.expert-form-grid input,.expert-form-grid textarea{
  min-width:0;width:100%;border:1px solid var(--border);
  background:var(--page);color:var(--ink);border-radius:8px;
  padding:11px 12px;resize:vertical;font-size:13px;line-height:1.5;
}
.expert-form-grid input[readonly],.expert-form-grid textarea[readonly]{
  border-color:transparent;resize:none;cursor:default;
}
.experts-documents-hint{padding:12px 0;color:var(--muted);font-size:12px;line-height:1.55}
.expert-form-actions{display:flex;justify-content:flex-end;gap:12px}
.expert-form-actions #expertDelete{margin-right:auto}
html[data-theme="dark"] .experts-summary,html[data-theme="dark"] .experts-admin-tools,
html[data-theme="dark"] .expert-dialog{background:#1d2231;border-color:#343b4d}
html[data-theme="dark"] .experts-summary input,html[data-theme="dark"] .experts-summary select,
html[data-theme="dark"] .expert-form-grid input,html[data-theme="dark"] .expert-form-grid textarea{
  background:#252b3c;color:#eef0f7;border-color:#455166;color-scheme:dark
}
html[data-theme="dark"] .experts-summary>span strong,
html[data-theme="dark"] .expert-name-cell{color:#eef0f7}
html[data-theme="dark"] .expert-form-grid input[readonly],
html[data-theme="dark"] .expert-form-grid textarea[readonly]{border-color:transparent}
@media(max-width:680px){
  .experts-summary{align-items:stretch}
  .experts-summary label,.experts-summary select{max-width:none;width:100%}
  .experts-admin-tools{flex-direction:column;align-items:flex-start}
  .expert-form-grid{grid-template-columns:1fr}
  .expert-dialog{padding:18px}
}

/* Similar Experience, practical tender-preparation workspace */
.experience-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:20px}
.experience-box{min-width:0;padding:22px}
.experience-panel-header{display:flex;align-items:flex-start;gap:13px;margin:0 0 22px}
.experience-step{font-size:11px;font-weight:700;color:var(--forest);border:1px solid var(--border);
  border-radius:7px;padding:9px 10px;flex:0 0 auto}
.experience-panel-header h2{font-size:19px;font-weight:600;letter-spacing:-.3px;margin:0 0 7px}
.experience-panel-header p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
.experience-upload{display:flex;flex-direction:column;gap:5px;padding:14px 15px;
  border:1px dashed #b8a3d6;border-radius:8px;background:rgba(121,78,188,.035);
  margin-bottom:9px;cursor:pointer}
.experience-upload strong{font-size:12px;color:var(--ink)}
.experience-upload span{font-size:11px;color:var(--muted);line-height:1.5}
#experienceFile{font-size:12px;max-width:100%;color:var(--muted)}
.experience-file-label{font-size:11px;color:var(--muted);margin:8px 0 22px;overflow-wrap:anywhere}
.experience-text-label{display:block;font-size:12px;font-weight:650;margin-bottom:9px}
#experienceRequirements,.experience-output textarea{
  width:100%;min-height:115px;padding:12px;border-radius:8px;
  border:1px solid var(--border);background:var(--page);color:var(--ink);
  font-family:var(--font);font-size:13px;line-height:1.55;resize:vertical
}
.experience-privacy-note{font-size:11px;color:var(--muted);line-height:1.6;margin:14px 0}
.experience-contract-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;
  flex-wrap:wrap;margin-bottom:12px;font-size:12px;color:var(--muted)}
.experience-contract-tools strong{font-size:22px;color:var(--ink)}
/* Contract catalog scrolls independently of the tender analysis panels. */
.experience-contract-list{
  border-top:1px solid var(--border);
  max-height:490px;
  min-height:80px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#8061aa transparent;
  padding-right:10px;
}
.experience-contract-list::-webkit-scrollbar{width:9px}
.experience-contract-list::-webkit-scrollbar-track{background:transparent}
.experience-contract-list::-webkit-scrollbar-thumb{background:#8061aa;border-radius:10px;border:2px solid transparent;background-clip:padding-box}
.experience-contract-list::-webkit-scrollbar-thumb:hover{background:#60418c;background-clip:padding-box}
.experience-contract-list:focus-visible{outline:2px solid #8061aa;outline-offset:3px}
@media(max-width:600px){
  .experience-contract-list{max-height:385px;padding-right:6px}
}

.experience-contract-item{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 0;border-bottom:1px solid var(--border)}
.experience-contract-item strong{display:block;font-size:12px;font-weight:650;line-height:1.5;color:var(--ink)}
.experience-contract-item p{font-size:11px;color:var(--muted);margin:5px 0 0;overflow-wrap:anywhere}
.experience-contract-item .mini-action{flex:0 0 auto}
.experience-empty{font-size:12px;color:var(--muted);padding:22px 2px;line-height:1.6}
.experience-results{padding:24px}
.experience-output textarea{min-height:390px;white-space:pre-wrap;font-family:var(--font);font-size:13px}
.experience-results-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px;flex-wrap:wrap}
#experienceStatus.error,#experienceContractsMessage.error{color:var(--red)}
html[data-theme="dark"] .experience-upload{background:#2e2940;border-color:#6d5390}
html[data-theme="dark"] #experienceRequirements,
html[data-theme="dark"] .experience-output textarea{background:#252b3c;color:#eef0f7;border-color:#455166}
@media(max-width:970px){.experience-layout{grid-template-columns:1fr}}
@media(max-width:600px){.experience-box,.experience-results{padding:16px}
  .experience-contract-item{align-items:flex-start;flex-direction:column}}

/* Shared archive for won tenders; horizontally scrollable on narrow screens. */
.nav-link[data-view="won"] .nav-ico{color:#7ddba5}
.nav-link[data-view="won"].active{background:#194d3d;color:#fff}
.nav-link[data-view="won"].active em{background:#23684d}
.stage-won{background:#e4f5e9;color:#136238}
.saved-filter-chip[data-saved-status="won"].active{background:#e4f5e9;border-color:#add7bb;color:#17633c}
.won-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.won-overview>div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:7px}
.won-overview span{font-size:12px;color:var(--muted)}
.won-overview strong{font-size:26px;color:var(--forest)}
.won-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.won-toolbar label{display:flex;flex-direction:column;gap:7px;flex:1 1 220px;font-size:12px;color:var(--muted);font-weight:650}
.won-toolbar input,.won-toolbar select{height:40px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:#f8f9fd;color:var(--ink);font-size:12px;min-width:0;width:100%}
#view-won .table-scroll{max-width:100%;overflow-x:auto}
#view-won table{width:100%;min-width:1090px;table-layout:fixed}
#view-won th,#view-won td{padding:13px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
#view-won th{font-size:10px}
#view-won th:nth-child(1){width:4%}
#view-won th:nth-child(2){width:9%}
#view-won th:nth-child(3){width:13%}
#view-won th:nth-child(4){width:17%}
#view-won th:nth-child(5){width:10%}
#view-won th:nth-child(6){width:11%}
#view-won th:nth-child(7){width:9%}
#view-won th:nth-child(8){width:10%}
#view-won th:nth-child(9){width:8%}
#view-won th:nth-child(10){width:9%}
#view-won .stage-select{min-width:0;max-width:100%;width:100%;font-size:11px}
#view-won .comment-indicator{max-width:100%;white-space:normal;overflow-wrap:anywhere}
html[data-theme="dark"] .stage-won{background:#234837;color:#aeebc4}
html[data-theme="dark"] .saved-filter-chip[data-saved-status="won"].active{background:#234634;color:#a4e5be;border-color:#40835b}
html[data-theme="dark"] .won-overview>div,html[data-theme="dark"] .won-toolbar{background:#262a39;border-color:#41475c}
html[data-theme="dark"] .won-overview strong{color:#a4e5be}
@media(max-width:650px){.won-overview{grid-template-columns:1fr}.won-overview>div{padding:12px 16px;flex-direction:row;justify-content:space-between;align-items:center}.won-overview strong{font-size:23px}}

/* Implementation dossiers: calm purple/forest palette, shared project workspace. */
.nav-link[data-view="implementation"] .nav-ico{color:#97c1f2}
.nav-link[data-view="implementation"].active{background:#36205c;color:#fff}
.implementation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.implementation-summary>div{border:1px solid var(--border);background:#fff;padding:16px 18px;border-radius:13px;display:flex;flex-direction:column;gap:8px}
.implementation-summary span{font-size:12px;color:var(--muted)}
.implementation-summary strong{font-size:25px;font-weight:750;color:var(--primary)}
.implementation-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;align-items:start}
.implementation-panel{max-width:none;width:100%;padding:22px;min-width:0}
.implementation-panel h2{font-size:18px;font-weight:650;margin:0 0 12px}
.implementation-panel>p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 20px}
.implementation-field,.implementation-form label,.implementation-docs label,.implementation-chat label{display:flex;flex-direction:column;gap:8px;color:var(--ink);font-size:12px;font-weight:650}
.implementation-field select,.implementation-form input,.implementation-form textarea,.implementation-docs input,.implementation-chat textarea{width:100%;max-width:100%;min-width:0;border:1px solid var(--border);background:#f9fafe;border-radius:9px;padding:10px 12px;color:var(--ink);font:inherit;font-weight:400}
.implementation-field select,.implementation-form input{height:41px}
.implementation-form{margin-top:18px}
.implementation-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:14px}
.implementation-form textarea{resize:vertical;min-height:76px}
.implementation-tender-info{margin-top:12px;padding:12px;border:1px solid var(--border);background:#f7f7fd;border-radius:9px;font-size:12px;color:var(--muted);line-height:1.5}
.implementation-tender-info strong{display:block;color:var(--ink);margin-bottom:4px}
.implementation-tender-info p{margin:0 0 5px}
.implementation-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
#implementationSaveMessage{font-size:11px;color:var(--forest)}
#implementationSaveMessage.implementation-error{color:var(--red)}
.implementation-docs{display:grid;gap:14px}
.implementation-docs label{border:1px dashed #c9b5e3;border-radius:10px;padding:12px}
.implementation-docs input{padding:7px;background:transparent}
.implementation-help{font-size:11px!important;color:var(--muted);line-height:1.6;margin-top:18px!important}
.implementation-chat{display:flex;flex-direction:column;gap:15px}
.implementation-ai-message{padding:16px;background:#f2edff;border:1px solid #ded0fa;border-radius:12px}
.implementation-ai-message strong{font-size:12px;color:var(--primary)}
.implementation-ai-message p{font-size:12px;line-height:1.6;margin:8px 0 0;color:var(--ink)}
.implementation-chat button:disabled{opacity:.62;cursor:not-allowed}
.implementation-gantt-empty{min-height:188px;border:1px dashed #c9b5e3;border-radius:12px;background:#faf8ff;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;gap:9px;padding:20px}
.implementation-gantt-empty>span{font-size:40px;color:var(--primary)}
.implementation-gantt-empty strong{font-size:13px}
.implementation-gantt-empty small{color:var(--muted);font-size:11px;max-width:310px;line-height:1.6}
.implementation-future-alert{border:1px solid #c7e1d0;background:#eef8f1;border-radius:10px;padding:14px;margin-top:18px}
.implementation-future-alert strong{color:var(--forest);font-size:12px}
.implementation-future-alert p{margin:7px 0 0;font-size:11px;color:var(--ink);line-height:1.6}
html[data-theme="dark"] .implementation-summary>div,html[data-theme="dark"] .implementation-tender-info{background:#262a39;border-color:#41475c}
html[data-theme="dark"] .implementation-ai-message,html[data-theme="dark"] .implementation-gantt-empty{background:#352c48;border-color:#63547a}
html[data-theme="dark"] .implementation-future-alert{background:#213f32;border-color:#3d6a53}
html[data-theme="dark"] .implementation-future-alert strong{color:#a7e4be}
@media(max-width:1040px){.implementation-layout{grid-template-columns:1fr}}
@media(max-width:650px){.implementation-summary{grid-template-columns:1fr}.implementation-summary>div{flex-direction:row;align-items:center;justify-content:space-between}.implementation-form-grid{grid-template-columns:1fr}.implementation-panel{padding:17px}}

/* Implementation product Excel import, preview, and shared per-project table. */
.implementation-template-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px;border:1px solid #e3d7f6;border-radius:11px;background:#f8f4ff;padding:13px}
.implementation-template-actions p{flex:1 1 210px;margin:0;font-size:11px;line-height:1.55;color:var(--ink)}
.implementation-import-preview{margin-top:15px;border:1px solid #b3d8c3;background:#eff8f2;border-radius:10px;padding:15px}
.implementation-import-preview strong{display:block;color:var(--forest);font-size:13px}
.implementation-import-preview p{margin:8px 0 12px;color:var(--ink);line-height:1.55;font-size:12px}
.implementation-preview-actions{display:flex;gap:8px;flex-wrap:wrap}
.implementation-products-panel{max-width:none;width:100%;padding:23px;margin-bottom:18px}
.implementation-products-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.implementation-products-head h2{font-size:18px;font-weight:650;margin:0 0 6px}
.implementation-products-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.implementation-products-head>strong{font-size:12px;color:var(--forest);background:#eaf6ef;border-radius:20px;padding:7px 12px;white-space:nowrap}
.implementation-products-table{width:100%;min-width:950px;table-layout:fixed}
.implementation-products-table th{font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;padding:13px 10px}
.implementation-products-table td{font-size:11px;overflow-wrap:anywhere;padding:13px 10px}
.implementation-products-table th:nth-child(1){width:6%}
.implementation-products-table th:nth-child(2){width:14%}
.implementation-products-table th:nth-child(3){width:25%}
.implementation-products-table th:nth-child(4){width:8%}
.implementation-products-table th:nth-child(5){width:16%}
.implementation-products-table th:nth-child(6){width:17%}
.implementation-products-table th:nth-child(7){width:14%}
.implementation-products-table .implementation-risk{color:#a93340;font-weight:750}
.implementation-products-table .implementation-ontime{color:var(--forest);font-weight:700}
.implementation-products-table .implementation-pending{color:var(--muted)}
.implementation-empty{text-align:center;padding:34px!important;color:var(--muted)}
html[data-theme="dark"] .implementation-template-actions{background:#33283f;border-color:#665078}
html[data-theme="dark"] .implementation-import-preview{background:#1e3d32;border-color:#37664b}
html[data-theme="dark"] .implementation-import-preview strong,html[data-theme="dark"] .implementation-products-head>strong{color:#a5e7bb}
html[data-theme="dark"] .implementation-products-head>strong{background:#253f32}
@media(max-width:650px){.implementation-products-panel{padding:14px}.implementation-template-actions .primary-btn{width:100%}}

/* Readable AI analysis in-app; Excel/Word exports preserve the full draft. */
.experience-report-preview{font-size:13px;line-height:1.65;max-width:100%;color:var(--ink)}
.experience-report-preview h3{margin:22px 0 10px;font-size:16px;font-weight:750;color:var(--primary)}
.experience-report-preview p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.experience-report-table-scroll{max-width:100%;overflow-x:auto;margin:18px 0 24px;border:1px solid var(--border);border-radius:10px}
.experience-report-table-scroll table{min-width:850px;width:100%;border-collapse:collapse;font-size:11px}
.experience-report-table-scroll th{background:#48217d;color:#fff;text-align:left;font-size:11px;line-height:1.5;padding:12px;white-space:normal}
.experience-report-table-scroll td{border-bottom:1px solid var(--border);padding:11px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.experience-edit-details{margin-top:22px;border:1px solid var(--border);border-radius:10px;padding:13px}
.experience-edit-details summary{cursor:pointer;font-weight:650;font-size:12px}
.experience-edit-details textarea{margin-top:14px;min-height:340px;width:100%}
.experience-results-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* Acces SEAP: link oficial, distinct de deschiderea fisei interne LicitIQ. */
.notice-ref{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.seap-link{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #cdbcf2;background:#f9f6ff;border-radius:8px;color:#6330b9;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}
.seap-link:hover,.seap-link:focus-visible{background:#eae0ff;border-color:#9775d9}
.seap-detail{margin-top:12px}
.seap-detail .seap-link{padding:10px 14px;font-size:13px}
html[data-theme="dark"] .seap-link{background:#302445;border-color:#63517f;color:#e0d3ff}
html[data-theme="dark"] .seap-link:hover{background:#423158}

/* Login password visibility: accessible toggle inside the field, including mobile. */
.auth-card .auth-password-wrap{position:relative;display:block;width:100%}
.auth-card .auth-password-wrap input{display:block;width:100%;padding-right:88px}
.auth-card .auth-password-toggle{position:absolute;right:6px;top:5px;height:34px;min-width:72px;border:0;border-radius:7px;background:transparent;color:var(--primary);font-size:12px;font-weight:700;cursor:pointer}
.auth-card .auth-password-toggle:hover{background:var(--light)}
.auth-card .auth-password-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
html[data-theme="dark"] .auth-card .auth-password-toggle{color:#d7b5ff}
html[data-theme="dark"] .auth-card .auth-password-toggle:hover{background:#332944}
