:root {
  --green: #123b35;
  --green-2: #1d5a4d;
  --mint: #e9f3ee;
  --ink: #1c2925;
  --muted: #687771;
  --line: #e3eae6;
  --paper: #ffffff;
  --bg: #f4f7f4;
  --gold: #d8b878;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 12% 8%, #e6f0e9 0, transparent 32%), var(--bg); color: var(--ink); min-height: 100vh; }
button, input { font: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(18,59,53,.08); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--green); color: white; font-size: 27px; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.3px; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; }
.auth-layout { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 7vw, 100px); padding: 64px 4vw 80px; }
.eyebrow { color: var(--green-2); font-size: 10px; letter-spacing: 1.8px; font-weight: 800; }
.intro h1, .welcome-row h1 { color: var(--green); font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -2.4px; margin: 18px 0; max-width: 570px; }
.intro p { color: #52645d; font-size: 17px; line-height: 1.7; max-width: 500px; }
.trust-points { display: grid; gap: 12px; margin-top: 34px; color: var(--green-2); font-size: 14px; font-weight: 650; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(26, 59, 48, .07); }
.auth-panel { padding: 30px; max-width: 430px; width: 100%; justify-self: end; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f5f2; padding: 5px; border-radius: 12px; margin-bottom: 27px; }
.tab { border: 0; background: transparent; color: var(--muted); border-radius: 9px; padding: 11px; cursor: pointer; font-weight: 700; }
.tab.active { background: white; color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
h2 { margin: 0 0 8px; color: var(--green); font-size: 21px; letter-spacing: -.5px; }
.muted { color: var(--muted); line-height: 1.55; font-size: 13px; }
form label { display: block; color: #34463e; font-size: 12px; font-weight: 750; margin: 19px 0 7px; }
input { width: 100%; padding: 14px 14px; border: 1px solid #dce6df; border-radius: 10px; outline: none; background: #fcfdfc; color: var(--ink); }
input:focus { border-color: #5c9682; box-shadow: 0 0 0 3px rgba(92,150,130,.13); }
.button { border: 0; border-radius: 10px; padding: 13px 18px; cursor: pointer; font-weight: 750; transition: transform .15s, opacity .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { background: var(--green); color: white; margin-top: 22px; }
.button-primary:hover { background: var(--green-2); }
.button-quiet { background: white; color: var(--green); border: 1px solid var(--line); }
.full { width: 100%; }
.text-button { display: block; border: 0; background: none; color: var(--green-2); cursor: pointer; padding: 15px 0 0; font-size: 12px; font-weight: 700; }
.message { margin-top: 18px; border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; background: #edf5ef; color: #24523d; }
.message.error { background: #fff0ed; color: #9b3427; }
.hidden { display: none !important; }
#appView { flex: 1; padding: 58px 4vw 70px; }
.welcome-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.welcome-row h1 { font-size: 42px; margin: 12px 0 7px; }
.welcome-row p { margin: 0; }
.workspace-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.create-panel, .list-panel { padding: 27px; }
.icon-circle { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 24px; margin-bottom: 18px; }
.create-panel p { max-width: 330px; }
.workspace-list { margin-top: 18px; display: grid; gap: 10px; }
.workspace-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.workspace-item strong { color: var(--green); }
.workspace-item small { color: var(--muted); }
.workspace-tag { background: var(--mint); color: var(--green-2); border-radius: 99px; padding: 6px 9px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.notice { margin-top: 22px; border: 1px solid #e9dfc9; background: #fbf8f0; color: #6d5b35; border-radius: 12px; padding: 14px 17px; display: flex; gap: 12px; align-items: baseline; font-size: 12px; line-height: 1.5; }
.notice strong { white-space: nowrap; }
footer { padding: 22px 0 28px; text-align: center; color: #87958e; font-size: 11px; }
footer span { padding: 0 6px; color: var(--gold); }
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 560px); }
  .topbar { height: 72px; }
  .auth-layout { grid-template-columns: 1fr; padding: 42px 0 48px; gap: 30px; }
  .intro h1 { font-size: 40px; }
  .intro p { font-size: 15px; }
  .trust-points { grid-template-columns: 1fr 1fr; font-size: 12px; }
  .auth-panel { justify-self: stretch; max-width: none; padding: 22px; }
  #appView { padding: 38px 0 48px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .welcome-row h1 { font-size: 34px; }
  .notice { display: block; }
  .notice strong { display: block; margin-bottom: 4px; }
}
