/* Shared inset workspace, matching the Space documents library. */
main.module-workspace-main{max-width:none;padding:22px 26px 30px}.module-shell{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:calc(100vh - 115px);border:1px solid var(--border,#e4e7e2);border-radius:18px;background:var(--surface,#fff);color:var(--text,#272a26)}.module-shell[hidden]{display:none}.module-sidebar{background:var(--surface-soft,#fbfbfa);border-right:1px solid var(--border,#e4e7e2);border-radius:18px 0 0 18px;padding:23px 13px;min-width:0}.module-brand{font-size:19px;font-weight:650;padding:0 10px 21px;letter-spacing:-.3px}.module-sidebar .kc-tabs{display:flex;flex-direction:column;align-items:stretch;gap:4px;border:0;margin:0;padding:0;overflow:visible}.module-sidebar .kc-tab{box-sizing:border-box;margin:0;display:flex;align-items:center;gap:10px;width:100%;text-align:left;white-space:normal;line-height:1.5;min-height:42px;border:0!important;border-radius:9px;background:transparent;padding:10px 11px;font-size:13px;font-weight:450;color:var(--muted,#6b7475);box-shadow:none}.module-sidebar .kc-tab.selected,.module-sidebar .kc-tab[aria-selected=true]{background:var(--border-soft,#edeeec);color:var(--text,#272a26);font-weight:550}.module-sidebar .kc-tab:hover{background:var(--border-soft,#edeeec)}.module-sidebar .kc-tab:after{display:none}.module-sidebar .kc-tab-badge{margin-left:auto}.module-content{min-width:0;padding:34px 36px 26px}.module-content>.heading-row{margin:0 0 15px;align-items:center;gap:16px;min-height:38px}.module-content h1{font-size:28px;font-weight:650;letter-spacing:-.7px;line-height:1.35;margin:0}.module-content h1>.ui-icon{display:none}.module-content>.context-bar{margin:0 0 26px;padding:0 0 17px;border:0;border-bottom:1px solid var(--border,#e4e7e2);background:transparent;border-radius:0;gap:8px}.module-content .ctx-chip{background:transparent;border:0;padding:0;font-size:11px;color:var(--muted,#6b7475)}.module-content .ctx-chip+.ctx-chip{margin-left:8px}.module-body{min-width:0}.module-body>[data-panel]>section,.module-body .co-workbench,.module-body .pc-single-pane{border:0;background:transparent;box-shadow:none;margin:0;padding:0;border-radius:0}.module-body>[data-panel=kcenter]>section>h2,.module-body>[data-panel=kcenter]>section>p[data-i18n="kc.lead"],.module-body #assistantTaskTitle,.module-body #assistantLead,.module-body .co-workbench>h2,.module-body .co-workbench>p[data-i18n="org.unifiedHelp"],.module-body #overviewSection>h2{display:none}.module-body .co-page-scope{margin:0 0 18px}.module-body button{border-radius:9px;box-shadow:none;font-weight:450}.module-body h2{font-size:20px;font-weight:600;letter-spacing:-.3px}.module-body h3{font-size:15px;font-weight:550}.module-body .kc-stats{gap:12px}.module-body .kc-stat{border-radius:12px;padding:18px}.module-body .row{padding:16px 0}.module-body .grid{gap:20px}.module-body .table-wrap{border-radius:10px}.module-content .heading-row.with-project{min-height:72px}.module-content .project-heading{min-width:0}.module-content .project-picker{max-width:100%}.module-body input,.module-body select,.module-body textarea{border-radius:8px}.module-body .kb-card{box-shadow:none}.module-body details{border-radius:10px}.module-shell :focus-visible{outline-offset:3px}
html[data-theme=dark] .module-shell{background:#171e2b;border-color:#2e3848}html[data-theme=dark] .module-sidebar{background:#141b26;border-color:#2e3848}html[data-theme=dark] .module-sidebar .kc-tab.selected,html[data-theme=dark] .module-sidebar .kc-tab:hover{background:#2b3543;color:#e7ebe5}
@media(min-width:1600px){.module-shell{grid-template-columns:230px minmax(0,1fr)}.module-content{padding:40px 48px}}@media(max-width:1150px){.module-shell{grid-template-columns:175px minmax(0,1fr)}.module-content{padding:28px 22px}.module-content>.heading-row{flex-wrap:wrap}}
@media(max-width:760px){main.module-workspace-main{padding:12px}.module-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);border-radius:12px}.module-sidebar{border-right:0;border-bottom:1px solid var(--border);border-radius:12px 12px 0 0;padding:13px}.module-brand{font-size:18px;padding:0 10px 10px}.module-sidebar .kc-tabs{flex-direction:row;flex-wrap:nowrap;overflow:auto;gap:3px;padding-bottom:3px}.module-sidebar .kc-tab{width:auto;flex:0 0 auto;padding:8px 10px;font-size:11px;white-space:nowrap;min-height:36px;gap:7px}.module-sidebar .kc-tab>.ui-icon{width:17px;height:17px}.module-content{padding:24px 16px}.module-content h1{font-size:25px}.module-content>.context-bar{margin-bottom:20px}.module-content .heading-row.with-project{min-height:170px}.module-content .project-heading{width:100%}.module-content .ctx-chip{line-height:1.8}.module-body .grid{grid-template-columns:minmax(0,1fr)}}

.module-body .oe-field:has(>input[type=checkbox]){display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px 10px;align-items:start}.module-body .oe-field>input[type=checkbox]{grid-column:1;width:16px;min-width:16px;height:16px;margin:3px 0 0;padding:0}.module-body .oe-field:has(>input[type=checkbox])>label{grid-column:2;margin:0}.module-body .oe-field:has(>input[type=checkbox])>p{grid-column:2;margin:0}

@media(max-width:760px){.module-body .kc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.module-body .kc-stat strong{font-size:22px}}

/* Context selection sits before the feature navigation in both modules. */
.module-selector{display:grid;align-content:start;gap:10px;min-height:134px;margin:0 0 18px;padding:13px 11px;background:var(--surface,#fff);border:1px solid var(--border);border-radius:12px;min-width:0}.module-selector[hidden]{display:none}.module-selector label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin:0 0 8px}.module-selector .project-heading-picker,.module-library-picker{min-width:0;max-width:none;flex:none;width:100%}.context-select{position:relative;min-width:0}.context-select>select{width:100%;min-width:0;max-width:100%;appearance:none;-webkit-appearance:none;padding:11px 30px 11px 10px!important;font-size:13px!important;font-weight:550!important;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);line-height:1.5;text-overflow:ellipsis}.context-select>.ui-icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;width:15px;height:15px}.module-selector .project-heading-meta{gap:6px;max-width:none;font-size:11px;line-height:1.6}.module-selector .pc-pill{font-size:10px;padding:3px 6px}.module-selection-meta{font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.module-shell[data-module=proj] .heading-row>h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.module-shell[data-module=proj] .heading-row.with-project{min-height:40px;flex-wrap:nowrap;margin-bottom:16px}.module-shell[data-module=proj] .project-heading{width:100%;justify-content:flex-end}.module-shell[data-module=proj] .project-heading-actions{margin-left:auto}.module-shell[data-module=proj] .project-heading-actions>.actions{justify-content:flex-end}.module-selector .notice{padding:7px;font-size:11px;margin:0}.module-shell[data-module=proj] .module-content>.context-bar{margin-bottom:22px}
html[data-theme=dark] .module-selector{background:#171e2b;border-color:#2e3848}@media(max-width:760px){.module-selector{min-height:126px;margin:0 0 13px;padding:12px}.context-select>select{font-size:14px!important}.module-selector .project-heading-meta{display:flex;flex-wrap:wrap}.module-shell[data-module=proj] .heading-row.with-project{min-height:40px;margin-bottom:14px}.module-shell[data-module=proj] .project-heading-actions{width:100%}.module-shell[data-module=proj] .project-heading-actions>.actions{justify-content:flex-start}.module-selector .project-heading-picker,.module-library-picker{max-width:none}}

.module-shell[data-module=proj] .module-selector{min-height:104px}.module-shell[data-module=proj] .module-content .project-heading-meta{margin-right:auto}@media(max-width:520px){.module-shell[data-module=proj] .heading-row.with-project{min-height:80px}}

.module-shell[data-module=kb] .module-selector{min-height:104px}

/* Account, audit and plugin workspaces share the document-library frame. */
.module-shell[data-module=home] .account-home{--ah-surface:var(--surface);--ah-soft:var(--surface-soft);--ah-line:var(--border);--ah-muted:var(--muted);--ah-ink:var(--text);max-width:none;margin:0}.module-sidebar .ah-tabs{overflow:visible}.module-shell[data-module=home] .ah-hero{padding:0 0 20px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none}.module-shell[data-module=home] .ah-hero h2{font-size:20px;font-weight:600}.module-shell[data-module=home] .ah-avatar{width:44px;height:44px;font-size:19px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);color:var(--muted)}.module-shell[data-module=home] .ah-eyebrow{display:none}.module-shell[data-module=home] .ah-summary{padding:14px 0 20px;gap:12px;font-size:11px}.module-shell[data-module=home] .ah-summary span:last-child{max-width:420px;line-height:1.7}.module-shell[data-module=home] .account-home:not([data-account-section=spaces])>.ah-hero,.module-shell[data-module=home] .account-home:not([data-account-section=spaces])>.ah-summary{display:none}.module-shell[data-module=home] .account-home section{box-shadow:none;border-radius:12px;padding:20px 22px;margin-bottom:18px}.module-shell[data-module=home] .ah-form-card{max-width:none;margin-inline:0}.module-shell[data-module=home] .account-home button{font-weight:450}.module-shell[data-module=home] #spaceList{gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.module-shell[data-module=home] #spaceList>.row{padding:18px;border:1px solid var(--border);border-radius:12px}.module-shell[data-module=home] #spaceList>.row strong{font-size:15px;font-weight:550}.module-shell[data-module=home] #spaceList>.row.ah-current{box-shadow:none;border-color:var(--border-strong,var(--accent-line,var(--border)))}.module-shell[data-module=home] #ah-panel-tasks>section{padding:0;border:0}.module-shell[data-module=home] #ah-panel-tasks>section>h2{display:none}.module-shell[data-module=home] .ah-inbox{background:var(--surface-soft)}.module-shell[data-module=home] .ml-workbench,.module-shell[data-module=home] .gi-workbench{max-width:none}
.module-selector>#auditModuleScope,.module-selector>#pluginModuleScope{min-width:0}.module-selector .ca-field{display:block;min-width:0;width:100%;margin:0 0 14px}.module-selector .ca-field:last-child{margin-bottom:0}.module-selector .ca-field>span,.module-scope-label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin:0 0 8px}.module-selector select{box-sizing:border-box;min-width:0;width:100%;max-width:100%;padding:10px;font-size:12px;line-height:1.5;text-overflow:ellipsis;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text)}.module-selector .plg-level{display:flex;flex-direction:column;border:0;border-radius:0;gap:5px}.module-selector .plg-level button{font-size:12px;padding:9px 10px;text-align:left;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent}.module-selector .plg-level button[aria-pressed=true]{color:var(--text);background:var(--border-soft,var(--surface-soft));border-color:var(--border);font-weight:550}
.module-body .ca-workbench{--line:var(--border);--panel:var(--surface);--bg:var(--surface-soft);max-width:none;width:100%;min-width:0}.module-body .ca-toolbar{justify-content:flex-end;margin:0 0 16px}.module-body .ca-reportbar{gap:12px;padding:0 0 16px;min-width:0}.module-body .ca-reportbar>button{margin-left:auto}.module-body .ca-stats{gap:12px}.module-body .ca-stats>div{border-radius:12px;padding:17px 18px;background:var(--surface);min-width:0}.module-body .ca-stats strong{font-size:25px}.module-body .ca-actionbar{border-radius:12px;box-shadow:none}.module-body .ca-snapshot p{font-size:12px}.module-body .ca-issue-group{box-shadow:none}.module-body .ca-filters{margin-bottom:18px}
.module-body .plg-intro{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--border);font-size:13px;line-height:1.8}.module-body .plg-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:18px}.module-body .plg-card{padding:20px;border-radius:12px;background:var(--surface)}.module-body .plg-card h3{font-size:16px;font-weight:550}.module-body .plg-card>p{font-size:13px;line-height:1.8;margin:0 0 8px}.module-body .plg-badge{border-color:var(--border);font-size:10px;padding:2px 7px}.module-body .plg-filters{gap:7px;margin:0 0 20px}.module-body .plg-chip{border-color:transparent;font-size:12px;color:var(--muted);padding:7px 12px}.module-body .plg-chip.selected{background:var(--surface-soft);border-color:var(--border);color:var(--text);font-weight:550}.module-body .plg-detail>.plg-card-head{padding:10px 0 18px;border-bottom:1px solid var(--border)}.module-body .plg-group{max-width:none}.module-body .plg-table{display:block;max-width:100%;overflow-x:auto;font-size:12px}.module-body .plg-group .plg-field{padding-bottom:18px}.module-shell[data-module=plugins] .module-selector{min-height:0}.module-shell[data-module=audit] .module-selector{min-height:0}
@media(max-width:760px){.module-sidebar .ah-tabs{overflow:auto}.module-shell[data-module=home] .ah-summary span:last-child{max-width:none}.module-shell[data-module=home] .account-home section{padding:17px}.module-shell[data-module=home] #ah-panel-tasks>section{padding:0}.module-selector #auditModuleScope{display:grid;grid-template-columns:1fr 1fr;gap:12px}.module-selector .ca-field{margin:0}.module-selector .plg-level{flex-direction:row;flex-wrap:wrap}.module-selector .plg-level button{flex:1;text-align:center}.module-body .ca-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.module-body .ca-stats>div{padding:13px}.module-body .plg-grid{gap:14px}.module-body .plg-card{padding:17px}}

.upload-policy-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.upload-policy-heading h2{margin:0}.upload-policy-editor{max-width:none}.upload-policy-editor fieldset{margin:20px 0;border:0;padding:0;min-width:0}.upload-policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.upload-policy-field{font-size:12px;margin:0}.upload-policy-field>span,.upload-policy-field>small{display:block}.upload-policy-field input{width:100%;box-sizing:border-box;margin:7px 0}.upload-policy-formats{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:24px}.upload-policy-formats h3{flex-basis:100%;margin:0 0 6px}.upload-policy-formats label{display:flex;align-items:center;gap:8px;font-size:12px;margin:0}.upload-policy-formats input{width:auto;margin:0}.upload-policy-editor>p{line-height:1.8}@media(max-width:650px){.upload-policy-grid{grid-template-columns:1fr}.upload-policy-heading{align-items:flex-start}}
