/* Shared workspace presentation. Authentication retains its separate visual contract. */
body:not(.auth-mode){--ux-radius:14px;--ux-space:24px}
body:not(.auth-mode) .sidebar{overflow:hidden;padding-top:20px;padding-bottom:16px}
body:not(.auth-mode) .sidebar .brand{flex-shrink:0;justify-content:center;margin-bottom:16px}
body:not(.auth-mode) .brand-logo{width:124px}
body:not(.auth-mode) .sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#577770 transparent;padding:0 3px 12px}
body:not(.auth-mode) .sidebar .nav-label{margin-top:22px;margin-bottom:8px;color:#a4bcb5}
body:not(.auth-mode) .sidebar .nav-label:first-child{margin-top:8px}
body:not(.auth-mode) .sidebar-bottom{flex-shrink:0;margin-top:12px;padding-top:14px;padding-bottom:0}
body:not(.auth-mode) .sidebar-bottom strong{font-weight:600;font-size:12px}
body:not(.auth-mode) #content{min-height:calc(100svh - 72px);display:flex;flex-direction:column}
body:not(.auth-mode) #view{min-width:0;flex:1}
body:not(.auth-mode) .page-heading{padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:28px;gap:24px}
body:not(.auth-mode) .page-heading h1{font-size:clamp(25px,2.5vw,34px);line-height:1.22;letter-spacing:-1px;max-width:900px}
body:not(.auth-mode) .page-heading p{margin-bottom:0;max-width:74ch}
body:not(.auth-mode) .heading-actions{flex-shrink:0}
body:not(.auth-mode) .panel{border-radius:var(--ux-radius);box-shadow:0 2px 8px #12352a04;margin-bottom:24px;min-width:0}
body:not(.auth-mode) .panel-header{gap:20px;padding:22px 24px;border-bottom:1px solid var(--line)}
body:not(.auth-mode) .panel-header h2{font-size:18px;letter-spacing:-.3px}
body:not(.auth-mode) .panel-header p{font-size:13px;max-width:80ch;margin-bottom:0}
body:not(.auth-mode) .panel-body{line-height:1.7}
body:not(.auth-mode) .panel-body>p:first-child{margin-top:0}
body:not(.auth-mode) .panel-body>p:last-child{margin-bottom:0}
body:not(.auth-mode) .cards{gap:18px}
body:not(.auth-mode) .stat{border-radius:var(--ux-radius);min-width:0}
body:not(.auth-mode) .stat-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}
body:not(.auth-mode) .stat-foot{line-height:1.7}
body:not(.auth-mode) .table-scroll{overflow:auto;overscroll-behavior-inline:contain;border-radius:0 0 var(--ux-radius) var(--ux-radius)}
body:not(.auth-mode) table{font-variant-numeric:tabular-nums;line-height:1.6}
body:not(.auth-mode) th{font-size:10px;letter-spacing:.7px;color:var(--muted);background:var(--surface-soft);padding:14px 20px}
body:not(.auth-mode) td{padding:16px 20px;vertical-align:top;max-width:420px;overflow-wrap:anywhere}
body:not(.auth-mode) td .subtext{margin-top:5px;line-height:1.6}
body:not(.auth-mode) td .mono,body:not(.auth-mode) td.mono{overflow-wrap:anywhere}
body:not(.auth-mode) .numeric-value{font-variant-numeric:tabular-nums;white-space:nowrap}
body:not(.auth-mode) .pagination{gap:12px;align-items:center;min-height:68px}
body:not(.auth-mode) .pagination>span{margin-right:auto}
body:not(.auth-mode) .toolbar{background:var(--surface-soft);padding:18px 24px;align-items:end}
body:not(.auth-mode) .toolbar label,body:not(.auth-mode) .field label{font-size:12px;font-weight:600;color:var(--ink)}
body:not(.auth-mode) input,body:not(.auth-mode) select,body:not(.auth-mode) textarea{max-width:100%;transition:border-color .15s,box-shadow .15s}
body:not(.auth-mode) input:focus,body:not(.auth-mode) select:focus,body:not(.auth-mode) textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
body:not(.auth-mode) input:disabled,body:not(.auth-mode) select:disabled{background:var(--surface-soft);opacity:.75}
body:not(.auth-mode) .button{font-weight:550;line-height:1.4;transition:background .15s,border-color .15s;display:inline-flex;align-items:center;justify-content:center;gap:7px}
body:not(.auth-mode) .button:not(.primary):not(.link):hover:not(:disabled){background:var(--surface-soft);border-color:var(--accent)}
body:not(.auth-mode) .button.link{justify-content:flex-start;text-underline-offset:4px}
body:not(.auth-mode) .button.link:hover{text-decoration:underline}
body:not(.auth-mode) button:disabled{opacity:.55}
body:not(.auth-mode) .tag{line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-weight:600}
body:not(.auth-mode) .alert,body:not(.auth-mode) .note,body:not(.auth-mode) .provider-notice{padding:16px 20px;line-height:1.75}
body:not(.auth-mode) .note{border-radius:0 8px 8px 0}
body:not(.auth-mode) #view details{border:1px solid var(--line);border-radius:9px;padding:0 14px;margin:12px 0;background:var(--surface)}
body:not(.auth-mode) #view details>summary{cursor:pointer;padding:12px 0;font-size:12px;font-weight:600;color:var(--ink);line-height:1.55;overflow-wrap:anywhere;min-height:42px}
body:not(.auth-mode) #view details[open]{padding-bottom:14px}
body:not(.auth-mode) #view details[open]>summary{margin-bottom:12px;border-bottom:1px solid var(--line)}
body:not(.auth-mode) #view details .mono{overflow-wrap:anywhere;word-break:break-word}
body:not(.auth-mode) #view details>p{font-size:13px;line-height:1.7}
body:not(.auth-mode) .empty-state{padding:40px 24px;max-width:680px;margin-inline:auto}
body:not(.auth-mode) .empty-state h3{font-size:18px;letter-spacing:-.25px}
body:not(.auth-mode) .empty-state p{max-width:52ch;line-height:1.8;margin-inline:auto}
body:not(.auth-mode) .empty-state .button{margin-top:8px}
body:not(.auth-mode) .loading-state{padding:64px 24px;min-height:240px}
body:not(.auth-mode) .loading-state p{font-size:13px}
body:not(.auth-mode) dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100svh - 32px)}
body:not(.auth-mode) .dialog-head{position:sticky;top:0;background:var(--surface);z-index:2}
body:not(.auth-mode) .form-error:empty{display:none}
body:not(.auth-mode) .form-error:not(:empty){padding:12px 14px;border:1px solid currentColor;border-radius:8px;margin-top:16px}
body:not(.auth-mode) .detail-grid{gap:24px}
body:not(.auth-mode) .detail-grid dd{line-height:1.65}
body:not(.auth-mode) .code-block{line-height:1.7;tab-size:2}
body:not(.auth-mode) .toast{border:1px solid var(--line);line-height:1.5}
body:not(.auth-mode) .service-footer{margin-top:40px}
:root[data-theme=dark] body:not(.auth-mode) .button.primary{background:#83d6bf;border-color:#83d6bf;color:#102122}
:root[data-theme=dark] body:not(.auth-mode) .button.primary:hover{background:#a4e6d4}
@media(max-width:1100px){body:not(.auth-mode) .page-heading{gap:16px}body:not(.auth-mode) .panel-header{flex-wrap:wrap}}
@media(max-width:720px){body:not(.auth-mode) #content{min-height:calc(100svh - 66px)}body:not(.auth-mode) .sidebar .brand{justify-content:flex-start}body:not(.auth-mode) .brand-logo{width:108px}body:not(.auth-mode) .sidebar nav a{min-height:46px}body:not(.auth-mode) .page-heading{padding-bottom:20px;margin-bottom:22px}body:not(.auth-mode) .panel-header,body:not(.auth-mode) .panel-body{padding:18px}body:not(.auth-mode) .panel{margin-bottom:18px}body:not(.auth-mode) td,body:not(.auth-mode) th{padding:14px 16px}body:not(.auth-mode) .toolbar{padding:16px;gap:14px}body:not(.auth-mode) .button.compact{min-height:40px}body:not(.auth-mode) .empty-state{padding:32px 18px}body:not(.auth-mode) .alert,body:not(.auth-mode) .note{padding:14px 16px}body:not(.auth-mode) .pagination{justify-content:flex-start}body:not(.auth-mode) .pagination .button{flex:1}body:not(.auth-mode) .dialog-head{padding:18px}body:not(.auth-mode) #dialog-body{padding:18px}body:not(.auth-mode) .form-actions{flex-wrap:wrap;bottom:-18px}body:not(.auth-mode) .form-actions .button{flex:1}body:not(.auth-mode) .toast{bottom:16px;right:16px;left:16px;max-width:none}}
@media(prefers-reduced-motion:reduce){body:not(.auth-mode) *{scroll-behavior:auto!important;transition:none!important}}
body.navigation-open{overflow:hidden}

body:not(.auth-mode) #view details.numeric-value{display:inline-block;vertical-align:top;max-width:260px;white-space:normal;margin:0;padding:0;border:0;background:transparent}body:not(.auth-mode) #view details.numeric-value>summary{font:inherit;white-space:nowrap;min-height:28px;padding:2px 0}body:not(.auth-mode) #view details.numeric-value[open]>summary{margin-bottom:4px}body:not(.auth-mode) #view details.numeric-value>.mono{display:block;overflow-wrap:anywhere;white-space:normal}body:not(.auth-mode) #view details.numeric-value>.subtext{font-family:var(--font)}
