/* The entry is independent of the merchant navigation and does not reserve sidebar space. */
:root {
  --bg:#f2f4f2; --surface:#fff; --ink:#171d1b; --text:var(--ink);
  --muted:#59635f; --line:#dbe1dd; --blue:#285ed8; --blue-dark:#204cae;
  --tint:#edf2fd; --leaf:#abef59; --rail:clamp(204px,16vw,236px);
}
body {background:var(--bg);color:var(--ink)}
#main.entry-shell {
  width:100%;max-width:none;margin:0;padding:0;min-height:100svh;display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(380px,1fr);
}
.entry-shell :is(h1,h2,p){margin:0}
.entry-scene {
  position:relative;isolation:isolate;overflow:hidden;display:grid;
  grid-template-rows:auto 1fr auto;gap:32px;padding:clamp(28px,4vw,68px);
  color:#f4f6f2;background-color:#0d1112;
  background-image:linear-gradient(90deg,#c1e9de0b 1px,transparent 1px),linear-gradient(#c1e9de0b 1px,transparent 1px),
    radial-gradient(ellipse at 77% 48%,#507a292e 0%,transparent 47%);
  background-size:52px 52px,52px 52px,auto;
}
.entry-brand,.entry-mobile-brand{display:flex;align-items:center;gap:12px;font-size:22px;line-height:1.25;font-weight:700}
.entry-brand small{display:block;margin-top:4px;color:#c2c9c6;font-size:12px;font-weight:450}
.entry-brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#2965df;color:white}
.scene-body{align-self:center;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.9fr);gap:10px;align-items:center}
.scene-copy h2{font-size:clamp(32px,3.4vw,60px);letter-spacing:-.05em;line-height:1.22;color:white;font-weight:650}
.scene-copy p{font-size:clamp(14px,1.08vw,18px);line-height:1.8;color:#bfcac4;margin-top:20px;max-width:25em}
.scene-clock{position:relative;width:100%;aspect-ratio:1;max-width:340px;justify-self:center;display:grid;place-items:center;background:radial-gradient(ellipse,#94d53a0e,transparent 73%)}
.scene-clock>svg{position:absolute;inset:0;width:100%;height:100%;stroke-width:1.8;filter:drop-shadow(0 0 2px #9fdf5233)}
.clock-ticks line{stroke:#364138;transition:stroke .32s ease}.clock-ticks line.lit{stroke:var(--leaf)}
.scene-clock>div{display:grid;justify-items:center;gap:6px}
.scene-clock time,.clock-calendar{font-family:ui-monospace,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
.scene-clock time{font-size:clamp(20px,2.55vw,44px);font-weight:650;color:#f0ffe3}
.clock-calendar{color:#bac4b6;font-size:clamp(9px,.86vw,13px);letter-spacing:.05em}
.scene-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.scene-facts>div{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #ffffff19;border-radius:14px;background:#ffffff07}
.scene-facts>div>span{color:var(--leaf);display:grid;place-items:center;background:#b6e87914;border-radius:9px;width:32px;height:32px}
.scene-facts :is(strong,small){display:block}.scene-facts small{color:#bbc5c0;font-size:13px}
.entry-side{display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at 15% 0,#dde2dd,transparent 65%),#f0f2f0;padding:50px clamp(22px,4vw,88px) 78px;align-content:center}
.entry-card{width:min(100%,430px);padding:clamp(24px,2.7vw,44px);border-radius:24px;border:1px solid #ffffffd9;background:#fffffff5;box-shadow:0 14px 62px #1a272210;animation:entry-arrive .26s ease-out both}
.entry-kicker{display:flex;align-items:center;gap:8px;color:#56635a;font-size:13px;font-weight:550}
.entry-kicker span{width:7px;height:7px;border-radius:50%;background:#7fad48}
.entry-card h1{font-size:clamp(30px,2.6vw,40px);line-height:1.25;letter-spacing:-.045em;margin:9px 0;color:#19211d}
.entry-desc,.entry-switch{font-size:14px;color:#5a645f}.entry-card form{display:grid;gap:14px;margin-top:27px}
.entry-field label{display:block;font-size:14px;font-weight:600;color:#303a35;margin:0 0 5px}
.entry-input{display:flex;align-items:center;gap:10px;padding:0 12px;background:#fcfdfc;border:1px solid #c8d0ca;border-radius:10px}
.entry-input:focus-within{outline:2px solid #5980d3;outline-offset:2px}
.entry-input>svg{color:#68766e;width:18px}
.entry-field .entry-input input{width:100%;min-width:0;min-height:46px;border:0;background:transparent;outline:0;padding:8px 0;margin:0;font-size:16px;box-shadow:none}
.entry-input .password-visibility{color:#40594a;min-height:44px;white-space:nowrap;padding:0 4px;font-size:13px;background:transparent}
.entry-options,.entry-side footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#55615b}
.entry-options label{display:inline-flex;align-items:center;min-height:44px;gap:6px;margin:0}
.entry-options input{width:16px;height:16px;margin:0;accent-color:var(--blue)}
.entry-side a,.entry-legal>a{color:var(--ui-link);display:inline-flex;align-items:center;min-height:44px}
.entry-card .form-error:empty{display:none}
.entry-submit{min-height:48px;color:white;background:#2a60dc;border-radius:11px;font-size:16px;font-weight:650;display:flex;gap:9px;justify-content:center;align-items:center}
.entry-submit:hover{background:#1f50bd}.entry-submit:disabled{opacity:.65}
.entry-switch{text-align:center;margin-top:16px!important}
.entry-side footer{position:absolute;bottom:16px;inset-inline:clamp(18px,4vw,80px)}
.entry-mobile-brand{display:none}.entry-legal{max-width:900px;margin:0 auto;padding:30px 18px}
@keyframes entry-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* The signed-in shell is shared across task, catalogue, account, and publishing routes. */
#app>.sidebar{background:#fbfcfa;border-color:var(--line);padding-top:21px}
.sidebar .nav-link{border-radius:10px;color:#3e4943;font-size:14px}.sidebar .nav-link.active{background:#e7ece5;color:#19261c;font-weight:650}
.sidebar .nav-link.active:after{background:#789b55}.sidebar .brand-mark{background:#285ed8}
.workspace{min-height:100vh;background:radial-gradient(ellipse 74% 300px at 83% 0,#e6efe360,transparent),var(--bg)}
.workspace .topbar{background:#f7f8f5f7;min-height:60px;border-color:#dadfd9;padding-inline:clamp(12px,2.4vw,40px)}
.menu-search{display:flex;gap:8px;align-items:center;background:#fff;padding:7px 11px;color:#55605a;border:1px solid var(--line);border-radius:10px}
.menu-search kbd{font:12px ui-monospace,monospace;padding:1px 5px;background:#f1f3ef;border-radius:4px}
.menu-matches{display:grid;max-height:50vh;overflow:auto}.menu-matches a{padding:9px;min-height:44px;border-bottom:1px solid var(--line)}
.workspace main{padding:clamp(16px,2.4vw,36px);max-width:1540px;margin-inline:auto}
.workspace :is(.panel,.tools-panel,.stat,.office-compose,.office-preview,.screening,.assistant-card,.work-shortcuts a,.platform-card,.film-piece,.piece-body,.desk-recent,#desk-history,.home-films){
  border-color:var(--line);border-radius:16px;box-shadow:0 2px 7px #25382b05;
}
.workspace :is(.btn,select,textarea,input:not([type=checkbox]):not([type=radio]),.task-model-picker>summary){border-radius:9px}
.workspace :is(a,button,summary):focus-visible,.entry-shell :is(a,button):focus-visible{outline:3px solid #315fc7;outline-offset:2px}
.workspace .page-heading h1,.pulse-heading h1{color:#151e18;letter-spacing:-.035em}
.pulse-heading{margin:0 0 21px;color:var(--muted);font-size:14px}.pulse-heading p{margin:0 0 6px;font-size:13px}.pulse-heading h1{margin:0 0 5px;font-size:clamp(25px,2.3vw,38px);line-height:1.25}
.pulse-grid,.pulse-lower{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(205px,1fr);gap:16px}
.pulse-aside{display:grid;grid-template-rows:1fr 1fr;gap:14px}
.pulse-feature,.pulse-stat,.pulse-recent,.pulse-links{background:#fff;border:1px solid #dce3da;border-radius:20px;box-shadow:0 3px 12px #25382b06}
.pulse-feature{display:grid;align-content:space-between;padding:clamp(17px,2.1vw,32px);gap:24px;background:radial-gradient(ellipse at 0 0,#d7f4b4 0%,#e7f3d95c 50%,transparent 77%),#fafbf8}
.pulse-feature>header,.pulse-recent>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pulse-home h2{font-size:17px;line-height:1.4;margin:0;font-weight:650}
.pulse-periods{display:flex;background:#e5ebe1;padding:3px;border-radius:10px}
.pulse-periods button{font:inherit;font-size:13px;background:transparent;color:#4b594b;border-radius:8px;padding:5px 10px}
.pulse-periods button[aria-pressed=true]{background:#fff;color:#1b261e;box-shadow:0 1px 4px #14251512;font-weight:650}
.pulse-chart{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.5fr);gap:15px;align-items:end;margin-block:7px}
.pulse-number strong,.pulse-stat strong{line-height:1.12;color:#161e18;letter-spacing:-.05em;font-variant-numeric:tabular-nums;font-weight:600}
.pulse-number>strong{font-size:clamp(45px,4.4vw,68px)}.pulse-number>span{margin-left:6px}
.pulse-number>p,.pulse-number dt,.pulse-plot figcaption{font-size:12px;color:#55624f;margin:4px 0}
.pulse-number dl{display:flex;gap:18px;padding-top:10px;border-top:1px solid #d3ddcf;margin:13px 0 0}
.pulse-number dd{font-variant-numeric:tabular-nums;font-weight:650;margin:0}
.pulse-plot{margin:0;min-width:0}.pulse-plot svg{width:100%;height:clamp(98px,11vw,150px);display:block;overflow:visible}
.pulse-plot path{vector-effect:non-scaling-stroke}.plot-guide{stroke:#cfd8cd;stroke-width:1;stroke-dasharray:1 6}
.plot-area{fill:#9ecf7d20;stroke:none}.plot-line{stroke:#202b22;stroke-width:2.3;stroke-linejoin:round}.pulse-plot circle{stroke:#253726;fill:#fff;stroke-width:2}
.pulse-plot figcaption{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums}
.pulse-feature footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pulse-primary,.pulse-sub{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;min-height:40px;border-radius:30px;font-size:14px;font-weight:600}
.pulse-primary{background:#18211c;color:white}.pulse-sub{border:1px solid #cdd7c9;color:#263329}
.pulse-stat{position:relative;display:grid;align-content:space-between;gap:12px;padding:clamp(16px,1.6vw,26px);transition:border-color .18s ease}
.pulse-stat:hover,.pulse-links a:hover{border-color:#91a88c}.pulse-stat>span{display:flex;align-items:center;gap:8px;color:#515d54;font-size:14px}.pulse-stat strong{font-size:clamp(30px,3.2vw,48px)}
.pulse-stat strong small{font-size:14px;letter-spacing:0;margin-left:7px}.pulse-stat .stat-go{position:absolute;right:16px;top:18px;color:#829181;width:15px}
.pulse-lower{margin-top:16px;align-items:start}.pulse-recent,.pulse-links{padding:clamp(16px,1.65vw,27px);min-width:0}
.pulse-recent>header,.pulse-links h2{margin-bottom:13px}.pulse-recent>header a{display:flex;align-items:center;gap:5px;color:#364c39;font-size:14px}.pulse-links a{display:flex;align-items:center;gap:10px;padding:12px 1px;border-top:1px solid var(--line);color:#2b392d}.pulse-links a svg:last-child{margin-left:auto;width:15px}
.pulse-home .history-item{flex-wrap:wrap;gap:6px 12px}.pulse-home .history-item>div{min-width:0}
@media(min-width:901px){#app>.sidebar{width:var(--rail)}#app>.workspace{margin-left:var(--rail)}}
@media(max-width:980px){#main.entry-shell{grid-template-columns:minmax(0,1.12fr) minmax(350px,1fr)}.scene-body{grid-template-columns:1fr}.scene-clock{width:min(68%,220px);margin-top:16px}.scene-facts{grid-template-columns:1fr}.entry-scene{padding:26px}.pulse-grid,.pulse-lower{grid-template-columns:minmax(0,1.7fr) minmax(166px,.8fr)}}
@media(max-width:700px){
  #main.entry-shell{display:flex;flex-direction:column}.entry-side{order:-1;min-height:100svh;padding:36px 18px 83px;align-content:center;gap:20px}
  .entry-mobile-brand{display:flex;justify-self:start;width:min(100%,430px);margin-inline:auto;font-size:19px}.entry-mobile-brand .entry-brand-mark{width:30px;height:30px;border-radius:9px}
  .entry-card{padding:24px 19px}.entry-options,.entry-switch{font-size:14px}.entry-options a,.entry-options label,.entry-switch a{min-height:44px}
  .entry-scene{gap:10px;padding:28px 20px}.entry-scene>.entry-brand,.scene-facts{display:none}.scene-body{grid-template-columns:1fr minmax(102px,.65fr);gap:12px}.scene-copy h2{font-size:24px}.scene-copy p{font-size:13px;margin-top:9px}.scene-clock{width:100%;margin:0}.scene-clock time{font-size:19px}
  .menu-search{min-height:44px;min-width:36px;justify-content:center;padding:5px}.menu-search>span,.menu-search kbd{display:none}
  .workspace main{padding:16px 12px 36px}.pulse-heading{margin-bottom:15px}.pulse-grid,.pulse-lower{grid-template-columns:1fr;gap:10px}
  .pulse-feature{gap:12px}.pulse-chart{grid-template-columns:minmax(84px,.82fr) minmax(0,1.45fr);gap:9px}.pulse-number dl{gap:8px}.pulse-number dt{font-size:11px}
  .pulse-aside{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;gap:10px}.pulse-lower{margin-top:10px}
  .pulse-primary,.pulse-sub,.pulse-recent>header a{min-height:44px}.pulse-stat .stat-go{display:none}.pulse-stat>span{gap:5px}.pulse-stat>span svg{width:16px}
  .workspace .pulse-periods button{min-height:44px;padding-inline:8px}.pulse-home :is(.pulse-feature,.pulse-stat,.pulse-recent,.pulse-links){border-radius:15px}
}
@media(max-width:380px){.pulse-feature>header{align-items:flex-start}.pulse-number dl{display:grid;gap:0}.pulse-number dl div{display:flex;align-items:center;gap:5px}.pulse-stat{padding:13px}.workspace .breadcrumb>span{display:none}}
@media(prefers-reduced-motion:reduce){.entry-card,.clock-ticks line,.pulse-stat{animation:none;transition:none}}
/* Route-specific surfaces retain the original interactive controls and their names. */
.workspace .office-preview,.workspace .screening{background:#f9fbf7}
.workspace .office-compose .form-footer,.workspace .screen-controls{border-top:1px solid var(--line);padding-top:12px}
.workspace .publication .pub-card{background:white;border-radius:14px;border-color:#d7dfd6}
.workspace .publication .pub-card:has(:checked),.workspace .publication .pub-card[aria-pressed=true]{background:#f1f6eb;border-color:#70965c;outline:1px solid #70965c}
.customer-portal{border-radius:18px;background:white;border:1px solid var(--line);margin:clamp(12px,3vw,40px) auto;padding:clamp(16px,3vw,36px)}
@media(max-width:650px){.customer-portal{margin-inline:10px}.workspace .top-actions{min-width:0}.workspace .top-actions .account{min-width:0}}
@media (prefers-reduced-motion:no-preference){.workspace main[data-view]>.pulse-home,.workspace main[data-view]>.page-heading{animation:entry-arrive .2s ease-out both}}
@media(prefers-reduced-motion:no-preference){
  .entry-shell.entry-confirmed .scene-clock{animation:clock-confirm .32s ease-out}
  .entry-shell.entry-confirmed .entry-submit{background:#205c3d}
  @keyframes clock-confirm{50%{transform:scale(1.025);filter:brightness(1.3)}}
}
.workspace .tool-card{border-radius:16px;border-color:var(--line);box-shadow:none}
.workspace .tool-card:hover{border-color:#9cab9e;box-shadow:0 3px 12px #283a290d}
.workspace .platform-card[aria-pressed=true]{background:#eff5eb;border-color:#68934f}

.guest-entry { margin: 10px 0 0; }
.guest-entry button { width:100%; min-height:44px; }
