:root{--ink:#202333;--muted:#777d90;--line:#e9ebf2;--violet:#5650df;--bg:#f7f8fc;--radius:17px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 'Inter','IBM Plex Sans Thai',sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #9b94fb;outline-offset:4px}button:disabled{cursor:default;opacity:.55}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-.8px;line-height:1.45}h2{font-size:18px;font-weight:600}h3{font-size:16px;font-weight:600}small{font-size:12px}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:30px 20px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;font-size:25px;font-weight:750;letter-spacing:-.8px;padding:0 9px}.brandmark{background:var(--violet);color:white;border-radius:12px;font-size:37px;font-weight:800;line-height:44px;text-align:center;width:44px;height:44px;letter-spacing:-6px;padding-right:5px}.brandmark span{color:#baf08e;font-size:25px}.brand-sub{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:600;margin-top:-5px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px 9px;margin-top:33px;font-size:13px}.workspace small,.profile small{display:block;color:var(--muted)}.workspace-icon{width:33px;height:33px;display:grid;place-items:center;background:#eef0ff;color:var(--violet);border-radius:9px;font-weight:700}.workspace-tag{font-size:9px;margin-left:auto;color:var(--muted)}.navlabel{font-size:10px;letter-spacing:1.8px;color:#9094a3;margin:27px 12px 12px}nav a{display:flex;align-items:center;gap:13px;padding:12px;border-radius:9px;color:#717587;font-size:14px;margin-bottom:6px}nav a>span{font-size:21px;line-height:1}nav a.active{background:#eeedfc;color:#5148cc;font-weight:600}nav a b{margin-left:auto;background:#dfdcfc;border-radius:6px;font-size:11px;padding:0 7px}.side-note{margin:auto 0 24px;padding:18px;background:#f5f5fc;border-radius:14px}.mini-spark{display:block;color:var(--violet);font-size:27px}.side-note strong{font-size:14px}.side-note p{font-size:13px;color:var(--muted);margin:5px 0 12px}.side-note a{font-size:12px;color:var(--violet);display:flex;justify-content:space-between}.profile{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;gap:10px;font-size:13px}.profile>span:last-child{margin-left:auto}.avatar{width:35px;height:35px;border-radius:50%;background:#ede5d9;color:#6f5941;display:grid;place-items:center;font-weight:600}.avatar.small{width:31px;height:31px;font-size:12px}.shell{margin-left:248px}header{height:76px;background:#ffffffcc;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb span{padding:0 15px;color:#bbb}.breadcrumb strong{font-weight:500;color:#464b5c}.header-right{display:flex;align-items:center;gap:22px}.demo-label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.demo-label i{height:6px;width:6px;border-radius:50%;background:#a3a1cb}main{max-width:1530px;margin:auto;padding:34px 40px 24px;min-height:calc(100vh - 138px)}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--violet);font-weight:600;margin-bottom:7px}.subtitle{font-size:14px;color:var(--muted);margin-top:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:white;border-radius:9px;padding:10px 16px;font-size:14px;font-weight:500;color:#51566a;min-height:43px}.button.primary{background:var(--violet);color:white;border-color:var(--violet);box-shadow:0 4px 9px #5650df18}.button.primary:hover{background:#443dc1}.button:hover{border-color:#c6c2ec}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:18px 21px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#6b7286}.stat-icon{width:30px;height:30px;border-radius:9px;background:#f4f3fe;display:grid;place-items:center;color:var(--violet);font-size:18px}.stat-number{font-size:31px;font-weight:650;letter-spacing:-1px;line-height:1.5;margin-top:9px}.stat-number small{font-size:13px;color:#8c91a0;font-weight:400;letter-spacing:0;margin-left:5px}.stat-foot{font-size:12px;color:#8c91a0}.stat-foot strong{color:#3d9879;font-weight:500}.board{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.text-link{border:0;background:none;color:var(--violet);font-size:13px;cursor:pointer}.count{display:inline-grid;place-items:center;background:#efedff;color:var(--violet);border-radius:6px;font-size:12px;padding:0 7px;margin-left:7px}.creative-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.creative-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white;text-align:left;padding:0;transition:transform .18s,box-shadow .18s;min-width:0;color:var(--ink)}.creative-card:hover{transform:translateY(-3px);box-shadow:0 9px 20px #2b23550b}.poster{aspect-ratio:1.05;display:flex;flex-direction:column;padding:19px;position:relative;overflow:hidden;justify-content:space-between}.poster .poster-brand{font-size:10px;letter-spacing:.4px;font-weight:600;opacity:.8}.poster h3{font-size:clamp(19px,1.65vw,26px);line-height:1.35;letter-spacing:-.7px;position:relative}.poster p{font-size:10px;opacity:.8;margin-top:6px}.poster .poster-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px}.poster .poster-bottom span{border:1px solid currentColor;border-radius:20px;padding:4px 9px}.poster.violet{background:#302b70;color:#fff}.poster.violet .bigtype{font-size:62px;line-height:1.1;color:#c6f399;font-weight:750;letter-spacing:-4px;margin:3px 0}.poster.lime{background:#e4f2be;color:#243f30}.poster.lime .word{font-size:34px;letter-spacing:-1.8px;line-height:1.3;font-weight:600}.poster.lime .phonetic{font-size:11px;letter-spacing:.5px;opacity:.6}.poster.cream{background:#f2e5d6;color:#473c37}.sound{display:flex;align-items:center;justify-content:center;gap:5px;height:53px}.sound i{width:5px;border-radius:5px;background:#726154;height:var(--h)}.poster-label{position:absolute;top:12px;right:12px;background:#ffffffdb;color:#38344e;border-radius:5px;font-size:9px;padding:2px 6px}.creative-body{padding:13px}.creative-body h3{font-size:13px;line-height:1.6;margin:7px 0}.badge{font-size:11px;padding:3px 8px;display:inline-block;border-radius:5px;background:#fff5df;color:#a47425;white-space:nowrap}.badge.approved{background:#e8f6f0;color:#288168}.badge.changes{background:#fff0eb;color:#b36549}.badge.draft{background:#f0f0f5;color:#7c7f90}.card-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.facebook{display:inline-grid;place-items:center;border-radius:50%;background:#edf2ff;color:#4c72bc;width:16px;height:16px;font-weight:700;font-family:Arial}.insight{margin-top:19px;display:flex;align-items:flex-start;gap:12px;background:#f7f7fd;padding:14px;border-radius:10px}.insight>span{color:var(--violet);font-size:22px}.insight h3{font-size:13px}.insight p{font-size:12px;color:var(--muted);margin-top:3px}.schedule-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.schedule-item:last-child{border:0;padding-bottom:0}.datebox{min-width:42px;height:51px;background:#f6f7fb;border-radius:8px;text-align:center;line-height:1.4;padding-top:4px;color:#55596e}.datebox small{font-size:9px;display:block}.datebox strong{font-size:20px}.schedule-item h3{font-size:13px}.schedule-item p{font-size:11px;color:var(--muted);margin-top:4px}.schedule-item .badge{margin-top:6px}.balance{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.balance h3{font-size:13px}.balancebar{height:9px;border-radius:10px;overflow:hidden;display:flex;margin:13px 0}.balancebar i:nth-child(1){background:#625cdb;width:40%}.balancebar i:nth-child(2){background:#a7a3ec;width:30%}.balancebar i:nth-child(3){background:#c6e9a4;width:30%}.legend{display:flex;gap:11px;font-size:10px;color:var(--muted);flex-wrap:wrap}.legend i{display:inline-block;width:6px;height:6px;background:var(--c);border-radius:2px;margin-right:4px}.bottom-panel{margin-top:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;background:#eeedfa;border:1px solid #e4e1f8;border-radius:14px}.bottom-panel h3{font-size:15px}.bottom-panel p{font-size:12px;color:#78748c;margin-top:3px}.bottom-panel .button{background:transparent;border-color:#d5d1ed;white-space:nowrap}footer{display:flex;gap:20px;padding:18px 40px;color:#999dad;font-size:10px}footer span:last-child{margin-left:auto}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.segmented{display:flex;padding:4px;background:#f0f1f7;border-radius:9px;gap:3px}.segmented button{border:0;background:transparent;padding:6px 13px;border-radius:6px;font-size:13px;color:#7c8092}.segmented button.selected{background:white;color:var(--violet);box-shadow:0 1px 3px #0000000b}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}.weekday{padding:10px;text-align:center;font-size:12px;color:var(--muted);background:#fbfbfe}.day{min-height:130px;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:9px;min-width:0}.day:nth-child(7n){border-right:0}.daynum{font-size:12px;color:#999cad;display:block;margin-bottom:8px}.day.today .daynum{background:var(--violet);color:white;border-radius:50%;width:25px;text-align:center}.day.dim{background:#fcfcfe}.calendar-post{border:0;border-radius:6px;border-left:3px solid #b3acfa;background:#f0eefd;color:#514b88;text-align:left;padding:7px;font-size:10px;width:100%;line-height:1.5;cursor:pointer}.calendar-post.approved{background:#eef7e8;border-left-color:#a4cb88;color:#4b7043}.calendar-post small{font-size:9px;display:block;opacity:.7}.list-row{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}.list-row .details{flex:1}.list-row p{font-size:13px;color:var(--muted)}.review-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}.review-list{padding:9px;height:fit-content}.review-item{width:100%;display:flex;gap:12px;padding:13px 10px;border:1px solid transparent;background:white;border-radius:10px;text-align:left;color:var(--ink);margin-bottom:5px}.review-item.selected{background:#f4f2ff;border-color:#e1defa}.mini-poster{width:49px;height:60px;border-radius:7px;background:#322b72;color:#d3f8a8;display:grid;place-items:center;font-size:20px;font-weight:700;flex-shrink:0}.mini-poster.lime{background:#e4f2be;color:#365040}.mini-poster.cream{background:#f2e5d6;color:#776150}.review-item h3{font-size:12px;margin:3px 0 6px}.review-item small{color:var(--muted);font-size:10px}.review-content{padding:25px}.review-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.preview-wrap{background:#f6f7fa;padding:17px;border-radius:12px}.social-preview{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.social-top{padding:12px;display:flex;gap:8px;align-items:center;font-size:11px}.social-top small{font-size:9px;display:block;color:var(--muted)}.social-caption{padding:0 12px 12px;font-size:11px;white-space:pre-line}.social-bottom{padding:9px;text-align:center;font-size:10px;color:#9296a4}.social-preview .poster h3{font-size:30px}.social-preview .poster .bigtype{font-size:83px}.preview-note{font-size:10px;color:#9296a4;margin-top:10px;text-align:center}.field-label{font-size:12px;color:#85899b;margin-bottom:7px;display:block}.review-details h2{font-size:21px;line-height:1.5;margin-bottom:16px}.review-details p{font-size:14px;line-height:1.9;white-space:pre-line}.detail-block{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}.detail-block:last-child{border:0}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:11px;border:1px solid var(--line);padding:3px 9px;border-radius:6px;color:#70768b}.approval-bar{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:13px}.approval-bar p{font-size:11px;color:var(--muted)}.actions{display:flex;gap:8px}.empty{padding:30px;color:var(--muted);text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#292640;color:white;box-shadow:0 8px 25px #0002;border-radius:10px;padding:13px 22px;font-size:14px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:18px;padding:26px;width:min(480px,calc(100vw - 30px));color:var(--ink)}dialog::backdrop{background:#17162c60;backdrop-filter:blur(3px)}dialog label{font-size:14px}textarea{width:100%;padding:12px;border:1px solid #d9dbea;border-radius:8px;margin:10px 0;resize:vertical;font-size:14px}dialog .muted{font-size:12px;color:var(--muted);margin-bottom:20px}.icon-button{border:0;background:none;font-size:25px;color:var(--muted)}
@media(min-width:1500px){.poster{padding:24px}.poster h3{font-size:28px}.poster .bigtype{font-size:76px}.poster .poster-brand{font-size:12px}.poster p{font-size:12px}.creative-body h3{font-size:15px}}@media(max-width:1200px){.sidebar{width:218px;padding:25px 14px}.shell{margin-left:218px}main{padding:26px}header{padding:0 26px}.board{grid-template-columns:minmax(0,1fr)}.board>.panel:last-child{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.board>.panel:last-child .section-heading{grid-column:1/-1;margin-bottom:0}.schedule-item{border:0;padding:0}.review-layout{grid-template-columns:210px minmax(0,1fr)}.review-columns{grid-template-columns:1fr}.review-details{margin-top:3px}.social-preview{max-width:380px;margin:auto}.approval-bar{flex-wrap:wrap}}@media(max-width:760px){body{font-size:16px}.sidebar{inset:auto 0 0;width:100%;height:73px;padding:5px 8px;background:#fffffff5;border-right:0;border-top:1px solid var(--line);backdrop-filter:blur(12px)}.sidebar>.brand,.workspace,.navlabel,.side-note,.profile{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}nav a{padding:7px 3px;margin:0;flex-direction:column;gap:4px;font-size:11px;position:relative}nav a b{position:absolute;right:13%;top:3px;font-size:10px}.shell{margin-left:0;padding-bottom:73px}header{height:58px;padding:0 19px}.breadcrumb{font-size:11px}.header-right{gap:10px}.demo-label{font-size:10px}.avatar.small{display:none}main{padding:23px 17px;min-height:calc(100vh - 160px)}h1{font-size:26px}.page-title{align-items:flex-start;gap:10px;margin-bottom:20px}.page-title>.button{padding:8px 10px;font-size:12px;min-height:38px;margin-top:25px}.subtitle{font-size:12px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:17px}.stat{padding:13px 15px;border-radius:12px}.stat-top{font-size:11px}.stat-icon{width:25px;height:25px;font-size:15px}.stat-number{font-size:27px}.stat-foot{font-size:10px}.panel{padding:17px;border-radius:14px}.section-heading h2{font-size:16px}.creative-grid{grid-template-columns:1fr}.creative-card{display:grid;grid-template-columns:110px 1fr}.poster{padding:12px;aspect-ratio:1/1.15}.poster h3{font-size:15px;letter-spacing:-.3px}.poster .poster-brand{font-size:7px}.poster .bigtype{font-size:33px!important;letter-spacing:-2px}.poster .poster-bottom{font-size:6px}.poster .poster-bottom span{padding:2px 4px}.poster p{font-size:6px}.poster.lime .word{font-size:19px;letter-spacing:-1px}.poster.lime .phonetic{font-size:7px}.poster-label{top:6px;right:6px;font-size:7px}.sound{height:30px;gap:3px}.sound i{width:3px;max-height:25px}.creative-body{padding:12px 14px;align-self:center}.creative-body h3{font-size:14px}.creative-body .badge{font-size:10px}.board{gap:17px}.board>.panel:last-child{display:block}.schedule-item{padding:14px 0;border-bottom:1px solid var(--line)}.board>.panel:last-child .section-heading{margin-bottom:3px}.bottom-panel{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.bottom-panel .button{width:100%}.balance{display:none}footer{padding:10px 17px;font-size:9px;flex-wrap:wrap;gap:6px}footer span:last-child{width:100%;margin-left:0}.calendar{grid-template-columns:repeat(7,minmax(0,1fr))}.day{min-height:86px;padding:3px}.weekday{padding:7px 1px;font-size:10px}.calendar-post{font-size:8px;padding:3px;border-left-width:2px;overflow-wrap:anywhere}.calendar-post small{font-size:7px}.daynum{font-size:10px;margin-bottom:3px}.calendar-panel{padding:10px}.review-layout{grid-template-columns:1fr;gap:14px}.review-list{display:flex;overflow-x:auto;padding:7px;gap:5px}.review-item{min-width:205px;width:205px;flex-shrink:0;margin:0;padding:8px}.review-content{padding:16px}.review-columns{gap:19px}.social-preview .poster{aspect-ratio:1.05;padding:24px}.social-preview .poster .poster-brand{font-size:12px}.social-preview .poster .bigtype{font-size:85px!important}.social-preview .poster h3{font-size:29px}.social-preview .poster .poster-bottom{font-size:11px}.social-preview .poster p{font-size:11px}.social-preview .poster .word{font-size:44px}.social-preview .poster .phonetic{font-size:14px}.social-preview .poster .sound{height:65px}.social-preview .poster .sound i{width:7px;max-height:60px}.approval-bar{align-items:stretch}.actions{width:100%}.actions .button{flex:1;padding:10px;font-size:13px}.list-row{gap:9px}.list-row .button{font-size:11px;padding:6px 9px}.list-row h3{font-size:13px}.list-row p{font-size:11px}.toolbar{gap:10px}.toolbar h2{font-size:16px}}

/* Video studio */
.video-scene{padding:18px;margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#fafaff}.video-scene .form-field{margin-top:12px}.video-scene textarea{min-height:90px}#video-dialog,#capture-dialog{width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto}#capture-preview:empty{min-height:80px}#capture-preview{margin-top:20px;max-height:45vh}a[hidden]{display:none!important}
@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(7,minmax(62px,1fr))!important;overflow-x:auto}.video-scene{padding:12px}.sidebar{height:82px!important}.shell{padding-bottom:82px!important}}

/* Media library: immutable originals and responsive review */
.media-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted);margin-bottom:24px}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.media-card{border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden;min-width:0}.media-open{border:0;background:#f0eff8;padding:0;width:100%;display:block}.media-preview{display:block;width:100%;max-height:65vh;object-fit:contain;background:#f0eff8}.media-preview.compact{aspect-ratio:1.2;max-height:280px;object-fit:contain}.media-info{padding:16px}.media-info h3{overflow-wrap:anywhere;font-size:14px;margin:10px 0 5px}.media-info p{font-size:12px;color:var(--muted)}.video-tile{aspect-ratio:1.2;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(140deg,#ddd9f9,#efedf7);color:#5a5288}.video-tile>span{font-size:30px;margin-bottom:8px}.video-tile small{color:var(--muted)}#media-dialog,#media-preview-dialog{width:min(720px,calc(100vw - 24px));max-height:90vh;overflow:auto}#media-preview-dialog h2{overflow-wrap:anywhere;max-width:90%}#media-preview-dialog .button{margin-top:15px}.media-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.media-choice{border:1px solid var(--line);border-radius:10px;padding:12px;font-size:13px;overflow-wrap:anywhere;cursor:pointer}.media-choice:has(input:checked){border-color:var(--violet);background:#f7f5ff}.media-choice input{accent-color:var(--violet);margin:5px 5px 12px 0}.media-choice .media-preview,.media-choice .video-tile{max-height:160px;margin-bottom:8px}.approval-caption{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 0}.history-media{max-width:340px}.history-media .media-preview{max-height:280px}.sidebar{overflow-y:auto}.side-note{margin-top:25px}.review-content,.review-details,.preview-wrap{min-width:0}.social-preview{overflow:hidden}.creative-card>.media-preview.compact,.creative-card>.video-tile{height:100%;width:100%}
@media(max-width:760px){.sidebar{overflow:visible}.sidebar nav{grid-template-columns:repeat(7,minmax(62px,1fr))!important}.sidebar nav a{font-size:9px!important}.media-grid{gap:12px}.media-info{padding:12px}.media-info h3{font-size:12px}.media-summary{font-size:12px}.media-preview.compact{max-height:190px}.video-tile strong{font-size:13px}.video-tile small{font-size:10px}.page-title:has(.btn-row){flex-wrap:wrap}.page-title .btn-row{max-width:none!important}.media-picker{grid-template-columns:1fr 1fr}.media-choice{padding:9px}.review-content .section-heading{gap:12px}.approval-bar .actions{flex-wrap:wrap}}

/* Phase 1: real workspace forms and states */
.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-story{background:#302b70;color:#fff;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-story h1{font-size:48px;line-height:1.3;max-width:500px}.auth-story p{margin-top:25px;color:#c8c5e9;max-width:380px}.auth-story .eyebrow{color:#c6f399;margin-bottom:24px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form form{width:100%;max-width:390px}.auth-form h2{font-size:27px;margin-bottom:6px}.form-field{display:block;margin-top:18px;font-size:14px;color:#666c7f}.form-field input,.form-field select,.form-field textarea,select.workspace-select{display:block;width:100%;margin-top:7px;border:1px solid #dce0eb;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font-size:15px}.form-field textarea{min-height:130px}.auth-form .button{width:100%;margin-top:24px}.form-error{color:#ad3d37;background:#fff0ed;padding:10px 13px;border-radius:8px;font-size:14px;margin-top:14px}.form-error:empty{display:none}.auth-switch{margin-top:18px;text-align:center;font-size:14px;color:var(--muted)}.auth-switch button{border:0;background:none;color:var(--violet);font:inherit}.workspace{display:block;padding:12px}.workspace-select{font-size:13px!important;margin:0!important;padding:8px!important;border:0!important}.workspace-add{background:none;border:0;color:var(--violet);font-size:12px;margin-top:7px;cursor:pointer}.profile button{border:0;background:none;font-size:12px;color:var(--muted);margin-left:auto}.mobile-workspace{display:none}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.editor-grid .wide{grid-column:1/-1}dialog#editor{width:min(680px,calc(100vw - 24px));max-height:90vh;overflow:auto}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.empty-state{border:1px dashed #d9d6ef;border-radius:14px;text-align:center;padding:40px 20px}.empty-state .empty-icon{font-size:34px;color:var(--violet)}.empty-state h3{margin:8px 0}.empty-state p{font-size:14px;color:var(--muted);margin-bottom:18px}.post-surface{aspect-ratio:1.45;background:#302b70;color:white;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}.post-surface[data-format="text"]{background:#e4f2be;color:#244234}.post-surface[data-format="video"]{background:#f2e5d6;color:#473c37}.post-surface small{font-size:11px;opacity:.75}.post-surface h3{font-size:20px;line-height:1.5;overflow-wrap:anywhere}.post-surface span{font-size:10px;opacity:.8}.social-caption.full-caption{font-size:15px;line-height:1.9;padding:16px 18px;overflow-wrap:anywhere}.asset-empty{padding:30px 18px;text-align:center;background:#f2f3f9;color:#8b8da1;border-top:1px dashed #d8dbe6;font-size:13px}.asset-empty strong{display:block;font-size:16px;color:#797d93;margin-bottom:5px}.history{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.history details{border-bottom:1px solid var(--line);padding:10px 0;font-size:13px}.history summary{cursor:pointer}.history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 inherit;background:#f6f7fb;padding:12px;border-radius:8px}.history small{color:var(--muted);display:block}.connection-note{font-size:13px;background:#f4f3fd;padding:10px 14px;border-radius:8px;color:#736d9c;margin-bottom:20px}.btn-row{display:flex;gap:8px;flex-wrap:wrap}.status-summary{font-size:14px;color:var(--muted);margin-bottom:16px}.calendar-post{font-size:12px;overflow-wrap:anywhere}.calendar-post small{font-size:10px}.day{min-height:125px}.stat-top,.creative-body h3,.schedule-item h3,.review-item h3{font-size:14px}.field-label,.chip,.stat-foot,.card-meta,.badge{font-size:12px}.review-item small{font-size:12px}.review-item{overflow-wrap:anywhere}.review-list{max-height:650px;overflow-y:auto}.section-heading .btn-row .button{font-size:12px;padding:7px 10px;min-height:35px}.month-nav{display:flex;gap:8px;align-items:center}.month-nav button{background:white;border:1px solid var(--line);border-radius:7px;width:32px;height:32px;color:var(--muted)}.limit-text{font-size:12px;color:var(--muted);margin-top:6px}.approval-bar p{font-size:12px}.muted{color:var(--muted)}.server-error{padding:40px;background:white;border-radius:14px}.sidebar .brand{font-size:24px}.read-only-note{font-size:13px;color:#8b7c5a;background:#fff8e8;padding:12px;border-radius:8px;margin-top:14px}
fieldset{border:0;padding:0;margin:0;min-width:0}.brand-layout,.plans-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.brand-layout>*,.plans-layout>*{min-width:0}.brief-tip{margin-top:23px;font-size:14px}.brief-tip strong{color:#6159a2}.brief-tip p{color:var(--muted);margin-top:6px}.ai-status{display:flex;align-items:flex-start;gap:12px;padding:17px;background:#fff6e8;border:1px solid #f2e4cf;border-radius:13px;margin-bottom:20px;font-size:14px}.ai-status>span{font-size:24px;color:#ac813f}.ai-status p{font-size:12px;overflow-wrap:anywhere;color:#8f7f65;margin-top:4px}.ai-status.configured{background:#f0f4ef;border-color:#dce8d8}.brand-layout .ai-status{margin-top:20px}.checkline{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin-top:22px}.checkline input{margin-top:7px;accent-color:var(--violet);width:17px;height:17px}.plan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.plan-card{padding:22px;background:white;border:1px solid var(--line);border-radius:14px;text-align:left;color:var(--ink);overflow-wrap:anywhere}.plan-card.selected{border-color:var(--violet);box-shadow:0 0 0 2px #5650df13}.plan-card h2{margin:12px 0 6px}.plan-card p{font-size:13px;color:var(--muted);margin-bottom:15px}.plan-detail{margin-top:22px}.plan-brief{font-size:13px;margin-top:18px;padding:13px;background:#f7f7fc;border-radius:8px}.plan-brief summary{cursor:pointer;color:var(--violet)}.plan-brief p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.job-row{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.job-row .section-heading{margin-bottom:7px}.job-row:last-child{border-bottom:0}.job-row p{color:var(--muted);margin-bottom:6px}.job-row small{font-size:11px;color:#989ca9;overflow-wrap:anywhere}.job-row .job-error{color:#a74c42;font-size:13px}.job-row progress{width:100%;accent-color:var(--violet);height:6px;margin:8px 0}.creative-fields{margin-top:18px;border:1px solid var(--line);border-radius:10px;padding:12px}.creative-fields summary,.creative-review summary{font-size:14px;cursor:pointer;color:#6159a2}.creative-review details{border-bottom:1px solid var(--line);padding:11px 0}.creative-review p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.creative-review{margin-bottom:18px}.format-choices{margin-top:20px;font-size:14px}.format-choices legend{margin-bottom:8px;color:var(--muted)}.format-choices label{display:inline-flex;align-items:center;gap:6px;margin-right:20px}.format-choices input{accent-color:var(--violet);width:16px;height:16px}.pillar-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 20px 32px;gap:8px;align-items:center;margin:8px 0}.pillar-row input{width:100%;min-width:0;padding:9px;border:1px solid #dce0eb;border-radius:8px;font-size:14px}.pillar-row span{color:var(--muted)}#plan-dialog{width:min(650px,calc(100vw - 24px));max-height:90vh;overflow:auto}#regenerate-dialog{max-height:90vh;overflow:auto}.sidebar nav a{font-size:14px}.mobile-account{display:none}
@media(max-width:760px){.auth-screen{grid-template-columns:1fr}.auth-story{padding:35px 25px}.auth-story h1{font-size:30px}.auth-story p{margin-top:12px;font-size:14px}.auth-story .eyebrow{margin-bottom:12px}.auth-form{padding:26px 22px}.editor-grid{grid-template-columns:1fr}.editor-grid .wide{grid-column:auto}.mobile-workspace{display:block;border:1px solid var(--line);background:white;border-radius:8px;max-width:155px;font-size:12px;padding:5px}.header-right{display:none}.post-surface{aspect-ratio:auto;min-height:140px;padding:12px}.post-surface h3{font-size:14px}.post-surface small{font-size:9px}.post-surface span{font-size:8px}.calendar-post{font-size:9px}.calendar-post small{font-size:8px}.calendar .day{min-height:100px}.review-item{min-width:225px}.review-list{overflow-y:visible}.list-row .button{min-height:40px}.page-title .btn-row{max-width:145px}.page-title .btn-row .button{font-size:12px;padding:8px 10px}.approval-bar .actions{flex-wrap:wrap}.mobile-account{display:flex;gap:8px;margin-top:18px}.desktop-only{display:none}.section-heading{flex-wrap:wrap}}
@media(max-width:1100px){.brand-layout,.plans-layout{grid-template-columns:1fr}.plans-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.brand-layout>aside{display:none}}@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.sidebar nav a{font-size:10px;white-space:nowrap;padding:8px 1px}.sidebar nav a>span{font-size:19px}.sidebar nav a b{right:8%;top:0}.plans-layout>aside{grid-template-columns:1fr}.plan-cards{grid-template-columns:1fr}.plan-card{padding:18px}.brand-layout .panel{padding:16px}.brand-layout .form-field textarea{min-height:100px}.pillar-row{grid-template-columns:minmax(0,1fr) 64px 14px 27px;gap:5px}.format-choices label{margin-right:10px}.plan-card h2{font-size:17px}.creative-fields{grid-column:1/-1}}
\n/* Ads operations */\n.campaign-detail{margin-top:20px}.ad-row{padding:14px 0;border-bottom:1px solid var(--line)}.ad-row p{font-size:13px;color:var(--muted);margin-top:5px}.sidebar nav{padding-bottom:12px}@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(11,minmax(62px,1fr))!important;overflow-x:auto}.sidebar{height:82px!important}.shell{padding-bottom:82px!important}}\n
/* Connection center */
.connection-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.connection-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.connection-facts div{padding:13px;background:#f7f7fc;border-radius:10px}.connection-facts small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.connection-facts strong{font-size:13px;overflow-wrap:anywhere}.checklist{padding-left:22px;margin:12px 0}.checklist li{font-size:13px;color:var(--muted);padding:7px 0;line-height:1.5}@media(max-width:760px){.connection-grid{grid-template-columns:1fr}.connection-facts{grid-template-columns:1fr}.checklist li{font-size:14px}}
.plan-health{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:18px 0 12px}.plan-health>div{padding:10px 8px;border:1px solid var(--line);border-radius:9px;background:#fafaff;text-align:center}.plan-health strong{display:block;font-size:18px;line-height:1.25;color:#5148cc}.plan-health small{display:block;font-size:10px;line-height:1.35;color:var(--muted);margin-top:4px}@media(max-width:760px){.plan-health{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-health>div:last-child{grid-column:1/-1}}
.media-usage{display:block;color:var(--muted);font-size:11px;margin:5px 0 9px}.asset-links{display:grid;gap:7px;margin:14px 0;padding:12px;background:#f7f7fc;border-radius:9px}.asset-links strong{font-size:13px}.asset-links .text-link{text-align:left;overflow-wrap:anywhere}
.automation-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px}.automation-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.queue-heading{font-size:13px;color:#6159a2;margin:22px 0 2px}.queue-conflict{display:grid;gap:7px;border-top:1px solid var(--line);padding:14px 0}.queue-conflict strong{font-size:13px}.queue-conflict .text-link{text-align:left;overflow-wrap:anywhere}@media(max-width:1100px){.automation-grid{grid-template-columns:1fr}.automation-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.automation-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.automation-stats .stat:last-child{grid-column:1/-1}}
.performance-table{margin:-2px 0;overflow-x:auto}.performance-head,.performance-row{min-width:760px;display:grid;grid-template-columns:2fr repeat(5,minmax(88px,1fr));gap:14px;align-items:center}.performance-head{padding:10px 0;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.performance-row{border-top:1px solid var(--line);padding:13px 0;font-size:13px}.performance-row strong,.performance-row small{display:block}.performance-row small{font-size:11px;color:var(--muted);margin-top:2px}.analysis-notes{margin-top:20px;padding:17px;border-radius:12px;background:#f7f7fc}.analysis-notes h2{margin-bottom:9px}.analysis-notes p{font-size:14px;padding:6px 0;overflow-wrap:anywhere}@media(max-width:760px){.performance-table{margin:0 -2px}.performance-head,.performance-row{min-width:690px}.analysis-notes{padding:14px}.analysis-notes p{font-size:13px}}
