:root{--bg:#f7f7f2;--surface:#fff;--ink:#20271f;--muted:#777d72;--line:#e5e7df;--green:#425c3f;--lime:#e5edb4;--light:#f0f3e8;--radius:16px;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button,a,input,textarea,summary,select{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--green)}[hidden]{display:none!important}.topbar{height:94px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface);gap:18px}.brand{display:flex;gap:15px;align-items:center;text-decoration:none;font-size:12px;letter-spacing:1.5px;font-weight:500}.brand b{font-weight:800}.brand small{display:block;letter-spacing:0;font-size:11px;color:var(--muted);margin-top:5px}.brandmark{position:relative;background:var(--green);color:white;width:43px;height:45px;border-radius:11px;display:grid;place-items:center;font:600 32px Georgia,serif;letter-spacing:-3px;padding-right:7px}.brandmark span{font-family:Arial,sans-serif;font-size:23px;position:absolute;right:4px;top:0}.topactions{display:flex;align-items:center;gap:26px}.local-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.local-label i{width:6px;height:6px;background:#9ba66a;border-radius:50%}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 17px;border-radius:9px;border:1px solid transparent;font-size:12px;font-weight:600;transition:background .15s}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover{background:var(--light)}.primary{background:var(--green);color:white}.primary:hover{background:#30462e}.primary span{font-size:18px}.dot{width:7px;height:7px;background:#aaa;border-radius:50%;display:inline-block}.dot.connected{background:#74a15c}.workspace{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 94px)}.sidebar{border-right:1px solid var(--line);padding:38px 23px;position:relative}.eyebrow,.smallcaps{font-size:9px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.accent{color:var(--green)}.nav{display:flex;align-items:center;gap:12px;border:0;width:100%;text-align:left;padding:13px 12px;margin-top:12px;border-radius:8px;background:transparent;font-size:12px;color:var(--muted)}.nav span:first-child{font-size:21px;font-weight:400}.nav.active{background:#e9eddf;color:var(--green);font-weight:600}.nav:hover{background:#eff1e9}.count{font-size:10px;background:white;border-radius:5px;padding:2px 6px;margin-left:auto}.sidebar-bottom{margin-top:100px;padding:20px 8px;border-top:1px solid var(--line)}.sidebar-bottom p{font-size:16px;line-height:1.6;font-weight:500}.sidebar-bottom .muted{font-size:11px;font-weight:400;line-height:1.8}.sidebar-bottom a{font-size:10px;text-decoration:none;color:var(--green)}main{max-width:1490px;width:100%;padding:45px 48px 0;margin:0 auto}.pageheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:47px;line-height:1.1;letter-spacing:-1.6px;margin:16px 0}h1 span{color:var(--green)}.pageheading p,.section-heading p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.headingbadge{display:flex;align-items:center;gap:14px;padding-right:4px;color:#a3aa96}.headingbadge>span{font:italic 70px Georgia,serif;color:#d9dfce}.headingbadge small{font-size:9px;line-height:1.8;letter-spacing:1.2px}.review-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.editor{padding:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}h2{font-size:16px;letter-spacing:-.3px;font-weight:600;margin:0}.chip{font-size:9px;border:1px solid var(--line);color:var(--muted);padding:5px 8px;border-radius:5px}label{font-size:11px;font-weight:600;display:block;margin-bottom:10px}.muted{color:var(--muted);font-weight:400}.small{font-size:10px}.editor textarea,input:not([type=checkbox]):not([type=file]),select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fcfcfa;color:var(--ink);padding:12px;line-height:1.7;font-size:12px}textarea{resize:vertical;min-height:230px;line-height:1.8!important}.editor textarea::placeholder{color:#a4a89d}.editor textarea:focus,input:focus,select:focus{outline:2px solid #bbc9a8;border-color:transparent}.editor-meta{display:flex;align-items:center;justify-content:space-between;margin:9px 0 27px;color:var(--muted);font-size:9px}.textbutton{border:0;background:none;padding:0;color:var(--green);font-size:10px;text-align:left}.fieldtop{display:flex;justify-content:space-between;align-items:baseline}.upload{position:relative;border:1px dashed #cdd4c1;border-radius:9px;background:#fafbf7;min-height:89px;display:flex;gap:13px;align-items:center;justify-content:center;cursor:pointer}.upload:hover{background:var(--light)}.upload-icon{font-size:23px;font-weight:300;color:var(--green);width:33px;height:33px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;background:white}.upload b{font-size:11px;font-weight:500}.upload small{display:block;color:var(--muted);font-weight:400;font-size:9px;margin-top:5px}.upload input{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer}.image-list{display:flex;gap:10px;flex-wrap:wrap}.image-card{width:100px;position:relative;margin:5px 0 10px}.image-card img{width:100px;height:70px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.image-card small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:9px;color:var(--muted)}.image-card button{position:absolute;right:3px;top:3px;background:white;border:0;border-radius:50%;width:22px;height:22px}.editor details{margin-top:17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{cursor:pointer;font-size:11px;font-weight:500;padding:16px 0;list-style:none;display:flex;justify-content:space-between}summary::-webkit-details-marker{display:none}summary span{color:var(--muted)}details[open] summary span{transform:rotate(45deg)}.details-content{padding-bottom:18px}.details-content label{margin-top:12px}.short{min-height:80px!important}.checkbox{display:flex;align-items:flex-start;gap:9px;margin:22px 0;font-size:10px;line-height:1.7;font-weight:400}.checkbox input{accent-color:var(--green);width:15px;height:15px;margin:1px 0 0;flex-shrink:0}.submit-area .button{width:100%;justify-content:space-between}.submit-area small{display:block;font-size:9px;line-height:1.7;color:var(--muted);margin-top:12px;text-align:center}.scope-note{display:flex;gap:12px;background:#eef1e5;border:1px solid #e0e6d2;padding:16px 18px;border-radius:11px;margin-bottom:18px}.scope-note>span{font:italic 17px Georgia,serif;border:1px solid #bbc6a8;width:22px;height:22px;flex-shrink:0;text-align:center;border-radius:50%;color:var(--green)}.scope-note b{font-size:11px;font-weight:600}.scope-note p{font-size:10px;color:#758067;line-height:1.8;margin:5px 0 0}.result{min-height:460px;overflow:hidden}.empty{text-align:center;padding:57px 28px 45px}.empty-art{position:relative;width:74px;height:74px;border:1px solid #dce3cf;border-radius:18px;margin:0 auto 30px;background:#f5f7f0;transform:rotate(-9deg);display:grid;place-items:center}.empty-art>span{font:40px Georgia,serif;color:#809171;transform:rotate(9deg)}.empty-art i{position:absolute;background:#bacb99;width:8px;height:8px;border-radius:2px;right:-12px;top:6px}.empty-art i:last-child{width:5px;height:5px;left:-11px;top:49px}.empty h2{font:30px/1.25 Georgia,serif;letter-spacing:-.6px;margin:16px 0}.empty p{font-size:11px;color:var(--muted);line-height:1.9;max-width:285px;margin:0 auto}.empty-tags{display:flex;justify-content:center;gap:8px;margin-top:26px}.empty-tags span{border:1px solid var(--line);border-radius:5px;font-size:9px;padding:5px 8px;color:var(--muted)}.source-line{font-size:9px;color:#8e9587;line-height:1.9;margin:14px 7px}.source-line a{text-decoration:none}.result-header{padding:23px;border-bottom:1px solid var(--line);background:#fafbf7}.status{font-size:10px;display:inline-flex;padding:6px 9px;align-items:center;gap:6px;border-radius:5px;background:#e8efdc;color:#4a6339}.status.warn{background:#fcf0d7;color:#8c681d}.status.concern{background:#f6e1dc;color:#984e3c}.status.unknown{background:#eceeea;color:#646e62}.result-header h2{font-size:19px;margin:16px 0 9px}.result-header p{font-size:12px;line-height:1.8;margin:0}.result-body{padding:22px}.result-meta{font-size:9px;color:var(--muted);margin:0 0 18px;line-height:1.7}.result-body h3{font-size:12px;margin:21px 0 10px}.result-body h3:first-child{margin-top:0}.result-body p,.result-body li{font-size:11px;line-height:1.85;color:#636c5e}.result-body ul{padding-left:17px}.finding{border:1px solid var(--line);padding:14px;border-radius:9px;margin:10px 0}.finding h4{font-size:12px;margin:8px 0}.finding p{margin:6px 0}.finding blockquote{font-size:11px;line-height:1.8;padding:8px 11px;border-left:2px solid #c2cfa9;margin:9px 0;background:#f7f8f3;overflow-wrap:anywhere}.kind{font-size:8px;letter-spacing:.8px;color:var(--green);text-transform:uppercase}.result .note{background:#f5f6f1;border-radius:7px;padding:12px}.result details{border-top:1px solid var(--line);margin-top:18px}.result details p{font-size:10px}.rewrite{white-space:pre-wrap;font:11px/1.8 Consolas,monospace;background:#f6f7f2;padding:14px;border-radius:8px;overflow-wrap:anywhere;margin:10px 0;max-height:360px;overflow:auto}.result-toolbar{display:flex;gap:9px;margin-top:20px;flex-wrap:wrap}.result-toolbar button{font-size:10px}.finding-links a{font-size:9px;display:inline-block;margin-right:10px;color:var(--green)}.error-box{padding:30px}.error-box h2{margin:10px 0;font-size:18px}.error-box p{font-size:12px;color:var(--muted);line-height:1.8}.loading{padding:70px 25px;text-align:center}.loading h2{margin:25px 0 12px}.loading p{font-size:11px;line-height:1.8;color:var(--muted)}.spinner{display:block;margin:auto;width:32px;height:32px;border:2px solid #e1e7d8;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.section-heading h1{font-size:40px}.history-notice{background:var(--light);padding:17px 20px;border-radius:9px;font-size:11px;line-height:1.8;color:#66745c;margin-bottom:24px}.history-card{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:12px;padding:20px}.history-card h2{font-size:13px;margin:0 0 8px;overflow-wrap:anywhere}.history-card p{font-size:10px;color:var(--muted);margin:0;line-height:1.8}.history-card .actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.history-empty{padding:50px;text-align:center;color:var(--muted);font-size:13px}.outcome-box{margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.outcome-box textarea{width:100%;min-height:75px;font-size:11px;padding:10px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.outcome-box select{margin-bottom:10px;font-size:11px}.outcome-box label{margin-top:10px}.outcome-box small{display:block;font-size:9px;color:var(--muted);margin-top:9px}footer{border-top:1px solid var(--line);margin-top:45px;padding:20px 0;font-size:9px;letter-spacing:1.1px;color:#949b8c;display:flex;justify-content:space-between}footer span{letter-spacing:0}dialog{padding:28px;border:1px solid var(--line);border-radius:18px;max-width:490px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 120px #1b241c30}dialog::backdrop{background:#19201855;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between}.dialog-heading h2{font:28px Georgia,serif;margin-top:9px}.iconbutton{background:none;border:0;font-size:25px;color:var(--muted);padding:0 4px}dialog p{font-size:11px;line-height:1.8;color:var(--muted)}dialog input{margin-bottom:5px}.dialog-buttons{display:flex;gap:15px;align-items:center;margin-top:14px}.model-settings{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.model-settings button{margin-top:10px}.dialog-message{padding:12px;background:var(--light);border-radius:7px}.dialog-message:empty{display:none}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 20px;color:white;background:#263623;border-radius:10px;box-shadow:0 6px 30px #0002;font-size:12px;max-width:90vw;z-index:10}
@media(min-width:1550px){main{padding-top:55px}.review-grid{gap:30px}.editor{padding:30px}.result{min-height:500px}}
@media(max-width:1100px){main{padding:30px 25px 0}.workspace{grid-template-columns:180px 1fr}.sidebar{padding:30px 15px}.topbar{padding:0 25px}.headingbadge{display:none}.editor{padding:20px}.topactions{gap:15px}.local-label{display:none}.review-grid{gap:17px}}
@media(max-width:850px){.review-grid{grid-template-columns:1fr}.workspace{grid-template-columns:150px 1fr}.sidebar{padding:25px 10px}.nav{font-size:11px;padding:10px 7px;gap:7px}.sidebar-bottom{padding:15px 3px}.sidebar-bottom p{font-size:13px}.sidebar-bottom .muted{font-size:10px}.pageheading h1{font-size:40px}.result{min-height:360px}.empty{padding:40px 25px}.history-card{align-items:flex-start;flex-direction:column}.section-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:550px){.topbar{height:78px;padding:0 16px}.brand{font-size:10px;gap:9px;letter-spacing:1px}.brand small{display:none}.brandmark{width:34px;height:36px;font-size:27px}.brandmark span{font-size:18px}.topactions .button{font-size:10px;padding:10px}.workspace{display:block}.sidebar{padding:10px 16px;display:flex;gap:7px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.eyebrow,.sidebar-bottom{display:none}.nav{width:auto;margin:0;font-size:11px;padding:7px 12px}.nav span:first-child{font-size:17px}.count{margin-left:3px}main{padding:26px 16px 0}.pageheading{margin-bottom:25px}.pageheading h1{font-size:39px;margin:13px 0}.eyebrow{font-size:8px;letter-spacing:1.3px}.pageheading p{font-size:11px}.editor{padding:18px}.panel-heading{margin-bottom:22px}footer{font-size:8px;gap:15px;line-height:1.7}.history-card .actions{flex-wrap:wrap}.dialog-buttons{gap:10px}.empty-tags{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:0.01ms!important;transition:none!important}}
.archive-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.archive-import-label{margin:0;cursor:pointer}.archive-notice{background:#eef1e5;border:1px solid #e0e6d2;border-radius:10px;padding:15px 19px;margin-bottom:25px}.archive-notice b{font-size:11px}.archive-notice p{font-size:10px;line-height:1.8;color:#66745c;margin:6px 0 0}.archive-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}.archive-folders{padding:17px 10px}.archive-tree-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 14px;margin-bottom:6px;border-bottom:1px solid var(--line)}.archive-tree-heading h2{font-size:13px}.archive-tree-heading .iconbutton{font-size:21px}.archive-folder-row{border:0;border-radius:7px;background:transparent;color:#65705f;width:100%;text-align:left;display:flex;gap:7px;align-items:flex-start;font-size:11px;line-height:1.5;padding:10px 8px;margin:2px 0}.archive-folder-row:hover{background:var(--light)}.archive-folder-row.selected{background:#e9eddf;color:#354f32;font-weight:600}.archive-folder-icon{font-size:16px;line-height:1;flex-shrink:0}.archive-folder-row[data-depth="1"]{padding-left:18px}.archive-folder-row[data-depth="2"]{padding-left:29px}.archive-folder-row[data-depth="3"]{padding-left:40px}.archive-folder-row[data-depth="4"],.archive-folder-row[data-depth="5"]{padding-left:50px}.archive-toolbar{display:flex;align-items:flex-end;gap:12px;margin-bottom:18px}.archive-search{font-size:10px;flex:1;margin:0}.archive-search input{display:block;margin-top:7px;background:white!important}.archive-toolbar>.button{flex-shrink:0;height:46px}.archive-breadcrumb{font-size:10px;color:#7a8571;margin:10px 0 17px;line-height:1.7}.archive-profile{padding:19px;display:flex;gap:18px;margin-bottom:20px;align-items:center}.archive-profile img{width:92px;height:112px;object-fit:cover;border-radius:9px;flex-shrink:0}.archive-profile h2{font:27px Georgia,serif;margin:8px 0}.archive-profile p{font-size:11px;color:#6f7967;line-height:1.8;margin:5px 0 10px}.archive-profile small{font-size:9px;color:var(--muted)}.archive-entry{padding:22px;margin-bottom:16px}.archive-entry-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.archive-entry-heading h3{font-size:16px;font-weight:600;letter-spacing:-.2px;margin:7px 0 2px}.archive-entry-heading small{font-size:9px}.archive-entry-heading .status{font-size:8px;white-space:nowrap}.archive-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 "Segoe UI",Arial,sans-serif;background:#f8f9f5;border:1px solid #eef0e7;border-radius:8px;padding:16px;margin:17px 0;max-height:350px;overflow:auto}.archive-entry-notes{font-size:10px;line-height:1.8;color:#7b846f;margin:13px 0}.archive-open-note{font-size:12px;color:#8c722e;padding:15px;background:#fcf6e8;border-radius:7px}.archive-entry .result-toolbar{margin-top:15px}.archive-entry .result-toolbar .textbutton{margin-left:auto;font-size:10px}.archive-sources{border-top:1px solid var(--line);margin-top:16px}.archive-sources summary{font-size:10px;padding:12px 0 0;color:#75816b}.archive-sources p{font-size:9px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.archive-search-count{font-size:12px;color:var(--muted);margin:20px 0}#archive-entry-dialog{max-width:730px}#archive-entry-dialog label,#archive-folder-dialog label{margin-top:16px}#archive-entry-dialog textarea{width:100%;border:1px solid var(--line);background:#fcfcfa;color:var(--ink);border-radius:8px;padding:12px;font-size:12px;min-height:230px;line-height:1.8}#archive-entry-dialog .short{min-height:80px}.archive-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.archive-form-row>div{min-width:0}#archive-entry-message,#archive-folder-message{color:#9b543b}.archive-entry button:disabled{cursor:default}
@media(max-width:1100px){.archive-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}.archive-entry{padding:18px}.archive-profile{padding:16px;gap:12px}.archive-profile img{width:70px;height:95px}.archive-entry-heading{flex-wrap:wrap;gap:7px}}
@media(max-width:850px){.archive-layout{grid-template-columns:1fr}.archive-folders{padding:13px}.archive-tree-heading{padding-bottom:8px}#archive-tree{display:flex;flex-wrap:wrap;gap:4px}.archive-folder-row{width:auto;padding:8px!important;font-size:10px}.archive-folder-row[data-depth="0"],.archive-folder-row[data-depth="1"]{width:100%;font-weight:600}.archive-profile h2{font-size:25px}}
@media(max-width:550px){.archive-actions .button{font-size:10px;padding:10px}.archive-profile img{width:65px;height:90px}.archive-toolbar{gap:8px}.archive-toolbar>.button{font-size:10px;padding:10px}.archive-prompt{font-size:11px;padding:12px}.archive-form-row{grid-template-columns:1fr;gap:0}.archive-entry .result-toolbar{gap:7px}.archive-entry .result-toolbar .button{font-size:9px;padding:9px}}
/* STUDIO GENERATED */
.social-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px}.social-layout>*{min-width:0}.social-layout label{display:block;margin:12px 0}.social-layout input,.social-layout select,.social-layout textarea{width:100%;min-width:0}.social-cover-row{display:flex;gap:16px;align-items:center;margin:20px 0}.social-cover-row img{width:90px;height:90px;object-fit:cover;border-radius:8px}.social-cover-row>div{min-width:0}.social-target-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.social-target-head .check{display:flex;gap:10px;align-items:center;margin:0}.social-layout .check input{width:auto}.social-target-details[hidden],.social-layout [hidden]{display:none!important}.social-target-head strong{font-size:1.1rem}.social-profile{display:block;overflow-wrap:anywhere;font-size:.85rem;color:var(--accent,#ffb36b);margin:12px 0}.social-target textarea{min-height:100px}.social-target .action-row{flex-wrap:wrap}.social-target .action-row a,.social-target .action-row button{white-space:normal;text-align:center}.social-target{margin:16px 0}.social-library{align-self:start}.social-saved{padding:14px 0;border-bottom:1px solid #ffffff25}.social-saved button{max-width:100%;overflow-wrap:anywhere;text-align:left}.social-saved p{margin:6px 0}.social-saved .social-date{color:var(--accent,#ffb36b)}#social-preview{margin:15px 0}#social-preview img,#social-preview video{max-width:100%;max-height:300px;border-radius:8px;display:block}#social-preview p{overflow-wrap:anywhere}.social-layout .notice{overflow-wrap:anywhere}@media(max-width:1100px){.social-layout{grid-template-columns:1fr}.social-library{order:2}}@media(max-width:420px){.social-cover-row{align-items:flex-start}.social-cover-row img{width:64px;height:64px}.social-layout .action-row{gap:8px}.social-layout .action-row>*{max-width:100%}}

.social-connect-panel{margin-bottom:20px}.social-connect-panel summary{cursor:pointer;font-weight:600}.social-connect-panel label{display:block;margin:12px 0}.social-connect-panel input,.social-connect-panel select{width:100%;min-width:0}.social-connect-panel .check{display:flex;align-items:flex-start;gap:10px}.social-connect-panel .check input{width:auto;flex:0 0 auto;margin-top:5px}.social-connect-panel p{overflow-wrap:anywhere}

.social-emoji{margin:8px 0 16px}.social-emoji summary,.social-extra summary{cursor:pointer}.social-emoji-grid{display:flex;flex-wrap:wrap;gap:3px;margin-top:6px}.social-emoji-grid button{font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif;font-size:1.05rem;padding:3px;min-width:30px;min-height:30px;line-height:1.2}.social-emoji p{font-size:.85rem;margin:12px 0 6px}.social-extra{margin:14px 0}

.social-thumbnail-panel .social-youtube-thumbnail{display:block;max-width:min(240px,100%);max-height:160px;width:auto;height:auto;object-fit:contain;margin:8px 0}

.social-media-preview-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:20px;align-items:start;margin:15px 0}.social-media-preview-row>*{min-width:0}.social-media-preview-row #social-preview{margin:0}.social-thumbnail-panel{padding:14px;border:1px solid #ffffff25;border-radius:8px}.social-thumbnail-panel h3{margin-top:0}.social-thumbnail-panel button{max-width:100%;white-space:normal}@media(max-width:650px){.social-media-preview-row{grid-template-columns:1fr}}
#social-settings[hidden],#social-restore[hidden]{display:none!important}.work-title>.action-row{flex-wrap:wrap}
.social-saved-head{display:flex;align-items:center;gap:8px}.social-draft-tools{display:flex;flex:0 0 80px;justify-content:flex-end;gap:8px}.social-saved .social-draft-title{flex:1;min-width:0;height:36px;min-height:36px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:.85rem}.social-saved .social-draft-icon{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:8px;display:flex;align-items:center;justify-content:center}.social-draft-icon svg{width:18px;height:18px;flex-shrink:0}.social-draft-icon[data-confirm-delete]{color:var(--accent,#ffb36b)}

#social-thumbnail-panel[hidden],#social-thumbnail-update[hidden]{display:none!important}.social-media-preview-row:has(#social-thumbnail-panel[hidden]){grid-template-columns:1fr}.social-thumbnail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.social-thumbnail-head h3{margin:0}.social-thumbnail-head button{flex-shrink:0}
@media(min-width:651px){.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])){align-items:stretch}.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) #social-preview{display:flex;flex-direction:column;min-height:0}.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) #social-preview video{flex:1 1 0;min-height:0;height:0;max-height:none;width:100%;object-fit:contain}.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) #social-preview p{margin:8px 0 0}}.social-thumbnail-actions{gap:8px;flex-wrap:wrap;margin-bottom:12px}.social-thumbnail-actions button{padding:10px 12px}
.social-video-column{min-width:0}.social-video-column #social-media-caption{margin:8px 0;overflow-wrap:anywhere}.social-video-column>.action-row{margin:0;gap:10px;flex-wrap:wrap}@media(min-width:651px){.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) .social-video-column{display:flex;flex-direction:column;min-height:0}.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) .social-video-column #social-preview{flex:1 1 0;height:0;min-height:0}.social-video-column>#social-media-caption,.social-video-column>.action-row{flex-shrink:0}}
#social-editor-view{grid-template-columns:minmax(0,1fr)}#social-library-view{margin-bottom:20px}#social-library-view #social-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:16px}#social-library-view .social-saved{min-width:0}
#panel-social>.work-title .action-row button.active{border-color:var(--accent);color:var(--accent);background:#ffffff09}
#social-preview video{width:100%;min-height:300px;object-fit:contain;background:#000}@media(min-width:651px){.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) .social-video-column #social-preview,.social-media-preview-row:has(#social-thumbnail-panel:not([hidden])) #social-preview video{min-height:360px}}

.studio-panel{padding:22px;margin-bottom:20px;font-size:12px;line-height:1.7}.work-title .action-row,.action-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.studio-panel button,.social-layout button,.social-saved button{border-radius:8px;border:1px solid var(--line);padding:10px 14px;font-size:11px}.social-layout .panel{padding:22px}.social-layout label,.studio-panel label{font-size:11px}.social-layout textarea,.studio-panel textarea,#media-dialog textarea,#episode-dialog textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fcfcfa;font-size:12px;min-height:110px}.social-layout .small{font-size:11px;line-height:1.7}.social-layout p{font-size:12px;line-height:1.7}.social-layout h3{font-size:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.social-target .check{display:flex;gap:9px;align-items:center}.social-target .check input{width:auto}.social-profile{color:var(--green)}.social-library{padding:22px}.social-saved{border-color:var(--line)}#social-preview video{min-height:280px;max-height:540px!important;height:auto!important}#social-preview img{max-height:460px}.social-media-preview-row{align-items:start!important}.social-video-column,#social-preview{height:auto!important;display:block!important}.social-thumbnail-panel{border-color:var(--line);min-height:150px}#social-thumbnail-preview img{max-width:100%;max-height:240px;object-fit:contain}.social-layout .social-target{padding:20px}.social-count{font-size:12px;color:var(--green);font-weight:600}#social-list{margin-top:15px}.media-filters{display:grid;grid-template-columns:2fr 1.6fr 1fr 1fr 1.2fr;gap:12px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:15px}.media-card{overflow:hidden;min-width:0}.media-card>.media-open{width:100%;padding:0;border:0;background:#f0f2e9;color:var(--green);display:block}.media-visual{height:150px;display:flex;align-items:center;justify-content:center;font-size:44px}.media-visual img{width:100%;height:100%;object-fit:cover}.media-info{padding:13px}.media-info h3{margin:0 0 7px;font-size:12px;overflow-wrap:anywhere}.media-info p{font-size:10px;line-height:1.6;margin:5px 0;overflow-wrap:anywhere;color:var(--muted)}.media-info .chip{display:inline-block}.media-info button{margin-top:8px}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:17px;margin:22px 0}.catalog-card{padding:20px;min-width:0}.catalog-card img{width:100%;height:150px;object-fit:cover;border-radius:8px;margin-bottom:14px}.catalog-card h2{margin:8px 0 13px}.catalog-card p{font-size:11px;line-height:1.7;color:var(--muted)}.catalog-card .action-row{margin-top:16px}.studio-stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}.studio-stat{padding:15px 24px;border:1px solid var(--line);background:white;border-radius:12px;font-size:11px;color:var(--muted)}.studio-stat b{font:25px Georgia,serif;display:block;color:var(--green);margin-bottom:5px}.candidate{padding:15px 0;border-bottom:1px solid var(--line)}.candidate h3{font-size:13px;margin:3px 0 8px}.candidate p{margin:4px 0;color:var(--muted);font-size:11px}.candidate .action-row{margin-top:10px}.candidate select{width:250px;max-width:100%}.candidate a{color:var(--green)}#media-dialog{max-width:820px;width:calc(100% - 30px)}#media-detail-preview video,#media-detail-preview img{max-height:430px;max-width:100%;display:block;margin:auto}#media-detail-preview video{width:100%;background:#000}#media-detail-path{font-size:11px;overflow-wrap:anywhere}#media-dialog label{margin-top:14px}#media-detail-characters{display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:8px;margin-top:15px;gap:15px}#media-detail-characters label{display:flex;align-items:center;gap:5px;margin:5px 0}#media-detail-characters legend{font-size:11px}#media-detail-status{font-size:12px}#media-more{margin:20px 0}.social-channel{padding:12px 0;border-bottom:1px solid var(--line)}.social-channel a{color:var(--green)}.sync-line{font-size:11px;margin:10px 0;padding:10px;background:var(--light);border-radius:6px}.sync-line.warn{background:#fff6e7}.social-count{margin:10px 0}#social-settings{margin-bottom:20px}.social-layout #social-download{text-decoration:none;font-size:11px;padding:10px;border:1px solid var(--line);border-radius:7px}.social-target[data-complete=true]{border-left:4px solid #86a269}.media-card.missing{opacity:.65}.sidebar{overflow:visible}.sidebar-bottom{margin-top:55px}@media(max-width:1100px){.media-filters{grid-template-columns:1fr 1fr}.media-filters label:first-child{grid-column:1/-1}.section-heading{flex-wrap:wrap;gap:20px}}@media(max-width:650px){.sidebar{overflow:auto;flex-wrap:wrap}.nav{flex-shrink:0}.form-grid{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-visual{height:120px}.media-info{padding:10px}.studio-panel,.social-layout .panel{padding:16px}.studio-stat{padding:12px 16px}.topbar .brand small{max-width:180px}.social-layout .action-row{gap:7px}.work-title .action-row button{font-size:10px;padding:10px}.candidate select{width:100%}}@media(max-width:360px){.media-grid{grid-template-columns:1fr}.media-filters{grid-template-columns:1fr}.topbar{padding:12px}.brand{gap:7px;font-size:10px}}
.online-login{max-width:560px;padding-top:8vh}.online-login label{margin-top:18px}.online-login form .button{margin-top:15px}.topbar>form{margin:0}.topbar>form .button{white-space:nowrap}
