.directory-panel{--edge:clamp(16px,2vw,34px);padding:20px var(--edge);color:var(--ink)}
.directory-panel h1{font-size:clamp(23px,1.5vw,30px);font-weight:550;margin:8px 0 16px}
.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.directory-heading h1{margin:0}.directory-heading .primary{min-width:132px}
.directory-panel .tablewrap{width:100%}.directory-panel table{width:100%;border-collapse:collapse;font-size:15px}
.directory-panel td,.directory-panel th{padding:13px 12px;border:0;border-bottom:1px solid #dedde2;text-align:left;background:white;vertical-align:top}
.directory-panel th{font-weight:600}
.directory-panel tr:has(.namebtn):hover td{background:var(--mid);cursor:pointer}
.directory-panel [data-list]{table-layout:fixed}
.directory-panel [data-list] th{white-space:nowrap;vertical-align:middle}
.directory-panel [data-list] td{vertical-align:middle}
.directory-panel [data-list] td .namebtn{max-width:100%;overflow-wrap:anywhere}
.directory-panel [data-list] th .namebtn{flex-direction:row-reverse}
.directory-panel [data-list] th .ico{width:13px;height:13px}
.directory-panel [data-list] th:last-child{width:90px}
.directory-panel [data-list=groups] {min-width:420px}
.directory-panel [data-list=groups] th:first-child,.directory-panel [data-list=roles] th:first-child{width:54px}
.directory-panel [data-list=groups] th:nth-child(2){width:32%}
.directory-panel [data-list=roles]{min-width:760px}
.directory-panel [data-list=roles] th:nth-child(2){width:85px}
.directory-panel [data-list=roles] th:nth-child(3){width:18%}
.directory-panel [data-list=roles] th:nth-child(5){width:132px}
.directory-panel [data-list=roles] td{vertical-align:top}
.directory-panel [data-list=people]{min-width:750px}
.directory-panel [data-list=people] th:first-child{width:40px}
.directory-panel [data-list=people] th:nth-child(2){width:58px}
.directory-panel [data-list=people] th:nth-child(3){width:20%}
.directory-panel [data-list=people] th:nth-child(4){width:25%}
.directory-panel [data-list=people] input[type=checkbox]{margin:0;vertical-align:middle}
.directory-panel .row.end{display:grid;grid-template-columns:30px 30px;justify-content:end;gap:6px}
.directory-panel .row.end button{width:30px;height:26px}
.directory-panel .namebtn{padding:0;color:inherit;background:transparent;text-align:left;font:inherit;display:inline-flex;align-items:center;gap:6px}
.directory-context{max-width:480px;margin-top:24px}.directory-context:empty{display:none}
.directory-tools,.directory-pages,.directory-filters{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.directory-pages{justify-content:center;margin:15px 0}.directory-filters{margin-bottom:20px}.directory-filters .field{min-width:160px}
.directory-strip{display:flex;align-items:center;gap:12px;background:var(--mid);padding:16px var(--edge);margin:18px calc(-1 * var(--edge))}
.directory-strip>span{margin-left:auto;color:var(--muted);font-size:13px}
.directory-panel .active-count{display:inline-block;background:var(--selected);padding:12px 16px;border:1px solid var(--brand);border-radius:6px;margin:6px 0}
.directory-panel .person-tabs{display:flex;max-width:1280px;margin:18px 0 28px}
.person-tabs button{flex:1;background:transparent;color:inherit;padding:12px 6px;border-radius:0;border-bottom:3px solid var(--selected)}
.person-tabs button[aria-selected=true]{font-weight:600;border-color:var(--brand)}
.person-form,.grant-tree{max-width:1280px}.person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}
.person-form .field,.group-editor .field{margin:0 0 16px}
.person-form .field input,.person-form .field select,.person-form .password-control,.group-select,.group-editor input,.role-editor input:not([type=checkbox]){min-height:44px;border:1px solid var(--field-border, var(--line));border-radius:12px;padding:8px 14px;background:white}
.person-form .password-control{padding:0 10px 0 0}.person-form .password-editor{margin:4px 0 16px}.person-form .editor-label{display:block;color:var(--muted);font-size:13px}
.person-grid .linkbtn{margin-bottom:18px}.group-select{margin:6px 0;cursor:pointer}.group-select summary{padding:2px}.group-select .check{margin:8px 0}
.grant-tree{margin:18px 0}.grant-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0}.grant-label{display:flex;align-items:center;gap:7px}
.grant-label i{width:12px}.grant-pad{width:32px}.grant-row select{max-width:240px;width:auto}
.auth-settings h2{margin:28px 0 14px}.auth-settings .field{max-width:300px}
dialog:has(.role-editor,.group-editor,.group-rights){width:min(94vw,1044px);max-height:92dvh;overflow:hidden;border:0;border-radius:2px;background:white}
dialog:has(.role-editor,.group-editor,.group-rights)::backdrop{background:#15171dbd}
dialog:has(.role-editor,.group-editor,.group-rights) form{display:flex;flex-direction:column;max-height:92dvh}
dialog:has(.role-editor,.group-editor,.group-rights) header{border:0;padding:24px 32px 16px}
dialog:has(.role-editor,.group-editor,.group-rights) .dialogbody{min-height:0;max-height:none;overflow:auto;padding:8px 32px 20px}
dialog:has(.role-editor,.group-editor,.group-rights) footer{padding:16px 32px;gap:16px}
dialog:has(.role-editor,.group-editor) footer .primary{order:-1}
dialog:has(.group-editor) footer [data-dir=group-rights]{order:-2;margin-right:auto}
dialog:has(.role-editor,.group-editor) footer .secondary,dialog:has(.role-editor,.group-editor) footer .primary{border-radius:13px;min-width:124px;min-height:44px}
.group-columns{display:grid;grid-template-columns:45% 55%;height:min(56dvh,670px);min-height:230px}
.group-columns>section{min-width:0;overflow:auto}.group-columns>section+section{border-left:1px solid var(--line);padding-left:12px}
.group-search{display:flex;align-items:center;gap:12px;border:1px solid var(--field-border, var(--line));border-radius:13px;padding:0 12px;margin:0 15px 16px 0}.group-search input{border:0;width:100%;padding:0}
.member-choice{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:57px;padding:9px 14px;text-align:left;color:inherit;background:white;border-bottom:1px solid #eee;border-radius:0}
button.member-choice:hover{background:var(--selected)}.member-choice small{display:block;color:var(--muted);margin-top:3px}.group-columns .hint{padding:0 12px}
.role-section{display:grid;grid-template-columns:27% minmax(0,1fr);border-bottom:1px solid var(--line);padding:16px 0;gap:8px}
.role-section h3{margin:0;min-height:36px;display:flex;align-items:center;align-self:start;font-weight:550}
.role-section:has(>div>input){align-items:center}
.role-section:has(>div>input) h3{align-self:center}
.role-editor input:not([type=checkbox]){width:min(100%,510px);margin:0}
.role-editor .check{min-height:36px;margin:0;max-width:100%;overflow-wrap:anywhere}
.role-editor input[type=checkbox]{width:15px;height:15px;flex:none;margin:0}
.role-permission{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;padding:2px 13px}
.role-permission .hint{margin:0}
.role-options{border:1px solid var(--line);border-radius:12px;padding:0 12px 12px;margin:6px 0}
.role-options fieldset{min-inline-size:0;border:0;padding:4px 0 0;margin:10px 0 0}.role-options legend{font-size:13px;color:var(--muted)}
.role-choices{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.role-choices .check{background:var(--mid);padding:4px 8px;min-height:28px;border-radius:6px}
.role-editor:has(input:disabled) label:has(input:disabled),.role-options fieldset:disabled{color:var(--muted)}
@media(max-width:680px){
  .person-grid,.role-section{grid-template-columns:1fr}.person-tabs button{font-size:12px;min-width:0}.directory-panel td,.directory-panel th{padding:9px}
  dialog:has(.group-editor,.role-editor) header,dialog:has(.group-editor,.role-editor) .dialogbody,dialog:has(.group-editor,.role-editor) footer{padding-inline:14px}
  .group-columns{grid-template-columns:1fr 1fr}.member-choice{font-size:13px;padding:8px;overflow-wrap:anywhere}.group-columns>section+section{padding-left:4px}
  .grant-label i{width:4px}.grant-row select{max-width:46%}.directory-strip{flex-wrap:wrap}.person-tabs{overflow:auto}
}

.configuration-panel{padding:20px clamp(16px,2vw,34px);min-width:0}
.configuration-panel h1{font-size:clamp(23px,1.5vw,30px);font-weight:550;margin:0}
.configuration-panel .panehead{margin-bottom:26px}
.settings-tabs{display:flex;max-width:1280px;border-bottom:3px solid var(--selected);margin-bottom:22px}
.settings-tabs button{flex:1;min-width:0;min-height:45px;padding:8px 12px;background:transparent;color:var(--ink);border:0;border-bottom:3px solid transparent;margin-bottom:-3px;border-radius:0}
.settings-tabs button[aria-selected=true]{font-weight:600;border-bottom-color:var(--brand)}
.product-update{max-width:1280px;padding-bottom:24px}
.product-update h2{font-size:19px;font-weight:550;margin:22px 0 14px}
.update-versions p{margin:2px 0;color:var(--muted)}
.update-versions p:first-child{color:var(--accent-text)}
.update-server-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;max-width:720px;margin:20px 0 12px}
.update-server-form .field{margin:0}.update-server-form input{width:100%;min-width:0}.update-server-form button{min-height:42px}
.update-server-form .error{grid-column:1/-1;margin:0}.update-server-form .error:empty{display:none}
.update-notice{margin:14px 0 24px;padding:8px 14px;border:1px solid #bdd9ed;background:#edf6ff;color:#274d68;border-radius:5px}
.product-update table{width:100%;border-collapse:collapse;table-layout:fixed}
.product-update :is(th,td){padding:10px 12px 10px 0;border-top:1px solid var(--line);vertical-align:top;text-align:left;overflow-wrap:anywhere;line-height:1.45}
.product-update th{width:44%;font-weight:500;color:var(--ink)}
.product-update td{color:#3f705d}.product-update tr:last-child>*{border-bottom:1px solid var(--line)}
@media(max-width:600px){.update-server-form{grid-template-columns:1fr}.update-server-form button{justify-self:start}.product-update th{width:40%}}
.general-form{max-width:1280px;padding-bottom:24px}
.general-form h2{font-size:19px;font-weight:550;margin:22px 0 14px}
.general-form .field{margin:0 0 20px;align-items:stretch}
.general-form .field :is(input,textarea,select){min-height:44px;max-width:100%;margin-top:5px;border:1px solid var(--line);border-radius:12px;padding:9px 16px}
.general-form .field :is(input,textarea,select):focus{border-color:var(--brand)}
.general-form .field.setting-number input{width:102px}
.general-form .field,.settings-label,.password-rules legend{font-size:13px;color:var(--muted)}
.general-form .field :is(input,textarea,select){font-size:15px;color:var(--ink)}
.general-form .retention-help{display:block;color:var(--muted);margin:-12px 0 18px}
.settings-info{padding:8px 14px;border:1px solid #b9d9f3;background:#e6f3ff;border-radius:5px;color:#234862}
.general-form>.check{margin:12px 0 12px 14px}
.general-form>.check+.field{margin-top:22px}
.settings-label{margin:12px 0 5px}
.password-rules{width:min(100%,490px);border:1px solid var(--line);padding:0 14px 12px}
.password-rules .check,.general-form>.check{display:flex;align-items:center;gap:9px;min-height:25px;padding:0}
.password-rules input[type=checkbox],.general-form>.check input{width:16px;height:16px;flex:none;margin:0;accent-color:var(--brand)}
.password-rules>.check{margin:12px 0}
.rule-step{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.rule-step label{width:160px;font-size:13px;line-height:1.35;color:var(--muted)}
.step-controls{display:inline-flex;align-items:center;flex:none;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.step-controls button,.step-controls input{height:40px;width:40px;min-height:0;border:0;border-radius:0;margin:0;padding:0;text-align:center;background:white}
.step-controls button{font-size:21px;color:var(--accent-text)}.step-controls button:disabled{opacity:.45}
.step-controls input{appearance:textfield}.step-controls input::-webkit-inner-spin-button{appearance:none}
.password-rules fieldset{margin:16px 0 0;border:0;padding:0}.password-rules legend{margin-bottom:4px}
.password-rules fieldset .check{margin:5px 0}
.configuration-panel .tablewrap table{width:100%;border-collapse:collapse}.configuration-panel .tablewrap :is(th,td){text-align:left;padding:12px;border-bottom:1px solid var(--line)}
.configuration-panel .tablewrap :is(th,td):first-child{width:3.5em;white-space:nowrap}
.configuration-panel .tablewrap td:last-child{width:1%;white-space:nowrap}
.policy-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.policy-option small{display:block;color:var(--muted)}.item-policy p,.share-note{overflow-wrap:anywhere;white-space:pre-line}
.item-policy .secondary{display:block;margin-top:12px}
@media(max-width:600px){.configuration-panel .tablewrap{overflow-x:auto}.rule-step label{width:auto;flex:1}.step-controls :is(input,button){width:34px}.general-form>.check{margin-left:0}}

.journal-date { display:inline-grid; gap:2px; white-space:nowrap; font-variant-numeric:tabular-nums }
.journal-date small,.journal td small { display:block; font-size:.82em; color:var(--muted); font-weight:400 }
.journal-tools { padding:14px 18px; margin:16px 0; background:var(--workspace,#f6f6f8); border-radius:8px }
.journal-tools form[hidden] {display:none}
.journal-inputs { display:grid; grid-template-columns: minmax(64px,.5fr) minmax(140px,2fr) minmax(130px,1.5fr) repeat(2,minmax(130px,1fr)); gap:12px; margin:12px 0 }
.journal-inputs .field {min-width:0;margin:0}
.journal-controls,.journal-pages,.journal-pages div {display:flex;align-items:center;gap:8px}
.journal-controls {justify-content:flex-end;margin-top:12px}.journal-controls span {margin-right:auto;color:var(--muted)}
.journal table {width:100%;border-collapse:collapse}.journal td,.journal th {padding:12px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.journal th button {display:inline-flex;align-items:center;gap:4px;padding:0;background:transparent;color:inherit;white-space:nowrap}
.journal th button svg {width:14px;opacity:.5}.journal th[aria-sort] button {color:var(--accent-text)}
.journal td:first-child,.journal td:last-child {white-space:nowrap}.journal td:nth-child(3),.journal td:nth-child(4) {overflow-wrap:anywhere}
.journal-pages {justify-content:space-between;margin:20px 0 4px;gap:4px}
.journal-pages button {min-width:36px;height:36px;padding:0 6px;border-radius:50%;background:transparent;color:var(--accent-text);font-variant-numeric:tabular-nums}
.journal-pages button:hover {background:var(--selected)}.journal-pages [aria-current=page] {background:var(--brand);color:white;font-weight:650}
.journal-pages button:disabled {opacity:.35}.journal-pages>button {border:1px solid var(--line);display:grid;place-items:center}
@media(max-width:1100px){.journal-inputs{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
@media(max-width:600px){.journal .tablewrap{overflow-x:auto}.journal table{min-width:600px}.journal-pages div{gap:1px}.journal-pages button{min-width:30px;height:32px}}

.transfer-panel {max-width:1285px}.transfer-panel>.person-tabs{display:flex;margin:18px 0 24px}.transfer-panel>.field{width:min(100%,630px)}
.transfer-selects {display:flex;flex-wrap:wrap;gap:24px}.transfer-selects .field {width:min(100%,370px)}
.transfer-row {display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,auto) auto;align-items:center;gap:22px;border-bottom:1px solid var(--line);min-height:84px;padding:14px 0}
.transfer-row strong,.transfer-file b {font-weight:550}.transfer-row .linkbtn{display:block;font-size:.85em;padding-left:0}
.transfer-file{position:relative;cursor:pointer;display:inline-flex;align-items:center;gap:10px;overflow:hidden}.transfer-file input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.transfer-file:focus-within{outline:1px solid var(--brand);border-radius:8px}.transfer-file>span:first-child{width:42px;height:42px;background:var(--brand);color:#fff;border-radius:50%;display:grid;place-items:center;flex:none}
.transfer-file b{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-file small,.archive-password small {display:block;margin-top:3px}
.transfer-file small{color:var(--muted)}.transfer-row .check{margin:0 0 6px}.transfer-info{display:table;background:var(--workspace,#f7f7fa);padding:12px 16px;border:1px solid var(--line);border-radius:6px;margin:18px 0}
.transfer-folder{display:flex;align-items:center;gap:6px;padding:4px 8px;white-space:pre}.transfer-panel [data-tree]:not(:empty){border:1px solid var(--line);border-radius:8px;max-height:300px;overflow:auto;padding:10px}
.archive-password {
    background:#edf6f1;
    color:#203e30;
    border:1px solid #bfd7c8;
    padding:12px 16px;
    margin:16px 0;
    border-radius:6px;
    overflow-wrap:anywhere;
}
.archive-password small {color:#385447}
.archive-password .iconbtn {color:inherit;vertical-align:middle}
.archive-password .iconbtn:hover,.archive-password .iconbtn:focus-visible {background:#d6e8dd}
.archive-password .iconbtn:focus-visible {outline-color:currentColor}
@media(max-width:700px){.transfer-row{grid-template-columns:1fr auto;gap:8px}.transfer-row>div:first-child{grid-column:1/-1}.transfer-file b{max-width:120px}.transfer-selects{gap:0}}

.notification-control {position:relative}
.notification-control .bell {justify-content:center}
.notification-control .bell[aria-expanded=true]{background:var(--selected);color:var(--accent-text)}
.notification-popup {position:absolute;z-index:9;right:-20px;top:calc(100% + 10px);width:min(360px,calc(100vw - 24px));display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:8px 8px 16px 16px;box-shadow:0 6px 26px #252a351c;color:var(--ink);text-align:left}
.notification-popup[hidden],.notification-control i[hidden],.notification-table [hidden]{display:none}
.notification-popup header {display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line)}
.notification-popup [data-unread-count] {border-radius:12px;background:var(--selected);padding:0 8px;font-variant-numeric:tabular-nums}
.notification-preview {max-height:min(248px,48dvh);overflow-y:auto;overscroll-behavior:contain}
.notification-preview article {padding:13px 18px;line-height:1.45;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.notification-preview article:last-child {border-bottom:0}
.notification-preview time,.notification-table small {display:block;margin-top:3px;color:var(--muted);font-size:.85em;font-variant-numeric:tabular-nums}
.notification-popup footer {padding:14px 18px;text-align:center;border-top:1px solid var(--line)}
.notification-control a,.notification-table a {color:var(--accent-text);text-decoration:none}
.notification-control a:hover,.notification-table a:hover {text-decoration:underline}
.notification-table {margin-top:24px}
.notification-table table {width:100%;border-collapse:collapse;table-layout:auto}
.notification-table th,.notification-table td {padding:13px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.notification-table th {font-weight:550}
.notification-table td:first-child,.notification-table th:first-child {white-space:nowrap;width:130px}
.notification-table td:nth-child(2){overflow-wrap:anywhere}
.notification-table [role=status]:empty {display:none}
.notification-table [data-next-notices] {margin:12px 0}
@media(max-width:680px){.notification-control{position:static}.top .account:has(.notification-popup:not([hidden])){position:static}.notification-popup{top:calc(100% - 3px);right:10px;max-width:calc(100vw - 20px)}.notification-table th,.notification-table td{padding:10px 6px}.notification-table td:first-child,.notification-table th:first-child{width:auto}}

.inspector-panel .inspect-filters {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;padding-top:0;padding-bottom:18px;background:var(--mid)}
.inspector-panel .inspect-filters label,.inspect-scope .inspect-select{min-width:0;max-width:none}
.inspect-filters input[type=search] {width:100%;height:42px;padding:8px 12px;color:var(--ink);border:1px solid var(--field-border,var(--line));border-radius:11px;background:white}
.inspect-filters input[type=search]:focus{outline:none;border-color:var(--brand)}
.inspect-filter-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:12px}
.inspect-filter-actions span{margin-right:auto;color:var(--muted)}
.inspect-tablewrap td,.inspect-tablewrap th{vertical-align:middle}
.inspect-tablewrap td:first-child,.inspect-tablewrap th:first-child,.inspect-tablewrap td:nth-child(2),.inspect-tablewrap th:nth-child(2){width:1%;white-space:nowrap;word-break:normal}
.inspect-tablewrap td:nth-child(3){width:48%;overflow-wrap:anywhere}
.inspect-tablewrap td small{display:block;color:var(--muted);margin-top:3px}
.inspect-tablewrap .issue-arrow{color:var(--muted);border-radius:50%;width:32px;height:32px}
.inspect-tablewrap .issue-arrow:hover{color:var(--accent-text);background:var(--selected)}
@media(max-width:1100px){.inspector-panel .inspect-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.inspector-panel .inspect-filters{grid-template-columns:1fr}}
