/* Adapted from Keen theme tokens, inspected 2026-11-04. CV Vault styles below. */
:root{--background:oklch(99.5% 0 0);--foreground:oklch(20.5% .006 286);--card:oklch(100% 0 0);--card-foreground:oklch(20.5% .006 286);--popover:oklch(100% 0 0);--popover-foreground:oklch(20.5% .006 286);--primary:oklch(47.5% .195 15);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(78% .14 70);--secondary-foreground:oklch(20.5% .006 286);--muted:oklch(96.5% .002 286);--muted-foreground:oklch(52% .01 286);--accent:oklch(96.5% .002 286);--accent-foreground:oklch(20.5% .006 286);--destructive:oklch(47.5% .195 15);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(91.5% .004 286);--input:oklch(91.5% .004 286);--ring:oklch(47.5% .195 15);--chart-1:oklch(47.5% .195 15);--chart-2:oklch(78% .14 70);--chart-3:oklch(52% .1 175);--chart-4:oklch(55% .15 240);--chart-5:oklch(60% .18 30);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(20.5% .006 286);--sidebar-primary:oklch(47.5% .195 15);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96% .02 15);--sidebar-accent-foreground:oklch(47.5% .195 15);--sidebar-border:oklch(91.5% .004 286);--sidebar-ring:oklch(47.5% .195 15);--radius:1rem;--shadow-x:0;--shadow-y:1px;--shadow-blur:3px;--shadow-spread:0px;--shadow-opacity:.1;--shadow-color:oklch(0% 0 0);--shadow-2xs:0 1px 3px 0px #0000000d;--shadow-xs:0 1px 3px 0px #0000000d;--shadow-sm:0 1px 3px 0px #0000001a, 0 1px 2px -1px #0000001a;--shadow:0 1px 3px 0px #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 1px 3px 0px #0000001a, 0 2px 4px -1px #0000001a;--shadow-lg:0 1px 3px 0px #0000001a, 0 4px 6px -1px #0000001a;--shadow-xl:0 1px 3px 0px #0000001a, 0 8px 10px -1px #0000001a;--shadow-2xl:0 1px 3px 0px #00000040;--tracking-normal:0em;--spacing:.25rem}

:root{--font-sans:"Instrument Sans",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--nav-width:248px}
body{font-family:var(--font-sans);background:var(--background);color:var(--foreground);font-size:14px;line-height:1.5}
button,input,textarea,select{font-family:inherit;font-size:14px;border-radius:10px;min-height:40px}input,textarea,select{border-color:var(--input);background:var(--card);color:var(--foreground)}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid color-mix(in oklch,var(--ring) 35%,transparent);outline-offset:3px}
button{background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);font-weight:600;padding:9px 17px;transition:background .15s,box-shadow .15s}button:hover{filter:brightness(.97);box-shadow:var(--shadow-sm)}button.secondary{background:var(--card);color:var(--foreground);border-color:var(--border);box-shadow:var(--shadow-xs)}button.danger{background:var(--destructive)}button:disabled{cursor:not-allowed;filter:none;box-shadow:none}
a{color:var(--primary)}h1,h2,h3,h4{color:var(--foreground);letter-spacing:-.025em}h1{font-size:32px;line-height:1.2;margin:0 0 8px}h3{font-size:18px;margin-bottom:8px}p.help,.help,small{color:var(--muted-foreground)}label{color:var(--foreground);font-weight:500}.message{color:var(--muted-foreground);font-size:13px}.message.error{color:var(--destructive)}
.services-panel{position:fixed;left:0;right:auto;top:0;bottom:0;width:var(--nav-width);background:var(--sidebar);border-right:1px solid var(--sidebar-border);padding:27px 16px;z-index:20;display:flex;flex-direction:column;overflow:auto}.workspace-brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--foreground);font-size:21px;font-weight:700;padding:0 10px 31px}.workspace-brand small{display:block;font-weight:400;font-size:11px;letter-spacing:0}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--primary);color:white;font-size:15px;letter-spacing:-.04em}.nav-heading{font-size:10px;letter-spacing:.14em;color:var(--muted-foreground);padding:0 15px 12px;font-weight:700}.nav-item{display:flex;width:100%;align-items:center;gap:12px;text-align:left;margin:3px 0;padding:12px 14px;border:0;background:transparent;color:var(--sidebar-foreground);font-weight:500;min-height:46px;border-radius:12px;box-shadow:none}.nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-item.active,.nav-item:hover{background:var(--sidebar-accent);color:var(--sidebar-accent-foreground);filter:none;box-shadow:none}.sidebar-note{margin-top:auto;padding:28px 12px 0;font-size:11px;color:var(--muted-foreground)}.sidebar-note small{display:block;font-size:10px;margin-top:5px;padding-left:14px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#23915b;margin-right:5px}
header.workspace-header{margin-left:var(--nav-width);margin-right:0;height:64px;display:flex;align-items:center;justify-content:space-between;background:var(--card);color:var(--foreground);border-bottom:1px solid var(--border);padding:0 32px}.breadcrumb{font-size:12px;color:var(--muted-foreground)}.breadcrumb span{margin:0 13px;color:var(--border)}main{max-width:none;margin:0 0 0 var(--nav-width);padding:30px 32px 60px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.page-heading p{margin:0;color:var(--muted-foreground)}.page-heading p.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--primary);font-weight:700;margin-bottom:9px}.page-heading button{white-space:nowrap}.panel,.entry{border-color:var(--border);box-shadow:var(--shadow-xs);border-radius:var(--radius);background:var(--card)}.panel{padding:23px;margin-bottom:20px}.entry{box-shadow:none}.library-panel>h3{margin-bottom:3px}.library-panel>.help{margin-top:0;margin-bottom:18px}
.upload-panel{padding:0;overflow:hidden}.upload-panel>summary{display:flex;gap:14px;align-items:center;cursor:pointer;padding:16px 23px;font-weight:600;list-style:none}.upload-panel>summary:before{content:'＋';color:var(--primary);font-size:21px}.upload-panel[open]>summary:before{content:'−'}.upload-panel summary small{font-weight:400;margin-left:auto;font-size:12px}.upload-content{padding:0 23px 21px}.upload-content>.row>h3{flex:3}.upload-content>.row>button{flex:none}.drop-zone{border:1.5px dashed color-mix(in oklch,var(--primary) 30%,var(--border));background:var(--background);text-align:center;padding:23px;border-radius:13px;transition:background .15s,border .15s;margin:16px 0}.drop-zone.dragging{background:var(--sidebar-accent);border-color:var(--primary)}.drop-zone .upload-symbol{color:var(--primary);font-size:29px;font-weight:500;line-height:1.2;margin-bottom:8px}.drop-zone strong{font-size:15px}.drop-zone p{margin:5px 0 14px;font-size:12px;color:var(--muted-foreground)}.drop-zone input{width:min(460px,100%);font-size:12px;min-height:36px}.drop-zone input::file-selector-button{background:var(--card);border:0;border-right:1px solid var(--border);color:var(--foreground);font-family:inherit;padding:4px 12px;margin-right:12px;cursor:pointer}.drop-zone #chosen-files{margin:12px 0 0}.upload-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}
.global-search-row{display:flex;align-items:center;gap:9px}.global-search-input{position:relative;flex:1}.global-search-input svg{position:absolute;left:14px;top:12px;width:18px;height:18px;stroke:var(--muted-foreground);fill:none;stroke-width:1.7;pointer-events:none}.global-search-input input{padding-left:43px;min-height:44px}.global-search-row button{min-height:44px;margin:0}.search-filters{margin-top:15px;padding-bottom:16px;border-bottom:1px solid var(--border)}.search-filters>summary{cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-weight:500;font-size:13px;color:var(--muted-foreground);list-style:none}.search-filters>summary:before{content:'⌄';display:inline-block}.search-filters[open]>summary:before{transform:rotate(180deg)}.search-grid{padding-top:8px;align-items:end}.search-grid label{font-size:12px}.search-grid input,.search-grid select{margin-top:5px}.filter-count{background:var(--sidebar-accent);color:var(--primary);border-radius:20px;padding:1px 7px;font-size:11px}.filter-actions{display:flex;gap:6px}.filter-actions button{font-size:12px;white-space:nowrap}.library-panel>.toolbar{margin:17px 0 12px;align-items:center}.library-panel>.toolbar .check{font-size:12px;margin:0}.library-panel>.toolbar button{min-height:33px;font-size:12px;padding:6px 11px}.library-panel>.toolbar #selected-count{margin-right:auto;font-size:12px;color:var(--muted-foreground)}
table{min-width:980px;table-layout:fixed}th,td{border-color:var(--border)}th{font-weight:500;background:var(--muted);color:var(--muted-foreground);padding:12px 10px;font-size:11px}td{padding:16px 10px;font-size:12px;line-height:1.5}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}th:nth-child(1){width:76px;white-space:nowrap}th:nth-child(2){width:18%}th:nth-child(3){width:20%}th:nth-child(4){width:23%}th:nth-child(5){width:100px}th:nth-child(6){width:95px}th:nth-child(7){width:133px}td:first-child{text-align:center}td input[type=checkbox]{min-height:0;width:16px;height:16px;accent-color:var(--primary)}.check input{accent-color:var(--primary);min-height:0}.action-buttons{gap:5px}.action-buttons button{font-size:11px;padding:6px 9px;min-height:31px;flex:1 1 100%;background:var(--card);color:var(--foreground);border-color:var(--border);box-shadow:var(--shadow-xs)}.action-buttons button:last-child{background:var(--sidebar-accent);color:var(--primary);border-color:transparent}.skills-list{font-size:11px}.badge{font-size:10px;padding:3px 7px;border-radius:6px;background:#fff4d6;color:#956600}.badge.reviewed,.badge.valid-status{background:#e6f5ec;color:#197143}.badge.invalid-status{background:#fce7eb;color:#a82342}.badge.unset-status{background:var(--muted);color:var(--muted-foreground)}.pagination{border-top:1px solid var(--border);padding-top:15px;font-size:12px}.pagination label{margin:0;font-size:12px}.pagination select,.pagination button{font-size:12px;min-height:33px;padding:6px 11px}.pagination #page-status{margin-left:auto;color:var(--muted-foreground)}.pagination select{margin-left:8px}.source{background:var(--muted)}.warning{background:#fff8e6;border-color:#f4deaa;color:#7b5c14;font-size:12px}.template-option:has(input:checked){border-color:var(--primary);background:var(--sidebar-accent)}dialog{color:var(--foreground);border:1px solid var(--border);box-shadow:var(--shadow-2xl)}dialog .footer{border-color:var(--border)}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:25px 0}.guide-grid article{padding:20px;border:1px solid var(--border);border-radius:12px}.guide-grid h4{margin:0 0 7px}.guide-grid p{color:var(--muted-foreground)}.navigation-toggle{display:none}
@media(min-width:1900px){main{margin-left:var(--nav-width);margin-right:0;max-width:none}}@media(max-width:1150px){:root{--nav-width:210px}main{padding:25px 22px}header.workspace-header{padding:0 22px}.services-panel{padding:25px 10px}.nav-item{font-size:12px;gap:9px}.workspace-brand{font-size:19px}.search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){:root{--nav-width:0px}.services-panel{width:248px;transform:translateX(-100%);box-shadow:var(--shadow-lg);transition:transform .2s}.navigation-open .services-panel{transform:none}.navigation-toggle{display:block;font-size:12px}header.workspace-header{height:58px}main{padding:23px 18px}h1{font-size:27px}.page-heading{align-items:flex-start}.page-heading>button{font-size:12px}.page-heading p{font-size:12px}}
@media(max-width:850px){table,tbody,tr,td{min-width:0}td:first-child{text-align:left}.action-buttons button{flex:1 1 90px}td{font-size:13px}td::before{font-size:11px}.skills-list{font-size:12px}.panel{padding:18px}.upload-panel{padding:0}.upload-panel>summary{padding:14px 18px}.upload-content{padding:0 18px 18px}}
@media(max-width:600px){.global-search-row{flex-wrap:wrap}.global-search-input{flex-basis:100%}.global-search-row button{flex:1}.search-grid,.guide-grid{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.page-heading>button{margin:0}.upload-panel summary small{display:none}.upload-actions{flex-direction:column;align-items:stretch}.upload-content .row{align-items:flex-start}.upload-content .row>h3{flex-basis:100%}.pagination #page-status{margin-left:0}.pagination{gap:8px}.template-options{grid-template-columns:1fr}}

.review-layout{display:block}.source{position:static;max-height:none;margin-top:24px;padding:0;border:1px solid var(--border);overflow:hidden}.source>summary{cursor:pointer;padding:15px 18px;font-weight:600;color:var(--foreground)}.source-content{padding:0 18px 18px;max-height:65vh;overflow:auto}.source-content h4{margin:5px 0 8px}

body[data-role="viewer"] [data-requires="edit"],body:not([data-role="admin"]) [data-requires="admin"]{display:none!important}.account-panel strong{overflow-wrap:anywhere;display:block;color:var(--foreground);font-size:13px}.account-panel small{padding:0;margin-top:3px}.account-actions{display:flex;gap:4px;margin-top:12px;flex-wrap:wrap}.account-actions button{font-size:10px;padding:5px 7px;min-height:29px}.grid>.description-field{flex:1 0 100%;width:100%;min-width:0}.description-field>label{width:100%}.description-field textarea{display:block;width:100%;min-height:165px;margin-top:7px;line-height:1.6}.description-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px}.description-tools button{font-size:12px}.description-tools small{font-size:11px}.user-record{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--border);padding:17px 0;flex-wrap:wrap}.user-record>div{flex:1;min-width:200px}.user-record p{margin:3px 0;font-size:12px;color:var(--muted-foreground)}#responsibility-result{width:100%;min-height:220px;line-height:1.6}#users-dialog form input,#password-dialog input,#reset-password-dialog input{display:block;width:100%;margin-top:5px}#users-dialog input[type=checkbox]{width:auto}#password-dialog .toolbar,#reset-password-dialog .toolbar{margin-top:18px}

.description-tools .ai-spark-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:8px;border-radius:10px;color:var(--primary);flex:none}.ai-spark-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ai-spark-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

#security-dialog input:not([type=checkbox]){display:block;width:100%;margin:6px 0 16px}#mfa-qr{display:block;background:white;padding:10px;max-width:100%;height:auto;margin:18px auto}#mfa-secret{display:block;overflow-wrap:anywhere;font-size:15px;padding:12px;background:var(--muted);margin-top:10px}#mfa-recovery-codes{white-space:pre-wrap;line-height:1.8;padding:18px;background:var(--muted);border-radius:10px;font-size:15px;user-select:all}#mfa-recovery{margin:20px 0}#security-dialog form{margin:16px 0}

/* Compact, accessible candidate actions. */
.action-buttons{flex-wrap:nowrap;gap:5px}.action-buttons button.cv-icon-button{flex:0 0 32px;width:32px;height:34px;padding:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--card);color:var(--primary);border:1px solid var(--border)}
.cv-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.cv-icon-button:hover{background:var(--sidebar-accent)!important}.cv-icon-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.audit-section{border:1px solid var(--border);border-radius:8px;padding:12px 16px;margin:16px 0;font-size:12px}.audit-section summary{cursor:pointer;font-weight:600}.audit-section ol{padding-left:20px;line-height:1.8;overflow-wrap:anywhere}#audit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}#audit-fields p{overflow-wrap:anywhere}@media(max-width:650px){#audit-fields{grid-template-columns:1fr}}

/* Eight result columns: numbering remains continuous across result pages. */
.library-panel table{min-width:1040px}.library-panel th:nth-child(1){width:48px}.library-panel th:nth-child(2){width:76px;white-space:nowrap}.library-panel th:nth-child(3){width:18%}.library-panel th:nth-child(4){width:20%}.library-panel th:nth-child(5){width:23%}.library-panel th:nth-child(6){width:100px}.library-panel th:nth-child(7){width:95px}.library-panel th:nth-child(8){width:133px}.sequence-number{color:var(--muted-foreground);font-variant-numeric:tabular-nums}.library-panel td:nth-child(2){text-align:center}.parsing-info{margin:12px 0}.parsing-info>summary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;width:32px;height:32px;border:1px solid var(--border);border-radius:50%;color:var(--primary);font-size:22px}.parsing-info>summary::-webkit-details-marker{display:none}.parsing-info>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.parsing-info .warning{margin-top:10px}@media(max-width:850px){.library-panel table,.library-panel tbody,.library-panel tr,.library-panel td{min-width:0}.library-panel td:nth-child(2){text-align:left}}

/* User-controlled navigation and the readable CV. */

#cv-reader{width:min(980px,96vw);max-height:92vh;padding:0}.reader-toolbar{position:sticky;top:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;background:var(--card);border-bottom:1px solid var(--border);z-index:1}
.cv-document{max-width:790px;margin:auto;padding:35px 40px;line-height:1.7;overflow-wrap:anywhere}.cv-document h1{margin:0;font-size:32px}.cv-document h2{font-size:18px;border-bottom:1px solid var(--border);padding-bottom:8px;margin-top:30px}.cv-document h3{font-size:15px;margin:18px 0 4px}.cv-document p{white-space:pre-wrap;margin:5px 0}.cv-document small{color:var(--muted-foreground)}.cv-entry{margin-bottom:20px}.reader-close{padding:0 24px 20px;text-align:right}.source-tags{display:flex;gap:6px;flex-wrap:wrap}.source-tags span{padding:3px 10px;background:var(--muted);border-radius:14px}
.library-panel th:nth-child(1){width:76px}.library-panel th:nth-child(2){width:48px}
@media(max-width:600px){.cv-document{padding:24px 20px}}


@media(min-width:901px){
  body.navigation-shrunk{--nav-width:76px}
  .navigation-shrunk .services-panel{padding-left:12px;padding-right:12px}
  .navigation-shrunk .workspace-brand{justify-content:center;padding-left:0;padding-right:0}
  .navigation-shrunk .workspace-brand>span:last-child,.navigation-shrunk .nav-heading,.navigation-shrunk .nav-item>span{display:none}
  .navigation-shrunk .nav-item{justify-content:center;padding:12px;gap:0}
  .navigation-shrunk .nav-item svg{flex:none}
}

/* CV document with associated tender records, comments and audit activity. */
#cv-reader{width:min(1420px,96vw)}.cv-reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:stretch}.cv-reader-layout .cv-document{width:100%;padding:32px;min-width:0}.cv-reader-sidebar{background:var(--sidebar);border-left:1px solid var(--border);padding:24px;min-width:0;font-size:12px;overflow-wrap:anywhere}.cv-reader-sidebar section+section{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.cv-reader-sidebar h2{font-size:17px;margin:0 0 12px}.cv-reader-sidebar form{margin-top:14px}.cv-reader-sidebar textarea{width:100%;min-height:100px}.cv-reader-sidebar ol{padding-left:18px;line-height:1.7}.cv-reader-sidebar .toolbar{gap:5px;margin-top:8px}.cv-reader-sidebar button{font-size:12px}.cv-comment{margin:14px 0;padding-bottom:12px;border-bottom:1px solid var(--border)}.cv-comment p{white-space:pre-wrap;line-height:1.6}.cv-comment small{display:block}.reader-tender{margin-bottom:10px}.text-link{border:0;background:none;color:var(--primary);text-decoration:underline;text-align:left;padding:0;box-shadow:none;white-space:normal;overflow-wrap:anywhere}.reader-tender>.text-link{display:block;margin-bottom:5px}
.library-panel>.toolbar>label:has(#sort-order){display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.library-panel #sort-order{width:auto;min-height:33px;padding:6px 10px;font-size:12px}
@media(max-width:1000px){.cv-reader-layout{grid-template-columns:minmax(0,1fr) 300px}.cv-reader-sidebar{padding:18px}}@media(max-width:750px){.cv-reader-layout{grid-template-columns:1fr}.cv-reader-sidebar{border-left:0;border-top:1px solid var(--border)}.cv-reader-layout .cv-document{padding:24px}}



/* Connected, icon-only controls for full navigation and its compact icon rail. */
.services-panel{overflow:visible;transition:width .2s ease,transform .2s ease}
.sidebar-header{position:relative;flex:none;padding-bottom:28px}
.sidebar-header .workspace-brand{padding:0 10px;min-height:40px}
.services-panel>nav{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;scrollbar-width:thin}
.services-panel>.account-panel{flex:none}
.navigation-edge-toggle,.navigation-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:7px;margin:0;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--muted-foreground);box-shadow:var(--shadow-sm)}
.navigation-edge-toggle{position:absolute;right:-33px;top:3px;z-index:2}
.navigation-edge-toggle svg,.navigation-toggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.navigation-edge-toggle:hover,.navigation-toggle:hover{color:var(--primary);background:var(--sidebar-accent);border-color:color-mix(in oklch,var(--primary) 25%,var(--border));filter:none}
.navigation-toggle{display:none}
.navigation-backdrop{display:none}
header.workspace-header,body>main{transition:margin-left .2s ease}
@media(min-width:901px){
  .navigation-shrunk .sidebar-header .workspace-brand{padding:0;justify-content:center}
  .navigation-shrunk .navigation-edge-toggle{right:-29px}
  .navigation-shrunk .brand-mark{flex:none}
}
@media(max-width:900px){
  .navigation-toggle{display:inline-flex}
  .services-panel{visibility:hidden}
  .navigation-open .services-panel{visibility:visible}
  .navigation-open .navigation-backdrop{display:block;position:fixed;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;background:#101a344d;box-shadow:none;z-index:19}
}
@media(prefers-reduced-motion:reduce){.services-panel,header.workspace-header,body>main{transition:none}}

/* Company, multiple work preferences and separate review/validity result fields. */
.library-panel table{min-width:1424px}.library-panel th:nth-child(1){width:76px}.library-panel th:nth-child(2){width:48px}.library-panel th:nth-child(3){width:180px}.library-panel th:nth-child(4){width:210px}.library-panel th:nth-child(5){width:170px}.library-panel th:nth-child(6){width:130px}.library-panel th:nth-child(7){width:190px}.library-panel th:nth-child(8){width:110px}.library-panel th:nth-child(9){width:90px}.library-panel th:nth-child(10){width:90px}.library-panel th:nth-child(11){width:130px}
.tamkeen-candidate{color:#8b1e2d}.work-mode-tag{display:inline-block;padding:2px 6px;margin:0 4px 4px 0;border:1px solid var(--border);border-radius:6px;font-size:10px;background:var(--muted);white-space:nowrap}
.editor-location-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.preferred-work-modes{border:0;padding:0;margin:9px 0 0;min-width:0}.preferred-work-modes legend{font-size:13px;font-weight:500;color:var(--foreground);margin-bottom:6px}.preferred-mode-options{display:flex;flex-wrap:wrap;gap:6px}.preferred-mode-option{display:flex;align-items:center;gap:6px;margin:0;padding:8px 10px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:12px}.preferred-mode-option:has(input:checked){background:var(--sidebar-accent);border-color:var(--primary);color:var(--primary)}.preferred-mode-option input{min-height:0;margin:0;accent-color:var(--primary)}.review-validity-controls{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.review-validity-controls>label{margin:0}.review-validity-controls select{width:auto;margin-left:8px}
@media(min-width:901px){.navigation-shrunk .brand-mark{width:28px;height:28px;font-size:11px;border-radius:8px}}
@media(max-width:850px){.library-panel table,.library-panel tbody,.library-panel tr,.library-panel td{min-width:0}}@media(max-width:650px){.editor-location-row{grid-template-columns:1fr;gap:10px}}

.reader-tender-form{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.reader-tender-form label,.reader-tender-form select{width:100%}.reader-tender>strong{display:block;margin-bottom:5px}.cv-reader-sidebar #reader-audit-section>summary{font-size:17px;font-weight:700;cursor:pointer}

.nav-item{white-space:nowrap;overflow:hidden}.nav-item>span{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}.nav-item>svg{flex-shrink:0}.reader-section-heading{position:relative}.reader-section-heading>details>summary{font-size:17px;font-weight:700;cursor:pointer;padding-right:65px;min-height:40px;line-height:40px}.reader-section-heading>button{position:absolute;right:0;top:0}.reader-entry-dialog{width:min(560px,94vw)}.reader-entry-dialog textarea{width:100%;min-height:150px}.reader-entry-dialog .toolbar{margin-top:14px}

.workspace-brand{min-width:0;overflow:hidden;white-space:nowrap}.workspace-brand>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-brand small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-mark{flex-shrink:0}.reader-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:7px}.reader-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.reader-count{display:inline-block;font-size:12px;line-height:22px;min-width:22px;text-align:center;border-radius:12px;background:var(--muted);padding:0 6px;vertical-align:middle;margin-left:5px}

.cv-reader-sidebar{align-self:stretch}.cv-reader-sidebar .reader-icon-button{width:28px;height:28px;min-height:28px;padding:4px;border:1px solid var(--primary);border-radius:7px;background:transparent;color:var(--primary);box-shadow:none}.cv-reader-sidebar .reader-icon-button:hover{background:var(--sidebar-accent);box-shadow:none}.cv-reader-sidebar .reader-icon-button svg{width:17px;height:17px}

.editor-section{border:1px solid var(--border);border-radius:12px;margin:14px 0;background:var(--card)}.editor-section>summary{font-size:16px;font-weight:700;cursor:pointer;padding:14px 18px}.editor-section-content{padding:0 18px 16px}.editor-section .editor-section{margin:12px 0}.editor-section .section-head{justify-content:flex-end}


.library-results{container-type:inline-size;min-width:0}
.library-results table{min-width:0}
.library-results .action-buttons{flex-wrap:wrap}
.library-results th:nth-child(1){width:5%}
.library-results th:nth-child(2){width:4%}
.library-results th:nth-child(3){width:14%}
.library-results th:nth-child(4){width:14%}
.library-results th:nth-child(5){width:12%}
.library-results th:nth-child(6){width:9%}
.library-results th:nth-child(7){width:13%}
.library-results th:nth-child(8){width:8%}
.library-results th:nth-child(9){width:6%}
.library-results th:nth-child(10){width:5%}
.library-results th:nth-child(11){width:10%}

@container (max-width:1050px){
  .library-results table,.library-results tbody{display:block;width:100%}
  .library-results thead{display:none}
  .library-results tbody tr{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
    gap:8px 12px;margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:12px
  }
  .library-results td{display:block;width:auto;min-width:0;border:0;padding:4px;text-align:left}
  .library-results td::before{content:attr(data-label);display:block;font-weight:600;color:var(--muted-foreground);margin-bottom:4px}
}


#editor .review-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,330px);
  gap:20px;
  align-items:start;
}
.editor-main {min-width:0}
.editor-review-panel {
  min-width:0;
  padding:16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--sidebar);
}
.editor-review-panel .source-tags {margin:8px 0 12px}
.editor-review-panel .review-validity-controls {gap:12px}
.editor-review-panel .audit-section {border:0;border-radius:0;padding:0;overflow-wrap:anywhere}
#editor .reader-icon-button {color:var(--primary);border-color:var(--primary);background:transparent}
.reader-review-status {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 0}
.reader-review-status dt {font-size:17px;font-weight:700}
.reader-review-status dd {margin:2px 0 0}
@media(max-width:850px) {
  #editor .review-layout {grid-template-columns:1fr}
  .editor-review-panel {grid-row:1}
}


#editor .record-trash-button {width:24px;flex:0 0 24px;padding-inline:2px}
.editor-sidebar-section + .editor-sidebar-section {margin-top:14px}
.editor-sidebar-section > summary {font-weight:700;cursor:pointer;margin-bottom:8px}
.editor-inline-field {display:flex;align-items:center;gap:8px;min-width:0}
.editor-inline-field > :first-child {flex:1;min-width:0;overflow-wrap:anywhere}
.editor-inline-field > button {flex:none}
.editor-inline-field .source-tags {margin:0}
.editor-inline-field input,.editor-inline-field select {min-width:0}
.editor-inline-field .editor-field-display {line-height:1.5}

/* Tenders */
#tender-workspace{container-type:inline-size}
#tender-workspace .page-heading,.tender-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#tender-workspace .page-heading h1,.tender-detail-heading h2{margin:0;overflow-wrap:anywhere}
.tender-list,.tender-detail{min-width:0}
.tender-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.tender-filters>label:first-child{flex:1 1 220px}
.tender-filters input,.tender-filters select,#tender-editor input,#tender-editor select,#tender-editor textarea{display:block;width:100%;margin-top:5px}
.tender-date-filters{position:relative}
.tender-date-filters summary{cursor:pointer;padding:8px 12px;border:1px solid var(--border);border-radius:8px}
.tender-date-filters>div{position:absolute;z-index:2;right:0;min-width:200px;padding:12px;background:var(--card);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow-md)}
.tender-date-filters label{display:block;margin:4px 0 8px}
.tender-table-head,.tender-catalog-row{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.55fr);align-items:center;gap:12px;padding:13px 16px}
#tender-grid{border:1px solid var(--border);border-radius:12px}
.tender-table-head{background:var(--muted);border-radius:12px 12px 0 0;font-size:.82rem;font-weight:700}
.tender-catalog-row{border-top:1px solid var(--border);overflow-wrap:anywhere}
.tender-catalog-row:hover,.tender-catalog-row:focus-within{background:var(--accent)}
.tender-catalog-row small,.tender-metadata dt{display:block;color:var(--muted-foreground);font-size:.82rem}
.tender-catalog-row .tender-cell-label{display:none}
.tender-catalog-row .tender-name-button{display:block;border:0;background:transparent;color:var(--primary);padding:0;min-height:0;text-align:left;font-weight:700;white-space:normal;text-decoration:underline;text-underline-offset:3px}
.tender-status{display:inline-block;border-radius:100px;background:var(--muted);padding:4px 9px;font-weight:650;font-size:.82rem}
.tender-status[data-status=Open]{background:#e3f5ed;color:#166044}
.tender-status[data-status=Submitted]{background:#e8efff;color:#234785}
.tender-status[data-status=Awarded]{background:#f3eaff;color:#61408c}
.tender-overdue{display:block;color:var(--destructive);font-size:.82rem;font-weight:700}
.tender-detail{overflow-wrap:anywhere}
.tender-detail-heading{margin-block:18px}
.tender-detail p{white-space:pre-wrap}
.tender-metadata{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:16px;background:var(--muted);border-radius:10px;padding:16px}
.tender-metadata dd{margin:4px 0 0}
.tender-candidates{padding-block:12px;border-bottom:1px solid var(--border)}
.tender-candidates button{display:block;margin:8px 0;text-align:left;white-space:normal}
#tender-editor{width:min(720px,96vw)}
#tender-editor form>label{display:block;margin-top:12px}
#tender-editor .toolbar{margin-top:16px}
@container(max-width:680px){
  .tender-table-head{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
  .tender-catalog-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tender-catalog-row:first-child{border-top:0}
  .tender-catalog-row>div:first-child{grid-column:1/-1}
  .tender-catalog-row .tender-cell-label{display:block;margin-bottom:3px}
  .tender-date-filters>div{position:static}
}

.tender-position-dialog{width:min(760px,96vw)}
.tender-position-dialog label{display:block;margin-block:8px}
.tender-position-dialog input,.tender-position-dialog textarea{display:block;width:100%;margin-top:5px}
.tender-position-dialog .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr))}
.tender-position-card{border:1px solid var(--border);border-radius:12px;padding:14px;margin-block:10px;overflow-wrap:anywhere}
.tender-position-card h3,.tender-position-card h4,.tender-positions .tender-detail-heading h3{margin:0}
.tender-position-card p{margin:6px 0 10px}
.tender-position-card .tender-detail-heading{margin:0}
.tender-position-card .tender-detail-heading strong{flex-shrink:0;color:var(--primary)}
.tender-position-card details{margin-block:8px 12px}
.tender-position-card li{margin-block:6px}
.tender-match-dialog{max-height:90dvh}

#duplicate-upload-dialog{width:min(680px,96vw)}
#duplicate-upload-dialog select{display:block;width:100%;margin:6px 0 20px}
.duplicate-upload-actions button{display:block;margin-top:14px}
.duplicate-upload-actions p{margin:5px 0 12px}

.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.settings-grid h2{margin-top:0;font-size:1.15rem}
.settings-grid .panel{display:flex;flex-direction:column;align-items:start}
.settings-grid p{flex:1;margin-top:0;color:var(--muted-foreground)}
/* Keep version selectors and actions usable on narrow screens. */
.reader-toolbar{flex-wrap:wrap;align-items:center}
.reader-toolbar>label{display:flex;align-items:center;gap:8px;margin:0 auto 0 0;min-width:0;max-width:100%;font-size:12px;white-space:nowrap}
#reader-version{width:min(280px,55vw);max-width:100%;margin:0;text-overflow:ellipsis}
.editor-heading{flex:1;min-width:220px}.editor-heading h3{margin:0 0 10px}.editor-identity>h4{margin:0;padding:14px 18px;font-size:14px;font-weight:600}

.editor-version-row{display:flex;align-items:center;gap:12px;width:100%;max-width:800px;margin:12px 0 18px;min-width:0}.editor-version-row>label{flex:none;margin:0;font-size:12px;white-space:nowrap}#editor-version{flex:1;width:100%;max-width:680px;min-width:0;margin:0;text-overflow:ellipsis}.sidebar-signout{display:inline-flex;align-items:center;justify-content:center;gap:7px}.sidebar-signout svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media(min-width:901px){.navigation-shrunk .account-panel{display:block;padding:12px 0;margin-top:auto}.navigation-shrunk .account-panel>strong,.navigation-shrunk .account-panel>small,.navigation-shrunk .signout-label{display:none}.navigation-shrunk .account-actions{margin:0;justify-content:center}.navigation-shrunk .sidebar-signout{width:40px;height:40px;padding:10px;min-height:40px}}

.account-profile{display:flex;align-items:center;gap:10px;width:100%;padding:8px 0;background:transparent;color:var(--foreground);border:0;text-align:left;box-shadow:none}.account-profile:hover{background:var(--muted)}.account-profile svg{width:32px;height:32px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}.account-identity{min-width:0}.account-profile .account-identity small{display:block}.account-profile:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(min-width:901px){.navigation-shrunk .account-profile{justify-content:center;padding:6px}.navigation-shrunk .account-identity{display:none}}
#version-role-fields>label,#version-role-preview>label,#version-role-experience>label{display:block;margin:16px 0}#version-role-summary,#version-role-experience textarea{width:100%;display:block;margin-top:8px;line-height:1.6}

.linkedin-search-panel{border:1px solid var(--border);border-radius:12px;padding:18px;margin:18px 0}.linkedin-search-panel>summary{font-weight:700;cursor:pointer}.linkedin-search-panel .global-search-row label{flex:1;min-width:0}.linkedin-search-panel input{width:100%}#linkedin-import-dialog>label,#linkedin-draft-preview>label{display:block;margin:16px 0}#linkedin-import-dialog input:not([type=checkbox]),#linkedin-import-dialog textarea{display:block;width:100%;margin-top:6px}#linkedin-draft-details{border-top:1px solid var(--border);margin:18px 0;padding-top:8px}#linkedin-draft-details p{white-space:pre-wrap;overflow-wrap:anywhere}#linkedin-search-settings input[type=password]{display:block;width:100%;margin:8px 0}.linkedin-search-panel a{overflow-wrap:anywhere}

.linkedin-match-badge{display:inline-block;color:var(--primary,#a90036);margin:.25rem 0;font-size:.95rem}.linkedin-result-group .tender-position-card details{margin:.75rem 0}.linkedin-result-group .tender-position-card h4{margin:.2rem 0 .5rem;font-size:1rem}

/* Internal issue register shares the workspace typography and red actions. */
.issue-filters{align-items:end;flex-wrap:wrap}.issue-filters label:first-child{flex:1;min-width:200px}
.issue-list{display:grid;gap:12px}.issue-card{padding:18px;border:1px solid #e5e7eb;border-radius:12px;min-width:0}
.issue-open{background:transparent;color:#9f1239;border:0;padding:0;text-align:left;font-weight:700;overflow-wrap:anywhere;box-shadow:none}
.issue-meta{font-size:.88rem;font-weight:600;color:#52525b}.issue-excerpt{white-space:pre-wrap;overflow-wrap:anywhere}
#issue-dialog textarea{width:100%;box-sizing:border-box}#issue-dialog label{display:block}#issue-history p{font-size:.85rem;color:#52525b}
