:root { color-scheme: light; --forest:#173f2a; --green:#2f6d3f; --gold:#d8a92e; --cream:#f6f2e8; --ink:#13231a; --muted:#637068; --line:#d8dfd8; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin:0; min-height:100vh; background:radial-gradient(circle at 15% 10%,rgba(216,169,46,.2),transparent 28%),linear-gradient(145deg,#0b281a,#173f2a 62%,#27563a); color:var(--ink); }
button,input { font:inherit; }
:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }
.access-shell { min-height:100vh; display:grid; place-items:center; padding:30px 16px; }
.access-card { width:min(100%,560px); padding:clamp(24px,6vw,48px); border:1px solid rgba(255,255,255,.3); border-radius:26px; background:rgba(255,253,248,.98); box-shadow:0 28px 80px rgba(0,0,0,.3); }
.owner-brand { display:inline-flex; align-items:center; gap:12px; color:inherit; text-decoration:none; }
.owner-brand img { width:62px; height:62px; object-fit:contain; }
.owner-brand strong,.owner-brand small { display:block; }
.owner-brand strong { color:var(--forest); }
.owner-brand small { margin-top:3px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.access-copy { margin:40px 0 28px; }
.eyebrow { margin:0 0 8px; color:var(--green); font-size:11px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
h1 { margin:0; font:700 clamp(44px,10vw,70px)/.95 Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
.access-copy > p:last-child { margin:18px 0 0; color:var(--muted); }
#unlock-form { display:grid; gap:10px; }
#unlock-form label { color:#34433a; font-size:13px; font-weight:850; }
.password-row { display:grid; grid-template-columns:1fr auto; overflow:hidden; border:1px solid #b9c5bc; border-radius:12px; background:#fff; }
.password-row:focus-within { outline:3px solid rgba(216,169,46,.45); border-color:var(--green); }
.password-row input { width:100%; min-height:50px; border:0; padding:10px 13px; outline:0; }
.password-row button { border:0; padding:0 14px; background:#eef3ed; color:var(--forest); cursor:pointer; font-weight:850; }
.unlock-button { min-height:50px; margin-top:5px; border:0; border-radius:999px; background:var(--forest); color:white; cursor:pointer; font-weight:900; }
.unlock-button:hover { background:#0c321f; }
.access-status { min-height:1.4em; margin:2px 0 0; color:#a23b30; font-size:13px; font-weight:800; }
.security-note { margin-top:25px; padding:16px; border-radius:14px; background:var(--cream); }
.security-note strong { color:var(--forest); font-size:13px; }
.security-note p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.back-link { display:inline-block; margin-top:24px; color:var(--forest); font-size:13px; font-weight:850; }
.workspace-shell { display:flex; flex-direction:column; height:100vh; background:#f7f5ee; }
.workspace-toolbar { flex:0 0 auto; min-height:48px; display:flex; align-items:center; gap:16px; padding:6px 14px; background:#0b281a; color:white; font-size:12px; font-weight:800; }
.workspace-toolbar > a { color:#f5cf66; text-decoration:none; white-space:nowrap; }
.workspace-session-label { flex:1; overflow:hidden; color:rgba(255,255,255,.74); text-overflow:ellipsis; white-space:nowrap; }
.workspace-toolbar-actions { display:flex; gap:8px; }
.workspace-toolbar button { min-height:32px; border:1px solid rgba(255,255,255,.35); border-radius:999px; padding:5px 13px; background:transparent; color:white; cursor:pointer; font-weight:850; }
.workspace-toolbar button:hover { border-color:#f5cf66; color:#f5cf66; }
#estimate-badge { display:inline-grid; min-width:19px; height:19px; margin-left:5px; place-items:center; border-radius:999px; background:#f5cf66; color:#173f2a; font-size:10px; }
.workspace-layout { position:relative; display:grid; flex:1; min-height:0; grid-template-columns:1fr; }
.workspace-shell.inbox-open .workspace-layout { grid-template-columns:minmax(360px,440px) minmax(0,1fr); }
#owner-workspace { display:block; width:100%; height:100%; border:0; background:#f7f5ee; }
.inbox-panel { min-width:0; overflow-y:auto; border-right:1px solid var(--line); background:#f5f6f0; padding:20px; box-shadow:12px 0 34px rgba(19,35,26,.08); }
.inbox-heading { display:flex; align-items:start; justify-content:space-between; gap:14px; }
.inbox-heading .eyebrow { margin-bottom:4px; }
.inbox-heading h2 { margin:0; color:var(--forest); font:700 31px/1 Georgia,"Times New Roman",serif; letter-spacing:-.03em; }
.inbox-heading > button { display:grid; width:34px; height:34px; place-items:center; border:1px solid var(--line); border-radius:50%; background:white; color:var(--forest); cursor:pointer; font-size:23px; line-height:1; }
.inbox-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:20px; }
.inbox-summary div { padding:12px; border:1px solid var(--line); border-radius:12px; background:white; }
.inbox-summary span,.inbox-summary strong { display:block; }
.inbox-summary span { color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.inbox-summary strong { margin-top:4px; color:var(--forest); font-size:23px; }
.inbox-controls { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:15px 0 10px; }
.inbox-filters { display:flex; gap:3px; padding:3px; border-radius:10px; background:#e7ebe3; }
.inbox-filters button,.inbox-refresh { border:0; border-radius:8px; padding:7px 10px; background:transparent; color:var(--muted); cursor:pointer; font-size:11px; font-weight:850; }
.inbox-filters button.active { background:white; color:var(--forest); box-shadow:0 3px 8px rgba(19,35,26,.08); }
.inbox-refresh { border:1px solid var(--line); background:white; color:var(--forest); }
.inbox-status { min-height:1.35em; margin:0 0 10px; color:var(--muted); font-size:12px; font-weight:750; }
.estimate-list { display:grid; gap:10px; }
.estimate-card { padding:15px; border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 7px 20px rgba(19,35,26,.045); }
.estimate-card.new { border-left:4px solid var(--gold); }
.estimate-card-head { display:flex; justify-content:space-between; gap:12px; }
.estimate-card-head strong { color:var(--forest); font-size:15px; }
.estimate-card-head time { color:var(--muted); font-size:10px; text-align:right; }
.estimate-service { margin:6px 0 0; color:var(--green); font-size:12px; font-weight:900; }
.estimate-meta { display:flex; flex-wrap:wrap; gap:5px 12px; margin:8px 0 0; color:var(--muted); font-size:11px; }
.estimate-details { margin:10px 0 0; padding-top:10px; border-top:1px solid #edf0e9; color:#425047; font-size:12px; line-height:1.5; white-space:pre-wrap; }
.estimate-actions { display:grid; grid-template-columns:1fr auto; gap:8px; margin-top:12px; }
.estimate-contact { display:flex; flex-wrap:wrap; gap:6px; }
.estimate-contact a { display:inline-flex; min-height:32px; align-items:center; border-radius:999px; padding:5px 10px; background:#edf3eb; color:var(--forest); font-size:11px; font-weight:850; text-decoration:none; }
.estimate-actions select { min-height:34px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--forest); padding:5px 8px; font-size:11px; font-weight:800; }
.inbox-empty { padding:34px 18px; border:1px dashed #cbd4ca; border-radius:15px; color:var(--muted); text-align:center; }
.inbox-empty strong,.inbox-empty span { display:block; }
.inbox-empty strong { color:var(--forest); }
.inbox-empty span { margin-top:5px; font-size:12px; }
@media (max-width:760px) {
  .workspace-toolbar { gap:9px; padding-inline:10px; }
  .workspace-session-label { display:none; }
  .workspace-toolbar-actions { margin-left:auto; }
  .workspace-shell.inbox-open .workspace-layout { grid-template-columns:1fr; }
  .inbox-panel { position:absolute; z-index:3; inset:0; border-right:0; padding:16px; }
}
@media (max-width:520px) { .access-card { border-radius:20px; }.security-note { padding:13px; }.workspace-toolbar > a { font-size:11px; } }
