@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0b0b0b;
  --muted: #686868;
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(11, 11, 11, 0.12);
  --purple: #ff8200;
  --purple-dark: #d95f00;
  --lavender: #ffc27f;
  --coral: #ff8200;
  --lime: #ffb35f;
  --blue: #ffd4a6;
  --green: #ff9a38;
  --gold: #ffe3c5;
}
.dashboard-view{padding:34px 0 16px}.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:24px}.dashboard-heading h1{margin:8px 0 6px;font:800 clamp(28px,3.2vw,46px)/1.02 "Manrope",sans-serif;letter-spacing:-.055em}.dashboard-heading h1 em{color:var(--purple);font-style:normal}.dashboard-heading p{margin:0;color:var(--muted);font-size:13px}.dashboard-period{display:flex;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f4f1ed}.dashboard-period button{min-height:34px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:800;cursor:pointer}.dashboard-period button.is-active{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(20,14,9,.08)}.dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.dashboard-kpi{position:relative;min-height:138px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:left;overflow:hidden;cursor:pointer;box-shadow:0 8px 28px rgba(35,25,15,.045)}.dashboard-kpi:after{content:"";position:absolute;right:-24px;bottom:-31px;width:88px;height:88px;border-radius:50%;background:var(--kpi-color,#f3edff)}.dashboard-kpi span{display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.dashboard-kpi strong{display:block;margin:18px 0 3px;font:800 30px/1 "Manrope",sans-serif}.dashboard-kpi small{color:var(--muted);font-size:9px}.dashboard-kpi.is-purple{--kpi-color:#f1eaff}.dashboard-kpi.is-red{--kpi-color:#ffe8e5}.dashboard-kpi.is-red strong{color:#b83e30}.dashboard-kpi.is-orange{--kpi-color:#fff0df}.dashboard-kpi.is-green{--kpi-color:#e3f5ed}.dashboard-kpi.is-gold{--kpi-color:#fff4ca}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.dashboard-grid-primary{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.dashboard-card{min-width:0;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(35,25,15,.04)}.dashboard-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 12px}.dashboard-card h2{margin:0 0 3px;font:800 15px/1.2 "Manrope",sans-serif}.dashboard-card header p{margin:0;color:var(--muted);font-size:9px}.dashboard-card header button{border:0;background:transparent;color:var(--purple-dark);font-size:9px;font-weight:900;text-transform:uppercase;cursor:pointer}.dashboard-attention-list,.dashboard-team-list,.dashboard-agenda-list{padding:0 14px 13px}.dashboard-attention-item,.dashboard-agenda-item{width:100%;display:grid;align-items:center;gap:11px;border:0;border-top:1px solid var(--line);background:#fff;text-align:left;cursor:pointer}.dashboard-attention-item{grid-template-columns:8px minmax(0,1fr) auto;padding:13px 6px}.dashboard-attention-item>i{width:8px;height:8px;border-radius:50%;background:var(--purple)}.dashboard-attention-item>i.is-late{background:#c94635}.dashboard-attention-item>i.is-approval{background:#f09a38}.dashboard-attention-item strong,.dashboard-agenda-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.dashboard-attention-item small,.dashboard-agenda-item small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.dashboard-attention-item>b{padding:5px 8px;border-radius:99px;background:#f3eff8;color:#6f4ba8;font-size:8px}.dashboard-attention-item>b.is-late{background:#ffe8e5;color:#a93729}.dashboard-stage-list{padding:2px 20px 18px}.dashboard-stage-row{display:grid;grid-template-columns:92px minmax(60px,1fr) 24px;align-items:center;gap:9px;margin:13px 0}.dashboard-stage-row span{font-size:9px;color:var(--muted)}.dashboard-stage-row>div{height:8px;border-radius:8px;background:#f0ece7;overflow:hidden}.dashboard-stage-row i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,var(--purple),var(--lavender))}.dashboard-stage-row b{text-align:right;font-size:9px}.dashboard-team-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 4px;border-top:1px solid var(--line)}.dashboard-team-item>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#17130f;color:#fff;font-size:10px;font-weight:900}.dashboard-team-item strong{display:block;font-size:11px}.dashboard-team-item small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.dashboard-team-item>b{padding:5px 8px;border-radius:99px;background:#e4f4ec;color:#237456;font-size:8px}.dashboard-team-item>b.is-high{background:#fff1cf;color:#93620c}.dashboard-agenda-item{grid-template-columns:45px minmax(0,1fr) auto;padding:12px 4px}.dashboard-agenda-item time{color:var(--purple-dark);font-size:10px;font-weight:900}.dashboard-agenda-item>b{padding:5px 8px;border-radius:99px;background:#f3eff8;color:#6f4ba8;font-size:8px}.dashboard-empty{padding:28px 10px;text-align:center;color:var(--muted);font-size:10px}.dashboard-kpi:hover,.dashboard-attention-item:hover,.dashboard-agenda-item:hover{border-color:rgba(255,130,0,.38);background:#fffaf5}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid,.dashboard-grid-primary{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-view{padding-top:22px}.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-kpi{min-height:120px}.dashboard-attention-item{grid-template-columns:8px minmax(0,1fr)}.dashboard-attention-item>b{grid-column:2;justify-self:start}.dashboard-agenda-item{grid-template-columns:42px minmax(0,1fr)}.dashboard-agenda-item>b{grid-column:2;justify-self:start}}
.work-deadlines{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:10px;padding:16px 28px;border-bottom:1px solid var(--line);background:#fffaf3}.work-deadlines label{display:flex;flex-direction:column;gap:6px}.work-deadlines label>span{font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.work-deadlines input[type=date]{height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:white}.work-deadlines .agenda-check{align-self:end;height:38px;flex-direction:row;align-items:center;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:white}.workflow-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.workflow-heading div{display:flex;flex-direction:column;gap:4px}.workflow-heading small{color:var(--muted)}#workflow-alert{color:#b33;font-weight:800;font-size:10px}.workflow-list{display:grid;gap:9px}.workflow-stage{display:grid;grid-template-columns:36px minmax(90px,1.1fr) minmax(130px,1fr) 140px repeat(3,auto);gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.workflow-stage.is-locked{opacity:.55}.workflow-stage.is-overdue{border-color:#d34;background:#fff6f5}.workflow-stage.is-complete{border-color:#7fb99f;background:#f3fbf7}.workflow-number{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--purple);color:white;font-weight:800}.workflow-stage select,.workflow-stage input{height:36px;border:1px solid var(--line);border-radius:7px;padding:0 8px;background:white}.stage-time{display:flex;min-width:132px;flex-direction:column;gap:5px}.stage-time>span{font-size:8px;font-weight:800;color:var(--muted)}.agenda-check{display:flex;align-items:center;gap:6px;white-space:nowrap}.agenda-check input{width:18px;height:18px}.workflow-complete{height:36px;padding:0 12px;border:0;border-radius:8px;background:var(--purple);color:white;font-weight:800;cursor:pointer}.workflow-complete:disabled{background:#bbb;cursor:not-allowed}.collaborator-metrics{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.collaborator-metrics span{padding:5px 7px;border-radius:999px;background:#f4f0ea;font-size:8px;font-weight:800}.collaborator-metrics .late{color:#b33}.collaborator-metrics .pending{color:#986000;background:#fff1cf}.board-task-alert{display:inline-flex;margin-top:7px;padding:4px 7px;border-radius:999px;background:#ffe5e1;color:#a22;font-size:8px;font-weight:800}
.work-title-edit{grid-column:1/-1;display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:12px}.work-title-edit>span{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.work-title-edit input{width:100%;height:40px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:white;font-weight:700}
.work-deadlines select{height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:white}
.board-task-delivered{display:inline-flex;margin-top:7px;padding:5px 8px;border-radius:999px;background:#e9f7ef;color:#28734d;font-size:8px;font-weight:900}
.workflow-whatsapp{height:36px;padding:0 12px;border:1px solid #25d366;border-radius:8px;background:#eafff1;color:#147a3b;font-weight:900;cursor:pointer}.workflow-whatsapp:hover{background:#dff8e8}
.production-report-trigger{min-height:40px;padding:0 14px;border:1px solid #17130f;border-radius:10px;background:#17130f;color:#fff;font-size:11px;font-weight:900;cursor:pointer}.production-report-trigger:hover{background:#332a22}.production-report-dialog{width:min(840px,calc(100% - 28px));max-height:calc(100vh - 36px);padding:0;border:0;border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(37,23,9,.28)}.production-report-dialog::backdrop{background:rgba(20,14,9,.58);backdrop-filter:blur(3px)}.production-report-shell{display:flex;max-height:calc(100vh - 36px);flex-direction:column}.production-report-header{padding:25px 28px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.production-report-header h2{margin:8px 0 7px;font:800 25px/1.12 "Manrope",sans-serif;letter-spacing:-.035em}.production-report-header p{margin:0;color:var(--muted);font-size:13px}.production-report-controls{padding:18px 28px;display:grid;grid-template-columns:auto minmax(155px,.7fr) minmax(230px,1fr);gap:14px;align-items:end;background:#fff9f1;border-bottom:1px solid var(--line)}.production-report-controls label{display:flex;flex-direction:column;gap:6px}.production-report-controls label>span{color:var(--muted);font-size:11px;font-weight:800}.production-report-controls select,.production-report-controls input{height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:13px}.production-report-period{height:42px;padding:3px;display:flex;border:1px solid var(--line);border-radius:10px;background:#fff}.production-report-period button{min-width:100px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}.production-report-period button.is-active{background:var(--purple);color:#17130f}.production-report-preview{min-height:270px;padding:22px 28px;overflow:auto;background:#f8f6f3}.production-report-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.production-report-empty strong{font:800 18px/1.2 "Manrope",sans-serif}.production-report-empty span{max-width:390px;margin-top:8px;color:var(--muted);font-size:13px;line-height:1.5}.production-report-card{padding:22px;border:1px solid #e3dbd1;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(62,39,16,.06)}.production-report-card header{display:flex;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}.production-report-card header span{display:block;color:#a65b06;font-size:9px;font-weight:900;letter-spacing:.1em}.production-report-card header strong{display:block;margin-top:5px;font:800 19px/1.2 "Manrope",sans-serif}.production-report-card header time{color:var(--muted);font-size:12px;font-weight:700;text-align:right}.production-report-metrics{margin:16px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.production-report-metrics div{padding:12px;border-radius:11px;background:#f5f1ec}.production-report-metrics strong{display:block;font:800 22px/1 "Manrope",sans-serif}.production-report-metrics span{display:block;margin-top:5px;color:var(--muted);font-size:10px;font-weight:700}.production-report-metrics .is-late{background:#fff0ed;color:#a43425}.production-report-section+ .production-report-section{margin-top:16px}.production-report-section h3{margin:0 0 8px;font-size:12px}.production-report-items{display:grid;gap:7px}.production-report-item{padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fcfbfa}.production-report-item strong{display:block;font-size:12px}.production-report-item span{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.35}.production-report-footer{padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line)}.production-report-footer span{color:var(--muted);font-size:11px}.production-report-footer button{min-height:44px;padding:0 18px;border:0;border-radius:10px;background:#25d366;color:#082713;font-size:12px;font-weight:900;cursor:pointer}.production-report-footer button:disabled{background:#d6d2cd;color:#8a837b;cursor:not-allowed}
.production-report-footer-actions{display:flex;gap:9px}.production-report-footer .production-report-print{background:#17130f;color:#fff}
@media(max-width:640px){.production-report-controls{grid-template-columns:1fr}.production-report-period button{flex:1;min-width:0}.production-report-card header,.production-report-footer{align-items:stretch;flex-direction:column}.production-report-card header time{text-align:left}.production-report-metrics{grid-template-columns:1fr}.production-report-footer-actions{flex-direction:column}.production-report-footer button{width:100%}}
.work-identity{padding:20px 28px 14px;background:#fffaf3;border-bottom:1px solid var(--line)}.work-client-row{margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.work-client-highlight{margin:0;padding:14px 16px;border-left:5px solid var(--purple);border-radius:11px;background:white;display:flex;flex-direction:column;gap:4px;box-shadow:0 5px 18px rgba(55,37,18,.05)}.work-client-highlight span{font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--purple)}.work-client-highlight strong{font-size:18px}.work-drive-primary{min-width:255px;padding:12px 16px;display:flex;flex-direction:column;justify-content:center;gap:5px;border:1px solid #185abc;border-radius:11px;background:linear-gradient(135deg,#1a73e8,#185abc);color:white;text-decoration:none;box-shadow:0 8px 20px rgba(24,90,188,.22);transition:transform .18s ease,box-shadow .18s ease}.work-drive-primary:hover{transform:translateY(-1px);box-shadow:0 11px 26px rgba(24,90,188,.3)}.work-drive-primary>span{font-size:7px;font-weight:900;letter-spacing:.11em;opacity:.78}.work-drive-primary strong{font-size:11px}.work-drive-primary b{margin-left:5px;font-size:14px}.workflow-surface{padding:0;border-bottom:1px solid var(--line);background:#f7f4ef}.workflow-surface[open]{padding-bottom:20px}.workflow-surface .workflow-heading{margin:0;padding:15px 28px;cursor:pointer;list-style:none}.workflow-surface .workflow-heading::-webkit-details-marker{display:none}.workflow-surface .workflow-heading::after{content:"+";width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:white;color:var(--purple-dark);font-size:17px;font-weight:800}.workflow-surface[open] .workflow-heading::after{content:"−"}.workflow-surface .workflow-list{padding:0 28px}.stage-field,.stage-date,.stage-time{display:flex;min-width:0;flex-direction:column;gap:5px}.stage-field span,.stage-date span,.stage-time span{font-size:7px;font-weight:800;text-transform:uppercase;color:var(--muted)}.stage-field select,.stage-date input,.stage-time input{width:100%}.board-task-notice{display:inline-flex;margin-top:7px;padding:5px 8px;border-radius:999px;background:#eee6ff;color:#6540a5;font-size:8px;font-weight:900}
.workflow-stage{display:grid;grid-template-columns:205px minmax(0,1fr) auto;gap:14px;align-items:center;overflow:visible;padding:14px 15px;border-color:#e5ddd3;box-shadow:0 5px 16px rgba(55,37,18,.04)}.workflow-stage-title{display:flex;align-items:center;gap:11px;min-width:0}.workflow-stage-title>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.workflow-stage-title strong{font-size:13px}.workflow-view-status{display:inline-flex;max-width:100%;align-items:flex-start;gap:5px;color:#8b5a17;font-size:11px;font-weight:700;line-height:1.25}.workflow-view-status.is-viewed{color:#24724b}.workflow-view-status span{flex:0 0 auto}.workflow-stage-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;align-items:end}.workflow-stage-actions{display:flex;align-items:center;gap:7px}.workflow-stage-actions button{white-space:nowrap}.workflow-stage .agenda-check{min-height:36px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;background:white}.workflow-stage .agenda-check span{font-size:8px;font-weight:800}.workflow-stage .agenda-check input{flex:0 0 18px}.workflow-whatsapp{height:36px;padding:0 12px;border:1px solid #2ab865;border-radius:8px;background:#f2fff7;color:#18854a;font-weight:800;cursor:pointer}.workflow-back{height:36px;padding:0 12px;border:1px solid #d5a562;border-radius:8px;background:#fff8ec;color:#8d5714;font-weight:800;cursor:pointer}.workflow-back:hover{background:#ffefd2}.workflow-back:disabled{opacity:.55;cursor:wait}
@media(max-width:920px){.work-deadlines{grid-template-columns:1fr 1fr}.work-client-row{grid-template-columns:1fr}.work-drive-primary{min-width:0}.workflow-stage{grid-template-columns:1fr}.workflow-stage-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-stage-actions{justify-content:flex-end}.workflow-stage-actions button{flex:1}}
@media(max-width:560px){.work-title-edit{grid-template-columns:1fr;gap:7px}.workflow-stage-fields{grid-template-columns:1fr}.workflow-stage-actions{flex-direction:column}.workflow-stage-actions button{width:100%}}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 130, 0, 0.14), transparent 30rem),
    var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
.is-hidden { display: none !important; }
.collaborator-only { display: none !important; }
.collaborator-mode .owner-only { display: none !important; }
.collaborator-mode .collaborator-only { display: block !important; }
.briefing-reader-mode .clients-workspace { grid-template-columns: minmax(0, 1fr); }
.briefing-reader-mode .client-card-actions,
.briefing-reader-mode .client-plan-history,
.briefing-reader-mode #export-clients { display: none !important; }
.briefing-reader-mode .client-library { min-height: 520px; }
body.auth-pending main { display: none; }
.session-gate {
  min-height: 100vh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body:not(.auth-pending) .session-gate { display: none; }
.session-gate-mark { width: 62px; height: 62px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 18px; background: var(--purple); font: 900 25px/1 "Manrope", sans-serif; box-shadow: 0 16px 42px rgba(255,130,0,.24); }
.session-gate strong { font: 800 20px/1.2 "Manrope", sans-serif; letter-spacing: -.025em; }
.session-gate span { margin-top: 8px; color: var(--muted); font-size: 12px; }
.workflow-handoff-notice { position: fixed; z-index: 360; top: 22px; right: 22px; width: min(440px, calc(100% - 32px)); padding: 16px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; align-items: center; border: 1px solid rgba(255,130,0,.55); border-radius: 16px; background: #fffdf9; box-shadow: 0 22px 70px rgba(50,28,5,.26); opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity 180ms ease, transform 180ms ease; }
.workflow-handoff-notice.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.workflow-handoff-signal { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--purple); color: var(--ink); font: 900 17px/1 "Manrope", sans-serif; animation: handoff-pulse 1.5s ease-in-out infinite; }
.workflow-handoff-copy { min-width: 0; }
.workflow-handoff-copy > span { display: block; margin-bottom: 5px; color: #a85c00; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.workflow-handoff-copy strong { display: block; overflow: hidden; font: 800 12px/1.25 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.workflow-handoff-copy p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.workflow-handoff-actions { display: flex; align-items: center; gap: 6px; }
.workflow-handoff-actions button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 8px; font-weight: 800; cursor: pointer; }
.workflow-handoff-actions #open-workflow-handoff { border-color: var(--purple); background: var(--purple); }
.workflow-handoff-actions .workflow-handoff-dismiss { width: 34px; padding: 0; color: var(--muted); font-size: 18px; }
@keyframes handoff-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,130,0,.12); } 50% { box-shadow: 0 0 0 7px rgba(255,130,0,.12); } }

.topbar {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 178px;
  height: auto;
  display: block;
}

.account-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.63);
  border: 1px solid var(--line);
}
.account-status {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #55b48e;
  box-shadow: 0 0 0 4px rgba(85, 180, 142, 0.14);
}
.account-pill div { min-width: 0; }
.account-pill strong, .account-pill small { max-width: 145px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-pill strong { font-size: 10px; }
.account-pill small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.account-pill a { min-height: 28px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--ink); color: white; font-size: 8px; font-weight: 800; text-decoration: none; }

.install-app-button {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 120;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(67, 35, 3, .24);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.install-app-button[hidden] { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.app-nav {
  max-width: 100%;
  padding: 4px;
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
}
.app-nav::-webkit-scrollbar { display: none; }
.nav-tab {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.nav-tab span {
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(11,11,11,.08);
  font-size: 8px;
}
.nav-tab.active { color: var(--ink); background: var(--purple); box-shadow: 0 6px 16px rgba(255,130,0,.2); }
.nav-tab.active span { background: rgba(255,255,255,.62); }

.time-clock-view{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:58px 0 90px}.time-clock-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px}.time-clock-heading h1{margin:14px 0 10px;font:700 clamp(38px,5vw,64px)/1 "Manrope",sans-serif;letter-spacing:-.05em}.time-clock-heading h1 em{color:var(--purple);font-family:Georgia,serif;font-weight:400}.time-clock-heading p{margin:0;color:var(--muted);font-size:16px}.time-clock-month{display:flex;min-width:210px;flex-direction:column;gap:7px}.time-clock-month span,.time-clock-adjustment label>span{font-size:12px;font-weight:800;color:var(--muted)}.time-clock-month input,.time-clock-month select,.time-clock-adjustment input,.time-clock-adjustment select{height:46px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px}.time-clock-grid{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(0,1.35fr);gap:20px}.time-clock-today,.time-clock-history,.time-clock-adjustment{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(74,43,12,.07)}.time-clock-today{padding:28px;background:linear-gradient(150deg,#fff 0%,#fff8ed 100%)}.time-clock-live-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:18px 0 30px}.time-clock-live-row strong{display:block;font:800 46px/1 "Manrope",sans-serif;letter-spacing:-.05em}.time-clock-live-row small{display:block;margin-top:8px;color:var(--muted);font-size:13px}.time-clock-status{padding:8px 11px;border-radius:999px;background:#f0ece7;color:#655d55;font-size:12px;font-weight:800}.time-clock-status.is-active{background:#e9f8ef;color:#23764b}.time-clock-status.is-break{background:#fff0dc;color:#9a5909}.time-clock-status.is-finished{background:#e9edf3;color:#536071}.time-clock-today h2,.time-clock-history h2,.time-clock-adjustment h2{margin:0;font:800 22px/1.15 "Manrope",sans-serif}.time-clock-today>p{margin:8px 0 20px;color:var(--muted);font-size:14px;line-height:1.5}.time-clock-actions{display:grid;gap:9px}.time-clock-action{min-height:50px;padding:0 18px;border:0;border-radius:12px;background:var(--purple);color:#15110d;font-size:15px;font-weight:900;cursor:pointer}.time-clock-action.secondary{border:1px solid #1b1b1b;background:#fff}.time-clock-action:disabled{opacity:.55;cursor:wait}.time-clock-today-list{display:grid;gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.time-clock-mark{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.time-clock-mark span{color:var(--muted)}.time-clock-mark strong{font-size:14px}.time-clock-mark small{color:#9b641d;font-size:12px;font-weight:700}.time-clock-feedback{min-height:20px;margin:16px 0 0!important;color:#25724c!important;font-size:13px!important;font-weight:700}.time-clock-history{padding:28px}.time-clock-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.time-clock-history-head h2{margin-top:7px}.time-clock-totals{display:flex;gap:8px}.time-clock-totals span{padding:9px 11px;border-radius:10px;background:#f7f3ee;color:var(--muted);font-size:12px}.time-clock-totals strong{color:var(--ink);font-size:16px}.time-clock-history-list{display:grid;gap:10px}.time-clock-day{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fcfbfa}.time-clock-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.time-clock-day-head strong{font-size:15px}.time-clock-day-head span{color:#23764b;font-size:13px;font-weight:800}.time-clock-day-marks{display:flex;flex-wrap:wrap;gap:7px}.time-clock-day-marks span{padding:7px 9px;border-radius:8px;background:#fff;border:1px solid var(--line);font-size:12px}.time-clock-day-marks em{color:#9b641d;font-style:normal;font-weight:800}.time-clock-empty{padding:34px 18px;color:var(--muted);font-size:14px;text-align:center}.time-clock-adjustment{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;margin-top:20px;padding:24px 28px}.time-clock-adjustment>div p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.time-clock-adjustment>div h2{margin-top:7px}.time-clock-adjustment form{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.time-clock-adjustment label{display:flex;flex-direction:column;gap:6px}.time-clock-adjustment-note{grid-column:1/-1}.time-clock-adjustment button{grid-column:1/-1;min-height:46px;border:0;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;font-weight:900;cursor:pointer}
.time-clock-heading-actions{display:flex;align-items:flex-end;gap:10px}.time-clock-report-button{height:46px;padding:0 18px;border:0;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;font-weight:900;cursor:pointer;white-space:nowrap}

@media(max-width:820px){.time-clock-view{width:min(100% - 30px,1180px);padding:34px 0 70px}.time-clock-heading{align-items:stretch;flex-direction:column}.time-clock-heading-actions{align-items:stretch}.time-clock-month{min-width:0;flex:1}.time-clock-grid{grid-template-columns:1fr}.time-clock-adjustment{grid-template-columns:1fr}.time-clock-adjustment form{grid-template-columns:1fr 1fr}.time-clock-adjustment-note{grid-column:1/-1}}
@media(max-width:520px){.time-clock-heading h1{font-size:38px}.time-clock-heading-actions,.time-clock-live-row,.time-clock-history-head{flex-direction:column}.time-clock-report-button{width:100%}.time-clock-totals{width:100%}.time-clock-totals span{flex:1}.time-clock-adjustment form{grid-template-columns:1fr}.time-clock-adjustment-note,.time-clock-adjustment button{grid-column:1}.time-clock-today,.time-clock-history,.time-clock-adjustment{padding:21px}}

.hero {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 340px;
  padding: 68px 0 54px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.eyebrow, .tiny-label, .card-number, .plan-kicker {
  font: 700 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.17em;
  color: var(--purple);
}

.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 24px; height: 3px; background: var(--purple); }

.hero h1 {
  margin: 18px 0 22px;
  max-width: 800px;
  font: 700 clamp(48px, 6vw, 88px)/0.95 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--purple);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats div {
  min-width: 110px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-right: 1px solid var(--line);
}

.hero-stats div:first-child { border-left: 1px solid var(--line); }
.hero-stats strong { font: 700 26px/1 "Manrope", sans-serif; }
.hero-stats span { margin-top: 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }

.workspace {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(620px, 1.65fr);
  border: 1px solid rgba(34, 29, 49, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 26px 80px rgba(117, 55, 0, 0.14);
}

.config-panel {
  padding: 34px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.panel-heading, .result-topline, .content-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2 {
  margin: 8px 0 0;
  font: 700 23px/1.15 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.reset-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.name-field { display: block; margin-top: 30px; }
.name-field span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
.name-field input, .name-field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(34, 29, 49, 0.25);
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}
.name-field textarea { resize: vertical; line-height: 1.45; font-family: inherit; }
.name-field input:focus, .name-field textarea:focus { border-color: var(--purple); }
.strategic-command-field {
  display: block;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid rgba(255,130,0,.35);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,130,0,.075), rgba(187,255,84,.045));
}
.strategic-command-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.strategic-command-heading > span { color: var(--ink); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.strategic-command-heading i { padding: 5px 7px; border-radius: 99px; background: var(--ink); color: var(--purple); font-size: 6px; font-style: normal; font-weight: 900; letter-spacing: .1em; }
.strategic-command-field > textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  resize: vertical;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  line-height: 1.5;
}
.strategic-command-field > textarea:focus { border-color: var(--purple); background: white; }
.strategic-command-field > small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.assembled-command { margin-top: 13px; padding: 12px; border-radius: 10px; background: var(--ink); color: white; }
.assembled-command > span { display: block; color: var(--purple); font-size: 6px; font-weight: 900; letter-spacing: .13em; }
.assembled-command > p { margin: 8px 0 10px; color: rgba(255,255,255,.72); font-size: 8px; line-height: 1.5; }
.assembled-command > div { display: flex; flex-wrap: wrap; gap: 5px; }
.assembled-command > div i { padding: 5px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: rgba(255,255,255,.68); font-size: 6px; font-style: normal; }

.planner-client-field { margin-top: 22px; }
.planner-client-field > label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.planner-client-field > div { display: flex; gap: 7px; }
.planner-client-field select {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 35px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f4;
  color: var(--ink);
  font-size: 12px;
}
.planner-client-field button {
  flex: 0 0 43px;
  height: 43px;
  border: 0;
  border-radius: 10px;
  background: var(--purple);
  color: var(--ink);
  font: 700 20px/1 "Manrope", sans-serif;
  cursor: pointer;
}

.creative-brief-label { align-items: center; flex-wrap: wrap; }
.creative-brief-label button {
  margin-left: auto;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(255,130,0,.38);
  border-radius: 8px;
  background: rgba(255,130,0,.1);
  color: var(--purple-dark);
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}
.creative-brief-label button:hover { border-color: var(--purple); background: rgba(255,130,0,.17); }
.brief-field { display: block; margin-top: 17px; }
.brief-field > span, .topic-builder-heading strong, .language-builder > div > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}
.brief-field textarea {
  width: 100%;
  min-height: 82px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  resize: vertical;
  background: #faf8f4;
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  line-height: 1.5;
}
.brief-field textarea:focus { border-color: var(--purple); background: white; }
.topic-builder, .language-builder { margin-top: 19px; }
.topic-builder-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.topic-builder-heading small, .language-builder > div > small {
  display: block;
  max-width: 245px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}
.topic-builder-heading button {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}
.topic-builder-heading button:hover { border-color: var(--purple); color: var(--purple-dark); }
.topic-inputs { margin-top: 11px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.topic-inputs label {
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #faf8f4;
}
.topic-inputs label:last-child { grid-column: 1 / -1; }
.topic-inputs label > span { flex: 0 0 28px; color: var(--purple-dark); font-size: 8px; font-weight: 900; text-align: center; }
.topic-inputs input { width: 100%; min-width: 0; height: 100%; padding: 0 9px; border: 0; border-left: 1px solid var(--line); outline: 0; background: transparent; color: var(--ink); font-size: 9px; }
.topic-inputs label:focus-within { border-color: var(--purple); background: white; }
.language-builder > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.language-options { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.language-options button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #faf8f4;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}
.language-options button::before { content: "+"; margin-right: 5px; color: var(--purple-dark); font-weight: 900; }
.language-options button.active { border-color: var(--purple); background: var(--purple); color: var(--ink); }
.language-options button.active::before { content: "✓"; color: var(--ink); }

.config-group { padding: 30px 0; border-bottom: 1px solid var(--line); }
.last-group { border-bottom: 0; padding-bottom: 4px; }

.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-label span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font: 700 9px/1 "Manrope", sans-serif;
}
.section-label p { margin: 0; font: 700 12px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.select-card {
  min-height: 74px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf8f4;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: 160ms ease;
}
.select-card span { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }
.select-card:hover { border-color: rgba(255, 130, 0, 0.55); transform: translateY(-1px); }
.select-card.active { color: var(--ink); border-color: var(--purple); background: rgba(255, 130, 0, 0.13); box-shadow: inset 0 0 0 1px var(--purple); }

.option-stack { display: grid; gap: 6px; }
.radio-option {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.radio-option i { margin-left: auto; font-style: normal; opacity: 0; }
.radio-dot { width: 15px; height: 15px; border: 1px solid #bdb6c4; border-radius: 50%; background: white; }
.radio-option:hover { background: #f8f5ef; }
.radio-option.active { border-color: rgba(255, 130, 0, 0.34); background: rgba(255, 130, 0, 0.1); font-weight: 600; }
.radio-option.active .radio-dot { border: 4px solid var(--purple); }
.radio-option.active i { color: var(--purple); opacity: 1; }

.format-row { display: grid; gap: 7px; }
.format-counter {
  min-height: 48px;
  padding: 6px 7px 6px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #faf8f4;
  transition: 150ms ease;
}
.format-counter.active { border-color: rgba(255,130,0,.55); background: rgba(255,130,0,.09); }
.format-name { display: flex; align-items: center; gap: 9px; }
.format-name > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eee9e3;
  color: var(--ink);
  font: 700 8px/1 "Manrope", sans-serif;
}
.format-counter.active .format-name > span { background: var(--purple); }
.format-name strong { color: var(--muted); font-size: 11px; font-weight: 600; }
.format-counter.active .format-name strong { color: var(--ink); }
.counter-control { display: grid; grid-template-columns: 30px 34px 30px; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.counter-control button { height: 30px; border: 0; background: transparent; color: var(--muted); font-size: 17px; cursor: pointer; }
.counter-control button:hover { color: var(--ink); background: rgba(255,130,0,.1); }
.counter-control input { width: 34px; height: 30px; padding: 0; border: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); outline: 0; background: white; color: var(--ink); font-size: 11px; font-weight: 800; text-align: center; appearance: textfield; }
.counter-control input::-webkit-inner-spin-button, .counter-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.format-helper { margin: 9px 2px 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.stories-bonus-field { margin-top: 18px; padding: 14px; display: block; border: 1px dashed rgba(38,123,91,.45); border-radius: 13px; background: linear-gradient(135deg, #f6fbf8, #fffdf9); }
.stories-bonus-heading { display: flex; align-items: center; gap: 8px; }
.stories-bonus-heading i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; background: #8fe0bd; color: #194f3b; font-size: 16px; font-style: normal; font-weight: 900; }
.stories-bonus-heading strong { color: var(--ink); font-size: 11px; }
.stories-bonus-heading small { margin-left: auto; padding: 4px 6px; border-radius: 99px; background: #dff5ec; color: #267b5b; font-size: 6px; font-weight: 900; letter-spacing: .07em; }
.stories-bonus-field textarea { width: 100%; min-height: 150px; margin-top: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: white; color: var(--ink); font-size: 10px; line-height: 1.55; resize: vertical; }
.stories-bonus-field textarea:focus { border-color: #55b48e; box-shadow: 0 0 0 3px rgba(85,180,142,.12); }
.stories-bonus-field em { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; font-style: normal; line-height: 1.45; }
.section-label small { margin-left: auto; padding: 5px 7px; border-radius: 99px; background: rgba(255,130,0,.12); color: var(--purple-dark); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.frequency-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.frequency-card {
  min-height: 96px;
  padding: 12px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #faf8f4;
  cursor: pointer;
}
.frequency-card strong { font: 700 21px/1 "Manrope", sans-serif; }
.frequency-card span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.frequency-card small { margin-top: auto; padding: 4px 6px; border-radius: 99px; background: #eee9e3; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.frequency-card.active { color: var(--ink); border-color: var(--purple); background: var(--purple); box-shadow: 0 9px 22px rgba(255, 130, 0, 0.26); }
.frequency-card.active span { color: rgba(11,11,11,.68); }
.frequency-card.active small { color: var(--ink); background: var(--lime); }

.result-panel { min-width: 0; background: var(--ink); color: white; }
.result-topline { min-height: 88px; padding: 24px 34px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.11); }
.tiny-label.light { color: var(--lime); }
.result-topline p { margin: 7px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.primary-action, .secondary-action {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.secondary-action { color: white; border: 1px solid rgba(255,255,255,.18); background: transparent; }
.primary-action { color: var(--ink); border: 1px solid var(--purple); background: var(--purple); }
.primary-action:hover { filter: brightness(1.04); transform: translateY(-1px); }

.plan-header { padding: 45px 44px 38px; border-bottom: 1px solid rgba(255,255,255,.11); }
.plan-kicker { color: var(--lavender); }
.plan-header h2 { margin: 14px 0 20px; max-width: 700px; font: 700 clamp(30px, 4vw, 49px)/1.05 "Manrope", sans-serif; letter-spacing: -0.045em; }
.plan-approval-gate { margin: 24px 34px 0; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.055); }
.plan-approval-check { min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.plan-approval-check input { position: absolute; opacity: 0; pointer-events: none; }
.approval-checkmark { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: transparent; font-size: 17px; font-weight: 900; transition: 160ms ease; }
.plan-approval-check input:focus-visible + .approval-checkmark { outline: 3px solid rgba(255,130,0,.4); outline-offset: 2px; }
.plan-approval-check input:checked + .approval-checkmark { border-color: var(--purple); background: var(--purple); color: var(--ink); }
.plan-approval-check strong { display: block; color: white; font: 800 12px/1.25 "Manrope", sans-serif; }
.plan-approval-check small { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-size: 8px; line-height: 1.45; }
.plan-approval-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.plan-approval-actions p { max-width: 310px; margin: 0; color: rgba(255,255,255,.52); font-size: 8px; line-height: 1.45; text-align: right; }
.plan-approval-actions button { min-height: 40px; padding: 0 15px; border: 1px solid var(--purple); border-radius: 9px; background: var(--purple); color: var(--ink); font-size: 9px; font-weight: 800; cursor: pointer; }
.plan-approval-actions button:disabled { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: rgba(255,255,255,.3); cursor: not-allowed; }
.plan-approval-gate.is-approved { border-color: rgba(255,130,0,.48); background: rgba(255,130,0,.09); }
.plan-approval-gate.is-released { border-color: rgba(85,180,142,.45); background: rgba(85,180,142,.09); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.plan-tags span { padding: 7px 11px; border-radius: 99px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.15); font-size: 10px; }

.strategic-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1px; background: rgba(255,255,255,.11); }
.strategy-card { padding: 38px 42px; background: var(--ink); }
.strategy-card h3 { margin: 13px 0 16px; font: 600 22px/1.3 "Manrope", sans-serif; letter-spacing: -0.025em; }
.strategy-card > p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.6; }
.strategy-card > p strong { color: rgba(255,255,255,.86); }
.concept-box { margin-top: 27px; padding: 18px 20px; border-left: 3px solid var(--coral); background: rgba(255,255,255,.055); }
.concept-box span { display: block; margin-bottom: 7px; color: var(--coral); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.concept-box strong { font: 500 16px/1.35 Georgia, serif; font-style: italic; }
.metric-card { background: #1b1b1b; }
.big-number { margin-top: 14px; color: var(--lime); font: 800 65px/.9 "Manrope", sans-serif; letter-spacing: -.08em; }
.metric-card h3 { margin: 8px 0 6px; font-size: 17px; }
.format-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; }
.format-list span { padding: 5px 7px; border-radius: 5px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.62); font-size: 8px; }

.creative-section, .pillars-section, .calendar-section { padding: 42px; border-top: 1px solid rgba(255,255,255,.11); }
.creative-section { background: linear-gradient(135deg, rgba(255,130,0,.08), rgba(187,255,84,.035)); }
.creative-command-result { margin-bottom: 10px; padding: 20px; border: 1px solid rgba(255,130,0,.28); border-left: 3px solid var(--purple); border-radius: 14px; background: rgba(255,130,0,.055); }
.creative-command-result span { display: block; color: var(--purple); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.creative-command-result strong { display: block; margin-top: 11px; color: white; font: 600 14px/1.55 "Manrope", sans-serif; }
.creative-insight-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; }
.creative-insight { min-height: 130px; padding: 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.04); }
.creative-insight.challenge { border-top: 3px solid var(--coral); }
.creative-insight.angle { border-top: 3px solid var(--lime); }
.creative-insight span, .creative-detail-grid > div > span { display: block; color: rgba(255,255,255,.38); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.creative-insight strong { display: block; margin-top: 13px; color: white; font: 600 14px/1.5 "Manrope", sans-serif; }
.creative-detail-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.creative-detail-grid > div { padding: 17px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.025); }
.creative-topics-block { grid-column: 1 / -1; }
.creative-chips { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 6px; }
.creative-chips i { padding: 6px 8px; border-radius: 99px; background: rgba(255,255,255,.075); color: rgba(255,255,255,.73); font-size: 8px; font-style: normal; }
.creative-topic-list { margin-top: 11px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.creative-topic-list p { margin: 0; padding: 10px 11px; border-left: 2px solid var(--purple); background: rgba(255,255,255,.04); color: rgba(255,255,255,.7); font-size: 9px; line-height: 1.4; }
.creative-topic-list p strong { color: var(--purple); font-size: 7px; letter-spacing: .08em; }
.content-heading { align-items: flex-end; margin-bottom: 26px; }
.content-heading h3 { margin: 8px 0 0; font: 600 22px/1.1 "Manrope", sans-serif; letter-spacing: -.03em; }
.content-heading > p { max-width: 240px; margin: 0; color: rgba(255,255,255,.45); font-size: 10px; line-height: 1.45; text-align: right; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pillar { min-height: 124px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.035); }
.pillar-head { display: flex; justify-content: space-between; align-items: center; }
.pillar-head span { color: rgba(255,255,255,.3); font-size: 9px; }
.pillar-head strong { color: var(--lavender); font: 700 16px/1 "Manrope", sans-serif; }
.pillar p { min-height: 34px; margin: 18px 0 14px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.35; }
.progress { height: 3px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.1); }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--coral); }

.weeks { border-top: 1px solid rgba(255,255,255,.12); }
.week-block { display: grid; grid-template-columns: 92px 1fr; border-bottom: 1px solid rgba(255,255,255,.12); }
.week-title { padding: 22px 10px 22px 0; display: flex; flex-direction: column; }
.week-title span { color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .15em; }
.week-title strong { margin-top: 5px; color: var(--lavender); font: 700 25px/1 "Manrope", sans-serif; }
.week-items { padding: 13px 0 13px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.calendar-item { width: 100%; min-width: 0; padding: 9px 7px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: 150ms ease; }
.calendar-item:hover { border-color: rgba(255,130,0,.28); background: rgba(255,255,255,.045); transform: translateY(-1px); }
.calendar-item.has-task { border-color: rgba(255,130,0,.25); background: rgba(255,130,0,.055); }
.calendar-item.is-locked { cursor: default; opacity: .82; }
.calendar-item.is-locked:hover { border-color: transparent; background: transparent; transform: none; }
.format-badge { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); font: 800 8px/1 "Manrope", sans-serif; }
.format-badge.coral { background: var(--coral); }
.format-badge.violet { background: var(--lavender); }
.format-badge.blue { background: var(--blue); }
.format-badge.green { background: var(--green); }
.format-badge.gold { background: var(--gold); }
.calendar-copy { min-width: 0; flex: 1; }
.calendar-copy span { display: block; overflow: hidden; color: rgba(255,255,255,.38); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.calendar-copy p { margin: 5px 0 0; color: rgba(255,255,255,.78); font-size: 10px; line-height: 1.35; }
.calendar-task-meta { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 4px; }
.calendar-task-meta i { padding: 4px 5px; border-radius: 5px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.48); font-size: 7px; font-style: normal; }
.calendar-task-meta i.status-doing { color: var(--lavender); }
.calendar-task-meta i.status-approval { color: #ffd082; }
.calendar-task-meta i.status-done { color: #7bd5b1; }
.calendar-task-meta i.content-imported { color: #8fe0bd; background: rgba(85,180,142,.12); }

.conversion-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.11); border-top: 1px solid rgba(255,255,255,.11); }
.stories-bonus-result { padding: 42px; border-top: 1px solid rgba(255,255,255,.11); background: linear-gradient(135deg, rgba(85,180,142,.12), rgba(143,224,189,.035)); }
.stories-bonus-result[hidden] { display: none; }
.stories-bonus-copy { padding: 22px; border: 1px dashed rgba(143,224,189,.4); border-radius: 14px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.82); font-size: 11px; line-height: 1.65; white-space: pre-wrap; }
.content-details-section { padding: 42px; border-top: 1px solid rgba(255,255,255,.11); background: #151515; }
.content-details-section[hidden] { display: none; }
.content-details-list { display: grid; gap: 14px; }
.content-detail-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.035); }
.content-detail-card > header { padding: 15px 17px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.content-detail-card header small { display: block; color: rgba(255,255,255,.38); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.content-detail-card header h4 { margin: 5px 0 0; color: white; font: 700 14px/1.35 "Manrope", sans-serif; }
.content-detail-card header > strong { color: var(--lavender); font-size: 7px; letter-spacing: .11em; }
.content-detail-body { padding: 18px; display: grid; gap: 10px; }
.content-detail-block { padding: 14px 15px; border-left: 2px solid var(--purple); background: rgba(255,255,255,.035); }
.content-detail-block > span { display: block; margin-bottom: 8px; color: var(--purple); font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.content-detail-block pre { margin: 0; overflow: visible; color: rgba(255,255,255,.78); font: 10px/1.6 "Inter", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.conversion-strip > div { min-height: 108px; padding: 25px 42px; display: flex; flex-direction: column; justify-content: center; background: #1b1b1b; }
.conversion-strip span { margin-bottom: 8px; color: var(--lime); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.conversion-strip strong { font: 600 13px/1.45 "Manrope", sans-serif; }

.clients-view {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.clients-heading {
  min-height: 285px;
  padding: 62px 16px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.clients-heading h1 {
  margin: 17px 0 18px;
  font: 700 clamp(44px, 6vw, 76px)/.96 "Manrope", sans-serif;
  letter-spacing: -.055em;
}
.clients-heading h1 em { color: var(--purple); font: 400 1.03em/1 Georgia, serif; letter-spacing: -.06em; }
.clients-heading > div:first-child > p { max-width: 710px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.storage-note {
  flex: 0 0 auto;
  min-width: 280px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,130,0,.3);
  border-radius: 14px;
  background: #fff8f0;
}
.storage-note > span { color: #55b48e; font-size: 13px; }
.storage-note div { display: flex; flex-direction: column; gap: 4px; }
.storage-note strong { font: 700 11px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.storage-note small { color: var(--muted); font-size: 10px; }

.clients-workspace {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(430px, .95fr);
  gap: 18px;
  align-items: start;
}
.client-form, .client-library {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 65px rgba(117,55,0,.1);
}
.client-form { padding: 34px; background: var(--white); }
.client-form-heading, .library-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.client-form-heading h2, .library-heading h2 { margin: 8px 0 0; font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field { display: block; margin-bottom: 15px; }
.form-field > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #faf8f4;
  color: var(--ink);
  font-size: 12px;
  transition: 150ms ease;
}
.form-field input, .form-field select { height: 44px; padding: 0 12px; }
.form-field textarea { min-height: 86px; padding: 12px; resize: vertical; line-height: 1.5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--purple); background: white; box-shadow: 0 0 0 3px rgba(255,130,0,.1); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #aaa3a0; }
.save-client-button {
  width: 100%;
  min-height: 50px;
  margin-top: 5px;
  border: 0;
  border-radius: 11px;
  background: var(--purple);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255,130,0,.22);
}
.save-client-button:hover { filter: brightness(1.03); transform: translateY(-1px); }

.client-library { padding: 34px; background: var(--ink); color: white; }
.export-button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: transparent;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.client-search { height: 44px; margin-bottom: 16px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.06); }
.client-search span { color: var(--purple); font-size: 17px; }
.client-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 11px; }
.client-search input::placeholder { color: rgba(255,255,255,.38); }
.client-list { display: grid; gap: 10px; }
.client-card { border: 1px solid rgba(255,255,255,.11); border-radius: 14px; overflow: hidden; background: #181818; }
.client-card-header { padding: 17px; display: flex; align-items: center; gap: 12px; }
.client-avatar { flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; background: var(--purple); color: var(--ink); font: 800 12px/1 "Manrope", sans-serif; }
.client-card-title { min-width: 0; }
.client-card-title > span { display: block; margin-bottom: 4px; color: var(--lime); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.client-card-title h3 { margin: 0; overflow: hidden; font: 700 14px/1.2 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.client-card-title p { margin: 4px 0 0; color: rgba(255,255,255,.42); font-size: 9px; }
.client-goal { margin-left: auto; padding: 5px 7px; border-radius: 99px; background: rgba(255,130,0,.12); color: var(--lavender); font-size: 7px; text-align: center; }
.client-contact-line { padding: 11px 17px; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.client-contact-line span { color: rgba(255,255,255,.35); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.client-contact-line strong { font-size: 9px; font-weight: 600; }
.client-contact-line small { grid-column: 2; color: rgba(255,255,255,.42); font-size: 8px; }
.client-instagram-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.client-instagram-links a { color: var(--lime); font-size: 8px; font-weight: 700; text-decoration: none; }
.client-instagram-links a:hover { text-decoration: underline; text-underline-offset: 2px; }
.instagram-not-informed { color: rgba(255,255,255,.42); font-size: 8px; font-weight: 500; }
.client-drive-links { display: block; }
.client-drive-link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-size: 8px; font-weight: 800; text-decoration: none; }
.client-drive-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.drive-not-informed { color: rgba(255,255,255,.34); font-size: 8px; font-weight: 500; }
.client-briefing summary { padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 700; cursor: pointer; list-style: none; }
.client-briefing summary::-webkit-details-marker { display: none; }
.client-briefing summary span { color: var(--purple); font-size: 13px; }
.client-briefing[open] summary span { transform: rotate(45deg); }
.briefing-grid { padding: 3px 17px 15px; display: grid; gap: 11px; }
.briefing-block { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.briefing-block span { display: block; margin-bottom: 5px; color: var(--lavender); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.briefing-block p { margin: 0; color: rgba(255,255,255,.7); font-size: 9px; line-height: 1.5; white-space: pre-wrap; }
.briefing-block p.not-informed { color: rgba(255,255,255,.3); font-style: italic; }
.client-card-actions { padding: 12px 17px 16px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(255,255,255,.07); }
.client-card-actions button { min-height: 31px; padding: 0 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: transparent; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 700; cursor: pointer; }
.client-card-actions .use-client { flex: 1; color: var(--ink); border-color: var(--purple); background: var(--purple); }
.client-card-actions .delete-client { color: #ff897f; }
.client-plan-history { border-top: 1px solid rgba(255,255,255,.08); }
.client-plan-history summary { padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 800; cursor: pointer; list-style: none; }
.client-plan-history summary::-webkit-details-marker { display: none; }
.client-plan-history summary strong { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(143,124,255,.14); color: var(--purple); font-size: 8px; }
.client-plan-list { padding: 0 17px 15px; display: grid; gap: 7px; }
.client-plan-item { padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.035); }
.client-plan-item strong { display: block; color: white; font-size: 9px; }
.client-plan-item small { display: block; margin-top: 3px; color: rgba(255,255,255,.4); font-size: 7px; }
.client-plan-item .client-plan-date { color: rgba(255,255,255,.66); font-weight: 700; }
.client-plan-status { width: fit-content; margin-top: 6px; padding: 4px 6px; display: inline-flex; border-radius: 99px; font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.client-plan-status.status-pending { background: rgba(255,255,255,.08); color: rgba(255,255,255,.52); }
.client-plan-status.status-approved { background: rgba(255,130,0,.14); color: #ffc082; }
.client-plan-status.status-production { background: rgba(85,180,142,.15); color: #7bd5b1; }
.client-plan-actions { display: flex; gap: 5px; }
.client-plan-actions button { min-height: 29px; padding: 0 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: transparent; color: white; font-size: 7px; font-weight: 700; cursor: pointer; }
.client-plan-actions .delete-saved-plan { color: #ff897f; }
.client-plan-empty { margin: 0; padding: 0 17px 15px; color: rgba(255,255,255,.38); font-size: 8px; }
.empty-clients { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-clients > div { width: 48px; height: 48px; margin-bottom: 14px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; color: var(--purple); font-size: 24px; }
.empty-clients strong { font: 700 13px/1.2 "Manrope", sans-serif; }
.empty-clients p { max-width: 260px; margin: 8px 0 0; color: rgba(255,255,255,.38); font-size: 10px; line-height: 1.5; }

.ideas-view {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto 48px;
}
.ideas-heading {
  min-height: 285px;
  padding: 62px 16px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.ideas-heading h1 { margin: 17px 0 18px; font: 700 clamp(44px, 6vw, 76px)/.96 "Manrope", sans-serif; letter-spacing: -.055em; }
.ideas-heading h1 em { color: var(--purple); font: 400 1.03em/1 Georgia, serif; letter-spacing: -.06em; }
.ideas-heading > div:first-child > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.ideas-separation-note { flex: 0 0 auto; min-width: 260px; padding: 17px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(85,180,142,.28); border-radius: 15px; background: white; box-shadow: 0 15px 42px rgba(117,55,0,.08); }
.ideas-separation-note > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #daf2e8; color: #267b5b; font-weight: 900; }
.ideas-separation-note strong, .ideas-separation-note small { display: block; }
.ideas-separation-note strong { font: 800 10px/1.2 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.ideas-separation-note small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.ideas-workspace { display: grid; grid-template-columns: minmax(560px, 1.25fr) minmax(380px, .75fr); gap: 18px; align-items: start; }
.ideas-chat-card, .ideas-context-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 65px rgba(117,55,0,.1); }
.ideas-chat-card { padding: 34px; background: white; }
.ideas-card-heading { margin-bottom: 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.ideas-card-heading h2, .ideas-context-card h2 { margin: 8px 0 0; font: 700 25px/1.12 "Manrope", sans-serif; letter-spacing: -.035em; }
.ideas-chat-badge { padding: 7px 9px; border-radius: 99px; background: #fff0df; color: var(--purple-dark); font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.ideas-client-row { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(300px, 1.15fr); gap: 14px; align-items: stretch; }
.ideas-context-toggle { min-height: 68px; margin-bottom: 15px; padding: 13px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(255,130,0,.25); border-radius: 11px; background: #fff8f0; cursor: pointer; }
.ideas-context-toggle input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--purple); }
.ideas-context-toggle strong, .ideas-context-toggle small { display: block; }
.ideas-context-toggle strong { font-size: 10px; }
.ideas-context-toggle small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.ideas-request-field > span, .ideas-examples > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.ideas-request-field textarea { width: 100%; min-height: 260px; padding: 19px; border: 2px solid rgba(255,130,0,.32); border-radius: 15px; outline: 0; background: #fffdf9; color: var(--ink); font-size: 15px; line-height: 1.6; resize: vertical; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.ideas-request-field textarea:focus { border-color: var(--purple); background: white; box-shadow: 0 0 0 4px rgba(255,130,0,.1); }
.ideas-request-field textarea::placeholder { color: #9f9993; }
.ideas-examples { margin-top: 18px; }
.ideas-examples > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ideas-examples button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 99px; background: #faf8f4; color: var(--muted); font-size: 8px; font-weight: 800; cursor: pointer; }
.ideas-examples button:hover { border-color: var(--purple); color: var(--ink); background: #fff4e8; }
.ideas-actions { margin-top: 26px; display: flex; justify-content: flex-end; gap: 9px; }
.ideas-actions button { min-height: 48px; padding: 0 18px; border-radius: 11px; font-size: 11px; font-weight: 900; cursor: pointer; }
.ideas-clear { border: 1px solid var(--line); background: white; color: var(--muted); }
.ideas-open-chatgpt { min-width: 265px; border: 0; background: var(--purple); color: var(--ink); box-shadow: 0 10px 22px rgba(255,130,0,.22); }
.ideas-open-chatgpt span { margin-left: 8px; }
.ideas-status { min-height: 18px; margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: right; }
.ideas-context-card { padding: 34px; background: var(--ink); color: white; }
.ideas-context-card > p { margin: 12px 0 24px; color: rgba(255,255,255,.53); font-size: 10px; line-height: 1.55; }
.ideas-context-list { display: grid; gap: 9px; }
.ideas-context-list > div { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.ideas-context-list span { display: block; color: var(--lavender); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.ideas-context-list p { margin: 5px 0 0; color: rgba(255,255,255,.76); font-size: 9px; line-height: 1.5; white-space: pre-wrap; }
.ideas-context-warning { margin-top: 26px; padding: 16px; border: 1px solid rgba(255,130,0,.28); border-radius: 12px; background: rgba(255,130,0,.08); }
.ideas-context-warning strong, .ideas-context-warning span { display: block; }
.ideas-context-warning strong { color: var(--lavender); font-size: 10px; }
.ideas-context-warning span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 8px; line-height: 1.5; }

.creative-import-section { display: grid; grid-template-columns: minmax(560px, 1.12fr) minmax(400px, .88fr); gap: 18px; align-items: start; }
.creative-import-card, .creative-library-card { border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 22px 65px rgba(117,55,0,.1); }
.creative-import-card { padding: 34px; background: white; }
.creative-import-heading, .creative-library-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.creative-import-heading h2, .creative-library-heading h2 { margin: 8px 0 0; font: 700 25px/1.12 "Manrope", sans-serif; letter-spacing: -.035em; }
.creative-import-badge { padding: 7px 9px; border-radius: 99px; background: #e7f5ef; color: #267b5b; font-size: 7px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.creative-import-intro { margin: 16px 0 24px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.creative-client-field { display: block; margin-bottom: 14px; }
.creative-content-field { display: block; margin-top: 2px; }
.creative-content-field textarea { min-height: 330px; }
.creative-import-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.creative-import-actions p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.creative-import-actions button { flex: 0 0 auto; min-height: 48px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--purple); color: var(--ink); font-size: 10px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 22px rgba(255,130,0,.22); }
.creative-import-actions button:disabled { opacity: .55; cursor: wait; }
.creative-library-card { min-height: 450px; padding: 34px; background: var(--ink); color: white; }
.creative-library-heading strong { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--purple); color: var(--ink); font: 800 14px/1 "Manrope", sans-serif; }
.creative-library-help { margin: 13px 0 22px; color: rgba(255,255,255,.5); font-size: 9px; line-height: 1.5; }
.creative-idea-list { display: grid; gap: 12px; }
.creative-idea-card { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); }
.creative-idea-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--lavender); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.creative-idea-meta time { color: rgba(255,255,255,.35); }
.creative-idea-card h3 { margin: 8px 0 12px; color: white; font: 700 14px/1.3 "Manrope", sans-serif; }
.creative-idea-card details { border-top: 1px solid rgba(255,255,255,.1); }
.creative-idea-card summary { padding: 11px 0 0; color: rgba(255,255,255,.56); font-size: 8px; font-weight: 700; cursor: pointer; }
.creative-idea-card pre { max-height: 330px; margin: 12px 0 0; padding: 14px; overflow: auto; border-radius: 9px; background: rgba(0,0,0,.24); color: rgba(255,255,255,.82); font: 9px/1.55 "Manrope", sans-serif; white-space: pre-wrap; word-break: break-word; }
.creative-idea-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.creative-idea-actions button { min-height: 30px; padding: 0 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: transparent; color: rgba(255,255,255,.76); font-size: 7px; font-weight: 800; cursor: pointer; }
.creative-idea-actions button:hover { border-color: var(--purple); color: white; }
.creative-idea-actions .creative-production-action { border-color: rgba(255,130,0,.45); background: rgba(255,130,0,.1); color: var(--lavender); }
.creative-idea-actions .creative-delete-action { color: #ff958d; }
.creative-idea-empty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.creative-idea-empty > span { width: 48px; height: 48px; margin-bottom: 14px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; color: var(--purple); font-size: 22px; }
.creative-idea-empty strong { font-size: 12px; }
.creative-idea-empty p { max-width: 250px; margin: 7px 0 0; color: rgba(255,255,255,.38); font-size: 9px; line-height: 1.45; }

.schedule-view {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto 48px;
}
.schedule-heading {
  min-height: 285px;
  padding: 62px 16px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.schedule-heading h1 {
  margin: 17px 0 18px;
  font: 700 clamp(44px, 6vw, 76px)/.96 "Manrope", sans-serif;
  letter-spacing: -.055em;
}
.schedule-heading h1 em { color: var(--purple); font: 400 1.03em/1 Georgia, serif; letter-spacing: -.06em; }
.schedule-heading > div:first-child > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.schedule-summary {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 42px rgba(117,55,0,.08);
}
.schedule-summary div { min-width: 92px; padding: 17px 12px; display: flex; flex-direction: column; align-items: center; border-left: 1px solid var(--line); }
.schedule-summary div:first-child { border-left: 0; }
.schedule-summary strong { font: 800 25px/1 "Manrope", sans-serif; }
.schedule-summary span { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.schedule-summary .urgent strong { color: #c34b31; }

.schedule-alert-bar {
  min-height: 82px;
  margin-bottom: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,130,0,.3);
  border-radius: 16px;
  background: #fff8f0;
}
.schedule-alert-bar.has-alerts { border-color: rgba(195,75,49,.34); background: #fff4f0; }
.alert-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--purple); color: var(--ink); font: 800 15px/1 "Manrope", sans-serif; }
.has-alerts .alert-icon { background: #c34b31; color: white; }
.schedule-alert-bar > div:nth-child(2) { min-width: 0; }
.schedule-alert-bar strong { font: 700 12px/1.2 "Manrope", sans-serif; }
.schedule-alert-bar p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.schedule-alert-bar button { margin-left: auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 9px; font-weight: 700; cursor: pointer; }

.weekly-agenda { margin-bottom: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 48px rgba(117,55,0,.08); }
.weekly-agenda-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.weekly-agenda-heading h2 { margin: 8px 0 7px; font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.weekly-agenda-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.weekly-agenda-navigation { display: flex; gap: 6px; }
.weekly-agenda-navigation button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #faf8f4; color: var(--ink); font-size: 9px; font-weight: 800; cursor: pointer; }
.weekly-agenda-navigation button:first-child, .weekly-agenda-navigation button:last-child { width: 38px; padding: 0; font-size: 15px; }
.weekly-agenda-navigation button:hover { border-color: var(--purple); background: #fff7eb; }
.weekly-agenda-period { margin: 17px 0 11px; color: #9b5808; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.weekly-agenda-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 10px; }
.weekly-agenda-card { min-width: 0; padding: 16px; display: flex; flex-direction: column; border: 1px solid #e9e1d7; border-radius: 14px; background: #fcfaf7; }
.weekly-agenda-person { display: flex; align-items: center; gap: 10px; }
.weekly-agenda-avatar { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--purple); color: var(--ink); font: 900 10px/1 "Manrope", sans-serif; }
.weekly-agenda-person h3 { margin: 0; font: 800 13px/1.2 "Manrope", sans-serif; }
.weekly-agenda-person p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.weekly-agenda-days { margin: 14px 0; display: grid; gap: 10px; }
.weekly-agenda-day { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 9px; }
.weekly-agenda-day > strong { padding-top: 3px; color: #9b5808; font-size: 8px; text-transform: uppercase; }
.weekly-agenda-day > div { display: grid; gap: 5px; }
.weekly-agenda-day p { margin: 0; padding: 7px 8px; display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 7px; border-radius: 8px; background: white; }
.weekly-agenda-day time { color: var(--purple); font-size: 8px; font-weight: 900; }
.weekly-agenda-day span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.weekly-agenda-day b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.weekly-agenda-day small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.weekly-agenda-actions { margin-top: auto; padding-top: 12px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 7px; border-top: 1px solid #e9e1d7; }
.weekly-agenda-actions button, .weekly-agenda-actions a { min-height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 8px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.weekly-agenda-actions a { border-color: #25b65f; background: #eafff1; color: #147a3b; }
.weekly-agenda-empty { padding: 28px 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.weekly-agenda-empty strong { color: var(--ink); font-size: 11px; }
.weekly-agenda-empty p { margin: 6px 0 0; font-size: 9px; }

.schedule-workspace { display: grid; grid-template-columns: minmax(420px, .82fr) minmax(560px, 1.18fr); gap: 18px; align-items: start; }
.appointment-form, .schedule-board { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 65px rgba(117,55,0,.1); }
.appointment-form { padding: 34px; background: white; }
.appointment-repeat-block { margin: 14px 0; padding: 16px; border: 1px solid rgba(255,130,0,.24); border-radius: 13px; background: #fff9f2; }
.appointment-repeat-block p { margin: 8px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.appointment-multi-day-block { margin: 14px 0; padding: 16px; border: 1px solid rgba(101,64,165,.2); border-radius: 13px; background: #faf8ff; }
.appointment-multi-day-toggle { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.appointment-multi-day-toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple); flex: 0 0 auto; }
.appointment-multi-day-toggle span { display: grid; gap: 3px; }
.appointment-multi-day-toggle strong { color: var(--ink); font-size: 11px; }
.appointment-multi-day-toggle small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.appointment-extra-days { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(101,64,165,.14); }
.appointment-extra-day { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.appointment-extra-day .form-field { margin: 0; }
.appointment-remove-day, .appointment-add-day { min-height: 40px; border: 1px solid rgba(101,64,165,.28); border-radius: 9px; background: white; color: var(--purple); font-size: 9px; font-weight: 800; cursor: pointer; }
.appointment-remove-day { width: 40px; font-size: 15px; }
.appointment-add-day { padding: 0 14px; }
.appointment-multi-day-block.is-disabled { opacity: .62; }
.appointment-event-days { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; padding: 11px 12px; border-radius: 11px; background: #f5f0ff; }
.appointment-event-days strong { width: 100%; color: var(--purple); font-size: 9px; }
.appointment-event-days span { padding: 6px 9px; border-radius: 999px; background: white; color: var(--ink); font-size: 9px; font-weight: 800; }
.appointment-selector-block { margin: 14px 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f4; }
.appointment-selector-heading { margin-bottom: 11px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.appointment-selector-heading span { display: block; color: var(--ink); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.appointment-selector-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.appointment-selector-heading button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 8px; font-weight: 700; cursor: pointer; }
.appointment-collaborator-tabs, .appointment-service-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.appointment-collaborator-tabs button { min-height: 36px; padding: 0 11px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--muted); font-size: 9px; font-weight: 700; cursor: pointer; }
.appointment-collaborator-tabs button::before { content: "+"; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #eee9e3; color: var(--ink); font-size: 11px; }
.appointment-collaborator-tabs button.selected { border-color: var(--purple); background: rgba(255,130,0,.12); color: var(--ink); }
.appointment-collaborator-tabs button.selected::before { content: "✓"; background: var(--purple); }
#appointment-collaborator-empty { margin: 8px 0 0; color: var(--muted); font-size: 8px; }
.appointment-service-tabs label { cursor: pointer; }
.appointment-service-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.appointment-service-tabs span { min-height: 33px; padding: 0 11px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--muted); font-size: 8px; font-weight: 700; transition: 150ms ease; }
.appointment-service-tabs input:checked + span { border-color: var(--purple); background: var(--purple); color: var(--ink); }
.appointment-services { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.appointment-services span { padding: 5px 7px; border-radius: 6px; background: rgba(255,130,0,.14); color: #ffc082; font-size: 7px; font-weight: 700; }
.appointment-form-heading, .schedule-board-heading { margin-bottom: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.appointment-form-heading h2, .schedule-board-heading h2 { margin: 8px 0 0; font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.whatsapp-disclaimer { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }

.schedule-board { padding: 34px; background: var(--ink); color: white; }
.schedule-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.schedule-filters button { min-height: 30px; padding: 0 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: transparent; color: rgba(255,255,255,.48); font-size: 8px; font-weight: 700; cursor: pointer; }
.schedule-filters button.active { border-color: var(--purple); background: var(--purple); color: var(--ink); }
.appointment-list { display: grid; gap: 10px; }
.appointment-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; overflow: hidden; background: #181818; }
.appointment-card.is-overdue { border-color: rgba(255,137,127,.38); }
.appointment-card.is-today { border-color: rgba(255,130,0,.5); }
.appointment-card.is-completed { opacity: .58; }
.appointment-card.is-cancelled { opacity: .58; border-color: rgba(255,137,127,.3); }
.appointment-date { padding: 16px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); text-align: center; }
.appointment-date span { color: var(--lime); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.appointment-date strong { margin: 5px 0 3px; font: 800 25px/1 "Manrope", sans-serif; }
.appointment-date small { color: rgba(255,255,255,.42); font-size: 8px; text-transform: uppercase; }
.appointment-content { min-width: 0; }
.appointment-main { padding: 16px 17px 13px; }
.appointment-topline { display: flex; align-items: center; gap: 7px; }
.appointment-time { color: var(--purple); font: 800 9px/1 "Manrope", sans-serif; letter-spacing: .08em; }
.appointment-status { padding: 4px 6px; border-radius: 99px; background: rgba(255,130,0,.12); color: var(--lavender); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.appointment-status.overdue { background: rgba(255,137,127,.14); color: #ff897f; }
.appointment-status.completed { background: rgba(85,180,142,.14); color: #7bd5b1; }
.appointment-status.cancelled { background: rgba(255,137,127,.14); color: #ff897f; }
.appointment-main h3 { margin: 8px 0 4px; overflow: hidden; font: 700 14px/1.25 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.appointment-client { margin: 0; color: rgba(255,255,255,.44); font-size: 9px; }
.appointment-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.appointment-meta span { padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.58); font-size: 8px; }
.appointment-meta .recurrence-meta { background: rgba(255,130,0,.16); color: var(--purple); }
.appointment-notes { margin: 10px 0 0; color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.5; white-space: pre-wrap; }
.appointment-actions { padding: 11px 17px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(255,255,255,.07); }
.appointment-actions button, .appointment-actions a { min-height: 31px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: transparent; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 700; text-decoration: none; cursor: pointer; }
.appointment-actions .whatsapp-action { flex: 1; min-width: 132px; border-color: #2dbf6f; background: #2dbf6f; color: #081c10; }
.appointment-actions .calendar-action { border-color: rgba(255,255,255,.28); color: white; }
.appointment-actions .complete-action { color: #7bd5b1; }
.appointment-actions .reschedule-action { color: #9fc5ff; }
.appointment-actions .cancel-action { color: #ffb063; }
.appointment-actions .delete-appointment { color: #ff897f; }

.production-view { width: min(1460px, calc(100% - 32px)); margin: 0 auto 48px; }
.production-heading { min-height: 285px; padding: 62px 16px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.production-heading h1 { margin: 17px 0 18px; font: 700 clamp(44px, 6vw, 76px)/.96 "Manrope", sans-serif; letter-spacing: -.055em; }
.production-heading h1 em { color: var(--purple); font: 400 1.03em/1 Georgia, serif; letter-spacing: -.06em; }
.production-heading > div:first-child > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.production-summary { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 15px 42px rgba(117,55,0,.08); }
.production-summary div { padding: 17px 12px; display: flex; flex-direction: column; align-items: center; border-left: 1px solid var(--line); }
.production-summary div:first-child { border-left: 0; }
.production-summary strong { font: 800 25px/1 "Manrope", sans-serif; }
.production-summary span { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }

.team-workspace { display: grid; grid-template-columns: minmax(430px, .82fr) minmax(520px, 1.18fr); gap: 18px; align-items: stretch; }
.collaborator-form, .team-list-panel { padding: 34px; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 22px 65px rgba(117,55,0,.1); }
.collaborator-form { background: white; }
.team-list-panel { background: var(--ink); color: white; }
.collaborator-form-heading, .team-list-heading { margin-bottom: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.collaborator-form-heading h2, .team-list-heading h2 { margin: 8px 0 0; font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.team-list-heading > span { padding: 6px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); font-size: 8px; }
.collaborator-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.collaborator-card { padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #181818; }
.collaborator-card-top { display: flex; align-items: center; gap: 10px; }
.collaborator-avatar { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--purple); color: var(--ink); font: 800 10px/1 "Manrope", sans-serif; }
.collaborator-card h3 { margin: 0; font: 700 12px/1.2 "Manrope", sans-serif; }
.collaborator-card p { margin: 4px 0 0; color: var(--lavender); font-size: 8px; }
.collaborator-contact { margin-top: 11px; color: rgba(255,255,255,.42); font-size: 8px; line-height: 1.45; }
.collaborator-actions { margin-top: 12px; display: flex; gap: 5px; }
.collaborator-actions button { min-height: 28px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: transparent; color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; cursor: pointer; }
.collaborator-actions .create-collaborator-access { border-color: var(--purple); background: var(--purple); color: var(--ink); }
.collaborator-actions .delete-collaborator { color: #ff897f; }
.collaborator-access-field { margin-top: 14px; }
.collaborator-access-field small { margin-top: 6px; display: block; color: var(--muted); font-size: 8px; line-height: 1.45; }
.collaborator-permission-toggle { margin-top: 14px; padding: 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: #faf8f4; cursor: pointer; }
.collaborator-permission-toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple); }
.collaborator-permission-toggle span { min-width: 0; }
.collaborator-permission-toggle strong { display: block; font-size: 10px; }
.collaborator-permission-toggle small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.collaborator-credentials { margin-top: 16px; padding: 16px; border: 1px solid rgba(255,130,0,.28); border-radius: 14px; background: #fff9f2; }
.collaborator-credentials-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.collaborator-credentials-heading > div > span { display: block; color: var(--purple-dark); font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.collaborator-credentials-heading strong { display: block; margin-top: 4px; font: 800 13px/1.2 "Manrope", sans-serif; }
.credential-status { padding: 5px 7px; border-radius: 99px; background: var(--ink); color: white; font-size: 7px; font-weight: 800; }
.credential-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.pin-input-row { display: flex; gap: 6px; }
.pin-input-row input { min-width: 0; }
.pin-input-row button { flex: 0 0 auto; min-height: 42px; padding: 0 10px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-size: 8px; font-weight: 800; cursor: pointer; }
.collaborator-credentials > small { display: block; margin-top: 9px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.collaborator-login { margin-top: 9px; padding: 8px 9px; border-radius: 8px; background: rgba(255,130,0,.12); color: var(--lavender); font-size: 8px; line-height: 1.45; }

.production-board-section { margin-top: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 22px 65px rgba(117,55,0,.1); }
.team-management-collapse { margin-top: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 12px 36px rgba(117,55,0,.06); }
.team-management-collapse > summary { min-height: 64px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
.team-management-collapse > summary::-webkit-details-marker { display: none; }
.team-management-collapse > summary strong { display: block; margin-top: 5px; font: 750 16px/1.2 "Manrope", sans-serif; }
.team-management-collapse > summary > span { color: var(--muted); font-size: 22px; transition: transform .2s ease; }
.team-management-collapse[open] > summary > span { transform: rotate(180deg); }
.team-management-collapse .team-workspace { margin: 0; padding: 0 18px 18px; }
.production-board-heading { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.production-board-heading h2 { margin: 8px 0 0; font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.production-board-tools { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.production-view-controls { margin: -4px 0 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.production-mode-toggle { padding: 4px; display: inline-flex; border: 1px solid var(--line); border-radius: 12px; background: #f7f4ee; }
.production-mode-toggle button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.production-mode-toggle button.is-active { background: var(--ink); color: white; box-shadow: 0 5px 14px rgba(28,21,14,.16); }
.production-filters { display: flex; align-items: end; gap: 9px; }
.production-filters label { display: grid; gap: 5px; }
.production-filters label span { color: var(--muted); font-size: 12px; font-weight: 800; }
.production-filters select { min-width: 150px; height: 40px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 13px; }
.production-client-groups { display: grid; gap: 12px; }
.production-client-group { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 26px rgba(43,32,21,.05); }
.production-client-group.is-personal { border-color: rgba(255,130,0,.42); background: #fffaf3; }
.production-client-group > summary { min-height: 76px; padding: 15px 18px; display: grid; grid-template-columns: minmax(210px,1fr) auto 24px; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.production-client-group > summary::-webkit-details-marker { display: none; }
.production-client-name span { display: block; color: var(--purple-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.production-client-name strong { display: block; margin-top: 5px; font: 750 18px/1.25 "Manrope", sans-serif; }
.production-client-metrics { display: flex; align-items: center; gap: 7px; }
.production-client-metrics span { padding: 8px 10px; border-radius: 9px; background: #f7f4ee; color: var(--muted); font-size: 12px; white-space: nowrap; }
.production-client-metrics b { color: var(--ink); font-size: 14px; }
.production-client-metrics .is-approval { background: #fff0df; color: #a14c00; }
.production-client-chevron { color: var(--muted); font-size: 22px; transition: transform .2s ease; }
.production-client-group[open] .production-client-chevron { transform: rotate(180deg); }
.production-client-actions { padding: 0 18px 12px; display: flex; gap: 8px; }
.production-client-actions:empty { display: none; }
.production-client-actions a, .production-client-actions button { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid rgba(255,130,0,.3); border-radius: 8px; background: #fff6ea; color: #954500; font-size: 12px; font-weight: 850; text-decoration: none; cursor: pointer; }
.production-client-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.production-client-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.production-client-table th { padding: 11px 12px; background: #f7f4ee; color: var(--muted); font-size: 12px; font-weight: 850; text-align: left; white-space: nowrap; }
.production-client-table td { padding: 13px 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; line-height: 1.35; vertical-align: middle; }
.production-client-table tbody tr:first-child td { border-top: 0; }
.production-client-table .production-service-group th { padding: 10px 12px; border-top: 1px solid var(--line); background: #efe9df; color: var(--ink); text-align: left; }
.production-client-table .production-service-group th span { font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.production-client-table .production-service-group th b { margin-left: 8px; color: var(--muted); font-size: 11px; font-weight: 750; }
.production-client-table tbody tr:hover { background: #fffaf4; }
.production-client-table tr.is-personal { background: #fffaf3; }
.production-client-table td strong { min-width: 210px; display: block; font: 700 14px/1.35 "Manrope", sans-serif; }
.production-client-table td small { margin-top: 3px; display: block; color: var(--muted); font-size: 12px; }
.production-client-table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--purple-dark); }
.production-stage-chip { padding: 6px 9px; display: inline-flex; border-radius: 99px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.production-stage-chip.is-active { background: #edf4ff; color: #295a91; }
.production-stage-chip.is-approval { background: #fff0df; color: #a14c00; }
.production-stage-chip.is-alteration { background: #fff0ee; color: #a93c32; }
.production-stage-chip.is-done { background: #e9f7ef; color: #207c49; }
.production-material-count { padding: 6px 8px; display: inline-flex; border-radius: 8px; background: #fff1df; color: #9b4a00; font-size: 12px; font-weight: 850; white-space: nowrap; }
.production-row-open { min-height: 34px; padding: 0 13px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; font-weight: 850; cursor: pointer; }
.new-standalone-work { min-height: 42px; padding: 0 14px; border: 1px solid var(--purple); border-radius: 9px; background: var(--purple); color: var(--ink); font-size: 9px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.new-standalone-work:hover { filter: brightness(1.03); transform: translateY(-1px); }
.personal-voice-trigger { min-height: 42px; padding: 0 15px; border: 1px solid #ff8200; border-radius: 9px; background: linear-gradient(135deg, #ff8200, #ffb14f); color: #20160c; font-size: 9px; font-weight: 900; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 20px rgba(255,130,0,.2); }
.personal-voice-trigger:hover { filter: brightness(1.03); transform: translateY(-1px); }
.bulk-select-work, .bulk-delete-work { min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 9px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.bulk-delete-work { border-color: #e9b4ad; background: #fff4f2; color: #b53427; }
.bulk-delete-work:disabled { opacity: .48; cursor: not-allowed; }
.production-search { width: min(360px, 100%); height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: #faf8f4; }
.production-search span { color: var(--purple); }
.production-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 10px; }
.production-board { display: grid; grid-template-columns: repeat(7, minmax(220px, 1fr)); gap: 10px; overflow-x: auto; }
.board-column { min-height: 320px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #f7f4ee; }
.board-column > header { padding: 6px 5px 12px; display: flex; align-items: center; justify-content: space-between; }
.board-column > header span { font: 800 9px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.board-column > header strong { min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: white; color: var(--muted); font-size: 8px; }
.board-cards { display: grid; gap: 7px; }
.board-cards.is-published-list{gap:5px}.published-list-item{display:flex;align-items:stretch;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.published-list-item.is-selected{border-color:var(--purple);box-shadow:0 0 0 2px rgba(143,124,255,.16)}.published-list-select{display:grid;place-items:center;padding:0 9px;border-right:1px solid var(--line);background:#faf7ff}.published-list-select input{width:17px;height:17px;accent-color:var(--purple-dark)}.published-list-row{min-width:0;width:100%;padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto 10px;align-items:center;gap:8px;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.published-list-row:hover{background:#f4faf6}.published-list-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.published-list-copy small{overflow:hidden;color:#39805a;font-size:12px;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.published-list-copy strong{overflow:hidden;font:700 13px/1.3 "Manrope",sans-serif;text-overflow:ellipsis;white-space:nowrap}.published-list-row time{color:var(--muted);font-size:12px;white-space:nowrap}.published-list-row>b{color:#39805a;font-size:18px}.published-list-remove{width:42px;flex:0 0 42px;border:0;border-left:1px solid var(--line);background:#fff7f5;color:#b34a3b;font-size:22px;font-weight:700;cursor:pointer}.published-list-remove:hover{background:#ffe9e4}.published-list-remove:disabled{cursor:wait;opacity:.6}
.board-task-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 7px 18px rgba(43,32,21,.05); }
.board-task-shell.is-selection-mode { position: relative; }
.board-task-shell.is-selected { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(143,124,255,.16); }
.board-task-shell.is-personal { border-color: rgba(255,130,0,.42); background: #fffaf3; box-shadow: 0 9px 24px rgba(255,130,0,.12); }
.board-task-shell.is-personal .board-task { background: linear-gradient(145deg, #fffdf9, #fff5e8); }
.board-task-shell.is-personal .board-task > span { color: #b65300; }
.board-task-select { padding: 9px 12px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: #faf7ff; color: var(--purple-dark); font-size: 8px; font-weight: 900; cursor: pointer; }
.board-task-select input { width: 17px; height: 17px; accent-color: var(--purple-dark); }
.board-task { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 7px 18px rgba(43,32,21,.05); }
.board-task-shell .board-task { border: 0; border-radius: 0; box-shadow: none; }
.board-task:hover { border-color: rgba(255,130,0,.5); transform: translateY(-1px); }
.board-briefing-link { width: 100%; min-height: 34px; padding: 0 12px; border: 0; border-top: 1px solid var(--line); background: #fff5e9; color: var(--purple-dark); font-size: 8px; font-weight: 900; text-align: left; cursor: pointer; }
.board-briefing-link:hover { background: var(--purple); color: var(--ink); }
.board-task > span { color: var(--purple-dark); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.board-task h3 { margin: 7px 0 5px; font: 700 11px/1.3 "Manrope", sans-serif; }
.board-task p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.board-task-resources { margin-top: 9px; display: flex; gap: 5px; }
.board-task-resources span { padding: 4px 6px; border-radius: 6px; background: #fff4e7; color: var(--purple-dark); font-size: 7px; font-weight: 800; }
.board-task footer { width: 100%; margin: 10px 0 0; padding: 9px 0 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 7px; letter-spacing: 0; }
.production-empty { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.production-empty strong { color: var(--ink); font: 700 13px/1.2 "Manrope", sans-serif; }
.production-empty span { margin-top: 7px; font-size: 9px; }

.work-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.38); }
.work-dialog::backdrop { background: rgba(11,11,11,.72); backdrop-filter: blur(5px); }
.work-dialog-shell { max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.standalone-dialog { width: min(760px, calc(100% - 32px)); }
.personal-voice-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.personal-voice-dialog::backdrop { background: rgba(11,11,11,.76); backdrop-filter: blur(6px); }
.personal-voice-shell { max-height: calc(100vh - 28px); display: flex; flex-direction: column; }
.personal-voice-header { padding: 25px 28px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.personal-voice-header h2 { margin: 7px 0 6px; font: 750 25px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.personal-voice-header p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.personal-voice-body { padding: 28px; display: flex; flex-direction: column; align-items: center; overflow-y: auto; text-align: center; }
.personal-voice-signal { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: #fff2df; box-shadow: 0 0 0 0 rgba(255,130,0,.26); font-size: 31px; }
.personal-voice-signal.is-listening { animation: personal-voice-pulse 1.45s infinite; background: linear-gradient(145deg, #ff8200, #ffb75e); }
@keyframes personal-voice-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,130,0,.34); } 70% { box-shadow: 0 0 0 20px rgba(255,130,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,130,0,0); } }
.personal-voice-status { margin-top: 20px; font: 750 14px/1.35 "Manrope", sans-serif; }
.personal-voice-example { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.personal-voice-transcript { width: 100%; min-height: 55px; margin: 20px 0 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f4; color: var(--ink); font-size: 11px; line-height: 1.5; }
.personal-voice-preview { width: 100%; margin-top: 14px; display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr) minmax(0,.8fr); gap: 8px; text-align: left; }
.personal-voice-preview > div { min-width: 0; padding: 13px; border: 1px solid rgba(255,130,0,.24); border-radius: 11px; background: #fff9f1; }
.personal-voice-preview span { display: block; color: #b65300; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.personal-voice-preview strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 9px; line-height: 1.4; }
.personal-voice-retry { margin-top: 16px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-size: 9px; font-weight: 850; cursor: pointer; }
.personal-voice-footer { padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); background: #faf8f4; }
.personal-voice-footer span { color: var(--muted); font-size: 8px; }
.personal-voice-footer button { min-height: 37px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 8px; font-weight: 800; cursor: pointer; }
.standalone-form-body { padding: 24px 28px 8px; overflow-y: auto; }
.work-dialog-header { padding: 25px 28px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.work-dialog-header h2 { margin: 8px 0 6px; font: 700 25px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.work-dialog-header p { margin: 0; color: var(--muted); font-size: 9px; }
.work-close { flex: 0 0 35px; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 9px; background: #faf8f4; color: var(--muted); font-size: 21px; cursor: pointer; }
.work-preview-banner { padding: 13px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,130,0,.25); background: #fff2df; }
.work-preview-banner strong { color: var(--purple-dark); font-size: 10px; }
.work-preview-banner span { color: var(--muted); font-size: 8px; text-align: right; }
.work-dialog.is-preview .work-assignment-bar,
.work-dialog.is-preview .work-notification-bar,
.work-dialog.is-preview [data-work-tab="approval"],
.work-dialog.is-preview [data-work-tab="notes"],
.work-dialog.is-preview .work-dialog-footer { display: none; }
.work-dialog.is-preview textarea { color: var(--ink); background: #faf8f4; cursor: text; }
.work-dialog.is-preview .work-upload-button,
.work-dialog.is-preview .work-attachment-item button { display: none; }
.work-assignment-bar { padding: 16px 28px; display: grid; grid-template-columns: minmax(260px, 1.45fr) 1fr .8fr; gap: 10px; background: #fff8f0; border-bottom: 1px solid var(--line); }
.work-assignment-bar label > span, .work-assignee-field > span, .collaborator-assignment > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.work-assignment-bar select, .work-assignment-bar input { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 10px; }
.work-assignee-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.work-assignee-tabs button { min-height: 34px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--muted); font-size: 8px; font-weight: 800; cursor: pointer; }
.work-assignee-tabs button::before { content: "+"; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #f0ece6; color: var(--muted); }
.work-assignee-tabs button.selected { border-color: var(--purple); background: rgba(255,130,0,.12); color: var(--ink); }
.work-assignee-tabs button.selected::before { content: "✓"; background: var(--purple); color: var(--ink); }
.work-assignee-field > small, .field-help { margin-top: 6px; display: block; color: var(--muted); font-size: 7px; line-height: 1.4; }
.collaborator-assignment { padding: 7px 10px; border: 1px solid rgba(255,130,0,.28); border-radius: 9px; background: white; }
.collaborator-assignment strong { font-size: 10px; }
.collaborator-mode .work-assignment-bar { grid-template-columns: 1.25fr 1fr 1fr; }
.standalone-assignee-tabs { min-height: 40px; align-content: flex-start; }
.work-notification-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 28px; border-bottom: 1px solid var(--line); background: #fffaf3; }
.work-notification-bar strong { display: block; color: var(--ink); font-size: 11px; }
.work-notification-bar span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.work-notification-actions { display: flex; gap: 7px; }
.work-notification-actions select { min-width: 145px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 9px; }
.work-notification-actions button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 10px; font-weight: 800; cursor: pointer; }
.work-notification-actions button:not(:disabled):hover { border-color: var(--purple); background: rgba(255,130,0,.1); }
.work-notification-actions button:disabled { cursor: not-allowed; opacity: .38; }
.work-tabs { padding: 16px 28px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #faf8f4; }
.work-tabs button { min-height: 52px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-size: 9px; font-weight: 800; cursor: pointer; text-align: left; }
.work-tabs button::after { content: "Abrir →"; color: var(--purple-dark); font-size: 7px; font-weight: 900; white-space: nowrap; }
.work-tabs button:hover { border-color: var(--purple); background: #fff7eb; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(67,35,3,.06); }
.work-approval-callout { margin: 13px 28px; padding: 11px 13px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; border: 1px solid rgba(255,130,0,.55); border-radius: 11px; background: #fff7eb; }
.work-approval-callout.is-open { border-color: var(--purple); background: #fff0df; box-shadow: 0 0 0 3px rgba(255,130,0,.08); }
.work-approval-callout-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--purple); font-size: 17px; }
.work-approval-callout span { display: block; color: var(--purple-dark); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.work-approval-callout strong { display: block; margin-top: 3px; font: 800 15px/1.2 "Manrope",sans-serif; }
.work-approval-callout small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.work-approval-callout button { min-height: 42px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.work-approval-callout button b { margin-left: 6px; color: var(--purple); font-size: 13px; }
.approval-materials-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.38); }
.approval-materials-dialog::backdrop { background: rgba(11,11,11,.58); backdrop-filter: blur(4px); }
.approval-materials-shell { max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.approval-materials-header { padding: 23px 26px 19px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.approval-materials-header h2 { margin: 7px 0 5px; font: 700 23px/1.15 "Manrope",sans-serif; letter-spacing: -.03em; }
.approval-materials-header p { margin: 0; color: var(--muted); font-size: 9px; }
.approval-materials-body { min-height: 0; padding: 20px 26px; display: grid; gap: 14px; overflow-y: auto; overflow-x: hidden; }
.approval-links-card, .approval-files-card { min-width: 0; margin: 0; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f4; }
.approval-links-card textarea { width: 100%; min-height: 132px; resize: vertical; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.approval-links-card .form-field small { margin-top: 7px; display: block; color: var(--muted); font-size: 8px; }
.approval-files-card { border-style: solid; }
.approval-materials-footer { padding: 14px 26px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: white; }
.approval-materials-footer span { color: var(--muted); font-size: 8px; }
.approval-materials-footer .save-client-button { width: auto; min-width: 140px; margin: 0; }
.approval-materials-dialog.is-preview .work-upload-button,
.approval-materials-dialog.is-preview .work-attachment-item button { display: none; }
.collaborator-mode .approval-materials-dialog .work-attachment-item button { display: none; }
.approval-materials-dialog.is-preview textarea { color: var(--ink); background: white; cursor: text; }
.work-section-dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.38); }
.work-section-dialog::backdrop { background: rgba(11,11,11,.58); backdrop-filter: blur(4px); }
.work-section-shell { max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.work-section-header { padding: 23px 26px 19px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.work-section-header h2 { margin: 7px 0 5px; font: 700 23px/1.15 "Manrope",sans-serif; letter-spacing: -.03em; }
.work-section-header p { margin: 0; color: var(--muted); font-size: 9px; }
.work-section-body { min-height: 0; padding: 20px 26px; overflow-y: auto; overflow-x: hidden; }
.work-section-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f4; }
.work-section-panel textarea { width: 100%; resize: vertical; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.work-section-footer { padding: 14px 26px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: white; }
.work-section-footer span { color: var(--muted); font-size: 8px; }
.work-section-footer .save-client-button { width: auto; min-width: 140px; margin: 0; }
.work-attachment-box { margin-top: 14px; padding: 16px; border: 1px dashed #d9d1c8; border-radius: 13px; background: #faf8f4; }
.work-attachment-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-attachment-heading strong { display: block; font: 800 11px/1.2 "Manrope", sans-serif; }
.work-attachment-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.work-upload-button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--purple); border-radius: 9px; background: var(--purple); color: var(--ink); font-size: 8px; font-weight: 800; cursor: pointer; }
#work-attachments, #standalone-attachments { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.standalone-attachment-box { margin-bottom: 14px; }
.work-upload-status { min-height: 14px; margin: 11px 0 0; color: var(--purple-dark); font-size: 8px; }
.work-attachment-list { margin-top: 4px; display: grid; gap: 7px; }
.work-attachment-item { padding: 10px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 32px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.work-attachment-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: #fff0df; color: var(--purple-dark); font-size: 7px; font-weight: 900; }
.work-attachment-item a { display: block; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.work-attachment-item a:hover { color: var(--purple-dark); text-decoration: underline; }
.work-attachment-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.work-attachment-item .work-attachment-download { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--purple); border-radius: 8px; background: #fff4e7; color: #8f4d00; font-size: 12px; text-decoration: none; }
.work-attachment-item .work-attachment-download:hover { background: var(--purple); color: var(--ink); text-decoration: none; }
.work-attachment-item button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #c34b31; font-size: 16px; cursor: pointer; }
.work-attachment-empty { margin: 4px 0 0; padding: 12px; border-radius: 8px; background: white; color: var(--muted); font-size: 8px; text-align: center; }
.work-dialog-footer { width: 100%; margin: auto 0 0; padding: 15px 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: 0; }
.work-dialog-footer .save-client-button { width: auto; min-width: 190px; margin: 0; padding: 0 20px; }
.work-dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.duplicate-work-button { min-height: 40px; padding: 0 16px; border: 1px solid #cfc8bd; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.duplicate-work-button:hover { border-color: #ff8200; background: #fff8ef; }
.duplicate-work-button:disabled { opacity: .6; cursor: wait; }
.delete-work-button { min-height: 40px; padding: 0 16px; border: 1px solid #d8a7a0; border-radius: 10px; background: #fff8f7; color: #a53b2d; font-weight: 800; cursor: pointer; }
.delete-work-button:hover { border-color: #b84a3a; background: #fff0ed; }
.delete-work-button:disabled { opacity: .6; cursor: wait; }

footer {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
}

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255, 130, 0, .36); outline-offset: 2px; }

@media (max-width: 1100px) {
  .hero { align-items: flex-start; gap: 32px; }
  .hero-stats { margin-top: 68px; }
  .hero-stats div { min-width: 82px; }
  .workspace { grid-template-columns: 360px minmax(0, 1fr); }
  .config-panel { padding: 28px 24px; }
  .strategic-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .week-items { grid-template-columns: 1fr; }
  .clients-workspace { grid-template-columns: minmax(430px, 1fr) minmax(360px, .88fr); }
  .ideas-workspace { grid-template-columns: minmax(490px, 1.05fr) minmax(330px, .95fr); }
  .schedule-workspace { grid-template-columns: minmax(390px, .8fr) minmax(500px, 1.2fr); }
  .team-workspace { grid-template-columns: minmax(390px, .82fr) minmax(470px, 1.18fr); }
}

@media (max-width: 820px) {
  .topbar, .hero, footer { width: min(100% - 32px, 680px); }
  .topbar { height: 106px; }
  .brand-logo { width: 148px; }
  .account-pill div { display: none; }
  .account-pill { padding-left: 10px; }
  .nav-tab { padding: 0 10px; }
  .hero { min-height: auto; padding: 48px 0 38px; display: block; }
  .hero h1 { font-size: clamp(43px, 13vw, 70px); }
  .hero-copy > p { font-size: 15px; }
  .hero-stats { margin-top: 34px; width: fit-content; }
  .workspace { width: min(100% - 20px, 680px); grid-template-columns: 1fr; border-radius: 18px; }
  .config-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-topline, .plan-header, .strategy-card, .creative-section, .pillars-section, .calendar-section { padding-left: 24px; padding-right: 24px; }
  .result-topline { align-items: flex-start; flex-direction: column; }
  .plan-approval-gate { margin-left: 24px; margin-right: 24px; align-items: flex-start; flex-direction: column; }
  .plan-approval-actions { width: 100%; justify-content: space-between; }
  .plan-approval-actions p { text-align: left; }
  .week-block { grid-template-columns: 70px 1fr; }
  .conversion-strip > div { padding: 22px 24px; }
  .clients-view { width: min(100% - 20px, 680px); }
  .clients-heading { min-height: auto; padding: 48px 6px 36px; align-items: flex-start; flex-direction: column; }
  .clients-heading h1 { font-size: clamp(43px, 13vw, 66px); }
  .storage-note { width: 100%; min-width: 0; }
  .clients-workspace { grid-template-columns: 1fr; }
  .ideas-view { width: min(100% - 20px, 680px); }
  .ideas-heading { min-height: auto; padding: 48px 6px 36px; align-items: flex-start; flex-direction: column; }
  .ideas-heading h1 { font-size: clamp(43px, 13vw, 66px); }
  .ideas-separation-note { width: 100%; min-width: 0; }
  .ideas-workspace { grid-template-columns: 1fr; }
  .creative-import-section { grid-template-columns: 1fr; }
  .ideas-chat-card, .ideas-context-card { padding: 26px 22px; border-radius: 18px; }
  .creative-import-card, .creative-library-card { padding: 26px 22px; border-radius: 18px; }
  .client-form, .client-library { padding: 26px 22px; border-radius: 18px; }
  .schedule-view { width: min(100% - 20px, 680px); }
  .schedule-heading { min-height: auto; padding: 48px 6px 36px; align-items: flex-start; flex-direction: column; }
  .schedule-heading h1 { font-size: clamp(43px, 13vw, 66px); }
  .schedule-summary { width: 100%; }
  .schedule-summary div { min-width: 0; }
  .schedule-workspace { grid-template-columns: 1fr; }
  .appointment-form, .schedule-board { padding: 26px 22px; border-radius: 18px; }
  .schedule-alert-bar { align-items: flex-start; flex-wrap: wrap; }
  .schedule-alert-bar button { width: 100%; margin-left: 52px; }
  .weekly-agenda { padding: 22px; border-radius: 18px; }
  .weekly-agenda-heading { flex-direction: column; }
  .weekly-agenda-navigation { width: 100%; }
  .weekly-agenda-navigation #weekly-agenda-current { flex: 1; }
  .production-view { width: min(100% - 20px, 680px); }
  .production-heading { min-height: auto; padding: 48px 6px 36px; align-items: flex-start; flex-direction: column; }
  .production-heading h1 { font-size: clamp(43px, 13vw, 66px); }
  .production-summary { width: 100%; }
  .team-workspace { grid-template-columns: 1fr; }
  .collaborator-form, .team-list-panel, .production-board-section { padding: 26px 22px; border-radius: 18px; }
  .production-board-heading { align-items: flex-start; flex-direction: column; }
  .production-board-tools { width: 100%; justify-content: stretch; }
  .production-view-controls { align-items: stretch; flex-direction: column; }
  .production-filters { width: 100%; }
  .production-filters label { flex: 1; }
  .production-filters select { width: 100%; min-width: 0; }
  .production-client-group > summary { grid-template-columns: minmax(0,1fr) auto 24px; }
  .new-standalone-work { flex: 0 0 auto; }
  .production-search { width: 100%; }
  .production-board { grid-template-columns: repeat(7, 250px); }
}

@media (max-width: 520px) {
  .workflow-handoff-notice { top: auto; right: 10px; bottom: 12px; width: calc(100% - 20px); grid-template-columns: 38px minmax(0,1fr); padding: 13px; }
  .workflow-handoff-signal { width: 38px; height: 38px; }
  .workflow-handoff-actions { grid-column: 1 / -1; }
  .workflow-handoff-actions #open-workflow-handoff { flex: 1; }
  .work-attachment-item { grid-template-columns: 38px minmax(0,1fr) 32px; }
  .work-attachment-icon { grid-column: 1; grid-row: 1; }
  .work-attachment-item > div:nth-child(2) { grid-column: 2 / -1; grid-row: 1; }
  .work-attachment-item .work-attachment-download { grid-column: 2; grid-row: 2; }
  .work-attachment-item button { grid-column: 3; grid-row: 2; }
  .brand-logo { width: 128px; }
  .account-pill { display: none; }
  .topbar { height: 114px; }
  .plan-approval-actions { align-items: stretch; flex-direction: column; }
  .plan-approval-actions button { width: 100%; }
  .work-assignment-bar { grid-template-columns: 1fr; }
  .work-notification-bar, .work-attachment-heading { align-items: flex-start; flex-direction: column; }
  .work-notification-actions, .work-upload-button { width: 100%; }
  .work-notification-actions { flex-wrap: wrap; }
  .work-notification-actions select { width: 100%; }
  .work-notification-actions button { flex: 1; }
  .weekly-agenda { padding: 18px 14px; }
  .weekly-agenda-list { grid-template-columns: 1fr; }
  .weekly-agenda-day { grid-template-columns: 62px minmax(0,1fr); }
  .weekly-agenda-actions { grid-template-columns: 1fr; }
  .production-board-tools { align-items: stretch; flex-direction: column; }
  .new-standalone-work, .personal-voice-trigger { width: 100%; }
  .production-mode-toggle { width: 100%; }
  .production-mode-toggle button { flex: 1; padding: 0 9px; }
  .production-filters { flex-direction: column; }
  .production-client-group > summary { min-height: 0; padding: 15px; grid-template-columns: minmax(0,1fr) 22px; gap: 10px; }
  .production-client-metrics { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .production-client-chevron { grid-column: 2; grid-row: 1; }
  .production-client-actions { padding: 0 15px 13px; flex-direction: column; }
  .production-client-actions a, .production-client-actions button { width: 100%; justify-content: center; }
  .production-client-table-wrap { overflow: visible; }
  .production-client-table, .production-client-table tbody, .production-client-table tr, .production-client-table td { display: block; width: 100%; }
  .production-client-table thead { display: none; }
  .production-client-table tbody { padding: 0 12px 12px; }
  .production-client-table tr { margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
  .production-client-table tr.production-service-group { padding: 0; border: 0; border-radius: 9px; }
  .production-client-table .production-service-group th { width: 100%; display: block; box-sizing: border-box; border-radius: 9px; }
  .production-client-table td { min-height: 30px; padding: 6px 0 6px 42%; display: grid; align-items: center; border: 0; position: relative; font-size: 13px; }
  .production-client-table td::before { content: attr(data-label); position: absolute; left: 0; width: 38%; color: var(--muted); font-size: 12px; font-weight: 850; }
  .production-client-table td strong { min-width: 0; }
  .production-client-table td:last-child { padding-left: 0; }
  .production-client-table td:last-child::before { display: none; }
  .production-row-open { width: 100%; margin-top: 4px; }
  .personal-voice-header { padding: 21px 20px 17px; }
  .personal-voice-body { padding: 24px 18px; }
  .personal-voice-preview { grid-template-columns: 1fr; }
  .personal-voice-footer { padding: 14px 18px; align-items: flex-start; flex-direction: column; }
  .personal-voice-footer button { width: 100%; }
  .app-nav { padding: 3px; }
  .nav-tab { min-height: 32px; padding: 0 8px; font-size: 9px; }
  .nav-tab span { min-width: 15px; height: 15px; padding: 0 4px; }
  .hero h1 { font-size: 44px; }
  .hero-stats { width: 100%; }
  .hero-stats div { flex: 1; min-width: 0; }
  .config-panel { padding: 26px 18px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .frequency-grid { grid-template-columns: repeat(2, 1fr); }
  .result-actions { width: 100%; }
  .primary-action, .secondary-action { flex: 1; padding: 0 10px; }
  .plan-header h2 { font-size: 31px; }
  .creative-insight-grid, .creative-detail-grid, .creative-topic-list { grid-template-columns: 1fr; }
  .creative-topics-block { grid-column: auto; }
  .creative-brief-label button { width: 100%; margin-left: 36px; }
  .topic-builder-heading { align-items: stretch; flex-direction: column; }
  .topic-builder-heading button { width: 100%; }
  .topic-inputs { grid-template-columns: 1fr; }
  .topic-inputs label:last-child { grid-column: auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .content-heading { align-items: flex-start; flex-direction: column; }
  .content-heading > p { text-align: left; }
  .week-block { grid-template-columns: 1fr; padding: 15px 0; }
  .week-title { padding: 0 0 9px; flex-direction: row; align-items: baseline; gap: 7px; }
  .week-items { padding: 0; border-left: 0; }
  .conversion-strip { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .form-grid.two-columns { grid-template-columns: 1fr; gap: 0; }
  .appointment-extra-day { grid-template-columns: 1fr 1fr auto; }
  .ideas-client-row { grid-template-columns: 1fr; gap: 0; }
  .ideas-card-heading, .ideas-actions { align-items: stretch; flex-direction: column; }
  .creative-import-heading, .creative-import-actions { align-items: stretch; flex-direction: column; }
  .creative-import-actions button { width: 100%; }
  .ideas-open-chatgpt { width: 100%; min-width: 0; }
  .ideas-status { text-align: left; }
  .client-form-heading, .library-heading { align-items: flex-start; flex-direction: column; }
  .client-card-header { align-items: flex-start; flex-wrap: wrap; }
  .client-goal { margin-left: 55px; }
  .schedule-board-heading { align-items: flex-start; flex-direction: column; }
  .schedule-filters { justify-content: flex-start; }
  .appointment-card { grid-template-columns: 62px minmax(0, 1fr); }
  .appointment-actions .whatsapp-action { width: 100%; flex-basis: 100%; }
  .collaborator-list { grid-template-columns: 1fr; }
  .production-summary div { min-width: 0; padding: 14px 7px; }
  .work-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
  .work-dialog-shell { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .work-dialog-header, .work-tab-panel, .standalone-form-body, .work-dialog-footer { padding-left: 18px; padding-right: 18px; }
  .work-assignment-bar { padding-left: 18px; padding-right: 18px; grid-template-columns: 1fr; }
  .work-notification-bar { align-items: flex-start; flex-direction: column; padding-left: 18px; padding-right: 18px; }
  .work-tabs { padding: 14px 18px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-approval-callout { margin: 12px 18px; padding: 12px; grid-template-columns: 36px minmax(0,1fr); }
  .work-approval-callout button { grid-column: 1 / -1; width: 100%; }
  .approval-materials-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .approval-materials-shell { max-height: calc(100dvh - 16px); }
  .approval-materials-header, .approval-materials-body, .approval-materials-footer { padding-left: 18px; padding-right: 18px; }
  .approval-materials-footer { align-items: stretch; flex-direction: column; }
  .approval-materials-footer .save-client-button { width: 100%; }
  .work-section-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .work-section-shell { max-height: calc(100dvh - 16px); }
  .work-section-header, .work-section-body, .work-section-footer { padding-left: 18px; padding-right: 18px; }
  .work-section-footer { align-items: stretch; flex-direction: column; }
  .work-section-footer .save-client-button { width: 100%; }
  .workflow-stage { overflow: visible; }
  .work-dialog-footer { align-items: stretch; flex-direction: column; }
  .work-dialog-footer .save-client-button { width: 100%; }
  .work-dialog-actions { width: 100%; flex-direction: column-reverse; align-items: stretch; }
  .duplicate-work-button, .delete-work-button { width: 100%; }
}

@media print {
  body { background: white; }
  .topbar, .hero, .config-panel, .result-topline, footer { display: none !important; }
  .workspace { width: 100%; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .result-panel { background: white; color: var(--ink); }
  .plan-header, .strategy-card, .metric-card, .creative-section, .creative-insight, .creative-detail-grid > div, .pillars-section, .calendar-section, .content-details-section, .content-detail-card, .content-detail-block, .conversion-strip > div { color: var(--ink); background: white; }
  .strategic-grid, .conversion-strip { background: #ddd; }
  .strategy-card > p, .content-heading > p, .calendar-copy p, .conversion-strip strong { color: #47414f; }
  .creative-command-result { color: var(--ink); background: white; }
  .creative-command-result strong, .creative-insight strong, .creative-chips i, .creative-topic-list p { color: var(--ink); }
  .pillar { border-color: #ccc; }
  .pillar p, .calendar-copy p { color: var(--ink); }
  .week-block, .weeks, .week-items { border-color: #ccc; }
  .calendar-copy span, .week-title span { color: #777; }
  .week-title strong, .pillar-head strong { color: var(--purple); }
  .plan-tags span { color: var(--ink); border-color: #bbb; }
  .content-detail-card header h4, .content-detail-block pre { color: var(--ink); }
  .content-detail-card { margin-bottom: 12px; break-inside: avoid; border-color: #bbb; }
  .content-detail-card > header { border-color: #ccc; }
  .pillars-section, .calendar-section { break-inside: avoid; }
}
.workflow-heading-status{align-items:flex-end!important;flex:0 0 auto}.workflow-heading-status #workflow-auto-save-status{padding:4px 8px;border-radius:999px;background:#eaf7ef;color:#18794e;font-size:8px;font-weight:900;white-space:nowrap}.workflow-heading-status #workflow-auto-save-status.is-saving{background:#fff1d6;color:#9a5a00}.workflow-heading-status #workflow-auto-save-status.is-error{background:#ffe8e5;color:#a52b21}
.workflow-comment{height:36px;padding:0 12px;border:1px solid #8161bd;border-radius:8px;background:#f5f0ff;color:#6540a5;font-weight:800;cursor:pointer}.workflow-comment.has-comment{background:#e9ddff;box-shadow:inset 0 0 0 1px #8161bd}.alteration-comment-shell{width:min(680px,calc(100vw - 32px))}
.finance-view{padding:24px;background:#f5f3ef;color:#202024;border-radius:16px}.finance-head,.finance-tabs,.finance-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.finance-head h1{margin:8px 0}.finance-head>div{margin-right:auto}.finance-head span{color:#b65012;font-size:12px}.finance-view button,.finance-view input,.finance-view select,.finance-view textarea{font:inherit;padding:10px;border:1px solid #d9d6d0;border-radius:8px;background:white;color:#222}.finance-view button{cursor:pointer}.finance-view button.active,#finance-new,.finance-form button[type=submit]{background:#202020;color:white}.finance-tabs{margin:20px 0}.finance-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.finance-metrics article,#finance-editor{padding:20px;background:white;border:1px solid #e3dfda;border-radius:12px}.finance-metrics h2{margin:12px 0 0}.finance-summary{padding:20px 0}.finance-scroll{overflow-x:auto;background:white;border-radius:12px;padding:12px}.finance-view table{width:100%;border-collapse:collapse;text-align:left}.finance-view th,.finance-view td{padding:13px 9px;border-bottom:1px solid #eee;font-size:13px}.finance-view td small{display:block;color:#666;margin-top:5px}.finance-form,.finance-sub-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.finance-form label,.finance-head label{display:grid;gap:6px}.finance-sub-fields{grid-column:1/-1}.finance-sub-fields p{grid-column:1/-1;color:#666;font-size:13px}#finance-editor{margin-top:20px}#finance-feedback{min-height:24px}@media(max-width:700px){.finance-metrics,.finance-form,.finance-sub-fields{grid-template-columns:1fr}.finance-view{padding:14px}.finance-view h2{font-size:22px}}
.finance-category{margin:14px 0;background:#fff;border:1px solid #e3dfda;border-radius:12px;overflow:hidden}.finance-category summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:18px 20px;cursor:pointer;background:#fdfbf8}.finance-category summary::-webkit-details-marker{display:none}.finance-category summary>span{display:grid;grid-template-columns:16px 1fr;gap:5px 8px}.finance-category summary>span:before{content:'▸';grid-row:1/3;color:#b65012}.finance-category[open] summary>span:before{content:'▾'}.finance-category summary small{grid-column:2;font-size:12px;color:#666}.finance-category summary b{white-space:nowrap;font-size:17px}.finance-category .finance-scroll{border-radius:0}.finance-category summary:focus-visible{outline:3px solid #b65012;outline-offset:-3px}@media(max-width:500px){.finance-category summary{padding:15px 12px;align-items:flex-start;flex-wrap:wrap}.finance-category summary b{margin-left:24px}}
.finance-view button.finance-receive{background:#168363;color:#fff;border-color:#168363}.finance-view button:disabled{opacity:.6;cursor:wait}.finance-view input:disabled{background:#eeece7;color:#666}
.agenda-sync-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px;border:1px solid #dedbd5;border-radius:12px;background:#fff;font-size:13px}.agenda-sync-bar button,.agenda-sync-conflict button{padding:8px 12px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#222;cursor:pointer}#appointment-sync-status[data-state=synced]{color:#167552}#appointment-sync-status[data-state=conflict]{color:#a34412}.agenda-sync-conflict{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;background:#fff3df;margin:8px 0;border-radius:12px;font-size:13px}

.intake-approvals{margin:20px 0;padding:24px;background:#fff8ed;border:1px solid #edc383;border-radius:18px}.intake-approvals h2{margin:0 0 8px;font-size:21px}.intake-card{padding:16px 0;border-top:1px solid #eadbca;display:flex;gap:16px;justify-content:space-between;align-items:center}.intake-card p{font-size:13px;margin:6px 0;color:#665546}.intake-card button{padding:9px 12px;border:1px solid #d8b585;border-radius:8px;background:#fff;margin:4px;cursor:pointer}.intake-card button[data-intake-decision="approve"]{background:#ff8200;color:#111;font-weight:700}@media(max-width:700px){.intake-card{display:block}}

/* Priority controls retain the established Planner layout. */
.production-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.task-priority-button,.task-priority-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid #dacfc5;border-radius:8px;background:#fff;color:#715c4b;font:700 12px/1.2 "Manrope",sans-serif;cursor:pointer}.task-priority-button svg,.task-priority-label svg{flex:0 0 17px}.task-priority-button.is-priority,.task-priority-label{background:#fff0eb;color:#b53622;border-color:#e7aa98}.task-priority-button:disabled{opacity:.5;cursor:wait}.production-client-table tr.is-priority{background:#fff8f3;box-shadow:inset 3px 0 #d84c2f}.board-task-shell.is-priority{border-color:#d84c2f;box-shadow:inset 3px 0 #d84c2f}.board-task-shell>.task-priority-button{margin:0 10px 10px}

.production-deadline-input{font:inherit;color:inherit;border:1px solid var(--line);border-radius:6px;padding:6px;background:transparent;width:140px;max-width:100%;box-sizing:border-box}.production-deadline-input:disabled{opacity:.6}

/* Fit the existing table into the client panel without horizontal scrolling. */
.production-view,.production-board-section,.production-client-groups,.production-client-group,.production-client-table-wrap{min-width:0;max-width:100%;box-sizing:border-box}
.production-client-table-wrap{overflow-x:visible}
.production-client-table{table-layout:fixed;width:100%}
.production-client-table th,.production-client-table td{overflow-wrap:anywhere;white-space:normal}
.production-client-table td strong{min-width:0}
.production-stage-chip{white-space:normal;max-width:100%;box-sizing:border-box}
.production-client-table .production-deadline-input{width:100%;min-width:0;max-width:100%;padding:6px 3px}
.production-row-actions{min-width:0}
.production-row-actions .task-priority-button{max-width:100%;min-width:0;flex-wrap:wrap}
@media(min-width:521px){
 .production-client-table th,.production-client-table td{padding-left:8px;padding-right:8px}
 .production-client-table thead th:nth-last-child(8){width:24%}
 .production-client-table thead th:nth-last-child(7){width:8%}
 .production-client-table thead th:nth-last-child(6){width:13%}
 .production-client-table thead th:nth-last-child(5){width:11%}
 .production-client-table thead th:nth-last-child(4){width:15%}
 .production-client-table thead th:nth-last-child(3){width:7%}
 .production-client-table thead th:nth-last-child(2){width:9%}
 .production-client-table thead th:last-child{width:13%}
 .production-client-table:has(thead th:nth-child(9)) thead th:first-child{width:4%}
 .production-client-table:has(thead th:nth-child(9)) thead th:nth-child(2){width:20%}
}
@media(max-width:520px){.production-client-table,.production-client-table tbody,.production-client-table tr,.production-client-table td{box-sizing:border-box}.production-client-table .production-deadline-input{width:140px}}

/* Keep labels intact and actions compact within the established table. */
.production-client-table th,.production-client-table td{overflow-wrap:normal;word-break:normal;hyphens:none}
.production-client-table thead th{font-size:11px;line-height:1.3;white-space:nowrap;padding:12px 6px;letter-spacing:0}
.production-client-table td{padding:14px 8px}
.production-client-table td strong{overflow-wrap:break-word}
.production-client-table .production-row-actions{gap:6px;align-items:center}
.production-client-table .task-priority-button{font-size:0;width:32px;min-height:32px;padding:6px;flex:0 0 32px;gap:0}
.production-client-table .task-priority-button svg{width:17px;height:17px}
.production-client-table .production-row-open{min-height:32px;padding:0 10px;font-size:11px}
@media(min-width:521px){
.production-client-table thead th:nth-last-child(8){width:24%}
.production-client-table thead th:nth-last-child(7){width:8%}
.production-client-table thead th:nth-last-child(6){width:13%}
.production-client-table thead th:nth-last-child(5){width:11%}
.production-client-table thead th:nth-last-child(4){width:15%}
.production-client-table thead th:nth-last-child(3){width:8%}
.production-client-table thead th:nth-last-child(2){width:10%}
.production-client-table thead th:last-child{width:11%}
.production-client-table:has(thead th:nth-child(9)) thead th:nth-child(2){width:20%}
}
@media(max-width:520px){.production-client-table td{padding:6px 0 6px 42%}.production-client-table td:last-child{padding-left:0}.production-client-table .production-row-open{width:auto}}

.overdue-task-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.overdue-task-row{display:flex;align-items:center;gap:16px;padding:16px 18px;width:100%;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;color:var(--ink);cursor:pointer}.overdue-task-row:last-child{border-bottom:0}.overdue-task-row>span{flex:1;min-width:0}.overdue-task-row strong,.overdue-task-row small{display:block}.overdue-task-row strong{margin:5px 0;font-size:14px}.overdue-task-row small{color:var(--muted);font-size:12px}.overdue-task-row time{color:#b23b24;font-size:13px;white-space:nowrap}.overdue-task-row:hover{background:#fff8f0}

.overdue-list-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.overdue-list-tools button{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:700;cursor:pointer}.overdue-list-tools span{font-size:12px;color:var(--muted)}
