:root { color-scheme: light; --ink:#332b2e; --muted:#756b6c; --wine:#653747; --wine-dark:#482331; --paper:#fbf9f5; --line:#e4ddd5; --rose:#f0e5e5; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.6; }
[hidden] { display:none !important; }
a { color:inherit; }
button:focus-visible,a:focus-visible { outline:3px solid #ad785d; outline-offset:5px; }
.shell { min-height:100vh; min-height:100svh; display:grid; grid-template-columns:minmax(340px,44%) 1fr; }
.brand-panel { position:relative; overflow:hidden; padding:52px clamp(34px,5vw,88px) 32px; background:#efe9df; display:flex; flex-direction:column; min-height:100vh; }
.wordmark { position:relative; z-index:1; display:flex; align-items:center; gap:13px; text-decoration:none; font-size:14px; font-weight:650; letter-spacing:2px; }
.brand-symbol { font-size:43px; line-height:1; color:var(--wine); font-weight:400; }
.wordmark small { display:block; font-size:9px; letter-spacing:2.6px; margin-top:7px; color:var(--muted); }
.brand-story { z-index:1; margin:auto 0; padding:90px 0 180px; }
.eyebrow { font-size:10px; letter-spacing:2.3px; font-weight:700; color:var(--wine); margin:0 0 20px; }
h1,h2,h3,p { overflow-wrap:break-word; }
h1 { font-family:Georgia,"Times New Roman",serif; font-size:clamp(48px,5vw,76px); line-height:1.07; font-weight:400; letter-spacing:-2.8px; margin:0 0 28px; }
.brand-description { font-size:14px; line-height:1.9; color:#6a5e5e; }
.brand-footer { position:relative; z-index:1; color:#796963; font-family:Georgia,serif; font-style:italic; font-size:14px; margin:0; }
.thread-art { position:absolute; right:-130px; bottom:35px; width:440px; height:250px; transform:rotate(-32deg); opacity:.75; pointer-events:none; }
.thread-art span { position:absolute; inset:0; border:1px solid #b08a72; border-radius:50%; }
.thread-art span:nth-child(2) { inset:22px -16px -22px 16px; border-color:#835b66; }
.thread-art span:nth-child(3) { inset:44px -32px -44px 32px; border-color:#c7ad93; border-style:dashed; }
.workspace { min-width:0; position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:80px clamp(28px,6vw,100px) 100px; }
.auth-panel { width:100%; max-width:390px; }
h2 { font:400 43px/1.15 Georgia,"Times New Roman",serif; letter-spacing:-1.5px; margin:0 0 14px; }
.description { color:var(--muted); font-size:14px; line-height:1.7; margin:0 0 30px; }
.auth-switch { display:flex; border-bottom:1px solid var(--line); gap:28px; margin-bottom:30px; }
.auth-switch button { color:var(--muted); background:none; border:0; border-bottom:2px solid transparent; padding:0 0 13px; margin-bottom:-1px; font-size:13px; }
.auth-switch button.selected { color:var(--wine); border-color:var(--wine); font-weight:650; }
.field { margin-bottom:21px; }
label { display:block; font-size:12px; font-weight:650; margin-bottom:9px; }
input { width:100%; padding:14px 15px; min-height:49px; background:#fffefa; border:1px solid #d8cfc7; border-radius:5px; color:var(--ink); font-size:16px; transition:border-color .15s,box-shadow .15s; }
input::placeholder { color:#9b9190; font-size:14px; }
input:focus { outline:none; border-color:var(--wine); box-shadow:0 0 0 3px #65374715; }
.field-help { color:var(--muted); font-size:12px; line-height:1.6; margin:8px 0 0; }
.primary { width:100%; display:flex; justify-content:space-between; align-items:center; background:var(--wine); color:white; border:1px solid var(--wine); border-radius:5px; padding:15px 19px; min-height:50px; font-size:13px; font-weight:600; }
.primary:hover { background:var(--wine-dark); }
.primary span { font-size:20px; font-weight:400; }
.footnote { text-align:center; color:var(--muted); font-size:11px; line-height:1.9; margin:24px 0 0; }
.workspace-footer { position:absolute; bottom:30px; color:#897e7c; font-size:8px; letter-spacing:1.6px; text-align:center; padding:0 20px; }
.workspace-footer span { margin:0 10px; }
.notice,.message { font-size:13px; line-height:1.65; border-radius:5px; padding:13px 15px; background:var(--rose); margin:0 0 24px; color:var(--wine-dark); }
.message.error { background:#f9e9e5; color:#862e24; }
.message.success { background:#e9efe5; color:#385330; }
.loading { color:var(--muted); font-size:14px; }
.signed-in { width:100%; max-width:640px; }
.account-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:38px; }
.badge { background:var(--rose); color:var(--wine); border-radius:4px; padding:8px 10px; font-size:9px; letter-spacing:1.3px; font-weight:700; }
.text-button { padding:8px 0; color:var(--wine); background:none; border:0; font-size:12px; text-decoration:underline; text-underline-offset:4px; }
.admin-panel { border:1px solid var(--line); border-radius:8px; background:#fffefa; padding:25px; margin-top:32px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.section-heading .eyebrow { font-size:8px; margin-bottom:9px; }
h3 { font:400 23px/1.3 Georgia,serif; margin:0; letter-spacing:-.4px; }
.section-description { color:var(--muted); font-size:12px; line-height:1.7; margin:14px 0 20px; }
.empty-state { padding:27px 12px; text-align:center; border:1px dashed var(--line); border-radius:5px; }
.empty-state strong { display:block; font-size:13px; font-weight:600; margin-bottom:8px; }
.empty-state p { color:var(--muted); font-size:12px; line-height:1.7; margin:0; }
.request { padding:17px 0; border-top:1px solid var(--line); }
.request-name { margin:0 0 4px; font-size:14px; font-weight:650; }
.request-detail { margin:0; font-size:12px; color:var(--muted); line-height:1.8; }
.request-actions { display:flex; gap:9px; margin-top:13px; }
.request-actions button { padding:9px 14px; border:1px solid var(--line); background:white; border-radius:4px; font-size:12px; color:var(--ink); min-height:38px; }
.request-actions .approve { background:var(--wine); border-color:var(--wine); color:white; }
.workspace-note { display:flex; gap:16px; padding:26px 0; margin-top:15px; }
.workspace-note h3 { font-size:20px; }
.workspace-note p { color:var(--muted); font-size:13px; line-height:1.8; margin:9px 0 0; }
.note-symbol { color:#aa8166; font-size:28px; }
@media (min-width:1600px) { .brand-story { padding-bottom:240px; } }
@media (max-width:900px) { .shell { grid-template-columns:38% 1fr; } .brand-panel { padding:35px 28px 30px; } .wordmark { font-size:11px; letter-spacing:1px; gap:8px; } .wordmark small { font-size:8px; letter-spacing:1.3px; } .brand-symbol { font-size:32px; } h1 { font-size:47px; } .brand-story .eyebrow { font-size:8px; letter-spacing:1.4px; } .workspace { padding-left:35px; padding-right:35px; } }
@media (max-width:640px) { .shell { display:block; } .brand-panel { min-height:0; padding:23px 26px; } .wordmark { font-size:12px; } .wordmark small { font-size:8px; } .brand-story,.thread-art,.brand-footer { display:none; } .workspace { min-height:calc(100svh - 84px); padding:45px 26px 95px; justify-content:flex-start; } h2 { font-size:37px; } .auth-panel { max-width:420px; } .workspace-footer { bottom:25px; font-size:7px; letter-spacing:1.1px; } .admin-panel { padding:20px; } .account-header { margin-bottom:30px; } .signed-in { max-width:420px; } }
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
