/* STAR45 editor capabilities in a compact RE:ON authoring workspace. */
.control-body{background:#f4f1ea;color:#203647}.control-body .control-panel{background:#fffdf9;border-color:#e2d8c8;border-radius:14px}.control-body .control-main{max-width:1600px}.control-body .control-form{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:16px;background:#f8f4ed;padding:22px;border:1px solid #e3d6c1;border-radius:12px}.control-body .control-form label{display:flex;flex-direction:column;gap:8px}.control-body input,.control-body select,.control-body textarea{color:#1d3548;background:#fffefb;border:1px solid #d5c5ad;border-radius:7px;padding:10px;font:inherit;min-width:0}.control-body textarea{resize:vertical}.studio-wide{grid-column:1/-1}.content-studio{margin:18px 0 30px;border:1px solid #dcd0bd;border-radius:16px;background:#f7f1e6;overflow:hidden}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;background:#122f43;color:#fbefd9}.studio-heading h3{font:25px/1.5 Georgia,'Batang',serif;margin:6px 0}.studio-heading small{font-size:10px;letter-spacing:2px;color:#dec490}.studio-heading p{font-size:12px;margin:5px 0;color:#d9e1e4}.studio-heading button{border:1px solid #dfcba3;background:#24495f;color:#fff3d9;padding:10px 16px;border-radius:8px;white-space:nowrap}.studio-workspace{display:grid;grid-template-columns:250px minmax(320px,1fr) 240px;gap:0}.studio-sources,.studio-publish{padding:22px 18px;background:#f4eddf}.studio-sources{border-right:1px solid #ded1bb}.studio-publish{border-left:1px solid #ded1bb}.studio-sources h3,.studio-publish h3{font-size:16px;color:#173b52;margin:6px 0 12px}.studio-sources p,.studio-publish p{font-size:12px;line-height:1.7}.content-studio label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:12px;font-weight:600}.content-studio input,.content-studio textarea,.content-studio select{width:100%;max-width:100%;font-size:13px}.content-studio button,.studio-library-actions button{padding:8px 12px;border:1px solid #c9b795;border-radius:7px;background:#fffdf7;color:#233d50;font:inherit;font-size:12px;cursor:pointer}.content-studio button:hover,.studio-library-actions button:hover{border-color:#a68752;background:#f8edd7}.content-studio button:disabled,.studio-library-actions button:disabled{opacity:.5;cursor:default}.studio-sources>button{width:100%;margin:5px 0}.content-studio #studioGenerate,.content-studio #contentCreate{background:#14384f;color:#fff1d4;border-color:#14384f;padding:12px 16px;font-weight:600}.studio-document{padding:22px 24px;background:#fffefb;min-width:0}#studioTitleField input{font-size:25px;font-family:Georgia,'Batang',serif;border:0;border-bottom:1px solid #e3d7c5;border-radius:0;padding:10px 0;background:transparent}#studioTitleField label{margin-top:0;color:#7b6b50}.studio-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:10px;background:#f5efdf;border:1px solid #ddd0b9;border-radius:8px 8px 0 0;position:sticky;top:12px;z-index:4}.studio-toolbar button{padding:6px 8px;background:#fffdf7;border-color:#dfd3bd;font-size:11px}.studio-toolbar select{width:auto;padding:4px;font-size:12px}.studio-prosemirror{min-height:470px;padding:22px;border:1px solid #e0d4c2;border-top:0;border-radius:0 0 8px 8px;outline:none;font-size:16px;line-height:1.9;color:#253c4d;background:#fffefb;overflow-wrap:anywhere}.studio-prosemirror p{margin:0 0 14px}.studio-prosemirror h2{font:25px/1.5 Georgia,'Batang',serif;margin:24px 0 12px}.studio-prosemirror h3{font-size:20px;margin:18px 0 10px}.studio-prosemirror:focus{box-shadow:inset 0 0 0 2px #cfb47e70}.studio-prosemirror img,.studio-draft img,.article-text img{max-width:100%;height:auto;border-radius:8px}.studio-prosemirror table,.studio-draft table,.article-text table{border-collapse:collapse;width:100%;margin:16px 0;table-layout:fixed;overflow-wrap:anywhere}.studio-prosemirror :is(td,th),.studio-draft :is(td,th),.article-text :is(td,th){border:1px solid #c8bca7;padding:9px;min-width:70px}.studio-prosemirror th,.studio-draft th,.article-text th{background:#eee5d4}.studio-prosemirror .selectedCell{background:#e9d8b1}.studio-prosemirror blockquote,.article-text blockquote{border-left:3px solid #c7a46d;margin:20px 0;padding:8px 20px;background:#f5eee2}.studio-inline-tools{display:grid;grid-template-columns:1fr auto;align-items:end;gap:6px 12px;margin:16px 0}.studio-inline-tools label{margin:0}.studio-hint{font-size:11px!important;color:#7d6d58;line-height:1.7}.studio-check{flex-direction:row!important;align-items:flex-start}.studio-check input,.studio-material input[type=checkbox]{width:auto;flex-shrink:0;margin:3px 0}.studio-material{background:#fffaf0;padding:12px;border:1px solid #ddcbaa;border-radius:9px;margin:10px 0}.studio-material strong{display:block;font-size:12px;overflow-wrap:anywhere}.studio-material p,.studio-material small{font-size:11px;display:block}.studio-material label{flex-direction:row;font-size:11px;align-items:center;gap:6px}.studio-material a{display:block;font-size:11px;margin:8px 0;color:#47677b}.studio-material button{font-size:10px;margin:3px}.studio-actions{padding:18px 24px;border-top:1px solid #d8c7a8;display:flex;gap:20px;justify-content:space-between;align-items:center;background:#f4ead7}.studio-actions p{margin:0 0 5px}.studio-actions small{color:#766346;font-size:11px}.studio-actions [data-error=true]{color:#b12722}.studio-draft,.studio-manual-ai{background:#fcf7eb;border:1px solid #d8c5a4;border-radius:10px;padding:20px;margin:18px 0}.studio-draft h3,.studio-manual-ai h3{font-size:17px}.studio-draft article{background:#fff;border:1px solid #e4d9c8;padding:20px;margin:14px 0;font-size:15px;line-height:1.8}.studio-draft article h2{font-size:23px}.studio-manual-ai textarea{width:100%}.studio-library-header{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 0}.studio-library-header h3{flex:1;min-width:130px;margin:0}.studio-library-header input{width:260px}.studio-library-card{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:20px 16px;background:#fffdfa;border-bottom:1px solid #e5d9c5}.studio-library-card small{color:#8b7149;font-size:11px}.studio-library-card h4{font-size:17px;margin:7px 0}.studio-library-card p{margin:0;font-size:12px;color:#768087}.studio-library-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:330px}.studio-library-actions button:first-child{background:#17394f;color:#fbeed6}.studio-moderation{border:1px solid #d1b784;border-radius:14px;padding:28px;background:#fffaf0;color:#203e53;max-width:500px;width:calc(100% - 32px)}.studio-moderation::backdrop{background:#0a2137aa}.studio-moderation label{display:flex;flex-direction:column;gap:10px}.studio-moderation textarea{margin:8px 0}.studio-moderation button{margin:5px;padding:9px 18px;border:1px solid #bca379;border-radius:7px;background:#173b52;color:#fff1d6}.campaign-card{padding:24px;margin:20px 0;border:1px solid #decdae;border-radius:14px;background:linear-gradient(110deg,#fffaf1,#fffefb)}.campaign-card>header{display:flex;justify-content:space-between;align-items:center;gap:20px}.campaign-card h3{font:24px/1.4 Georgia,'Batang',serif;margin:0}.campaign-card>p{font-size:13px;color:#687783}.campaign-state{font-size:11px;padding:7px 12px;border-radius:30px;background:#e6eedf;color:#426534}.campaign-state[data-state=paused],.campaign-state[data-state=closed]{background:#e9e5df;color:#75675a}.campaign-state[data-state=scheduled]{background:#e6edf4;color:#355e83}.campaign-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.campaign-metrics>div{border-left:2px solid #d4b57b;padding:5px 16px}.campaign-metrics small{display:block;font-size:11px;color:#7b7469}.campaign-metrics strong{font-size:27px;color:#173d54;font-weight:500}.campaign-card progress{width:100%;height:8px;accent-color:#b89455}.campaign-link-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.campaign-link-row input{flex:1;min-width:230px}.campaign-link-row button,.campaign-link-row a{border:1px solid #cdb58c;background:#fff6e2;color:#29485d;border-radius:7px;padding:9px 12px;font:inherit;font-size:12px}.campaign-card details{margin-top:16px;border-top:1px solid #ded3bf;padding-top:15px}.campaign-card summary{cursor:pointer;font-size:13px}.campaign-periods{display:flex;flex-wrap:wrap;gap:15px;margin:20px 0}.campaign-periods>div{flex:1;min-width:180px;padding:15px;background:#f3edde;border-radius:8px}.campaign-periods p{font-size:12px}.studio-empty{padding:30px;border:1px dashed #c9b89a;border-radius:10px;color:#6d7a81}#campaignCreate button{background:#16374d;color:#fff2d8;border:0;border-radius:8px;padding:13px;font:inherit}#campaignStatus{padding:12px 0;color:#36586f}
@media(max-width:1200px){.studio-workspace{grid-template-columns:220px minmax(300px,1fr)}.studio-publish{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:0 18px;border-left:0;border-top:1px solid #ded1bb}.studio-publish>h3,.studio-publish>p,#noticeFields,#appFields{grid-column:1/-1}.studio-library-card{grid-template-columns:1fr}.studio-library-actions{justify-content:flex-start;max-width:none}}
@media(max-width:760px){.studio-workspace{display:flex;flex-direction:column}.studio-sources{border-right:0;border-bottom:1px solid #ded1bb}.studio-publish{grid-template-columns:1fr}.studio-document{padding:18px}.studio-heading{padding:20px}.studio-heading h3{font-size:21px}.studio-prosemirror{min-height:350px}.studio-actions{flex-direction:column;align-items:stretch}.control-body .control-form{grid-template-columns:1fr}.campaign-metrics{gap:5px}.campaign-metrics>div{padding:5px 10px}.campaign-metrics strong{font-size:22px}.studio-inline-tools{grid-template-columns:1fr}.studio-library-header input{width:100%}.studio-toolbar{position:static}}
@media(prefers-reduced-motion:reduce){.control-body *{scroll-behavior:auto!important}}


/* Menu-based FAMOS editorial review; independent from public site aesthetics */
.studio-library-header{display:block}.studio-library-header h3{font-size:22px;color:#143b4e;margin:0 0 6px}.studio-board-hint{color:#627586;font-size:13px;line-height:1.65;margin:3px 0 12px}
.studio-library-toolbar{display:grid;gap:16px;margin:8px 0 14px}.studio-board-tabs{display:flex;flex-wrap:wrap;gap:7px}
.control-body .studio-board-tabs button{border:1px solid #d8ddde;background:#f9fbfb;color:#344955;padding:11px 15px;border-radius:9px;cursor:pointer;font-size:13px;min-height:42px}
.control-body .studio-board-tabs button[aria-pressed=true]{background:#153e56;color:white;border-color:#153e56;font-weight:700}
.studio-content-filters{display:flex;gap:9px;flex-wrap:wrap}.studio-content-filters select{max-width:200px}.studio-content-filters input{flex:1;min-width:170px}
.studio-content-filters button{background:#153e56;color:white;border:0;border-radius:8px;padding:10px 17px;min-height:43px;cursor:pointer}.studio-content-filters button:disabled{opacity:.45}
.studio-board-stats{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.studio-board-stats span{background:#edf3f3;color:#224455;border:1px solid #d8e3e3;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:700}
.studio-library-card{grid-template-columns:minmax(0,1fr) auto;gap:13px;border:1px solid #e0e7e6;border-radius:12px;margin:9px 0;padding:16px 18px;background:white;align-items:start}
.studio-library-card h4{font-size:16px;line-height:1.45;color:#173347;overflow-wrap:anywhere}
.studio-library-card p{line-height:1.6}.studio-review-score{font-size:12px!important;color:#466c69!important;margin-top:9px!important;font-weight:650}
.studio-library-actions{min-width:185px}.studio-library-actions [data-content-review]{background:#183f56;color:white;border-color:#183f56}.studio-empty{padding:30px;text-align:center;color:#69818b}
.famos-review-dialog{max-width:min(760px,96vw);max-height:91vh;overflow:auto;border-radius:15px}.famos-review-dialog .famos-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.famos-review-dialog h3{margin:0;font-size:23px;color:#14394f}
.famos-review-dialog .famos-review-metrics{padding:14px;border-radius:10px;background:#e9f2f2;color:#163e55;font-weight:800;font-size:19px;margin:12px 0}
.famos-review-dialog .famos-review-components{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.famos-review-components span{padding:10px 12px;border:1px solid #e0e8e5;border-radius:8px;background:white;font-size:12px}
.famos-review-dialog details{border:1px solid #e0e6e4;padding:12px;border-radius:8px;margin:10px 0}.famos-review-dialog summary{cursor:pointer;font-weight:700}.famos-review-dialog li{font-size:13px;margin:9px 0;line-height:1.55}
.famos-review-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0}.famos-review-checks label{display:flex;gap:9px;align-items:center;background:#f2f6f3;padding:10px;border-radius:8px;font-size:13px}.famos-review-checks input{width:20px;height:20px;min-width:20px}.famos-review-state{font-size:13px;line-height:1.7;color:#3a6471}
@media(max-width:720px){.studio-library-card{grid-template-columns:1fr}.studio-library-actions{justify-content:flex-start;max-width:unset}.studio-content-filters select{flex:1}.famos-review-dialog .famos-review-components{grid-template-columns:repeat(2,minmax(0,1fr))}.famos-review-checks{grid-template-columns:1fr}}

/* In-editor AI imagery: intentional preview before use */
#studioAIImage{min-height:43px;border:1px solid #a19bd4;background:#ebe7fa;color:#433b73;border-radius:9px;padding:10px 14px;font-weight:750;cursor:pointer;width:100%;margin-top:7px}
#studioAIImage:hover{background:#dfd8f4}
.studio-ai-image-dialog{width:min(680px,96vw);max-height:92vh;overflow:auto;border:1px solid #d6dadd;border-radius:18px;background:#fff;color:#21394b;padding:22px;box-shadow:0 28px 80px #001b3050}
.studio-ai-image-dialog::backdrop{background:rgba(12,33,44,.58)}
.studio-ai-image-dialog .studio-image-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.studio-ai-image-dialog h3{margin:0;font-size:22px;letter-spacing:-.03em}
.studio-ai-image-dialog p{line-height:1.65;font-size:13px;color:#526673}
.studio-ai-image-dialog label{display:block;font-size:13px;font-weight:700;margin:14px 0}
.studio-ai-image-dialog textarea,.studio-ai-image-dialog select{width:100%;box-sizing:border-box;border:1px solid #cfdcdd;border-radius:9px;padding:12px;font-size:14px;line-height:1.55;min-height:44px;margin-top:6px;background:#fff;color:#203f4d}
.studio-ai-image-dialog .studio-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:500;line-height:1.65}
.studio-ai-image-dialog .studio-check input{width:20px;height:20px;min-width:20px;margin-top:1px}
.studio-ai-image-dialog .studio-image-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.studio-ai-image-dialog button{border-radius:9px;min-height:43px;padding:10px 15px;border:1px solid #cbd7db;background:#f4f7f6;color:#174456;font-weight:700;cursor:pointer}
.studio-ai-image-dialog button:first-child{background:#184659;border-color:#184659;color:#fff}
.studio-ai-image-dialog button:disabled{cursor:wait;opacity:.6}
.studio-ai-image-dialog .studio-image-result img{display:block;width:100%;max-width:560px;height:auto;max-height:430px;object-fit:contain;background:#edf1f2;border-radius:12px}
.studio-ai-image-dialog .studio-image-result p{font-size:12px}
@media(max-width:600px){.studio-ai-image-dialog{padding:16px}.studio-ai-image-dialog h3{font-size:19px}.studio-ai-image-dialog .studio-image-buttons button{flex:1 1 140px}}
