/* Local sign-in and account assignment keep the approved operating identity. */
.account-gate{min-height:100dvh;max-width:1240px;margin:0 auto;padding:30px 34px 45px;display:flex;flex-direction:column}
.account-gate-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.account-gate-brand{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}
.account-gate-brand>img{width:31px;height:31px}
.account-gate-brand>b{font-size:17px;font-weight:500;color:var(--text)}
.account-gate-brand>span{margin-left:4px}
.account-gate-workspace{display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,440px);gap:55px;align-items:center;max-width:1080px;margin:auto;width:100%}
.account-first-password-gate{padding-bottom:26px}
.account-first-password-gate>.account-gate-header{margin-bottom:20px}
.account-first-password.account-entry-form{width:min(100%,460px);margin:auto;align-self:center;padding:24px 28px}
.account-first-password .account-auth-heading{margin-bottom:17px}
.account-first-password .account-auth-heading>.badge{margin-bottom:8px}
.account-first-password .account-auth-heading>h1{font-size:24px;margin:0 0 6px}
.account-first-password .account-auth-heading>p{margin:0}
.account-first-password .account-auth-form>.field{margin-bottom:12px}
.account-first-password .account-password-identity{grid-template-columns:70px minmax(0,1fr);align-items:center;color:var(--muted)}
.account-first-password .account-password-identity>input{min-height:32px;padding:4px 0;border:0;background:transparent;color:var(--text)}
.account-first-password .account-input-hint{margin-bottom:8px}
.account-first-password .account-auth-submit{margin-top:12px}
.account-first-password .account-auth-foot{margin:12px 0 0}
.account-entry-context{padding:32px 0;max-width:490px}
.account-entry-context>h2{font-size:30px;line-height:1.5;letter-spacing:-.7px;font-weight:500;max-width:380px}
.account-entry-context>p{font-size:14px;color:var(--muted);margin-top:14px}
.account-entry-context>ol{padding:0;margin:34px 0 31px;list-style:none;display:grid;gap:23px}
.account-entry-context>ol>li{display:grid;gap:5px;padding-left:0}
.account-entry-context>ol>li>b{font-size:14px;font-weight:500}
.account-entry-context>ol>li>span{font-size:13px;color:var(--muted)}
.account-entry-context>small{font-size:12px;color:var(--muted)}
.account-entry-form{background:var(--surface);border-radius:13px;padding:29px 30px}
.account-auth-heading{margin-bottom:24px}
.account-auth-heading>.badge{font-size:12px;margin-bottom:12px}
.account-auth-heading>h1{font-size:30px;font-weight:500;letter-spacing:-.7px;line-height:1.4;margin-bottom:9px}
.account-auth-heading>p{font-size:13px;color:var(--muted);line-height:1.8}
.account-auth-form>.field,.account-editor-form>.field,.account-password-form>.field{display:grid;gap:7px;margin-bottom:17px;font-size:12px}
.account-auth-form input,.account-editor-form input,.account-editor-form select,.account-password-form input{min-height:44px;font-size:14px;caret-color:var(--text)}
.account-password-control{position:relative;display:flex;align-items:center}
.account-password-control>input{padding-right:58px;width:100%}
.account-password-toggle{position:absolute;right:2px;top:2px;bottom:2px;border:0;border-radius:5px;font-size:12px;color:var(--muted);padding:5px 10px;min-width:49px;min-height:40px}
.account-password-toggle:hover{background:var(--surface-soft);color:var(--text)}
.account-auth-submit{width:100%;min-height:46px;margin-top:21px}
.account-input-hint{font-size:12px;line-height:1.75;color:var(--muted);margin:8px 0 17px}
.account-auth-foot{font-size:12px;color:var(--muted);text-align:center;margin-top:15px;line-height:1.7}
.account-form-error{background:var(--bad-soft);color:var(--bad);font-size:13px;padding:12px 14px;border-radius:7px;margin:0 0 18px;overflow-wrap:anywhere}
.account-form-error[hidden]{display:none}
.account-setup-blocked>h2{font-size:17px;font-weight:500;margin-bottom:13px}
.account-setup-blocked>p{font-size:14px;margin-bottom:23px;line-height:1.8}
.account-loading{margin:auto;max-width:480px;text-align:center;padding:35px 0}
.account-loading>h1{font-size:30px}
.account-loading>p{color:var(--muted);margin-top:12px;font-size:14px}
.account-workflow{max-width:1540px;margin:0 auto}
.account-workflow button,.account-workflow button.btn,.account-gate button.btn,.account-workflow input,.account-workflow select{min-height:44px}
.account-directory-heading>.btn{min-width:44px}
.account-space-note{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:0 0 21px;padding:13px 0;border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong)}
.account-space-note>.badge{flex:none}
.account-space-note>p{font-size:13px;color:var(--muted);flex:1;min-width:230px}
.account-space-note>.btn{margin-left:auto;font-size:12px;flex:none}
.account-query{display:flex;align-items:end;gap:12px;margin-bottom:18px}
.account-query>.field{flex:0 1 145px;min-width:110px;font-size:12px}
.account-query>.account-search{flex:1 1 240px}
.account-query>.btn{flex:none}
.account-directory{overflow:hidden}
.account-directory-heading{padding:17px 20px 14px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.account-directory-heading>h2{font-size:17px;font-weight:500;margin-right:auto}
.account-table-wrap{max-height:calc(100dvh - 331px);min-height:230px;overflow:auto}
.account-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.account-table th{font-size:12px;font-weight:500;color:var(--muted);background:var(--surface);position:sticky;top:0;z-index:1;padding:12px 17px;border-bottom:1px solid var(--line);white-space:nowrap}
.account-table td{padding:14px 17px;vertical-align:middle;border-bottom:1px solid var(--line)}
.account-table td>b{font-size:14px;font-weight:500}
.account-table td>small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.account-table td:first-child{min-width:160px}
.account-table td:nth-child(3){max-width:360px;white-space:normal;overflow-wrap:anywhere}
.account-table tr:last-child>td{border-bottom:0}
.account-table tr:hover{background:#f7f8f4}
.account-table tr.is-disabled{color:var(--muted)}
.account-table td>.row-actions{flex-wrap:nowrap;gap:2px}
.account-table td>.row-actions>.btn{font-size:12px;white-space:nowrap;padding:5px 8px}
.account-directory-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 18px;padding:13px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.account-empty{min-height:250px;padding:42px 22px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center}
.account-empty>p{max-width:520px;font-size:13px;color:var(--muted)}
.account-directory-loading{padding:22px;display:grid;gap:13px}
.account-directory-loading>span{height:39px;background:var(--surface-soft);border-radius:6px}
.account-directory-loading>span:nth-child(2){width:85%}
.account-directory-loading>span:nth-child(3){width:68%}
.account-directory-loading>p{font-size:13px;color:var(--muted)}
.account-form-steps{display:flex;gap:0;margin-bottom:23px;padding-bottom:15px;border-bottom:1px solid var(--line-strong)}
.account-form-step{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--muted);padding:8px 4px;min-height:44px;border:0;border-radius:7px;background:transparent}
.account-form-step>span{width:23px;height:23px;flex:none;display:grid;place-items:center;font-size:12px;border:1px solid var(--line-strong);border-radius:50%}
.account-form-step>b{font-weight:500}
.account-form-step.is-current{background:var(--yellow-soft);color:var(--text)}
.account-form-step.is-current>span{background:var(--yellow);border-color:var(--yellow)}
.account-form-step:hover{background:var(--surface-soft)}
.account-existing-secret{font-size:13px;color:var(--muted);margin-top:18px;border-top:1px solid var(--line);padding-top:15px}
.account-role-hint{font-size:13px;margin:-7px 0 21px;color:var(--muted)}
.account-role-description{margin:19px 0 22px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}
.account-role-description>b{font-weight:500}
.account-role-description>p{color:var(--muted);margin-top:5px}
.account-store-selection{margin:20px 0;padding:14px;border-radius:9px;border:1px solid var(--line-strong)}
.account-store-selection>legend{padding:0 6px;font-size:13px;font-weight:500}
.account-store-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0;font-size:14px;cursor:pointer}
.account-store-checkbox>input{width:17px;height:17px;min-height:17px}
.account-check-summary{display:grid;margin:0 0 20px}
.account-check-summary>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}
.account-check-summary dt{color:var(--muted)}
.account-check-summary dd{margin:0;overflow-wrap:anywhere}
.account-password-form>p:first-child{font-size:14px;margin-bottom:22px}
.is-account-editor .drawer-foot{gap:9px}
.is-account-editor .drawer-head>.btn{min-width:44px;min-height:44px}
.is-account-editor .drawer-foot>.btn{flex:0 0 auto;min-height:44px;white-space:nowrap}
.is-account-editor .drawer-foot>.btn:first-child{margin-right:auto}
@media(min-width:1100px) and (min-height:760px){
 .account-workflow{height:calc(100dvh - 144px);display:flex;flex-direction:column;min-height:0}
 .account-workflow>.page-head,.account-workflow>.account-space-note,.account-workflow>.account-query{flex:none}
 .account-workflow>.account-directory{flex:1;min-height:0;display:flex;flex-direction:column}
 .account-workflow .account-directory-heading,.account-workflow .account-directory-foot{flex:none}
 .account-workflow .account-table-wrap{flex:1;min-height:120px;max-height:none;overscroll-behavior:contain}
 .account-workflow .account-empty,.account-workflow .account-directory-loading{flex:1;min-height:120px;padding-top:25px;padding-bottom:25px}
}
@media(max-width:1100px){
 .account-gate{padding:24px}
 .account-gate-workspace{grid-template-columns:minmax(260px,1fr) minmax(330px,420px);gap:35px}
 .account-query{flex-wrap:wrap}
 .account-query>.account-search{flex-basis:220px}
 .account-table td>.row-actions{flex-wrap:wrap}
}
@media(max-width:720px){
 .account-gate{padding:18px 16px 28px}
 .account-gate-header{margin-bottom:22px;gap:10px}
 .account-gate-brand{gap:8px;font-size:12px}
 .account-gate-brand>img{width:27px;height:27px}
 .account-gate-brand>b{font-size:17px}
 .account-gate-brand>span{display:none}
 .account-gate-workspace{display:flex;flex-direction:column;gap:18px;align-items:stretch;margin:0;width:100%}
 .account-entry-form{order:0;padding:23px 20px;max-width:460px;width:100%;align-self:center}
 .account-entry-context{order:1;padding:12px 4px;max-width:none}
 .account-entry-context>h2{font-size:17px;line-height:1.6;letter-spacing:0;max-width:none}
 .account-entry-context>p{font-size:13px;margin-top:5px}
 .account-entry-context>ol{display:none}
 .account-entry-context>small{display:block;margin-top:10px}
 .account-auth-heading>h1{font-size:30px}
 .account-auth-form input,.account-editor-form input,.account-editor-form select,.account-password-form input{font-size:16px;min-height:44px} /* impeccable-disable-line design-system-font-size: touch inputs use 16px for readable entry and to avoid focus zoom. */
 .account-password-toggle{font-size:12px;min-height:40px}
 .account-space-note{gap:8px;margin-bottom:17px}
 .account-space-note>p{flex-basis:100%;font-size:13px;min-width:0}
 .account-space-note>.btn{margin-left:0}
 .account-query{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .account-query>.field{min-width:0}
 .account-query>.account-search{grid-column:1 / -1}
 .account-query>.field>input,.account-query>.field>select{font-size:16px;min-height:44px} /* impeccable-disable-line design-system-font-size: touch inputs use 16px for readable entry and to avoid focus zoom. */
 .account-query>.btn{justify-self:start}
 .account-directory-heading{padding:16px;gap:6px 12px}
 .account-directory-heading>.hint{flex-basis:100%;font-size:12px}
 .account-table-wrap{max-height:none;min-height:0;overflow:visible;padding:0 16px}
 .account-table,.account-table tbody{display:block;width:100%}
 .account-table thead{display:none}
 .account-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 15px;padding:16px 0;border-bottom:1px solid var(--line)}
 .account-table td{display:block;min-width:0!important;max-width:none!important;padding:0;border:0;font-size:13px}
 .account-table td:nth-child(1),.account-table td:nth-child(3),.account-table td:nth-child(5){grid-column:1 / -1}
 .account-table td:nth-child(1)>b{font-size:17px}
 .account-table td:nth-child(2)::before,.account-table td:nth-child(3)::before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
 .account-table td:nth-child(4){display:flex;justify-content:end;align-items:center;grid-column:2;grid-row:2}
 .account-table td:nth-child(5)>.row-actions{justify-content:end;gap:4px}
 .account-table td>.row-actions>.btn{font-size:13px;padding:8px 10px;min-height:44px}
 .account-table tr:hover{background:transparent}
 .account-directory-foot{padding:13px 16px}
 .account-form-step{font-size:12px;gap:4px;min-width:0;flex-wrap:wrap}
 .account-form-step>span{width:20px;height:20px;font-size:12px}
 .account-check-summary>div{grid-template-columns:95px minmax(0,1fr);gap:12px}
}
@media(prefers-reduced-motion:reduce){.account-workflow button,.account-gate button,.account-editor-form button{transition:none}}

/* Administration list density; login and management surfaces are unchanged. */
.admin-mode .account-workflow{min-width:0}
.admin-mode .account-workflow>.page-head{margin-bottom:14px}
.admin-mode .account-workflow button.btn{min-height:37px}
.admin-mode .account-workflow input,.admin-mode .account-workflow select{min-height:36px;height:36px;font-size:13px}
.admin-mode .account-space-note{margin-bottom:14px;padding:9px 0;gap:8px 12px}
.admin-mode .account-space-note>p{font-size:12px;line-height:1.65}
.admin-mode .account-query{gap:10px;margin-bottom:14px}
.admin-mode .account-directory-heading{padding:14px 18px 10px}
.admin-mode .account-table-wrap{min-height:160px;scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-color:var(--line-strong) var(--surface-soft)}
.admin-mode .account-table{min-width:820px}
.admin-mode .account-table th{background:var(--surface-soft);padding:10px 14px}
.admin-mode .account-table td{padding:10px 14px}
.admin-mode .account-table td:nth-child(2){min-width:130px;white-space:nowrap}
.admin-mode .account-table td:nth-child(3){min-width:180px;max-width:320px;line-height:1.65}
.admin-mode .account-table td>.row-actions>.btn{min-height:32px;font-size:13px;padding:4px 7px}
.admin-mode .account-directory-foot{padding:10px 18px;line-height:1.65}
.admin-mode .account-form-steps{position:sticky;top:-23px;z-index:2;background:var(--surface);margin-bottom:16px;padding:6px 0 10px}
.admin-mode .account-role-description{margin:14px 0;padding:10px 0}
.admin-mode .account-store-selection{margin:14px 0;padding:12px}
@media(max-width:720px){
 .admin-mode .account-workflow button.btn,.admin-mode .account-workflow input,.admin-mode .account-workflow select{min-height:44px}
 .admin-mode .account-workflow input,.admin-mode .account-workflow select{height:44px;font-size:16px}
 .admin-mode .account-space-note>p{font-size:12px}
 .admin-mode .account-directory-heading{padding:14px 15px 10px}
 .admin-mode .account-table-wrap{overflow:auto;padding:0;max-height:480px;min-height:0}
 .admin-mode .account-table{display:table;min-width:820px;width:100%}
 .admin-mode .account-table thead{display:table-header-group}
 .admin-mode .account-table tbody{display:table-row-group}
 .admin-mode .account-table tbody>tr{display:table-row;padding:0}
 .admin-mode .account-table td,.admin-mode .account-table td:nth-child(4){display:table-cell;grid-column:auto;grid-row:auto;min-width:0!important;max-width:none!important;padding:10px 12px;border-bottom:1px solid var(--line);font-size:13px;text-align:left;vertical-align:middle}
 .admin-mode .account-table td:nth-child(1)>b{font-size:14px}
 .admin-mode .account-table td::before{display:none!important;content:none!important}
 .admin-mode .account-table td>.row-actions{flex-wrap:nowrap;justify-content:flex-start;gap:4px}
 .admin-mode .account-table td>.row-actions>.btn{min-height:44px;padding:6px 9px}
 .admin-mode .account-directory-foot{padding:10px 15px}
 .admin-mode .account-form-steps{top:-18px}
}

.account-login-tools{display:flex;align-items:center;gap:10px}.account-remember{display:flex;align-items:center;gap:9px;font-size:13px;margin:12px 0 0}.account-remember input{width:17px;height:17px;accent-color:#343a30}.install-help h3{font-size:18px}.install-help p{line-height:1.7;margin:15px 0}.install-help .hint{font-size:13px}@media(max-width:640px){.account-gate-header{gap:10px;align-items:flex-start}.account-gate-brand>span{display:none}.account-login-tools .btn{font-size:12px;padding:8px 10px}}
