/* V13.6 common presentation: no permissions are granted by styles. */
button,[role=button],summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}
button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}
button:not(:disabled):hover{filter:brightness(1.12)}button:active:not(:disabled){transform:translateY(1px)}
.btn.primary,.nc-primary{background:#137968!important;border:1px solid #54d5bb!important;color:#fff!important;box-shadow:0 2px 4px #0002}
.btn.secondary,.nc-panel button:not(.nc-primary){border:1px solid var(--theme-border);border-radius:10px}
.nc-panel,.nc-employee,.nc-content,.nc-side,.nlh-dialog,.nlh-dialog-header,.nlh-preview,.nlh-integration,.nlh-token{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
.nc-check,.nc-check-row{display:flex!important;align-items:center;gap:10px}.nc-check input,.nc-check-row input{width:18px!important;flex:0 0 18px}
.v13-role-perms{max-height:none!important;overflow:visible!important}
.metrics-grid{gap:8px!important}.metric-card{padding:10px 14px!important;min-height:0!important;display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-value{font-size:22px!important}
.nlh-data-cell{white-space:pre-wrap!important;overflow-wrap:anywhere;max-width:360px;min-width:150px;text-overflow:clip!important}
.nlh-table-scroll{max-height:none!important;overflow:auto}.nlh-table th{position:sticky;top:0;background:var(--theme-surface2);z-index:2}
.nlh-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0}
.nlh-notice{position:static!important;min-height:1.5em;color:var(--theme-accent)}
.nlh-token{padding:20px!important;border:1px solid var(--theme-accent)!important;border-radius:14px;margin:16px 0}
.w-drawer-head,.w-drawer-tabs{background:var(--theme-surface)!important;z-index:5}
.w-drawer-body{scroll-padding-top:16px}.nlh-head button{white-space:nowrap;flex-shrink:0}
.hf-help{position:relative}.hf-help>div{position:absolute;right:0;top:100%;z-index:200;background:var(--theme-surface);border:1px solid var(--theme-border);padding:12px;border-radius:12px;min-width:240px}
@media(max-width:700px){.metrics-grid{display:flex;overflow:auto}.metric-card{flex:0 0 auto}.nlh-row-actions{flex-wrap:wrap}.nlh-table-tools{flex-wrap:wrap}}
.nv136-mfa{max-width:820px}.nv136-mfa-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.nv136-mfa-head h3{margin-top:0}.nv136-status{white-space:nowrap;border:1px solid var(--border,#34495b);border-radius:20px;padding:6px 12px;font-size:13px}.nv136-status.enabled{background:#17594e;color:#d9fff3}.nv136-qr{text-align:center;margin:20px auto;max-width:360px}.nv136-qr img{background:#fff;padding:16px;border-radius:14px;max-width:100%;object-fit:contain}.nv136-qr details{text-align:left;margin-top:16px}.nv136-qr code{display:block;overflow-wrap:anywhere;padding:12px;background:var(--input-bg,#101c2b);user-select:all}.nv136-mfa form{max-width:360px;margin:20px auto}.nv136-mfa form label{display:block}.nv136-mfa form input{font-size:26px;letter-spacing:.35em;text-align:center;width:100%;box-sizing:border-box;margin:8px 0}.nv136-mfa-steps{line-height:1.8;padding-left:24px}.nv136-devices{border-top:1px solid var(--border,#34495b);padding-top:18px;margin-top:22px}.nv136-devices button{margin:5px}.nc-danger{color:#ffaaa4;border-color:#9f4c45}.nv136-mfa small{color:var(--muted,#a3b8cc)}
.nv136-report-body{white-space:normal;line-height:1.65;overflow-wrap:anywhere;padding:16px 0;max-width:780px}.nv136-report-heading{display:block;margin:12px 0 4px;font-size:1.1em}.nv136-report-row{width:100%;text-align:left;margin:8px 0}.nv136-report-row small,.nv136-report-row span>span{display:block;margin-top:6px}.nv136-report-row span>span{color:var(--theme-muted);font-size:14px}.nv136-import-report{border:1px solid var(--theme-border);padding:16px;margin:14px 0;border-radius:12px}#nr136Editor textarea,#nr136ImportText{width:100%;box-sizing:border-box;line-height:1.6;min-height:240px;background:var(--theme-input);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:10px;padding:14px}.nv136-personal-tabs{margin-bottom:18px}.nc-actions button[aria-pressed=true]{background:var(--theme-active);outline:1px solid var(--theme-accent)}.nlh-global-project{display:flex;flex-direction:column;gap:6px;max-width:280px}
.nv136-auth-gate{position:fixed;inset:0;z-index:100000;background:var(--theme-bg);display:grid;place-items:center;padding:16px;overflow:auto}.nv136-auth-gate>.nc-shell{width:min(700px,100%);height:auto;max-height:calc(100dvh - 32px);min-height:0;overflow:auto}.nv136-auth-gate .nc-content{overflow:auto}.nv136-auth-gate input[name=code]{font-size:26px;text-align:center;letter-spacing:.3em;margin:12px 0}
.norella-chat-panel{top:0!important;right:0!important;bottom:0!important;height:100dvh!important;width:min(520px,100vw)!important;border-radius:16px 0 0 16px!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}.norella-chat-panel-header{background:var(--theme-surface2)!important}.norella-chat-content .norella-inbox-contacts{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 8px}.norella-contact-chip{white-space:nowrap}.norella-bubble-sender:empty{display:none}.norella-chat-day{text-align:center;color:var(--theme-muted);font-size:11px;margin:14px 0}.norella-chat-content .norella-unified-feed{background:var(--theme-bg)!important;border:0!important}.norella-chat-content .norella-inbox-compose{background:var(--theme-surface2)!important;margin-top:0!important;border-radius:0!important;border-width:1px 0 0!important}.norella-compose-top:empty{display:none}#norellaNewMessages{align-self:center;background:var(--theme-active);color:var(--theme-text);padding:8px 14px;border:1px solid var(--theme-accent);border-radius:16px}#norellaNewMessages[hidden]{display:none!important}.norella-chat-content .norella-unified-feed{scroll-behavior:auto}.norella-chat-content .norella-bubble time{font-size:10px}.norella-chat-content .norella-inbox-heading{padding-bottom:4px!important}@media(max-width:540px){.norella-chat-panel{border-radius:0!important;width:100vw!important}.row-actions button span{display:none}.row-actions button{min-width:36px;min-height:36px}}
.w-launch-alert{display:inline-flex!important;padding:0!important;margin:8px 0!important;width:auto!important}.w-launch-alert.hidden{display:none!important}.w-launch-jump{padding:8px 12px!important;gap:9px!important;border-radius:10px!important;min-height:0!important;width:auto!important;background:var(--theme-surface2)!important;border:1px solid var(--theme-border)!important}.w-launch-jump small{display:inline!important;margin-left:10px}.w-launch-chevron{margin-left:12px!important;font-size:12px}.w-launch-rocket{font-size:16px!important}.norella-ceo-overview{display:none!important}.norella-team-toolbar{padding:8px 12px!important;min-height:0!important;margin-bottom:10px!important;gap:8px!important}.month-bar{padding:8px 12px!important;min-height:0!important}.w-quickbar{min-height:0!important;padding:0 0 8px!important}.w-quickbar [hidden]{display:none!important}.table-wrap{max-height:calc(100dvh - 240px);overflow:auto}.table-wrap thead th{position:sticky;top:0;z-index:2;background:var(--theme-surface2)}.row-actions .link-btn{border:1px solid var(--theme-border);padding:8px 10px;border-radius:8px;background:var(--theme-surface2);font-weight:600}.norella-compose-actions select{max-width:150px}.norella-chat-panel [data-chat-project]{white-space:normal;text-align:left;max-width:100%}.norella-chat-panel textarea{background:var(--theme-input)!important;color:var(--theme-text)!important}
.inline-date-label{border:1px solid transparent;background:transparent;color:var(--theme-text);padding:8px 10px;border-radius:8px;white-space:nowrap}.inline-date-label:hover{border-color:var(--theme-border);background:var(--theme-surface2)}.inline-date[hidden],.inline-date-label[hidden]{display:none!important}.table-wrap td:nth-child(4){position:sticky;left:0;z-index:1;background:var(--theme-surface)}.table-wrap th:nth-child(4){left:0;z-index:3}.w-launch-alert:has(button){border:0!important;background:transparent!important}
.nc-shell{--nc-line:var(--theme-border);--nc-panel:var(--theme-surface2);--nc-bg:var(--theme-surface);--nc-ink:var(--theme-text);--nc-soft:var(--theme-muted);--nc-accent:var(--theme-accent)}.nc-head{background:var(--theme-surface2)!important}.nc-shell input:not([type=checkbox]),.nc-shell select,.nc-shell textarea{background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}.nc-check,.nc-check-row{flex-direction:row!important;justify-content:flex-start!important}.nc-check input,.nc-check-row input{margin:0!important}.nc-side-link{color:var(--theme-muted)}.nc-side-link.is-active{background:var(--theme-active);color:var(--theme-text)}:root[data-accent=teal]{--theme-accent:#47c7af;--theme-action:#137968}:root[data-accent=blue]{--theme-accent:#78b5ff;--theme-action:#2867a0}:root[data-accent=purple]{--theme-accent:#bc9aff;--theme-action:#704aac}.btn.primary,.nc-primary{background:var(--theme-action,#137968)!important;border-color:var(--theme-accent)!important}.nc-shell button.nc-primary{background:var(--theme-action,#137968)!important;border-color:var(--theme-accent)!important}
.na136-row{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--theme-border)}.na136-row>div{min-width:0;flex:1}.na136-row time{color:var(--theme-muted);font-size:12px;white-space:nowrap}.na136-row pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:var(--theme-input);padding:12px;border-radius:10px}.na136-row details{color:var(--theme-muted);font-size:12px}.na136-row p{margin:6px 0!important}
.norella-chat-content .norella-unified-inbox{position:relative}.norella-chat-content .norella-chat-preferences{position:absolute;right:0;top:0;margin:0!important}.norella-chat-content .norella-inbox-heading{padding-right:48px!important}.norella-chat-content .norella-inline-reply{display:none}
.nlh-column-option{display:grid;grid-template-columns:minmax(180px,1fr) 34px 34px;gap:4px;align-items:center;padding:4px 0}.nlh-column-option label{display:flex;flex-direction:row;gap:8px;align-items:center}.nlh-column-option button{padding:4px!important}.nlh-column-options{min-width:300px}.nlh-integration{gap:16px;align-items:flex-start}.nlh-integration small{display:block;line-height:1.6}.nlh-int-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px}
.metrics-grid>.metric-card{flex-direction:row!important;min-height:52px!important;height:auto!important;text-align:left!important;gap:10px!important}.metrics-grid>.metric-card .metric-value{margin:0!important;font-size:24px!important;line-height:1}.metrics-grid>.metric-card .metric-label{font-size:11px;line-height:1.3}.table-wrap td:nth-child(4){min-width:170px}.row-actions .link-btn{white-space:nowrap}
.nkb-layout{display:grid;grid-template-columns:minmax(220px,.34fr) minmax(0,1fr);gap:18px;align-items:start;min-width:0}.nkb-layout>*{min-width:0}.nkb-card{display:block;width:100%;text-align:left;background:var(--theme-surface2)!important;color:var(--theme-text)!important;border:1px solid var(--theme-border)!important;border-radius:12px;padding:14px!important;margin:0 0 10px}.nkb-card.selected{border-color:var(--theme-accent)!important}.nkb-card strong,.nkb-card small{display:block}.nkb-card small{color:var(--theme-muted);font-size:11px;margin:6px 0}.nkb-card p{font-size:12px!important;line-height:1.5;overflow-wrap:anywhere;margin:6px 0 0!important}.nkb-badge{display:inline-block;font-size:10px;border:1px solid var(--theme-accent);color:var(--theme-text);padding:3px 7px;border-radius:10px;margin-top:5px}.nkb-body{line-height:1.75;overflow-wrap:anywhere;margin:18px 0;user-select:text}.nkb-body img{max-width:100%;height:auto;border-radius:10px;display:block;margin:14px 0}.nkb-heading{font-size:1.15em;display:inline-block;margin:12px 0 2px}.nkb-body a{color:var(--theme-accent)}#nkbForm fieldset{border:0;padding:0;margin:0;min-width:0}#nkbForm fieldset>label{margin-bottom:14px}#nkbForm textarea{line-height:1.6;min-height:280px}.nkb-toolbar{margin:12px 0}.nkb-flags{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.nkb-revision{padding:12px 0;border-top:1px solid var(--theme-border)}.nkb-top .nc-actions>label{flex:1;min-width:170px}.nkb-reader h2{font-size:23px;line-height:1.35}.nkb-reader>small{color:var(--theme-muted)}[data-audience][hidden]{display:none!important}@media(max-width:800px){.nkb-layout{grid-template-columns:1fr}.nkb-top .nc-actions{align-items:stretch}#nkbForm .nc-actions{gap:6px}}
.nv136-import-steps{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.nv136-import-steps span{border:1px solid var(--theme-border);color:var(--theme-muted);padding:8px 12px;border-radius:20px;font-size:12px}.nv136-import-steps .active{background:var(--theme-active);color:var(--theme-text);border-color:var(--theme-accent)}.nv136-dropzone{border:1px dashed var(--theme-border);border-radius:12px;padding:18px;background:var(--theme-input)}.nv136-dropzone.dragging{border-color:var(--theme-accent);background:var(--theme-active)}.nv136-import-grid input[type=text]{min-width:150px}.nv136-import-grid td:last-child{min-width:200px}.nv136-import-grid th{white-space:nowrap}#nv136ImportGrid:empty{display:none}#nv135Validate{margin:14px 0;padding:12px;border-radius:10px;background:var(--theme-active)}#nv136ImportHistory{margin-top:18px}#nv136ImportHistory td{white-space:normal;overflow-wrap:anywhere}
#nlhHubFilters{align-items:end;gap:10px}#nlhHubFilters>label{display:grid;gap:5px;flex:1 1 170px;min-width:0;font-size:12px;color:var(--theme-muted)}#nlhHubFilters select,#nlhHubFilters input{width:100%;min-width:0;min-height:40px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-input);color:var(--theme-text);padding:8px 10px;font:inherit}#nlhHubFilters>details{max-width:100%;padding:10px;border:1px solid var(--theme-border);border-radius:10px}#nlhHubFilters details input{margin:8px 0}.nlh-repeat{display:block;width:max-content;max-width:100%;margin-top:5px;padding:2px 6px;border:1px solid var(--theme-accent);border-radius:5px;font-size:10px;color:var(--theme-text);white-space:normal}.nlh-group th{position:static!important;background:var(--theme-surface2)!important;font-size:12px;color:var(--theme-text)!important}#nlhRefreshed{color:var(--theme-muted);font-size:11px}
.norella-first-unread{text-align:center;color:var(--theme-accent);font-size:11px;font-weight:700;margin:12px 0;padding:7px;border-top:1px solid var(--theme-border);border-bottom:1px solid var(--theme-border)}
.nlh-advanced-filters>summary,.nlh-export-menu>summary{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface2);font-size:12px;font-weight:650;color:var(--theme-text)}.nlh-advanced-filters[open]>summary{margin-bottom:10px}.nlh-export-menu{position:relative}.nlh-export-options{position:absolute;right:0;top:calc(100% + 6px);width:240px;max-width:80vw;z-index:6;display:grid;gap:8px;padding:12px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);box-shadow:0 8px 24px var(--theme-shadow)}.nlh-table-summary>div:last-child strong{font-size:18px;line-height:1.4}.nlh-selection .btn{font-size:12px;padding:8px 10px}.nlh-dialog-header{gap:12px}
@media(max-width:700px){.nlh-dialog-header small{display:none}.nlh-dialog-header{padding:12px 14px}.nlh-dialog-header h2{margin:0}.nlh-table-summary>div{padding:10px}.nlh-selection{padding:4px 0}.nlh-dialog-body{padding:12px}}

:root[data-theme=light][data-accent=teal]{--theme-accent:#087866}:root[data-theme=light][data-accent=blue]{--theme-accent:#235f9a}:root[data-theme=light][data-accent=purple]{--theme-accent:#68439d}:root[data-theme=light] .nc-danger{color:#b42318;border-color:#b42318}:root[data-theme=light] #metricActive{color:#087d50!important}:root[data-theme=light] #metricRefused{color:#b42318!important}:root[data-theme=light] #metricPaused,:root[data-theme=light] #metricBudgetEnded{color:#6941a5!important}
.nc-shell label{color:var(--theme-text)}.nc-shell button:not(.nc-primary){background:var(--theme-surface2);color:var(--theme-text)}.nc-shell .nc-side-link.is-active{background:var(--theme-active);color:var(--theme-text)}.nc-shell button.nc-danger{color:#ffaaa4}.nc-shell .nc-empty{color:var(--theme-muted)}:root[data-theme=light] .nc-shell button.nc-danger{color:#b42318}
.norella-workspace-picker{position:relative;max-width:min(540px,calc(100vw - 80px))}.norella-workspace-picker>summary{padding:9px 14px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface2);color:var(--theme-text);font-weight:650;font-size:13px;overflow-wrap:anywhere}.norella-workspace-options{position:absolute;left:0;top:calc(100% + 8px);width:360px;max-width:calc(100vw - 56px);z-index:20;padding:12px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);box-shadow:0 10px 30px var(--theme-shadow)}.norella-workspace-options input{width:100%;min-width:0;padding:10px;margin-bottom:8px;background:var(--theme-input);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:8px}.norella-workspace-options>div{max-height:300px;overflow:auto;display:grid;gap:5px}.norella-workspace-options button{text-align:left;white-space:normal!important;overflow-wrap:anywhere}.project-ads-cell .open-url{white-space:nowrap;font-size:12px}.norella-workspace-picker[open]>summary{border-color:var(--theme-accent)}
.row-actions button,.row-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px}.row-actions svg,.w-launch-rocket svg{flex:none;vertical-align:middle}
[hidden]:not([hidden="until-found"]){display:none!important}

.nlh-setup>summary{display:inline-flex;min-height:42px;align-items:center;padding:10px 16px;border-radius:10px;background:var(--theme-primary);color:var(--theme-on-primary,#fff);font-weight:650;cursor:pointer}.nlh-config-form{display:grid;gap:14px;padding:18px 0;max-width:680px}.nlh-config-form label{display:grid;gap:6px}.nlh-config-form input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:10px;border-radius:9px;border:1px solid var(--theme-border);background:var(--theme-input);color:var(--theme-text);font:inherit}.nlh-config-form small{color:var(--theme-muted);font-size:12px;font-weight:400}.nlh-config-form .nlh-config-check{display:flex;align-items:flex-start;gap:8px}.nlh-config-actions{display:flex;gap:10px;flex-wrap:wrap}.nlh-config-form [role=alert]:empty{display:none}.nlh-config-form [role=alert]{color:var(--theme-danger,#dd6666)}

/* V13.6 review: theme tokens must also cover hover/selection and native panels. */
.nlh-table tbody tr,.nlh-table td{color:var(--theme-text)!important;background:transparent}
.nlh-table tbody tr:hover,.nlh-table tbody tr:focus-within{background:var(--theme-active)!important;color:var(--theme-text)!important}
.nlh-table tbody tr:has(input[data-nlh-select]:checked){background:var(--theme-active)!important}
.nlh-datecell,.nlh-number,.nlh-search-label>span,.nlh-export-format>span,.nlh-dialog-header small{color:var(--theme-muted)!important}
.nlh-close,.nlh-column-chooser>summary,.nlh-column-options,.nlh-column-option button{background:var(--theme-surface2)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
.nlh-table-scroll,.nlh-column-options,.nlh-dialog-body{scrollbar-color:var(--theme-border) var(--theme-surface);color-scheme:inherit}
.nlh-table-scroll::-webkit-scrollbar,.nlh-column-options::-webkit-scrollbar{height:10px;width:10px}
.nlh-table-scroll::-webkit-scrollbar-track,.nlh-column-options::-webkit-scrollbar-track{background:var(--theme-surface)}
.nlh-table-scroll::-webkit-scrollbar-thumb,.nlh-column-options::-webkit-scrollbar-thumb{background:var(--theme-border);border-radius:10px}
.norella-lead-today button,.norella-lead-today a{background:var(--theme-surface2)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
.nv137-deadlines{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:24px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:16px}
.nv137-deadlines::backdrop{background:#0009;backdrop-filter:blur(3px)}
.nv137-deadlines header{display:flex;justify-content:space-between;align-items:center;gap:16px}.nv137-deadlines h2{margin:0}.nv137-deadlines p{color:var(--theme-muted);line-height:1.6}.nv137-deadlines button{background:var(--theme-surface2);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:8px;padding:8px 14px}.nv137-deadlines .mini-list{display:grid;gap:8px}
.nlh-hub-nav,.nlh-config-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.nlh-hub-nav button,.nlh-project-directory button,.nlh-column-panel button{padding:9px 12px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface2);color:var(--theme-text);font:inherit;cursor:pointer}
.nlh-hub-nav button[aria-pressed=true]{background:var(--theme-active);border-color:var(--theme-accent)}
.nlh-directory-tools,.nlh-global-scope{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.nlh-directory-tools label,.nlh-global-scope label{display:grid;gap:6px;flex:1 1 180px;min-width:0;font-size:12px;color:var(--theme-muted)}
.nlh-directory-tools input:not([type=checkbox]),.nlh-directory-tools select,.nlh-global-scope select,.nlh-column-panel input[type=search]{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-input);color:var(--theme-text);font:inherit;min-height:42px}
.nlh-directory-tools .nlh-config-check{display:flex;align-items:center;flex-direction:row;gap:8px}.nlh-project-directory td:first-child{width:auto}.nlh-project-directory td:first-child button{text-align:left;white-space:normal;overflow-wrap:anywhere;color:var(--theme-accent);font-weight:650}
.nlh-project-directory .nlh-table{min-width:600px}.nlh-all-answers{min-width:200px;max-width:420px}.nlh-all-answers summary{color:var(--theme-accent);white-space:normal}.nlh-all-answers p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.nlh-column-panel{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid var(--theme-border);border-radius:16px;background:var(--theme-surface);color:var(--theme-text);overflow:hidden}
.nlh-column-panel[open]{display:flex;flex-direction:column;gap:12px}.nlh-column-panel::backdrop{background:#0009;backdrop-filter:blur(3px)}.nlh-column-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.nlh-column-panel h3{margin:0}.nlh-column-panel p,.nlh-column-panel>small{margin:0;line-height:1.5;color:var(--theme-muted);font-size:12px}.nlh-column-list{overflow:auto;min-height:0;flex:1;max-height:52dvh;scrollbar-color:var(--theme-border) var(--theme-surface)}.nlh-column-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--theme-border);padding:10px 0}.nlh-column-item label{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.nlh-column-item small{display:block;margin-top:4px;font-size:11px;color:var(--theme-muted);overflow-wrap:anywhere}.nlh-drag-grip{cursor:grab;color:var(--theme-muted)}.nlh-column-moves{display:flex;gap:4px;opacity:0}.nlh-column-item:focus-within .nlh-column-moves,.nlh-column-item:hover .nlh-column-moves{opacity:1}.nlh-column-moves button{padding:6px 9px}.nlh-column-item input{flex:none;width:18px;height:18px;accent-color:var(--theme-accent)}
@media(max-width:700px){.nlh-column-panel{padding:16px}.nlh-column-moves{opacity:1}.nlh-project-directory .nlh-table{min-width:540px}}

:root:not([data-norella-role="ceo"]) #norellaWorkspaceToolbar{display:none!important}
.header-right #norellaRequestCEOButton,.header-right #norellaCEORequestsButton{white-space:nowrap;min-height:38px;font-size:12px;padding:8px 12px}

/* The directory has project names, not the checkbox column of the lead table. */
.nlh-project-directory .nlh-table{table-layout:fixed;min-width:680px}
.nlh-project-directory .nlh-table th:first-child,.nlh-project-directory .nlh-table td:first-child{width:40%;min-width:220px}
.nlh-project-directory .nlh-table th:nth-child(2),.nlh-project-directory .nlh-table th:nth-child(3){width:14%}
.nlh-project-directory .nlh-table th:last-child{width:32%}
.nlh-project-directory .nlh-table th,.nlh-project-directory .nlh-table td{padding:16px}
.nlh-project-directory [data-nlh-project-row]{cursor:pointer}
.nlh-project-directory .nlh-table td:first-child button{display:block;width:100%;padding:0;border:0;border-radius:4px;background:transparent;text-align:left;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:break-word;color:var(--theme-text)}
.nlh-project-directory [data-nlh-project-row]:hover [data-nlh-project],.nlh-project-directory [data-nlh-project-row]:focus-within [data-nlh-project]{color:var(--theme-accent);text-decoration:underline;text-underline-offset:4px}
.nlh-project-directory [data-nlh-project]:focus-visible{outline:2px solid var(--theme-accent);outline-offset:5px}
.nlh-directory-last{display:flex;align-items:center;justify-content:space-between;gap:16px;font-variant-numeric:tabular-nums}
.nlh-directory-arrow{color:var(--theme-accent);font-size:20px}
.nlh-directory-tools label.nlh-config-check{flex:0 0 auto;min-height:42px;white-space:nowrap;color:var(--theme-text)}
.nlh-directory-tools .nlh-config-check input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:var(--theme-accent)}

.nlh-directory-tools label.nlh-config-check{box-sizing:border-box;gap:10px;cursor:pointer;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface2);padding:10px 12px;font-size:12px;line-height:1.4;white-space:normal;max-width:100%;min-height:42px}
.nlh-directory-tools .nlh-config-check input[type=checkbox]{appearance:none;position:relative;box-sizing:border-box;flex:0 0 38px;width:38px;height:22px;border:1px solid var(--theme-border)!important;border-radius:20px;background:var(--theme-input)!important;cursor:pointer}
.nlh-directory-tools .nlh-config-check input[type=checkbox]::before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--theme-muted);transition:transform .15s}
.nlh-directory-tools .nlh-config-check input[type=checkbox]:checked{background:var(--theme-accent)!important;border-color:var(--theme-accent)!important}
.nlh-directory-tools .nlh-config-check input[type=checkbox]:checked::before{transform:translateX(16px);background:var(--theme-bg)}
.nlh-directory-tools .nlh-config-check:focus-within{outline:2px solid var(--theme-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.nlh-directory-tools .nlh-config-check input[type=checkbox]::before{transition:none}}

.nlh-directory-tools .nlh-config-check input[type=checkbox]{min-height:22px;max-height:22px;padding:0!important}

.nc-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.nc-workspace-heading h3{margin:0}.nc-workspace-heading p{margin:8px 0 0}.nc-workspace-heading button{min-height:42px;white-space:nowrap}
.nc-workspace-create{border:1px solid var(--theme-border);border-radius:12px;padding:16px;margin-bottom:20px;background:var(--theme-surface2)}
.nc-workspace-create p{font-size:13px;line-height:1.6;margin:12px 0 0}
.nc-workspace-create .nc-form-row{margin:0}
@media(max-width:700px){.nc-workspace-heading{align-items:stretch}.nc-workspace-heading button{width:100%}}

.nv137-permission-category{border:1px solid var(--theme-border);border-radius:12px;margin:16px 0;padding:16px;background:var(--theme-surface)}
.nv137-permission-category>h3{font-size:16px;margin:0 0 12px}.nv137-permission-category>p{font-size:12px;line-height:1.6;color:var(--theme-muted)}
.nv137-permission-category.is-sensitive{border-color:var(--theme-accent)}
.nv137-permission-module+.nv137-permission-module{margin-top:20px}.nv137-permission-module h4{margin:0 0 6px;font-size:13px;color:var(--theme-muted)}
.v13-role-perms .nv137-permission-row,.nv137-permission-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,260px);align-items:center;gap:16px;padding:10px 0;border-top:1px solid var(--theme-border);margin:0;font-size:13px}
.nv137-permission-row small{display:block;font-weight:400;line-height:1.5;color:var(--theme-muted);margin-top:5px}.nv137-permission-row select{min-width:0;width:100%;min-height:40px}
.nv137-create-role.nc-shell{width:min(1020px,calc(100vw - 24px));height:min(90dvh,1000px);max-height:90dvh}.nv137-create-role .nc-content{overflow:auto;min-height:0}.nv137-create-role form>label{display:grid;gap:7px;margin-bottom:14px}
.nv137-role-footer{position:sticky;bottom:-1px;background:var(--theme-surface);border-top:1px solid var(--theme-border);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.nv137-role-footer p{font-size:12px;color:var(--theme-muted)}
.nv137-ceo-only{padding:14px 0;color:var(--theme-muted);font-size:12px;line-height:1.6}.nv137-ceo-only summary{cursor:pointer;font-weight:650}
@media(max-width:700px){.v13-role-perms .nv137-permission-row,.nv137-permission-row{grid-template-columns:minmax(0,1fr);gap:8px}.nv137-permission-category{padding:12px}.nv137-role-footer button{width:100%}}

.nc-shell label.nv137-permission-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,260px);text-align:left;justify-items:stretch;align-items:center;gap:16px}
.nc-shell label.nv137-permission-row>span{text-align:left}.v13-role-perms{max-height:none;overflow:visible;border:0;padding:0}
.v13-role-edit>.nc-actions:has(#v13SavePermissions){position:sticky;bottom:0;background:var(--theme-surface);border-top:1px solid var(--theme-border);padding:12px 0;z-index:2}
@media(max-width:700px){.nc-shell label.nv137-permission-row{grid-template-columns:minmax(0,1fr);gap:8px}}
