:root{--ivory:#f7f4ed;--paper:#fffdf8;--ink:#1f211f;--muted:#6f7380;--sage:#171a3d;--sage-dark:#56619a;--line:#dfe2ec;--gold:#c7a66a;--shadow:0 14px 40px rgba(17,21,47,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font-family:Arial,sans-serif}button,a,input,textarea,select{font:inherit}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:270px;background:#0d1028;color:#fff;padding:26px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:4px 8px 28px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--sage);display:grid;place-items:center;font-weight:800;font-size:20px}.brand strong,.brand span,.profile strong,.profile span{display:block}.brand span,.profile span{font-size:11px;color:#b7bbcf;margin-top:4px}.brand strong{font-size:15px}nav{display:grid;gap:5px}.nav-item{color:#c9cdc6;text-decoration:none;padding:11px 12px;border-radius:10px;display:flex;gap:11px;align-items:center;font-size:14px}.nav-item:hover,.nav-item.active{background:#171c46;color:#fff}.nav-item.active{box-shadow:inset 3px 0 #7d89d8}.sidebar-bottom{margin-top:auto;display:grid;gap:14px}.profile{border-top:1px solid #282d4d;padding:18px 8px 0;display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:var(--sage);display:grid;place-items:center;font-size:11px;font-weight:bold}.main{margin-left:270px;width:calc(100% - 270px);padding:38px 52px 80px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--sage-dark);font-weight:800}h1,h2,h3{font-family:Georgia,serif;font-weight:500;margin:7px 0}h1{font-size:32px}h2{font-size:44px;line-height:1.08}h3{font-size:25px}.primary,.secondary{border-radius:10px;padding:12px 18px;cursor:pointer}.primary{background:var(--sage);color:#fff;border:0;font-weight:700}.secondary{background:transparent;border:1px solid var(--line);color:var(--ink)}.hero{background:linear-gradient(120deg,#eef0f8,#dfe3f5);border:1px solid var(--line);border-radius:22px;padding:42px;display:grid;grid-template-columns:1.6fr 1fr;gap:35px;box-shadow:var(--shadow)}.hero p{max-width:610px;color:var(--muted);line-height:1.7}.hero-actions{display:flex;gap:10px;margin-top:24px}.hero-card{background:rgba(255,253,248,.8);border-radius:17px;padding:24px;align-self:center}.hero-card strong{display:block;font-family:Georgia,serif;font-size:21px;margin:12px 0}.hero-card p{font-size:13px}.mini-label{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.status,.draft-state{display:inline-block;font-size:11px;background:#e5e8f5;color:#4e5a94;padding:7px 9px;border-radius:20px}.section{margin-top:42px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.editor-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.editor-panel,.preview-panel,.approval-bar,.schedule-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:24px}.field-row{display:grid;grid-template-columns:1.5fr 1fr;gap:14px}label{display:grid;gap:7px;font-size:12px;font-weight:700;margin-bottom:16px}input,textarea,select{width:100%;border:1px solid var(--line);background:#fffefb;border-radius:10px;padding:12px;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--sage)}textarea{resize:vertical;line-height:1.6}.editor-actions{display:flex;gap:9px}.preview-panel{display:flex;flex-direction:column}.preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.preview-head strong{display:block;font-family:Georgia,serif;font-size:18px;margin-top:4px}.content-editor{min-height:330px;flex:1;font-size:15px}.editor-tools{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 18px}.editor-tools button{border:1px solid var(--line);background:#f8f6ef;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:12px}.personal-box{border-top:1px solid var(--line);padding-top:18px}.personal-box span{font-family:Georgia,serif;font-size:17px}.approval-bar{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:20px;align-items:center}.approval-bar strong,.approval-bar small{display:block}.approval-bar small,.schedule-card small{color:var(--muted);margin-top:5px}.schedule-card{display:flex;align-items:center;gap:15px}.schedule-card>div{margin-right:auto}.schedule-card input{max-width:230px}.grid{display:grid;gap:14px}.grid.three{grid-template-columns:repeat(3,1fr)}.account-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;align-items:center;gap:12px}.platform{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-weight:800;background:#e9ebf5;color:#4e5a94}.account-card small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.account-card .dot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#d1d5cf}.text-button{border:0;background:none;color:var(--sage-dark);font-weight:700;cursor:pointer}.workflow{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:18px;display:flex;align-items:center;gap:12px;overflow:auto}.workflow-step{min-width:210px;display:flex;align-items:center;gap:12px}.workflow-step>span{width:32px;height:32px;border-radius:50%;background:#e8eaf5;color:#4e5a94;display:grid;place-items:center;font-weight:700}.workflow-step small{display:block;color:var(--muted);font-size:9px;letter-spacing:1.3px}.workflow-step strong{display:block;margin-top:5px;font-size:13px}.arrow{color:#aaa}.toast{position:fixed;right:25px;bottom:25px;background:#0d1028;color:#fff;padding:13px 17px;border-radius:10px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1050px){.editor-layout{grid-template-columns:1fr}.approval-bar{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:1fr}.hero{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{position:static;width:100%;height:auto}.app{display:block}.main{margin:0;width:100%;padding:25px}.sidebar nav{display:none}.topbar{display:block}.topbar .primary{margin-top:15px}.hero{padding:28px}h2{font-size:34px}.field-row{grid-template-columns:1fr}.approval-bar{grid-template-columns:1fr}.schedule-card{display:block}.schedule-card input{max-width:none;margin:15px 0}}

.production-section{border-top:1px solid #e2e6e0}.production-intro{color:#666;margin-top:-8px}.production-toolbar{display:flex;gap:8px;margin:16px 0}.production-board{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:10px;overflow-x:auto}.production-column{background:#eef2ed;border:1px solid #dce3da;min-height:250px;padding:10px}.production-column-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.production-column-head span{font-size:11px;background:#fff;padding:3px 7px}.production-card{background:#fff;border:1px solid #ddd;padding:11px;margin-bottom:8px;box-shadow:0 4px 12px rgba(0,0,0,.03)}.production-card strong{display:block;font-size:14px;margin-bottom:5px}.production-card small{display:block;color:#777;font-size:11px}.production-card p{font-size:12px;color:#555;line-height:1.4}.production-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.production-card-actions .text-button{padding:5px 7px}.production-card select{width:100%;padding:7px;border:1px solid #ccc;background:#fff;margin:5px 0;font:inherit;font-size:11px}.production-card .text-button{font-size:11px;padding:3px 0}.production-editor{margin-top:18px;padding:20px;background:#fff;border:1px solid #ddd}.production-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.production-fields label{font-size:12px;font-weight:700}.production-fields input,.production-fields select,.production-fields textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #ccc;background:#fff;font:inherit}.production-fields .full{grid-column:1/-1}@media(max-width:1000px){.production-board{grid-template-columns:repeat(5,220px)}}@media(max-width:650px){.production-fields{grid-template-columns:1fr}.production-fields .full{grid-column:auto}}

.content-package-section{background:linear-gradient(135deg,#fffdf8,#f1f3ef);border:1px solid var(--line);border-radius:18px}.package-summary,.package-step{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.package-summary p{min-height:70px;color:var(--muted);line-height:1.55}.package-step p{min-height:52px;color:var(--muted);font-size:13px;line-height:1.45}.package-link{display:inline-block;text-decoration:none}.package-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:12px}@media(max-width:1050px){.package-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.package-grid{grid-template-columns:1fr}}

/* Content Package progress */
.package-progress{margin-top:18px}.package-progress strong{display:block;font-size:12px;margin-bottom:8px}.package-progress-bar{height:7px;background:#e7ebe6;border-radius:99px;overflow:hidden}.package-progress-bar span{display:block;width:0;height:100%;background:var(--sage);transition:width .2s}.package-progress small{display:block;color:var(--muted);margin-top:6px}.package-check{display:flex!important;align-items:center;gap:7px;font-size:11px!important;font-weight:600!important;color:var(--ink);margin:8px 0}.package-check input{accent-color:var(--sage)}.package-check span{font-weight:600}

/* 3D Mockup Generator handoff styles */
.prompt-lab{border:1px solid rgba(142,163,134,.35);border-radius:14px;padding:14px;background:rgba(255,255,255,.55)}
.lab-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}
.lab-heading strong{font-size:14px}.lab-heading span{font-size:10px;color:#777}
.three-d-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.prompt-output{width:100%;min-height:110px;margin-top:10px;resize:vertical;border:1px solid #d8ddd8;border-radius:10px;padding:10px;font:12px/1.5 inherit;background:#fff}
#copy3DPrompt{margin-top:8px;width:100%}

/* AI 3D Generator */
.ai-3d-lab{border:1px solid rgba(109,157,180,.35);border-radius:14px;padding:14px;background:rgba(255,255,255,.55)}
.ai-brief-output{margin-top:12px}.ai-brief-output label{display:block;font-size:10px;font-weight:700;margin:9px 0 5px}
.ai-brief-output textarea{width:100%;resize:vertical;border:1px solid #d8ddd8;border-radius:10px;padding:10px;font:12px/1.5 inherit;background:#fff}
.ai-brief-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
