body:has(.workspace-frame) {
  background:radial-gradient(ellipse at 95% 100%,#fac6ae,transparent 44%),linear-gradient(140deg,#d8dde0,#f4f1eb 70%);
  min-height:100svh;
}
.workspace-frame {
  width:calc(100% - clamp(14px,4vw,64px)); max-width:1640px;
  margin:clamp(7px,2vw,32px) auto; min-height:calc(100svh - clamp(14px,4vw,64px));
  grid-template-columns:205px minmax(0,1fr); border:1px solid #ffffffd9;
  border-radius:26px; overflow:hidden; background:#f8f7f5e8; box-shadow:0 21px 68px #29263118;
}
.workspace-frame.workspace-home { grid-template-columns:205px minmax(0,1fr) minmax(235px,285px); }
.workspace-sidebar { background:#f4f3f1; padding:21px 13px 13px; border-color:#e6e3df; gap:14px; }
.workspace-sidebar .brand { gap:4px; margin-bottom:5px; }
.workspace-sidebar nav { gap:12px; }
.workspace-nav-group { display:grid; gap:2px; }
.workspace-nav-group > p { margin:0 0 2px 9px; font-size:11px; font-weight:800; color:#5d5861; }
.workspace-nav-group a { display:flex; white-space:nowrap; align-items:center; gap:8px; min-height:35px; color:#4b4852; }
.workspace-sidebar nav a[aria-current=page] { background:#fff; color:#171717; box-shadow:0 1px 5px #2b22200f; }
.workspace-nav-group a b { margin-left:auto; color:#fff; background:#222; border-radius:10px; padding:1px 6px; font-size:11px; }
.workspace-frame svg { width:18px; height:18px; flex:none; }
.workspace-profile { display:flex; gap:8px; align-items:center; margin-top:auto; padding:9px; background:#eae7ef; border-radius:13px; font-size:12px; min-width:0; }
.workspace-profile .setup-avatar { width:34px; height:34px; border-radius:10px; }
.workspace-profile strong,.workspace-profile small { display:block; overflow-wrap:anywhere; }
.workspace-profile small { color:#56505f; }
.workspace-center { min-width:0; }
.workspace-center .mainbar { background:#ffffffad; }
.workspace-home .workspace-center { display:flex; flex-direction:column; }
.workspace-top { display:flex; justify-content:flex-end; padding:13px 15px 0; }
.workspace-home .content { width:100%; display:flex; flex-direction:column; flex:1; padding:12px clamp(14px,3vw,42px) 23px; }
.workspace-welcome { text-align:center; padding:clamp(16px,4vw,53px) 12px 24px; margin-bottom:17px; border:1px solid #efede7; border-radius:19px; }
.workspace-emblem { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 17px; border:1px solid #fff; border-radius:23px; background:radial-gradient(circle at 32% 25%,#fff7da,transparent 62%),linear-gradient(150deg,#e1d7ff,#f4cfc6); box-shadow:0 8px 20px #826b9a20; color:#51436f; rotate:-7deg; }
.workspace-emblem svg { width:38px; height:38px; stroke-width:1.15; }
.workspace-welcome h1 { margin:0 0 8px; text-wrap:balance; }
.workspace-welcome a { margin-top:11px; }
.workspace-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.workspace-shortcut { display:flex; flex-direction:column; gap:6px; background:#fff; border:1px solid #ebe8eb; border-radius:16px; padding:clamp(10px,1.55vw,19px); font-size:14px; }
.workspace-shortcut > span:last-child { color:#555061; line-height:1.4; font-size:12px; }
.workspace-shortcut-icon { display:grid; place-items:center; width:35px; height:35px; margin-bottom:7px; border-radius:11px; background:#eee5ff; color:#6545a0; }
.workspace-shortcut:nth-child(2) .workspace-shortcut-icon { background:#ffedd8; color:#7d532b; }
.workspace-shortcut:nth-child(3) .workspace-shortcut-icon { background:#e5f2eb; color:#34694e; }
.workspace-composer { margin:clamp(16px,3vw,35px) 0 0; padding:12px; border:1px solid #ded9df; border-radius:17px; background:#ffffff9c; display:grid; gap:8px; }
.workspace-composer label { font-size:13px; font-weight:800; }
.workspace-composer input { width:100%; background:#fff; }
.workspace-composer-actions { display:flex; gap:8px; justify-content:space-between; flex-wrap:wrap; }
.workspace-composer-actions select { font-size:12px; }
.workspace-composer-actions .button { gap:7px; }
.workspace-activity { min-width:0; margin:12px 12px 12px 0; padding:15px; border:1px solid #eeeaf0; border-radius:20px; background:#fff; display:flex; flex-direction:column; }
.workspace-activity h2 { font-size:21px; margin:0 0 11px; letter-spacing:-.045em; }
.workspace-activity-search { display:flex; align-items:center; gap:5px; border:1px solid #ddd9e3; border-radius:24px; padding:0 8px; color:#5d5868; }
.workspace-activity-search input { width:100%; min-width:0; border:0; border-radius:24px; padding:8px 3px; font-size:13px; }
.workspace-activity ul { margin:13px 0; padding:0; list-style:none; }
.workspace-activity li + li { border-top:1px solid #eeeaf0; }
.workspace-activity li a { display:flex; align-items:flex-start; gap:8px; padding:10px 0; font-size:13px; }
.workspace-activity li a:hover strong { text-decoration:underline; }
.workspace-activity li small { display:block; color:#595466; margin:3px 0 6px; }
.workspace-activity li .company { width:29px; height:29px; font-size:13px; }
.workspace-empty { font-size:13px; color:#595466; padding:8px 0; }
.workspace-activity > .button { margin-top:auto; white-space:normal; text-align:center; font-size:12px; }
@media(prefers-reduced-motion:no-preference) {
  .workspace-shortcut { transition:translate 180ms ease,box-shadow 180ms ease; }
  .workspace-shortcut:is(:hover,:focus-visible) { translate:0 -3px; box-shadow:0 8px 18px #34294e19; }
}
@media(max-width:1100px) {
  .workspace-frame { grid-template-columns:170px minmax(0,1fr); }
  .workspace-frame.workspace-home { grid-template-columns:170px minmax(0,1fr) 215px; }
}
@media(max-width:860px) {
  .workspace-frame.workspace-home { grid-template-columns:155px minmax(0,1fr); }
  .workspace-activity { grid-column:2; margin:0 14px 14px; }
  .workspace-home .workspace-sidebar { grid-row:span 2; }
}
@media(max-width:670px) {
  .workspace-frame,.workspace-frame.workspace-home { grid-template-columns:minmax(0,1fr); }
  .workspace-home .workspace-sidebar { grid-row:auto; }
  .workspace-sidebar { border-right:0; border-bottom:1px solid #e6e3df; padding:10px; }
  .workspace-sidebar nav { display:flex; overflow-x:auto; }
  .workspace-nav-group { display:flex; }
  .workspace-nav-group > p,.workspace-profile { display:none; }
  .workspace-activity { grid-column:1; }
}
@media(max-width:400px) { .workspace-shortcuts { grid-template-columns:1fr; } }

.workspace-metrics { margin:0 0 17px; }
.workspace-metrics h2 { font-size:16px; margin:0 0 8px; letter-spacing:-.025em; }
.workspace-metrics > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.workspace-metrics a { display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid #e8e2ee; border-radius:14px; background:#f5f3ef; font-size:13px; }
.workspace-metrics a:nth-child(2) { background:#f6efd9; border-color:#eae2c8; }
.workspace-metrics a:nth-child(3) { background:#e7f3ec; border-color:#dceae1; }
.workspace-metrics a:hover > span { text-decoration:underline; }
.workspace-metrics a strong { font-family:Manrope,system-ui,sans-serif; font-size:32px; line-height:1; letter-spacing:-.06em; }
.workspace-metrics a span { font-weight:700; }
.workspace-metrics a small { font-size:11px; color:#565063; }
@media(max-width:450px) { .workspace-metrics > div { grid-template-columns:1fr; } }
.agent-overview { background:#fff; padding:16px; border:1px solid var(--border); border-radius:17px; margin:0 0 17px; }
.agent-overview > div:first-child,.agent-current { display:flex; align-items:center; gap:9px; }
.agent-overview .workspace-shortcut-icon,.agent-overview h2,.agent-current h2 { margin:0; }
.agent-overview h2 { font-size:19px; letter-spacing:-.04em; }
.agent-overview p { margin-top:6px; font-size:13px; }
.agent-overview .actions { margin-bottom:0; }
.agent-options { padding:0; border:0; margin:0 0 14px; min-width:0; }
.agent-options legend { font-weight:800; margin-bottom:8px; }
.agent-options > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,178px),1fr)); gap:8px; }
.agent-options label { display:flex; align-items:flex-start; gap:8px; padding:11px; border:1px solid var(--border); border-radius:11px; cursor:pointer; }
.agent-options label:has(:checked) { background:#f2ecfb; border-color:#7858ac; }
.agent-options input { accent-color:#171717; margin:3px 0; }
.agent-options strong,.agent-options small { display:block; }
.agent-options small { margin-top:4px; color:var(--muted); }
.resume-builder,.resume-editor { margin-top:12px; }
.resume-editor textarea { min-height:270px; line-height:1.5; }
.workspace-emblem .workspace-illustration { width:52px; height:52px; }
.workspace-shortcut-icon:has(.workspace-illustration) { width:52px; height:52px; border-radius:14px; }
.workspace-shortcut-icon .workspace-illustration { width:40px; height:40px; }
.workspace-illustration { display:block; }
@media(prefers-reduced-motion:no-preference) {
  .workspace-illustration { transition:transform 220ms ease; }
  .workspace-shortcut:is(:hover,:focus-visible) .workspace-illustration { transform:translateY(-3px) rotate(-5deg); }
}

.agent-options .agent-mode-card { display:grid; position:relative; align-content:start; gap:6px; padding:13px; border-radius:15px; background:var(--mode-surface); }
.agent-mode-card[data-mode="Autopilot"] { --mode-surface:#f5f3ef; --mode-accent:#514939; }
.agent-mode-card[data-mode="Copilot"] { --mode-surface:#fcf0e3; --mode-accent:#805127; }
.agent-mode-card[data-mode="Discover"] { --mode-surface:#eaf4ed; --mode-accent:#3e6850; }
.agent-options .agent-mode-card:has(:checked) { background:var(--mode-surface); border-color:var(--mode-accent); box-shadow:inset 0 0 0 1px var(--mode-accent); }
.agent-mode-card input { position:absolute; top:12px; right:13px; }
.agent-mode-art { display:grid; place-items:center; width:49px; height:49px; background:#ffffffa8; border-radius:13px; }
.agent-mode-art .workspace-illustration { width:40px; height:40px; }
.agent-mode-card strong { font-size:16px; }
.agent-mode-badge { justify-self:start; border:1px solid color-mix(in srgb,var(--mode-accent) 25%,transparent); border-radius:20px; color:var(--mode-accent); padding:3px 7px; font-size:11px; font-weight:700; }
.agent-mode-card small { font-size:12px; line-height:1.45; }

.resume-templates { padding:0; border:0; margin:0 0 17px; min-width:0; }
.resume-templates legend { font-size:14px; font-weight:800; margin-bottom:8px; }
.resume-templates > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.resume-template { position:relative; display:grid; gap:5px; padding:9px; border:1px solid var(--border); border-radius:14px; cursor:pointer; }
.resume-template:has(:checked) { border-color:#7958a8; box-shadow:inset 0 0 0 1px #7958a8; }
.resume-template input { position:absolute; top:15px; right:14px; z-index:1; accent-color:#171717; }
.resume-template-stage { display:grid; place-items:center; padding:12px; min-height:155px; border-radius:9px; background:#f0ebfa; }
.resume-template[data-template="skills"] .resume-template-stage { background:#e9f2ed; }
.resume-paper { display:block; width:min(100%,112px); border-radius:4px; background:#fff; color:#202536; box-shadow:0 5px 12px #23253624; overflow:hidden; }
.resume-paper-header,.resume-paper-body { display:grid; gap:3px; padding:7px; }
.resume-paper-header { border-bottom:1px solid #333; }
.resume-paper-header strong { font-size:10px; }
.resume-paper-header small { font-size:7px; }
.resume-template[data-template="skills"] .resume-paper-header { background:#263451; color:#fff; }
.resume-score { display:flex; gap:14px; align-items:flex-start; margin-top:12px; padding:12px; background:#eaf4ed; border:1px solid #dbe9df; border-radius:13px; }
.resume-score-value { font:800 32px Manrope,system-ui,sans-serif; color:#285840; letter-spacing:-.07em; flex:none; }
.resume-score p,.resume-score small { font-size:12px; }
.workspace-notifications { display:grid; place-items:center; position:relative; width:39px; height:39px; flex:none; border:1px solid #e7e1ec; border-radius:12px; background:#fff; color:#332b42; }
.workspace-notifications:hover { background:#f1e9fa; }
.workspace-notifications > span { position:absolute; top:-5px; right:-5px; border:2px solid #fff; border-radius:20px; padding:1px 5px; background:#23202b; color:#fff; font-size:10px; font-weight:800; }

.workspace-welcome { background:#ffffff55; }
.activity-heading { padding:8px 0 14px; }
.activity-heading .workspace-shortcut-icon { margin-bottom:9px; }
.activity-controls { display:flex; flex-wrap:wrap; gap:10px; background:#fff; padding:13px; border:1px solid var(--border); border-radius:14px; }
.activity-controls .field { margin:0; }
.activity-controls .field:first-child { flex:1 1 230px; }
.activity-timeline { list-style:none; padding:0; margin:16px 0 0; }
.activity-timeline-item { display:grid; grid-template-columns:auto minmax(0,1fr); gap:11px; position:relative; padding-bottom:12px; }
.activity-timeline-item:not(:last-child)::before { content:""; position:absolute; top:37px; bottom:0; left:18px; border-left:1px solid #dcd2e5; }
.activity-timeline-icon { width:37px; height:37px; display:grid; place-items:center; border-radius:11px; color:#5b427b; background:#ede4f7; }
.activity-timeline-item[data-kind="interviews"] .activity-timeline-icon { background:#f7e9cc; color:#754f16; }
.activity-timeline-item[data-kind="submissions"] .activity-timeline-icon { background:#dff2e6; color:#315644; }
.activity-timeline-item article { background:#fff; border:1px solid var(--border); border-radius:13px; padding:11px 14px; }
.activity-timeline-item article header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px; color:#5f5468; font-size:12px; }
.activity-timeline-item article header span { font-weight:800; }
.activity-timeline-item article h2 { font-size:16px; margin:6px 0; }
.activity-timeline-item article a { color:#543588; font-size:13px; text-decoration:underline; }

.guide-steps { display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0 0 14px; list-style:none; }
.guide-steps li { border-radius:18px; padding:6px 10px; font-size:12px; background:#fff; border:1px solid var(--border); }
.guide-steps [aria-current=step] { background:#ece3fa; border-color:#d8c9ed; font-weight:800; }
.guide-entry { min-width:0; padding:11px; margin:15px 0; border:1px solid var(--border); border-radius:13px; background:#faf9fc; }
.guide-entry legend { font-weight:800; }
.guide-summary { padding-left:18px; line-height:1.8; }
.cover-letter-text p + p { margin-top:10px; }

.jobs-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; padding:12px; background:#fff; border:1px solid var(--border); border-radius:14px; }
.jobs-toolbar .field { margin:0; }
.jobs-toolbar .field:first-child { flex:1 1 210px; }
.jobs-toolbar input[type=number] { width:102px; }
.jobs-results { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:12px 0; }
.jobs-note { margin:8px 0 12px; }
.jobs-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr)); gap:12px; }
.jobs-grid > .panel:only-child { grid-column:1/-1; }
.job-tile { min-width:0; display:flex; flex-direction:column; padding:14px; border:1px solid #e6e1e8; border-radius:15px; background:white; }
.job-tile-top { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:12px; }
.job-tile h3 { font-size:18px; margin-bottom:3px; }
.job-tile h3 a:hover { text-decoration:underline; }
.job-tile p { font-size:13px; }
.job-posted { color:#6a6170; font-size:12px!important; margin:8px 0; }
.job-tile-actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:auto; padding-top:7px; }
.job-tile-actions .button { padding:7px 9px; white-space:normal; text-align:center; font-size:12px; }
.job-tile-actions .primary { flex-basis:100%; }

.connection-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:12px; margin:0 0 14px; }
.connection-card { display:flex; flex-direction:column; align-items:flex-start; padding:16px; border:1px solid var(--border); border-radius:16px; background:#fff; }
.connection-icon { display:grid; place-items:center; width:45px; height:45px; border-radius:12px; margin-bottom:11px; }
.connection-icon.gmail { background:#fcefea; }
.connection-icon.outlook { background:#e9f2ff; color:#23578a; }
.connection-icon.calendar { background:#ebf4ff; }
.connection-grid .connection-card h2 { font-size:19px; margin:0 0 5px; }
.connection-card p { font-size:13px; margin:0 0 14px; }
.connection-card > :is(.pill,.button) { margin-top:auto; }
.connection-card .button { white-space:normal; text-align:center; }

.application-mode-selector { display:inline-flex; gap:4px; padding:4px; background:#ece8ef; border:1px solid #e8e2eb; border-radius:14px; }
.application-mode-selector a { padding:8px 14px; border-radius:10px; font-size:13px; font-weight:800; }
.application-mode-selector a[aria-current=page] { background:#171717; color:white; }
.application-mode-summary { margin:10px 0 13px; font-size:13px; }
.application-stack-group { width:min(100%,940px); min-width:0; }
.application-stack { position:relative; isolation:isolate; }
.application-stack.is-piled { margin-bottom:15px; }
.application-stack.is-piled::before,.application-stack[data-depth="3"]::after {
  content:""; position:absolute; z-index:-1; inset:8px 9px -9px;
  background:#f4ecfa; border:1px solid #ded2e8; border-radius:15px;
}
.application-stack[data-depth="3"]::after { z-index:-2; inset:14px 17px -15px; background:#eee3f5; }
.application-stack-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:15px; }
.application-stack-track::-webkit-scrollbar { display:none; }
.application-stack-card {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:13px;
  flex:0 0 100%; min-width:0; min-height:112px; padding:clamp(13px,2.2vw,23px);
  scroll-snap-align:start; scroll-snap-stop:always; background:white; border:1px solid #e3dce8; border-radius:15px;
}
.application-stack-info h3 { font-size:17px; margin:0 0 2px; }
.application-stack-info p { font-size:13px; }
.application-stack-info .application-stack-date { margin-top:4px; font-size:12px; }
.application-stack-action { display:grid; justify-items:end; gap:6px; }
.application-stack-action .button { font-size:12px; padding:7px 9px; white-space:normal; text-align:center; }
.application-stack-action .pill { white-space:normal; text-align:center; }
.application-stack-controls { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-top:18px; font-size:12px; }
.application-stack-controls .button { font-size:12px; padding:7px 12px; }
.application-stack-controls :disabled { opacity:.55; cursor:default; }
.application-stack-empty { border:1px dashed #d8d0dc; border-radius:12px; padding:13px; background:#ffffff80; }
@media(max-width:450px) {
  .application-stack-card { gap:8px; padding:10px; }
  .application-stack-card .company { width:28px; height:28px; }
  .application-stack-info h3 { font-size:14px; }
}

.linkedin-form { width:100%; margin-top:12px; }
.linkedin-form input { min-width:0; width:100%; }
.linkedin-form .button { padding:7px 9px; }
.linkedin-form .actions { margin-bottom:0; }
.studio-plus-header { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:6px; }
.studio-plus-header h2 { margin:0; }

.studio-tier-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.studio-tier { display:flex; flex-direction:column; padding:11px; border:1px solid var(--border); border-radius:21px; background:white; box-shadow:0 4px 13px #28203212; }
.studio-tier-plus { border-color:#e7dced; }
.studio-tier h2 { margin:3px 0 0; }
.studio-tier ul { padding:0; margin:3px 0 13px; list-style:none; }
.studio-tier li + li { margin-top:9px; }
.studio-tier .button { margin-top:auto; white-space:normal; text-align:center; }
.studio-tool-nav { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 15px; }
.studio-tool-nav a { padding:7px 9px; border-radius:10px; border:1px solid var(--border); background:white; font-size:13px; }
.studio-tool-nav [aria-current=page] { background:#f0e8fa; border-color:#ded0f0; color:#47316d; font-weight:800; }
.resume-template { padding:10px; border-radius:14px; }
.resume-template-stage { padding:14px; min-height:218px; background:#f1eef4; }
.resume-template[data-template="skills"] .resume-template-stage { background:#e9efef; }
.resume-paper { width:min(100%,145px); border:1px solid #e8e8ec; border-radius:2px; }
.resume-paper-header,.resume-paper-body { padding:10px; }
.resume-paper-header { border-color:#d4d4dc; }
.resume-paper-header strong { font-size:13px; }
.resume-paper-header small { font-size:8px; }
.resume-paper-body { gap:8px; }
.resume-paper-section { display:grid; gap:2px; color:#25283a; font-size:7px; line-height:1.35; }
.resume-paper-section b { padding-bottom:2px; border-bottom:1px solid #d4d4dc; font-size:8px; }
.resume-paper-section small { font-size:7px; color:#555b6d; }
.resume-template-caption { display:grid; gap:2px; padding:3px 2px 0; }
.resume-template-caption strong { font-size:15px; }
.resume-template-caption small { color:var(--muted); }
@media(max-width:630px) { .studio-tier-grid { grid-template-columns:1fr; } }
@media(max-width:420px) { .resume-template-stage { min-height:175px; padding:8px; } }

.studio-offer-art { min-height:202px; display:grid; place-items:center; position:relative; isolation:isolate; overflow:hidden; padding:15px; border-radius:14px; background:#e9e2f2; color:#282135; }
.studio-tier-plus .studio-offer-art { background:#e4eee5; color:#21382d; }
.studio-mini-paper,.studio-mini-letter,.studio-mini-portfolio,.studio-mini-email { background:white; box-shadow:0 8px 20px #342b4b25; border:3px solid white; border-radius:10px; }
.studio-mini-paper { width:min(160px,70%); padding:11px; rotate:-8deg; translate:-18px -7px; font-size:11px; }
.studio-mini-paper b,.studio-mini-paper strong,.studio-mini-paper span,.studio-mini-paper small { display:block; }
.studio-mini-paper strong,.studio-mini-paper span { font-size:8px; margin-top:4px; }
.studio-mini-paper hr { height:2px; margin:5px 0; }
.studio-mini-letter { position:absolute; right:9%; bottom:25px; display:grid; gap:3px; rotate:7deg; padding:8px; font-size:11px; }
.studio-mini-letter small,.studio-mini-email small { display:block; font-size:9px; }
.studio-mini-portfolio { width:min(220px,77%); padding:10px; rotate:5deg; translate:-8px -15px; display:grid; gap:6px; }
.studio-mini-portfolio small { padding:4px 6px; border-radius:4px; font-size:9px; background:#eef2ef; }
.studio-mini-portfolio b { font-size:15px; }
.studio-mini-portfolio span { background:#f2ece3; border-radius:4px; font-size:9px; padding:5px; }
.studio-mini-email { position:absolute; left:9%; bottom:24px; display:flex; align-items:center; gap:5px; rotate:-6deg; padding:7px; font-size:11px; }
.studio-offer-sticker { background:#f4df8e; font-size:10px; font-weight:800; border:2px solid white; padding:5px 8px; border-radius:20px; position:absolute; bottom:6px; right:8px; rotate:-4deg; }
.studio-tier-plus .studio-offer-sticker { background:#c2e4ce; }
.studio-offer-body { display:flex; flex-direction:column; align-items:flex-start; gap:7px; flex:1; padding:14px 8px 8px; }
.studio-offer-body > p { font-size:14px; }
.studio-offer-body > h3 { width:100%; border-top:1px solid var(--border); font-size:12px; padding-top:12px; margin:6px 0 0; }
.studio-offer-list li { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:8px; }
.studio-offer-icon { display:grid; place-items:center; width:28px; height:28px; border-radius:8px; color:#614283; background:#f1e8fa; }
.studio-tier-plus .studio-offer-icon { color:#37624b; background:#e9f4ed; }
.studio-offer-list strong { font-size:13px; }
.studio-offer-list p { font-size:12px; }
.studio-offer-body > .button { width:100%; }

.agent-work { padding:0; border:0; margin:12px 0; min-width:0; }
.agent-work legend { font-size:14px; font-weight:800; margin-bottom:7px; }
.agent-work > div { display:flex; flex-wrap:wrap; gap:8px; }
.agent-work label { display:flex; align-items:center; gap:6px; padding:6px 9px; border:1px solid var(--border); border-radius:9px; }
.agent-work label:has(:checked) { background:#f5f3ef; border-color:#dedbd4; }
.agent-work input { accent-color:#171717; }
.agent-rules { background:#f5f3ef; border:1px solid #eae6de; border-radius:12px; padding:10px; }
.agent-rules h2 { font-size:15px; margin:0 0 4px; }
.agent-rules p { font-size:13px; }

.agent-channels { padding:0; border:0; margin:12px 0 16px; min-width:0; }
.agent-channels legend { font-size:14px; font-weight:800; margin-bottom:8px; }
.agent-channels label { display:flex; align-items:flex-start; gap:9px; padding:9px 11px; border:1px solid var(--border); border-radius:10px; }
.agent-channels label + label { margin-top:6px; }
.agent-channels input { accent-color:#171717; margin:3px 0 0; }
.agent-channels small { display:block; margin-top:3px; color:var(--muted); }
.agent-channels > a { display:inline-block; margin-top:8px; text-decoration:underline; font-size:13px; }

.application-stack-card { display:flex; flex-direction:column; align-items:stretch; gap:12px; padding:clamp(13px,2.4vw,24px); }
.application-stack-heading { display:flex; align-items:center; gap:10px; min-width:0; }
.application-stack-company { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:#eee8f5; color:#52416e; font-weight:800; flex:none; }
.application-stack-info { min-width:0; overflow-wrap:anywhere; }
.application-stack-status { margin-left:auto; align-self:flex-start; padding:4px 7px; border-radius:9px; background:#edf5ef; color:#3c644d; font-size:11px; font-weight:700; text-align:center; }
.application-stack-action { display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #eeeaef; padding-top:11px; margin-top:auto; flex-wrap:wrap; }
.application-stack-date { display:flex; gap:5px; align-items:center; flex-wrap:wrap; font-size:12px; }
.application-stack-date svg { width:14px; height:14px; color:#655774; }
@media(max-width:450px) { .application-stack-company { width:32px; height:32px; } }
.agent-overview .agent-latest { margin-top:9px; padding-top:8px; border-top:1px solid var(--border); }
.agent-latest strong { display:block; color:var(--ink); }
.panel.allowance-overview { padding:12px 16px; }
.allowance-overview header { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.allowance-overview header h2 { font-size:17px; margin:0; }
.allowance-count { margin:4px 0; font-size:14px; }
.allowance-count strong { font-size:21px; color:var(--ink); }
.allowance-meter { display:block; width:100%; height:6px; border:0; border-radius:3px; background:#e9e7e3; color:#171717; appearance:none; }
.allowance-meter::-webkit-progress-bar { background:#e9e7e3; border-radius:3px; }
.allowance-meter::-webkit-progress-value { background:#171717; border-radius:3px; }
.allowance-meter::-moz-progress-bar { background:#171717; border-radius:3px; }
.allowance-balance { font-size:13px; margin:4px 0 0; }
.application-stack-status[data-status="Preparing"] { color:#654a25; background:#faefd9; }
.application-stack-status[data-status="Awaiting response"] { color:#6e5521; background:#fff0cf; }
.application-stack-status[data-status="Submitted"] { color:#244b73; background:#e7effa; }
.application-stack-status[data-status="Rejected"] { color:#8c3443; background:#fbe6eb; }
.application-facts { margin:0; }
.application-facts > div { display:grid; grid-template-columns:1fr 1fr; gap:8px; border-bottom:1px solid var(--border); padding:8px 0; font-size:13px; }
.application-facts > div:last-child { border:0; }
.application-facts dt { color:var(--muted); }
.application-facts dd { margin:0; font-weight:700; }
.application-detail-timeline { display:grid; gap:9px; padding-left:21px; margin:0; font-size:13px; }
.application-detail-timeline time { color:var(--muted); font-size:11px; }
