/* OmniForge account surface. The existing workspace owns the sidebar and font. */
.of-account-surface,.of-account-dialog,.of-login-shell{--of-account-ground:var(--dsw-alias-bg-base,#f7f7f5);--of-account-surface:var(--dsw-alias-bg-layer-1,#fff);--of-account-text:var(--dsw-alias-label-primary,#242b30);--of-account-muted:var(--dsw-alias-label-secondary,#626866);--of-account-border:color-mix(in srgb,var(--of-account-text) 14%,transparent);--of-account-rule:color-mix(in srgb,var(--of-account-text) 8%,transparent);--of-account-accent:var(--dsw-alias-state-business-primary,#94601d);color:var(--of-account-text);font:14px/1.5 var(--dsw-font-family,"Segoe UI Variable","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);font-variant-numeric:tabular-nums}
.of-account-surface *,.of-account-dialog *,.of-login-shell *{box-sizing:border-box}
.of-account-surface button,.of-account-surface input,.of-account-dialog button,.of-account-dialog input,.of-login-shell button,.of-login-shell input,.of-login-shell select{font:inherit}
[class*="footArea"]:has(.of-account-button)>[class*="footerActions"]{order:2;flex-direction:column}
[class*="footArea"]:has(.of-account-button)>[class*="settingsArea"]{order:1}
.of-account-button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;margin:2px 0 4px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.of-account-button:hover{background:var(--dsw-alias-interactive-bg-hover,rgba(0,0,0,.05))}.of-account-button[data-wide="false"]{justify-content:center;padding:8px;width:36px}.of-account-button svg{flex:none}.of-account-button .of-account-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.of-account-button .of-account-hint{margin-left:auto;font-size:12px;color:var(--dsw-alias-label-secondary,#626866)}
.of-account-button:focus-visible,.of-account-dialog :is(button,a,input):focus-visible,.of-login-shell :is(button,input,select):focus-visible{outline:2px solid var(--of-account-accent,#94601d);outline-offset:3px}
.of-account-dialog{width:min(1240px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--of-account-border);border-radius:12px;background:var(--of-account-surface);color:var(--of-account-text);overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #0003}
.of-account-dialog::backdrop{background:#0006}.of-account-content{padding:24px}.of-account-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--of-account-rule)}.of-account-heading{display:flex;gap:12px;align-items:center;min-width:0}.of-account-heading img{flex:none}.of-account-header h1{margin:0;font-size:24px;line-height:1.35;font-weight:600;letter-spacing:-.4px}.of-account-header p{margin:5px 0 0;color:var(--of-account-muted);font-size:13px}.of-account-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.of-account-dialog button,.of-login-shell .of-account-action{min-height:36px;border:1px solid var(--of-account-border);border-radius:6px;background:transparent;color:inherit;padding:7px 12px;cursor:pointer}.of-account-dialog button:hover:not(:disabled),.of-login-shell .of-account-action:hover:not(:disabled){background:color-mix(in srgb,var(--of-account-text) 5%,transparent)}.of-account-dialog button:disabled,.of-login-shell button:disabled{cursor:default;color:var(--of-account-muted);background:color-mix(in srgb,var(--of-account-text) 4%,transparent)}.of-account-dialog .of-account-close{min-width:36px;padding:7px;font-size:20px;line-height:1}.of-account-dialog .of-account-primary,.of-login-shell .of-account-primary{background:var(--of-account-text);color:var(--of-account-surface);border-color:var(--of-account-text)}.of-account-dialog .of-account-primary:hover:not(:disabled),.of-login-shell .of-account-primary:hover:not(:disabled){background:color-mix(in srgb,var(--of-account-text) 85%,var(--of-account-surface))}
.of-account-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:20px 0}.of-account-field{display:grid;gap:6px;font-size:12px;min-width:0;color:var(--of-account-muted)}.of-account-field input,.of-account-field select{min-height:36px;width:100%;padding:7px 10px;border:1px solid var(--of-account-border);border-radius:6px;background:var(--of-account-surface);color:var(--of-account-text)}.of-account-field input::placeholder{color:var(--of-account-muted)}.of-account-field.of-account-ip-field{flex:1;min-width:180px;max-width:290px}.of-account-period{margin:0 0 12px;color:var(--of-account-muted);font-size:12px}.of-account-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--of-account-border);border-radius:8px;overflow:hidden;margin-bottom:24px}.of-account-kpi{padding:16px 20px;min-width:0}.of-account-kpi+.of-account-kpi{border-left:1px solid var(--of-account-rule)}.of-account-kpi dt{color:var(--of-account-muted);font-size:12px;margin:0 0 7px}.of-account-kpi dd{margin:0;font-size:24px;line-height:1.35;font-weight:400;overflow-wrap:anywhere}.of-account-kpi:first-child dd{font-size:28px}.of-account-kpi small{display:block;font-size:12px;color:var(--of-account-muted);margin-top:5px}.of-account-kpis dl{margin:0}
.of-account-section{margin-top:24px;min-width:0}.of-account-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px}.of-account-section-title h2{font-size:16px;font-weight:600;margin:0}.of-account-section-title p{margin:0;color:var(--of-account-muted);font-size:12px}.of-account-table-wrap{overflow:auto;border:1px solid var(--of-account-border);border-radius:8px;overscroll-behavior:contain}.of-account-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}.of-account-table th{font-weight:400;color:var(--of-account-muted);font-size:12px;height:38px;padding:8px 12px;text-align:left}.of-account-table td{height:52px;border-top:1px solid var(--of-account-rule);padding:9px 12px;vertical-align:middle}.of-account-table .of-account-num{text-align:right;font-variant-numeric:tabular-nums}.of-account-table small{display:block;font-size:12px;line-height:1.5;color:var(--of-account-muted);font-weight:400}.of-account-table .of-account-model{max-width:220px;overflow:hidden;text-overflow:ellipsis}.of-account-table .of-account-source{font-family:var(--dsw-font-family,inherit)}.of-account-table .of-account-ip-link{font:inherit;border:0;padding:0;min-height:24px;text-align:left;color:inherit;text-decoration:underline;text-decoration-color:var(--of-account-border);text-underline-offset:4px}.of-account-table .of-account-ip-link:hover{text-decoration-color:var(--of-account-accent);background:none;color:var(--of-account-accent)}.of-account-table .of-account-state[data-error="true"]{color:#b63e2e}.of-account-empty{padding:24px;color:var(--of-account-muted);text-align:center}.of-account-table td.of-account-empty{height:76px;white-space:normal}.of-account-message{padding:11px 14px;border:1px solid var(--of-account-border);border-radius:6px;margin:12px 0;line-height:1.6}.of-account-message[data-error="true"]{color:#b63e2e;border-color:color-mix(in srgb,#b63e2e 35%,transparent)}.of-account-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--of-account-muted);font-size:12px}.of-account-notes{color:var(--of-account-muted);font-size:12px;line-height:1.7;margin:20px 0 0}.of-account-notes p{margin:4px 0}.of-account-timestamp{font-size:12px;color:var(--of-account-muted)}.of-account-total{color:var(--of-account-accent)}
.of-account-table .of-account-state{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Anonymous shell: 252px sidebar + remaining canvas; canvas padding is symmetric. */
.of-login-shell{margin:0;min-height:100dvh;background:var(--of-account-ground);display:grid;grid-template-columns:252px minmax(0,1fr)}.of-login-sidebar{position:sticky;top:0;height:100dvh;padding:24px 16px 12px;border-right:1px solid var(--of-account-rule);display:flex;flex-direction:column}.of-login-brand{display:flex;gap:10px;align-items:center;padding:0 6px;font-size:18px;font-weight:600}.of-login-brand img{width:28px;height:28px}.of-login-workspace{margin-top:40px;padding:0 10px;color:var(--of-account-muted);font-size:13px}.of-login-workspace p{margin:8px 0}.of-login-footer{margin-top:auto;display:grid;gap:4px}.of-login-footer button{display:flex;align-items:center;gap:10px;text-align:left;min-height:40px;padding:8px 10px;border:0;border-radius:6px;color:var(--of-account-text);background:transparent;cursor:pointer}.of-login-footer button:hover{background:color-mix(in srgb,var(--of-account-text) 5%,transparent)}.of-login-main{display:flex;align-items:center;justify-content:center;padding:48px 32px}.of-login-form-wrap{width:100%;max-width:390px}.of-login-identity{display:flex;align-items:center;gap:12px;margin-bottom:32px}.of-login-identity img{width:40px;height:40px}.of-login-identity p{font-size:14px;margin:0;color:var(--of-account-muted)}.of-login-identity strong{font-size:18px;font-weight:600;color:var(--of-account-text)}.of-login-form-wrap h1{font-size:26px;font-weight:600;letter-spacing:-.5px;line-height:1.3;margin:0 0 10px}.of-login-intro{color:var(--of-account-muted);margin:0 0 28px;line-height:1.7}.of-login-form{display:grid;gap:18px}.of-login-form .of-account-field{font-size:14px;color:var(--of-account-text);gap:8px}.of-login-form input{min-height:44px}.of-login-form .of-account-action{min-height:44px;margin-top:4px}.of-login-password{display:flex;position:relative}.of-login-password input{padding-right:60px}.of-login-password button{position:absolute;right:5px;top:5px;bottom:5px;border:0;background:transparent;color:var(--of-account-muted);padding:0 9px;cursor:pointer;font-size:12px;border-radius:4px}.of-login-status{min-height:24px;margin:0;color:#b63e2e;font-size:13px;line-height:1.6}.of-login-note{font-size:12px;color:var(--of-account-muted);line-height:1.8;border-top:1px solid var(--of-account-rule);padding-top:18px;margin-top:24px}.of-login-settings{width:min(440px,calc(100vw - 32px));border:1px solid var(--of-account-border);border-radius:10px;padding:24px;background:var(--of-account-surface);color:var(--of-account-text)}.of-login-settings::backdrop{background:#0006}.of-login-settings h2{margin:0 0 20px;font-size:20px;font-weight:600}.of-login-settings p{font-size:13px;color:var(--of-account-muted);line-height:1.7}.of-login-settings .of-account-actions{margin-top:24px;justify-content:flex-end}.of-login-shell[data-account-theme="dark"]{--of-account-ground:#171a1c;--of-account-surface:#202427;--of-account-text:#f0f0ed;--of-account-muted:#b7bcb8;--of-account-accent:#dbaf6c;color-scheme:dark}
@media(max-width:900px){.of-account-content{padding:20px}.of-account-header{gap:12px}.of-account-kpi{padding:14px}.of-account-kpi dd{font-size:20px}.of-account-kpi:first-child dd{font-size:24px}.of-account-dialog{width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}.of-login-shell{grid-template-columns:210px minmax(0,1fr)}.of-login-main{padding:40px 24px}}
@media(max-width:640px){.of-account-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.of-account-content{padding:20px 16px}.of-account-header h1{font-size:20px}.of-account-heading{gap:8px}.of-account-heading img{width:24px;height:24px}.of-account-header .of-account-actions{flex-wrap:nowrap}.of-account-header p{font-size:12px}.of-account-header .of-account-actions button{min-height:44px}.of-account-header .of-account-actions .of-account-close{min-width:40px}.of-account-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.of-account-field.of-account-ip-field{max-width:none;min-width:0;grid-column:1 / -1}.of-account-filters input,.of-account-filters button{min-height:44px}.of-account-filters .of-account-actions{grid-column:1 / -1;justify-content:flex-end}.of-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.of-account-kpi:nth-child(3){border-left:0}.of-account-kpi:nth-child(n+3){border-top:1px solid var(--of-account-rule)}.of-account-kpi dd{font-size:22px}.of-account-kpi:first-child dd{font-size:26px}.of-account-table-wrap{border-left:0;border-right:0;border-radius:0}.of-account-table[data-responsive="records"],.of-account-table[data-responsive="records"] tbody{display:block;white-space:normal}.of-account-table[data-responsive="records"] thead{display:none}.of-account-table[data-responsive="records"] tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:16px 0;border-top:1px solid var(--of-account-rule)}.of-account-table[data-responsive="records"] tr:first-child{border-top:0}.of-account-table[data-responsive="records"] td{display:block;height:auto;border:0;padding:0;min-width:0;text-align:left;overflow-wrap:anywhere}.of-account-table[data-responsive="records"] td::before{content:attr(data-label);display:block;color:var(--of-account-muted);font-size:12px;margin-bottom:3px}.of-account-table[data-responsive="records"] td.of-account-num:nth-child(even){text-align:right}.of-account-table[data-responsive="records"] .of-account-model{max-width:none}.of-account-table[data-responsive="records"] td.of-account-empty{grid-column:1 / -1;padding:18px 0;text-align:center}.of-account-table[data-responsive="records"] td.of-account-empty::before{display:none}.of-account-pager{align-items:flex-start;flex-wrap:wrap}.of-account-pager button{min-height:44px}.of-account-section-title{align-items:flex-start}.of-account-section-title p{text-align:right}.of-login-shell{display:block}.of-login-sidebar{height:auto;position:relative;padding:16px;border-right:0;border-bottom:1px solid var(--of-account-rule);flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.of-login-workspace{display:none}.of-login-brand{font-size:16px;padding:0;gap:7px}.of-login-brand img{width:24px;height:24px}.of-login-footer{margin:0;display:flex;gap:4px}.of-login-footer button{min-height:44px;padding:8px}.of-login-footer button svg{display:none}.of-login-main{padding:44px 24px}.of-login-form-wrap h1{font-size:24px}.of-login-identity{margin-bottom:24px}.of-login-note{margin-bottom:0}}
@media(max-width:640px){
  .of-account-header{flex-direction:column;align-items:stretch;gap:12px}
  .of-account-header>.of-account-actions{align-self:flex-end}
  .of-account-header .of-account-actions button{flex:0 0 auto;white-space:nowrap}
  .of-account-header .of-account-actions .of-account-close{min-width:44px}
}
@media(prefers-reduced-motion:reduce){.of-account-dialog *,.of-login-shell *{scroll-behavior:auto!important;transition:none!important}}
