:root { color-scheme: light; --canvas:#f7f6f3; --surface:#fff; --ink:#252823; --muted:#696e65; --line:#eaeaea; --green:#edf3ec; --green-ink:#346538; font-family:"Helvetica Neue",Arial,system-ui,sans-serif; color:var(--ink); background:var(--canvas); line-height:1.55; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.6; }
button,a,input { outline-offset:4px; }
:focus-visible { outline:2px solid #49744f; }
a { color:inherit; }
button { color:inherit; }
.shell { min-height:100vh; display:grid; grid-template-columns:232px minmax(0,1fr); }
.sidebar { border-right:1px solid var(--line); background:#fbfbfa; padding:36px 24px 24px; display:flex; flex-direction:column; gap:56px; }
.brand { text-decoration:none; display:flex; align-items:center; gap:12px; font-size:20px; letter-spacing:-.6px; font-weight:600; }
.brand-mark { display:grid; place-items:center; width:36px; height:40px; color:#fff; background:#334536; font-family:Georgia,serif; font-size:26px; border-radius:6px; }
.brand small { display:block; font-size:11px; font-weight:400; letter-spacing:.6px; color:var(--muted); }
.eyebrow { text-transform:uppercase; font-size:11px; font-weight:600; letter-spacing:1.6px; color:var(--muted); margin:0 0 14px; }
.nav-heading { padding:0 12px; margin-bottom:14px; }
.nav-item { border:0; background:transparent; width:100%; min-height:46px; display:flex; align-items:center; gap:14px; border-radius:6px; padding:10px 12px; text-align:left; margin-bottom:6px; font-size:14px; }
.nav-item span { font:11px ui-monospace,monospace; color:#777e72; }
.nav-item[aria-current="page"] { background:#e9ede6; font-weight:600; color:#334536; }
.nav-item:hover { background:#efefeb; }
.sidebar-footer { margin-top:auto; display:flex; align-items:center; gap:9px; color:var(--muted); font-size:11px; }
.status-dot { background:#74876c; width:6px; height:6px; border-radius:50%; }
.workspace { min-width:0; display:flex; flex-direction:column; }
.topbar { min-height:84px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 48px; }
.breadcrumb { font-size:12px; color:var(--muted); }
.breadcrumb>span:first-child { padding:0 12px; color:#b2b5ac; }
#breadcrumb-current { color:var(--ink); }
main { padding:54px 48px 70px; max-width:1360px; width:100%; margin:0 auto; flex:1; }
h1 { font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:-1.5px; font-size:44px; line-height:1.12; margin:0 0 16px; }
h2 { font-size:14px; font-weight:600; margin:0; }
p { margin:0; }
.intro { color:var(--muted); font-size:14px; max-width:520px; }
.auth-view { width:100%; max-width:410px; margin:64px auto 80px; }
.auth-intro { margin-bottom:36px; }
.auth-form { display:flex; flex-direction:column; gap:9px; }
label { font-size:12px; font-weight:600; }
input { display:block; width:100%; min-height:46px; padding:11px 13px; color:var(--ink); background:#fff; border:1px solid #c8cdc3; border-radius:5px; font-size:14px; }
input::placeholder { color:#7a8076; }
.password-label { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; }
.primary-button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:46px; background:#252823; color:#fff; border:0; border-radius:5px; margin-top:18px; padding:11px 16px; font-size:13px; font-weight:600; }
.primary-button:hover { background:#3a4035; }
.secondary-button,.quiet-button { min-height:44px; background:#fff; border:1px solid #c8cdc3; border-radius:5px; padding:10px 16px; font-size:12px; white-space:normal; }
.secondary-button:hover,.quiet-button:hover { background:#efefeb; }
.quiet-button { background:transparent; border-color:transparent; }
.text-button { min-height:44px; font-size:12px; border:0; background:transparent; padding:6px 0; text-decoration:underline; text-underline-offset:3px; color:var(--muted); }
.auth-note { margin-top:26px; font-size:12px; color:var(--muted); }
.back-link { margin-top:20px; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:36px; }
.overview-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:20px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:26px; min-width:0; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:30px; }
.badge { display:inline-block; padding:4px 9px; font-size:10px; letter-spacing:.6px; text-transform:uppercase; background:#f0f0ec; border-radius:20px; color:#5c6356; white-space:normal; }
.badge.approved { background:var(--green); color:var(--green-ink); }
.badge.pending { background:#fbf3db; color:#765215; }
.badge.restricted { background:#fdebec; color:#9f2f2d; }
.identity { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.avatar { flex-shrink:0; width:46px; height:46px; display:grid; place-items:center; background:#f0f0eb; border-radius:6px; font-family:Georgia,serif; font-size:21px; }
.identity-name { font-size:18px; overflow-wrap:anywhere; }
.muted { color:var(--muted); font-size:12px; }
.wrap { overflow-wrap:anywhere; }
.details { margin:0; font-size:12px; }
.details>div { display:grid; grid-template-columns:112px minmax(0,1fr); gap:12px; padding:12px 0; border-top:1px solid var(--line); }
dt { color:var(--muted); }
dd { margin:0; }
.mono { font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; font-size:11px; }
.company-name { font-family:Georgia,serif; font-size:27px; line-height:1.3; margin-bottom:12px; overflow-wrap:anywhere; }
.company-message { margin-top:30px; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }
.workspace-note { grid-column:1/-1; padding:20px 0; display:grid; grid-template-columns:110px minmax(0,1fr); gap:20px; color:var(--muted); font-size:12px; border-bottom:1px solid var(--line); }
.note-label { color:var(--ink); font-weight:600; }
.shortcut-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:28px; }
.shortcut { background:transparent; border:0; border-bottom:1px solid #cdd1c7; display:flex; align-items:center; justify-content:space-between; gap:18px; text-align:left; padding:20px 0; }
.shortcut:hover { border-color:#4c654c; }
.shortcut strong { display:block; font-size:14px; font-weight:500; }
.shortcut small { display:block; color:var(--muted); font-size:12px; margin-top:5px; }
.read-only { font:10px ui-monospace,monospace; text-transform:uppercase; letter-spacing:1px; color:var(--muted); border:1px solid #d5d9cf; padding:6px 10px; border-radius:4px; }
.directory-toolbar { display:flex; gap:24px; align-items:end; justify-content:space-between; margin-bottom:22px; }
.search-field { flex:1; max-width:370px; }
.search-field label { display:block; margin-bottom:7px; }
.directory-actions { display:flex; align-items:center; gap:18px; }
.table-region { overflow-x:auto; background:white; border:1px solid var(--line); border-radius:8px; }
table { border-collapse:collapse; width:100%; text-align:left; font-size:12px; }
th { font-weight:500; color:var(--muted); background:#fbfbf9; padding:15px 20px; border-bottom:1px solid var(--line); white-space:nowrap; }
td { padding:18px 20px; border-bottom:1px solid var(--line); max-width:260px; overflow-wrap:anywhere; min-width:100px; }
tbody tr:last-child td { border-bottom:0; }
td strong { font-size:13px; font-weight:500; }
td small { display:block; margin-top:3px; font-size:11px; color:var(--muted); }
.empty-state { padding:48px 20px; border-bottom:1px solid var(--line); text-align:center; color:var(--muted); font-size:13px; }
.directory-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:18px; }
.page-footer { display:flex; justify-content:space-between; gap:20px; padding:20px 48px; border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
.notice { background:#fbf3db; color:#765215; border:1px solid #eadcbb; border-radius:6px; padding:12px 16px; font-size:13px; margin-bottom:24px; overflow-wrap:anywhere; }
.loading-state { min-height:250px; display:flex; align-items:center; justify-content:center; gap:12px; color:var(--muted); font-size:13px; }
.loading-mark { width:16px; height:16px; border:2px solid #d5d9cf; border-top-color:#4d684c; border-radius:50%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; top:8px; left:8px; z-index:10; background:white; padding:10px; transform:translateY(-150%); }
.skip-link:focus { transform:translateY(0); }
@media (prefers-reduced-motion:no-preference) { .page-view,.auth-view { animation:appear 350ms ease-out; } .loading-mark { animation:turn 1s linear infinite; } @keyframes appear { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } } @keyframes turn { to { transform:rotate(360deg); } } }
@media (prefers-reduced-motion:reduce) { * { animation:none!important; scroll-behavior:auto!important; } }
@media (max-width:1000px) { .shell { grid-template-columns:190px minmax(0,1fr); } .sidebar { padding-inline:18px; } main { padding:40px 28px 50px; } .topbar,.page-footer { padding-inline:28px; } .overview-grid { grid-template-columns:1fr; } }
@media (max-width:680px) { .shell { display:block; } .sidebar { border-right:0; border-bottom:1px solid var(--line); padding:20px; gap:22px; } .brand { font-size:19px; } .sidebar-footer,.nav-heading { display:none; } nav { display:flex; gap:6px; flex-wrap:wrap; } .nav-item { width:auto; margin:0; min-height:44px; padding:8px 10px; gap:8px; } .topbar { min-height:62px; padding:8px 20px; } main { padding:32px 20px 48px; } h1 { font-size:36px; } .auth-view { margin:26px auto; } .page-heading { align-items:start; flex-wrap:wrap; gap:20px; } .overview-grid,.shortcut-grid { grid-template-columns:1fr; } .card { padding:22px; } .workspace-note { grid-template-columns:1fr; gap:8px; } .directory-toolbar { flex-wrap:wrap; gap:16px; } .search-field { max-width:none; min-width:100%; } .directory-actions { width:100%; justify-content:space-between; } .page-footer { padding:20px; } td,th { padding:14px; } .details>div { grid-template-columns:94px minmax(0,1fr); } }
