/* AMAL Reels: premium manager UI, independent of storefront / legacy manager */
:root{--s23-ink:#2c2220;--s23-muted:#82716a;--s23-rose:#9c6167;--s23-bg:#f7f2ee;--s23-line:#e8dcd6;--s23-shadow:0 18px 50px rgba(42,30,27,.06)}
.social23-admin{margin:0;background:var(--s23-bg);color:var(--s23-ink);font-family:'Segoe UI',Tahoma,Arial,sans-serif;min-height:100vh}.s23-shell{width:min(100% - 48px,1440px);margin:auto;padding:28px 0 70px;box-sizing:border-box}.s23-shell [hidden]{display:none!important}
.s23-links{display:flex;flex-wrap:wrap;gap:11px;margin-bottom:22px}.s23-links a{border:1px solid var(--s23-line);border-radius:999px;background:#fff;color:var(--s23-ink);padding:11px 17px;font-weight:700;font-size:13px;text-decoration:none}.s23-links a:hover{border-color:var(--s23-rose);color:var(--s23-rose)}
.s23-kicker{letter-spacing:.22em;font-size:11px;font-weight:800;color:var(--s23-rose);text-transform:uppercase}.s23-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,.55fr);gap:26px;align-items:center;border-radius:30px;background:linear-gradient(120deg,#543838,#251b19);color:white;padding:clamp(26px,4.5vw,62px);overflow:hidden;box-shadow:var(--s23-shadow)}.s23-hero .s23-kicker{color:#ebc0b9}.s23-hero h1{font:700 clamp(34px,4.5vw,68px) Georgia,serif;line-height:1.2;margin:14px 0}.s23-hero h1 em{display:block;color:#efccc2;font:normal clamp(22px,2.6vw,39px) Georgia,serif;margin-top:6px}.s23-hero p{color:#e8d4cd;line-height:1.9;font-size:15px;max-width:740px;margin:0 0 21px}.s23-hero-art{border:1px solid #ffffff33;border-radius:24px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff0d;direction:ltr}.s23-hero-art strong{font:normal 68px Georgia,serif;letter-spacing:.13em}.s23-hero-art small{margin-top:12px;letter-spacing:.16em;color:#e4bcb7;font-size:10px}.s23-steps{display:flex;gap:10px;flex-wrap:wrap}.s23-steps span{border:1px solid #ffffff24;border-radius:999px;background:#ffffff0c;padding:8px 13px;font-size:12px}.s23-steps b{font-size:10px;margin-left:7px;color:#ebbbb3}
.s23-status{border:1px solid var(--s23-line);border-inline-start:4px solid #699078;border-radius:13px;padding:15px 19px;background:#fff;margin:18px 0;font-size:14px;line-height:1.7}.s23-error{color:#ab3438!important;border-inline-start-color:#b13d43!important;background:#fff4f2!important}
.s23-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.65fr);gap:19px;align-items:start}.s23-panel{min-width:0;border:1px solid var(--s23-line);background:#fff;border-radius:25px;box-shadow:var(--s23-shadow);padding:clamp(20px,2.6vw,32px);margin:0 0 18px}.s23-panel-top{border-bottom:1px solid var(--s23-line);padding-bottom:17px;margin-bottom:22px}.s23-panel h2{font:700 clamp(22px,2.2vw,32px) Georgia,Tahoma,serif;margin:7px 0 11px}.s23-panel h3{font:700 19px Georgia,Tahoma,serif}.s23-panel p{line-height:1.85;color:var(--s23-muted);font-size:13px}
.s23-panel label{display:flex;flex-direction:column;gap:8px;margin:0;color:#493c38;font-size:13px;font-weight:650;min-width:0}.s23-shell input:not([type=checkbox]):not([type=file]),.s23-shell select,.s23-shell textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px 14px;background:#fffcfa;border:1px solid #dfd1c9;border-radius:12px;min-height:46px;color:var(--s23-ink);font:inherit;font-size:14px}.s23-shell textarea{min-height:75px;resize:vertical}.s23-shell select[multiple]{min-height:185px;background:#fff}.s23-shell input[type=file]{box-sizing:border-box;max-width:100%;padding:13px;border:1px dashed #bd9b92;background:#fdf7f3;border-radius:12px;cursor:pointer}.s23-shell label small{color:var(--s23-muted);font-size:11px;font-weight:400;line-height:1.6}
.s23-shell button{font:700 14px 'Segoe UI',Tahoma,sans-serif;background:#392825;color:#fff;border:1px solid #392825;min-height:45px;padding:10px 17px;border-radius:12px;cursor:pointer;transition:background .16s}.s23-shell button:hover:not(:disabled){background:#7f5052;border-color:#7f5052}.s23-shell button:disabled{opacity:.4;cursor:not-allowed}.s23-shell button:focus-visible,.s23-shell a:focus-visible,.s23-shell input:focus-visible,.s23-shell select:focus-visible,.s23-shell textarea:focus-visible{outline:3px solid #d2a6a4;outline-offset:2px}
.s23-identity-controls{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}.s23-identity{padding:13px 17px;border-radius:12px;border:1px solid #e1d7d0;background:#faf5f1;color:#775f57!important;font-size:13px;line-height:1.6;margin:16px 0}
.s23-form-group{box-sizing:border-box;border:1px solid var(--s23-line);border-radius:19px;padding:22px;margin:21px 0;background:#fffcfa;min-width:0;display:grid;gap:16px}.s23-form-group legend{font-size:18px;font-weight:750;padding:0 10px}.s23-form-group legend span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f1dfdc;color:#815053;font-size:12px;margin-left:8px}.s23-hint{margin:0!important}.s23-media-feedback{border:1px solid #e0d3c9;background:#fff;padding:10px 13px;border-radius:10px;color:#776962;font-size:12px}.s23-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.s23-toggles{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.s23-toggles label{flex-direction:row;align-items:center;border:1px solid #dfd4ce;background:white;border-radius:11px;padding:12px 15px}.s23-shell input[type=checkbox]{width:18px;height:18px;accent-color:var(--s23-rose)}
.s23-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--s23-line);background:#faf5f1;border-radius:17px}.s23-actions button:first-child{background:#985f64;border-color:#985f64}.s23-actions button:nth-child(2){background:white;color:var(--s23-ink);border-color:#c7b4aa}.s23-actions button:last-child{background:white;color:#9b434b;border-color:#e7cccf}
.s23-settings-panel{background:linear-gradient(145deg,#fff,#f9f2ee)}.s23-settings-panel>button{width:100%;margin-top:12px}.s23-settings-panel #s23-settings{display:grid;gap:15px;margin-top:18px}.s23-settings-panel #s23-settings>label:has([type=checkbox]){flex-direction:row;align-items:center}.s23-settings-panel .s23-actions{grid-template-columns:1fr}.s23-preview-card{padding:21px;background:#fcf9f7;border:1px solid var(--s23-line);border-radius:18px;margin-top:22px}.s23-preview-card video{width:min(100%,430px);aspect-ratio:9/16;max-height:560px;object-fit:contain;background:#211b19;border-radius:13px}.s23-preview-card button{margin-top:14px}.s23-history{padding-top:20px;border-top:1px solid var(--s23-line);margin-top:22px}.s23-history #s23-history{display:flex;gap:8px;flex-wrap:wrap}.s23-review-panel{margin-top:8px}.s23-review-panel>p{max-width:980px}.s23-review{border:1px solid var(--s23-line);border-radius:16px;padding:18px;margin:14px 0;background:#faf7f4;overflow-wrap:anywhere}.s23-review img,.s23-review video{max-width:150px;max-height:175px;object-fit:contain}.s23-review button{margin:4px}.s23-review input{max-width:430px!important}.s23-selected-file{border:1px solid var(--s23-line);padding:10px;border-radius:12px;display:flex;gap:12px;align-items:center}.s23-selected-file img,.s23-selected-file video{width:80px;height:100px;object-fit:cover}.s23-footer{color:#9b8b84;text-align:center;padding:22px;font-size:12px}
@media(max-width:1050px){.s23-grid{grid-template-columns:1fr}.s23-hero{grid-template-columns:1fr}.s23-hero-art{display:none}}@media(max-width:700px){.s23-shell{width:min(100% - 24px,1440px);padding:14px 0}.s23-hero{border-radius:22px;padding:27px}.s23-identity-controls,.s23-field-grid,.s23-actions{grid-template-columns:1fr}.s23-panel{border-radius:18px;padding:18px}.s23-form-group{padding:17px}.s23-links a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.s23-shell *{animation:none!important;transition:none!important}}
