@font-face { font-family: Combat; src: url('/fonts/combat.woff2') format('woff2'); font-display: swap; }
:root { --green:#19f787; --black:#0d0e0e; --panel:#181b19; --muted:#949995; --line:#343835; color-scheme:dark; font-family:Inter,system-ui,sans-serif; }
* { box-sizing:border-box; }
body { min-width:320px; min-height:100vh; margin:0; color:white; background:radial-gradient(circle at 82% 12%,rgba(25,247,135,.12),transparent 28rem),var(--black); }
button,input,textarea { font:inherit; }
select { width:100%; padding:14px; border:1px solid #424743; border-radius:9px; outline:0; background:#0e100f; color:white; font:inherit; }
button { cursor:pointer; }
.topbar { display:flex; min-height:90px; align-items:center; justify-content:space-between; padding:16px clamp(22px,5vw,72px); border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:14px; color:white; text-decoration:none; }
.brand-logo { width:12px; height:34px; flex:0 0 12px; background:currentColor; -webkit-mask:url('/logo-radiopiko.svg') center/contain no-repeat; mask:url('/logo-radiopiko.svg') center/contain no-repeat; }
.brand span,h1 { font-family:Combat,"Arial Black",sans-serif; }
.brand span { font-size:clamp(19px,3vw,29px); }
nav { display:flex; align-items:center; gap:18px; color:var(--muted); font-size:12px; }
main { width:min(1320px,100%); margin:auto; padding:clamp(34px,6vw,82px) clamp(22px,5vw,72px); }
.auth-layout { display:grid; min-height:600px; grid-template-columns:1.2fr minmax(350px,.8fr); gap:clamp(45px,8vw,120px); align-items:center; }
.auth-intro h1,.page-heading h1 { margin:12px 0 24px; font-size:clamp(48px,7vw,94px); line-height:.86; }
.auth-intro h1 em { color:var(--green); font-style:normal; }
.auth-intro>p:last-child { max-width:650px; color:#b3b8b4; font-size:19px; line-height:1.6; }
.eyebrow,.step { color:var(--green); font-size:10px; font-weight:900; letter-spacing:.18em; }
.card,.dialog-card { border:1px solid rgba(25,247,135,.3); border-radius:22px; background:linear-gradient(145deg,#1b1e1c,#121412); box-shadow:0 25px 80px rgba(0,0,0,.4); }
.auth-card { display:grid; gap:18px; padding:36px; }
h2 { margin:0; font-size:28px; }
.auth-card p,.dialog-card p { margin:0; color:var(--muted); line-height:1.5; }
label { display:grid; gap:8px; color:#c8ccc9; font-size:11px; font-weight:800; }
input { width:100%; padding:14px; border:1px solid #424743; border-radius:9px; outline:0; background:#0e100f; color:white; }
textarea { width:100%; resize:vertical; padding:14px; border:1px solid #424743; border-radius:9px; outline:0; background:#0e100f; color:white; }
input[type="color"] { width:58px; height:42px; padding:3px; cursor:pointer; }
input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(25,247,135,.1); }
.primary,.secondary,.text-button { border:0; border-radius:9px; font-weight:900; letter-spacing:.06em; }
.primary { padding:14px 18px; background:var(--green); color:#111; }
.secondary { padding:13px 17px; border:1px solid var(--green); background:transparent; color:var(--green); }
.text-button { padding:8px; background:transparent; color:#9fa4a0; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:25px; margin-bottom:40px; }
.page-heading h1 { margin-bottom:0; font-size:clamp(40px,6vw,72px); }
.radio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:18px; }
.radio-card { position:relative; overflow:hidden; padding:25px; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.radio-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:3px; background:var(--green); }
.radio-card header { display:flex; justify-content:space-between; gap:15px; }
.radio-card h2 { font-family:Combat,sans-serif; font-size:25px; }
.status { height:max-content; padding:6px 8px; border-radius:20px; background:#303430; color:#b9bdb9; font-size:9px; font-weight:900; text-transform:uppercase; }
.status.active { background:rgba(25,247,135,.12); color:var(--green); }
.radio-url { display:block; margin:12px 0 24px; color:var(--green); font-size:12px; }
#manage-radio-url { color:#000; }
.radio-logo-field { grid-column:1/-1; }
.radio-logo-editor { display:grid; grid-template-columns:150px minmax(0,1fr); align-items:center; gap:16px; }
.radio-logo-preview { display:grid; width:150px; height:150px; overflow:hidden; place-items:center; border:2px dashed #777; background:transparent; }
.radio-logo-preview img { width:100%; height:100%; object-fit:contain; }
.radio-logo-preview span { padding:10px; color:#777; font-size:9px; text-align:center; }
.radio-logo-actions { display:grid; justify-items:start; gap:8px; }
.radio-logo-actions input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
.radio-logo-actions button { min-height:36px; }
.radio-logo-actions small { max-width:300px; }
.radio-details { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.radio-details span { display:grid; gap:4px; color:var(--muted); font-size:10px; }
.radio-details strong { color:white; font-size:12px; }
.radio-actions { display:flex; gap:8px; flex-wrap:wrap; }
.empty-state { padding:70px 30px; border:1px dashed #444; border-radius:18px; text-align:center; color:var(--muted); }
.empty-state strong { color:white; }
.admin-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-bottom:20px; }
.license-admin,.submission-admin,.account-admin { margin-top:55px; }
.license-admin.standalone { margin-top:0; }
.license-admin > header,.submission-admin > header,.account-admin > header { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:18px; }
.license-admin > header h2,.submission-admin > header h2,.account-admin > header h2 { margin-top:6px; font-family:Combat,sans-serif; font-size:35px; }
.license-admin > header > span,.submission-admin > header > span,.account-admin > header > span,.license-admin-toolbar > span { display:grid; min-width:42px; height:42px; place-items:center; border-radius:50%; background:var(--green); color:#111; font-weight:900; }
.license-admin-toolbar { display:flex; align-items:end; gap:10px; }
.license-admin-toolbar label { min-width:180px; }
.license-create-panel { margin-bottom:14px; border:1px solid var(--line); border-radius:15px; background:var(--panel); }
.license-create-panel > summary { padding:16px 20px; color:var(--green); cursor:pointer; font-size:10px; font-weight:900; letter-spacing:.08em; list-style:none; }
.license-create-panel > summary::-webkit-details-marker { display:none; }
.license-create-form { display:grid; grid-template-columns:2fr 1fr .7fr 1fr; gap:12px; padding:20px; border:1px solid var(--line); border-radius:15px; background:var(--panel); }
.license-create-form fieldset { grid-column:1/-1; }
.license-create-form > button { grid-column:1/-1; justify-self:start; }
.license-create-form fieldset,.license-features-admin { display:flex; flex-wrap:wrap; gap:9px 18px; padding:13px; border:1px solid #424743; border-radius:9px; }
.license-create-form fieldset label,.license-features-admin label { display:flex; align-items:center; gap:7px; }
.license-create-form input[type="checkbox"],.license-features-admin input[type="checkbox"] { width:auto; }
.license-created-key { display:grid; gap:8px; margin:14px 0; padding:20px; border:2px solid var(--green); border-radius:12px; background:rgba(25,247,135,.08); }
.license-created-key code { color:var(--green); font-size:clamp(14px,2vw,22px); overflow-wrap:anywhere; }
.license-created-key small { color:var(--muted); }
.license-admin-list { display:grid; max-height:680px; overflow:auto; gap:8px; margin-top:18px; padding-right:5px; }
#license-admin-list { display:table-row-group; max-height:none; overflow:visible; margin:0; padding:0; }
.license-table-shell { max-height:640px; }
.license-summary-row td { vertical-align:middle; }
.license-summary-row td:first-child strong { font-size:13px; }
.license-edit-row td { padding:0; white-space:normal; background:#111412; }
.license-edit-row .license-admin-card-body { padding:18px; }
.license-summary-table td button { white-space:nowrap; }
.account-table-shell { max-height:360px; }
.account-status { display:inline-block; padding:5px 8px; border-radius:20px; color:var(--green); background:rgba(25,247,135,.1); font-size:8px; font-weight:900; text-transform:uppercase; }
.account-status.suspended { color:#ff8d89; background:rgba(255,115,115,.1); }
.license-admin-card { border:1px solid var(--line); border-radius:11px; background:var(--panel); }
.license-admin-card > summary { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:15px; padding:12px 15px; cursor:pointer; list-style:none; }
.license-admin-card > summary::-webkit-details-marker { display:none; }
.license-admin-card > summary > b { color:var(--muted); font-size:8px; }
.license-admin-card[open] > summary { border-bottom:1px solid var(--line); }
.license-admin-card-body { padding:16px; }
.license-admin-card h3 { margin:6px 0 18px; font-size:22px; }
.license-admin-card > summary h3 { margin:3px 0 0; font-size:15px; }
.license-admin-card summary small { color:var(--green); font-size:8px; font-weight:900; letter-spacing:.1em; }
.license-status { padding:6px 9px; border-radius:20px; background:#303430; color:#bbb; font-size:8px; font-weight:900; text-transform:uppercase; }
.license-status.active { background:rgba(25,247,135,.12); color:var(--green); }
.license-status.suspended { color:#ffc969; }.license-status.revoked { color:#ff7373; }
.license-edit-grid { display:grid; grid-template-columns:1fr .7fr 1fr; gap:12px; margin-bottom:12px; }
.license-admin-actions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.license-admin-actions button,.license-activation-list button { padding:8px 10px; border:1px solid #555; border-radius:6px; background:#252825; color:white; }
.license-admin-actions .danger { color:#ff7373; }
.license-devices { border-top:1px solid var(--line); padding-top:13px; }
.license-devices > summary { color:var(--muted); cursor:pointer; font-size:9px; font-weight:900; }
.license-activation-list { display:grid; gap:7px; margin-top:12px; }
.license-activation-list > div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px; border-radius:8px; background:#111412; }
.license-activation-list span { display:grid; gap:4px; min-width:0; }
.license-activation-list strong { overflow:hidden; font:10px ui-monospace,monospace; text-overflow:ellipsis; }
.license-activation-list small { color:var(--muted); font-size:8px; }.license-activation-list em { color:#777; font-size:8px; }
.protected-radio { display:inline-block; padding:7px 9px; border-radius:7px; background:#e7e7e1; color:#555; font-size:10px; font-weight:800; letter-spacing:.08em; }
.editorial-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:22px; align-items:start; }
.editorial-pages { position:sticky; top:20px; display:grid; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.editorial-pages button { display:grid; gap:5px; padding:15px; border:0; border-bottom:1px solid var(--line); background:transparent; color:white; text-align:left; }
.editorial-pages button:last-child { border:0; }
.editorial-pages button.active { background:var(--green); color:#111; }
.editorial-pages small { color:var(--muted); font-size:8px; }
.editorial-pages button.active small { color:#31503f; }
.editorial-form { display:grid; gap:18px; padding:25px; border:1px solid var(--line); border-radius:16px; background:var(--panel); }
.editorial-form > header { display:flex; justify-content:space-between; gap:15px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.editorial-form > header div { display:grid; gap:6px; }
.editorial-form > header span { font-family:Combat,sans-serif; font-size:25px; }
.editorial-form > header strong { width:max-content; padding:5px 7px; border-radius:12px; background:#303430; color:#aaa; font-size:8px; }
.editorial-form > header strong.published { background:rgba(25,247,135,.13); color:var(--green); }
.editorial-form > header small { max-width:300px; color:var(--muted); line-height:1.5; }
.editorial-items-heading { display:flex; align-items:end; justify-content:space-between; gap:15px; margin-top:10px; }
.editorial-items-heading div { display:grid; gap:4px; }
.editorial-items-heading small { color:var(--muted); }
.editorial-items { display:grid; gap:14px; }
.editorial-item { padding:17px; border:1px solid #3b403c; border-radius:12px; background:#111412; }
.editorial-item > header { display:flex; justify-content:space-between; margin-bottom:13px; }
.editorial-item > header strong { color:var(--green); font-size:9px; letter-spacing:.12em; }
.editorial-item > header button { border:0; background:transparent; color:#ff8582; font-size:8px; font-weight:900; }
.editorial-item-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.editorial-item-grid .wide { grid-column:1/-1; }
.editorial-image-field { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:12px; border:3px solid var(--black); background:white; }
.editorial-image-status { display:grid; min-width:0; gap:4px; }
.editorial-image-status b { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.editorial-image-status small { color:var(--muted); font-size:7px; }
.editorial-image-actions { display:flex; flex-wrap:wrap; gap:7px; }
.editorial-image-actions button { padding:8px 9px; border:2px solid var(--black); background:var(--green); font-size:7px; font-weight:900; }
.editorial-image-actions .editorial-delete-image { background:white; color:#a42320; }
.editorial-image-actions button:disabled { cursor:not-allowed; opacity:.35; }
.editorial-image-crop { display:grid; gap:15px; margin-top:10px; padding:15px; border:3px solid var(--black); background:white; }
.editorial-image-crop header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:9px; border-bottom:2px solid var(--black); }
.editorial-image-crop header span { font-size:8px; font-weight:900; letter-spacing:.1em; }
.editorial-image-crop header button { border:0; background:transparent; font-size:7px; font-weight:900; text-decoration:underline; }
.editorial-image-crop label { display:grid; grid-template-columns:1fr auto; gap:7px; font-size:7px; }
.editorial-image-crop input[type="range"] { grid-column:1/-1; width:100%; height:8px; padding:0; border:2px solid var(--black); border-radius:0; background:var(--yellow); box-shadow:none; accent-color:var(--purple); }
.editorial-image-crop input[type="range"]::-webkit-slider-thumb { width:22px; height:22px; border:3px solid var(--black); border-radius:50%; background:var(--green); -webkit-appearance:none; }
.editorial-image-crop output { padding:3px 6px; background:var(--black); color:white; font-family:ui-monospace,monospace; }
.editorial-image-crop label small { grid-column:1/-1; display:flex; justify-content:space-between; color:var(--muted); font-size:6px; }
.editorial-image-crop label small i { flex:1; margin:3px 8px 0; border-top:1px solid #aaa; }
.editorial-image-crop > p { margin:0; padding:8px; background:var(--yellow); font-size:7px; font-weight:900; }
.editorial-image-field input[type="file"] { font-size:10px; }
.editorial-download-field { display:grid; gap:9px; padding:12px; border:1px dashed #4a504b; border-radius:8px; background:#0d0f0e; }
.editorial-download-status { display:grid; gap:4px; color:var(--green); font-size:9px; font-weight:900; letter-spacing:.08em; }
.editorial-download-status a { overflow:hidden; color:white; font-size:11px; font-weight:700; letter-spacing:0; text-decoration:underline; text-overflow:ellipsis; white-space:nowrap; }
.editorial-download-status small { color:#a5aaa6; font-size:8px; }
.editorial-download-actions { display:flex; gap:7px; flex-wrap:wrap; }
.editorial-download-actions button { padding:7px 9px; border:1px solid var(--green); border-radius:5px; background:#202421; color:white; font-size:8px; font-weight:900; }
.editorial-download-actions .editorial-delete-download { border-color:#ff7670; color:#ff9c97; }
.editorial-download-actions button:disabled { cursor:not-allowed; opacity:.35; }
.editorial-download-field input[type="file"] { font-size:10px; }
.rich-text-field { overflow:hidden; border:1px solid #424743; border-radius:9px; background:#0e100f; }
.rich-text-editor { width:100%; min-height:260px; max-height:620px; overflow:auto; padding:14px; outline:0; color:white; background:#0e100f; font-size:13px; line-height:1.6; }
.rich-text-editor:focus { box-shadow:inset 0 0 0 2px var(--green); }
.rich-text-editor mark { padding:1px 3px; background:#fff900; color:var(--black); }
.rich-text-editor h3 { margin:12px 0 6px; font-family:Combat,sans-serif; font-size:21px; }
.rich-text-editor .font-combat,.rich-text-editor font[face="Combat"] { font-family:Combat,sans-serif; }
.rich-text-editor .font-mono,.rich-text-editor font[face="monospace"] { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.rich-text-toolbar { position:relative; display:flex; flex-wrap:wrap; gap:6px; padding:8px; border-bottom:1px solid #424743; }
.rich-text-toolbar button { padding:7px 9px; border:1px solid #555; border-radius:6px; background:#202421; color:white; font-size:8px; font-weight:800; }
.rich-text-toolbar button:hover { border-color:var(--green); }
.rich-text-toolbar .font-combat { font-family:Combat,sans-serif; }
.rich-format-menu { position:relative; margin-left:auto; }
.rich-format-menu summary { padding:7px 9px; border:1px solid #555; border-radius:6px; background:#202421; color:white; font-size:8px; font-weight:900; cursor:pointer; list-style:none; }
.rich-format-menu summary::-webkit-details-marker { display:none; }
.rich-format-menu[open] summary { border-color:var(--green); color:var(--green); }
.rich-format-menu-panel { position:absolute; z-index:30; top:calc(100% + 8px); right:0; width:min(520px,80vw); padding:12px; border:2px solid var(--green); border-radius:10px; background:#111412; box-shadow:0 14px 35px #000a; }
.rich-format-actions { display:flex; flex-wrap:wrap; gap:6px; padding-bottom:10px; }
.rich-text-toolbar mark { padding:1px 3px; background:#fff900; color:var(--black); }
.rich-color-palettes { display:grid; grid-template-columns:auto 1fr; gap:7px 12px; align-items:center; padding:9px 0 0; border-top:1px solid #424743; }
.rich-color-palettes > span { color:var(--muted); font-size:8px; font-weight:900; }
.rich-color-palettes > div { display:flex; gap:6px; }
.rich-color-button { width:24px; height:24px; padding:3px; border:1px solid #666; border-radius:50%; background:#202421; }
.rich-color-button span { display:block; width:100%; height:100%; border:1px solid #777; border-radius:50%; background:var(--swatch); }
.rich-color-button:hover { transform:scale(1.12); border-color:var(--green); }
.rich-text-editor .text-green { color:#19f787; }.rich-text-editor .text-purple { color:#6662c8; }.rich-text-editor .text-blue { color:#5c8dff; }.rich-text-editor .text-black { color:#090909; }.rich-text-editor .text-white { color:#ffffff; }.rich-text-editor .text-yellow { color:#fff900; }
.rich-text-editor .highlight-green { background:#19f787; }.rich-text-editor .highlight-purple { background:#6662c8; }.rich-text-editor .highlight-blue { background:#5c8dff; }.rich-text-editor .highlight-black { background:#090909; }.rich-text-editor .highlight-white { background:#ffffff; }.rich-text-editor .highlight-yellow { background:#fff900; }
.editorial-color-field { display:flex; align-items:center; gap:10px; }
.editorial-color-field select { flex:1; padding:12px; border:1px solid #424743; border-radius:9px; background:#0e100f; color:white; }
.editorial-color-dot { width:34px; height:34px; flex:0 0 34px; border:2px solid #555; border-radius:50%; }
.editorial-form > footer { display:flex; justify-content:flex-end; gap:10px; padding-top:18px; border-top:1px solid var(--line); }
.metric { padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.metric strong { display:block; color:var(--green); font-size:32px; }
.metric span { color:var(--muted); font-size:10px; text-transform:uppercase; }
.table-shell { max-height:520px; overflow:auto; border:1px solid var(--line); border-radius:15px; }
table { width:100%; border-collapse:collapse; background:var(--panel); }
thead { position:sticky; z-index:2; top:0; background:var(--panel); }
th,td { padding:15px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; font-size:12px; }
th { color:var(--muted); font-size:9px; text-transform:uppercase; }
td button { margin-right:5px; padding:7px 9px; border:1px solid #555; border-radius:6px; background:#252825; color:white; }
td button.danger { color:#ff7373; }
dialog { max-width:none; padding:0; border:0; background:transparent; }
#manage-dialog { max-height:none; overflow:visible; }
dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(7px); }
.dialog-card { position:relative; display:grid; width:min(500px,calc(100vw - 30px)); max-height:calc(100vh - 30px); overflow-y:auto; gap:18px; padding:32px; }
.dialog-close { position:absolute; top:13px; right:13px; border:0; background:transparent; color:#aaa; font-size:25px; }
.slug-field { display:flex; align-items:center; border:1px solid #424743; border-radius:9px; background:#0e100f; }
.slug-field input { border:0; }
.slug-field span { padding-right:12px; color:#777; white-space:nowrap; }
.pairing-card { text-align:center; }
.pairing-card>strong { padding:18px; border-radius:12px; color:var(--green); background:#0b0d0c; font:36px ui-monospace,monospace; letter-spacing:.08em; }
.manage-information { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.manage-information span { display:grid; gap:5px; padding:13px; border-radius:9px; background:#242724; color:var(--muted); font-size:9px; }
.manage-information strong { color:white; font-size:12px; }
.manage-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:3px solid var(--black); }

.station-network-panel { display:grid; gap:18px; }
.station-network-panel > header { display:grid; gap:8px; }
.station-network-panel > header p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.planning-manager { gap:20px; }
.legacy-schedule-editor { display:none; }
.planning-manager > header { display:grid; gap:7px; }
.planning-manager > header p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.automation-form { display:grid; grid-template-columns:1.2fr .9fr; gap:12px; padding:16px; border:1px solid var(--line); border-radius:12px; background:#121512; }
.automation-form .automation-toggle { grid-column:1/-1; display:flex; align-items:center; gap:9px; color:#d9ddd9; }
.automation-form .automation-toggle input { width:auto; }
.automation-form button { justify-self:start; }
.schedule-manager { display:grid; gap:13px; }
.schedule-manager > header { display:grid; gap:4px; }.schedule-manager > header small { color:var(--muted); font-size:11px; }
.schedule-event-form { display:grid; grid-template-columns:120px minmax(160px,1fr) 150px 110px 118px auto; gap:9px; align-items:end; padding:14px; border:1px solid var(--line); border-radius:12px; background:#121512; }
.schedule-event-form button { min-height:46px; }
.schedule-event-list { display:grid; gap:7px; max-height:330px; overflow:auto; padding-right:3px; }
.schedule-event-row { display:grid; grid-template-columns:85px minmax(0,1fr) 34px; gap:12px; align-items:center; padding:11px; border:1px solid #353a36; border-radius:9px; background:#171a18; }
.schedule-event-row time { display:grid; gap:3px; color:#aab0ab; font-size:10px; text-transform:capitalize; }.schedule-event-row time strong { color:var(--green); font-size:16px; }.schedule-event-row div { display:grid; gap:2px; min-width:0; }.schedule-event-row small { color:#aeb4af; font-size:9px; font-weight:900; letter-spacing:.08em; }.schedule-event-row div strong { overflow:hidden; color:white; text-overflow:ellipsis; white-space:nowrap; }.schedule-event-row span { color:var(--muted); font-size:10px; }.schedule-event-row button { width:30px; height:30px; padding:0; border:1px solid #754543; border-radius:6px; background:transparent; color:#ffaaa5; font-size:19px; }.schedule-event-empty { margin:0; padding:20px; border:1px dashed #474d48; border-radius:9px; color:var(--muted); text-align:center; }
@media (max-width:900px) { .schedule-event-form { grid-template-columns:repeat(2,minmax(0,1fr)); }.schedule-event-form button { grid-column:1/-1; justify-self:start; }.automation-form { grid-template-columns:1fr; } }
.station-invite-form { display:grid; gap:10px; padding:15px; border:1px solid var(--line); background:#161a17; }
.station-invite-form button { justify-self:start; }
.station-network-list { display:grid; gap:10px; }
.station-network-list > strong { color:var(--green); font-size:10px; letter-spacing:.12em; }
.station-member { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--line); background:#151815; }
.station-member span { display:grid; gap:4px; min-width:0; }
.station-member small,.station-pending-list small,.station-empty { color:var(--muted); font-size:10px; }
.station-member button { border:1px solid #aa4f4f; background:transparent; color:#ff9690; font-size:9px; font-weight:800; }
.station-pending-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.station-pending-list li { padding:9px 0; border-bottom:1px solid var(--line); font-size:11px; }
.manage-tabs button { padding:12px; border:0; background:white; color:var(--black); font-size:9px; font-weight:900; letter-spacing:.08em; }
.manage-tabs button + button { border-left:3px solid var(--black); }
.manage-tabs button.active { background:var(--purple); color:white; }
.manage-tab-panel { display:grid; gap:14px; }
.manage-tab-panel[hidden] { display:none; }
.podcast-manager { border:3px solid var(--black); background:white; }
.podcast-manager-body { display:grid; gap:16px; padding:14px; }
.podcast-list { display:grid; gap:8px; }
.podcast-row { display:grid; grid-template-columns:54px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px; border:2px solid var(--black); background:var(--yellow); }
.podcast-row img,.podcast-placeholder { width:54px; height:54px; object-fit:cover; border:2px solid var(--black); }
.podcast-placeholder { display:grid; place-items:center; background:var(--green); font-size:24px; }
.podcast-row > div:nth-child(2) { display:grid; min-width:0; gap:3px; }
.podcast-row small,.podcast-row em { font-size:8px; font-style:normal; font-weight:900; }
.podcast-row strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.podcast-row-actions { display:grid; gap:4px; }
.podcast-row-actions button,.podcast-form-heading button { padding:6px; border:2px solid var(--black); background:white; font-size:7px; font-weight:900; }
.podcast-row-actions button:last-child { color:#a60000; }
.podcast-empty { padding:12px; border:2px dashed var(--black); text-align:center; font-size:10px; }
.podcast-form { display:grid; gap:12px; padding-top:14px; border-top:3px solid var(--black); }
.podcast-form-heading { display:flex; align-items:center; justify-content:space-between; }
.podcast-form-columns { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.podcast-form label { display:grid; gap:6px; font-size:8px; font-weight:900; }
.podcast-form label > small { font-size:8px; }
.podcast-form select { padding:12px; border:3px solid var(--black); background:white; }
.podcast-image-editor { display:grid; gap:10px; padding:12px; border:3px solid var(--black); background:white; }
.podcast-image-editor > header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.podcast-image-editor > header small { max-width:55%; overflow:hidden; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.podcast-image-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:14px; }
.podcast-image-preview { position:relative; width:190px; height:190px; overflow:hidden; border:3px solid var(--black); background:var(--purple); cursor:grab; touch-action:none; }
.podcast-image-preview.dragging { cursor:grabbing; outline:5px solid var(--green); outline-offset:-9px; }
.podcast-image-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.podcast-image-preview span { display:grid; width:100%; height:100%; place-items:center; font:64px Combat,sans-serif; }
.podcast-image-settings { display:grid; gap:9px; }
.podcast-image-actions { display:flex; flex-wrap:wrap; gap:7px; }
.podcast-image-actions button,.podcast-image-settings > button { padding:7px 9px; border:2px solid var(--black); background:var(--green); font-size:7px; font-weight:900; }
.podcast-image-actions button:nth-child(2) { background:white; color:#a42320; }
.podcast-image-actions button:disabled { opacity:.35; }
.podcast-image-settings label { display:grid; grid-template-columns:1fr auto; gap:5px; }
.podcast-image-settings input[type="range"] { grid-column:1/-1; width:100%; height:8px; padding:0; border:2px solid var(--black); background:var(--yellow); box-shadow:none; accent-color:var(--purple); }
.podcast-image-settings output { padding:2px 5px; background:var(--black); color:white; }
.podcast-image-settings > small { font-size:7px; }
.podcast-proposal-form { display:grid; gap:11px; padding:14px; border:3px solid var(--black); background:var(--green); }
.podcast-proposal-form[hidden] { display:none; }
.podcast-proposal-form header { display:flex; align-items:center; justify-content:space-between; }
.podcast-proposal-form header button { padding:6px 8px; border:2px solid var(--black); background:white; font-size:8px; font-weight:900; }
.podcast-proposal-form > p,.podcast-proposal-form > small { margin:0; color:var(--black); font-size:9px; line-height:1.5; }
.podcast-proposal-form label { display:flex; align-items:flex-start; gap:8px; color:var(--black); font-size:9px; font-weight:700; line-height:1.45; }
.podcast-proposal-form label:first-of-type { display:grid; }
.podcast-proposal-form input[type="checkbox"] { width:18px; height:18px; flex:0 0 18px; }
.podcast-proposal-form select { padding:10px; border:2px solid var(--black); background:white; }
.submission-admin { display:grid; gap:16px; margin-top:42px; }
.submission-admin > header { display:flex; align-items:end; justify-content:space-between; padding:18px; border:4px solid var(--black); background:var(--green); }
.submission-admin h2 { margin:4px 0 0; font-family:Combat,sans-serif; font-size:28px; }
.submission-admin > header > span { display:grid; width:48px; height:48px; place-items:center; border:3px solid var(--black); background:var(--yellow); font-family:Combat,sans-serif; font-size:24px; }
.submission-admin-list { display:grid; gap:18px; }
.submission-card { display:grid; grid-template-columns:150px minmax(0,1fr) 190px; border:4px solid var(--black); background:white; box-shadow:9px 9px 0 var(--purple); }
.submission-art { display:grid; min-height:180px; place-items:center; overflow:hidden; border-right:4px solid var(--black); background:var(--purple); font:55px Combat,sans-serif; }
.submission-art img { width:100%; height:100%; object-fit:cover; }
.submission-copy { display:grid; min-width:0; gap:8px; padding:16px; }
.submission-copy h3,.submission-copy p { margin:0; }
.submission-copy h3 { font-family:Combat,sans-serif; font-size:23px; }
.submission-copy p,.submission-copy details { font-size:10px; line-height:1.5; }
.submission-copy audio { width:100%; }
.submission-links { display:flex; flex-wrap:wrap; gap:8px; }
.submission-links a { padding:7px 8px; border:2px solid var(--black); background:var(--green); font-size:8px; font-weight:900; text-decoration:none; }
.submission-message { padding:8px; background:var(--yellow); }
.submission-decision { display:flex; flex-direction:column; gap:8px; padding:14px; border-left:4px solid var(--black); background:var(--yellow); }
.submission-decision strong { margin-bottom:8px; font-size:10px; }
.submission-decision button { padding:9px; border:2px solid var(--black); background:white; font-size:8px; font-weight:900; }
.submission-decision button:first-of-type { background:var(--green); }
@media(max-width:600px){.podcast-form-columns,.design-form{grid-template-columns:1fr}.podcast-row{grid-template-columns:46px minmax(0,1fr)}.podcast-row img,.podcast-placeholder{width:46px;height:46px}.podcast-row-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}}
@media(max-width:600px){.radio-logo-editor{grid-template-columns:100px minmax(0,1fr)}.radio-logo-preview{width:100px;height:100px}}
@media(max-width:600px){.podcast-image-layout{grid-template-columns:1fr}.podcast-image-preview{width:100%;height:auto;aspect-ratio:1}}
@media(max-width:900px){.submission-card{grid-template-columns:110px minmax(0,1fr)}.submission-decision{grid-column:1/-1;border-top:4px solid var(--black);border-left:0}.submission-art{min-height:140px}}
@media(max-width:600px){.submission-card{grid-template-columns:1fr}.submission-art{height:190px;border-right:0;border-bottom:4px solid var(--black)}}
.design-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px; padding:10px; border-radius:10px; background:#101210; }
.design-form > label { display:grid; gap:5px; font-size:8px; }
.design-form > label select { min-height:38px; padding:7px 10px; border:3px solid var(--black); background:white; color:var(--black); font-weight:900; }
.design-form > label small { max-width:360px; color:#555; font-size:8px; line-height:1.35; }
.design-form .radio-description-field { grid-column:1/-1; }
.design-form .radio-description-field textarea { min-height:82px; resize:vertical; }
.design-form > button { min-height:38px; padding:7px 10px; font-size:8px; }
.color-field { display:flex; align-items:center; gap:8px; }
.color-field input[type="color"] { width:48px; height:36px; padding:2px; }
.color-field output { color:var(--muted); font:12px ui-monospace,monospace; }
.manage-main-action { width:100%; min-height:50px; font-size:11px; }
.danger-zone { display:grid; gap:9px; margin-top:12px; padding-top:20px; border-top:1px solid #49302f; }
.danger-zone>strong { color:#ff8582; font-size:11px; }
.danger-zone button { justify-self:start; padding:10px 12px; border:1px solid #874542; border-radius:7px; background:transparent; color:#ff8582; font-size:9px; font-weight:900; }
#toast { position:fixed; right:22px; bottom:22px; max-width:420px; padding:13px 18px; border-radius:10px; background:#262a27; opacity:0; transform:translateY(10px); pointer-events:none; transition:.2s; }
#toast.show { opacity:1; transform:none; }
#toast.error { color:#ff8582; }
[hidden] { display:none !important; }
@media(max-width:760px){ .auth-layout{grid-template-columns:1fr}.auth-intro{text-align:center}.page-heading{align-items:stretch;flex-direction:column}.admin-summary,.license-create-form,.license-edit-grid{grid-template-columns:1fr}.topbar nav span{display:none}.editorial-layout{grid-template-columns:1fr}.editorial-pages{position:static;grid-template-columns:1fr 1fr}.editorial-item-grid{grid-template-columns:1fr}.editorial-item-grid .wide{grid-column:auto}.editorial-form>footer{align-items:stretch;flex-direction:column} }

/* Identité éditoriale Radio Piko */
:root { --green:#19f787; --yellow:#fff900; --purple:#6662c8; --blue:#5c8dff; --black:#090909; --panel:#ffffff; --muted:#4a4a4a; --line:#090909; color-scheme:light; }
body { color:var(--black); background-color:var(--yellow); background-image:repeating-linear-gradient(82deg,transparent 0 46px,rgba(102,98,200,.22) 47px 49px),repeating-linear-gradient(8deg,transparent 0 41px,rgba(102,98,200,.22) 42px 44px); }
.topbar { min-height:104px; padding:14px clamp(20px,4vw,58px); border:4px solid var(--black); background:var(--black); color:white; }
.brand { color:white; }
.brand-logo { width:13px; height:36px; flex-basis:13px; }
.brand span { font-size:clamp(23px,3.4vw,36px); letter-spacing:.08em; }
.topbar nav { color:white; }
.topbar .text-button { color:white; }
.topbar .secondary { border-color:white; background:transparent; color:white; }
main { width:min(1440px,100%); padding:clamp(26px,4vw,58px); }
.auth-layout { min-height:620px; }
.auth-intro { padding:28px; border:4px solid var(--black); background:var(--yellow); }
.auth-intro h1,.page-heading h1 { color:var(--black); }
.auth-intro h1 em { color:var(--purple); }
.auth-intro>p:last-child,.auth-card p,.dialog-card p { color:var(--black); }
.eyebrow,.step { color:var(--black); }
.card,.dialog-card,.radio-card,.metric,.editorial-form,.editorial-pages,.table-shell { border:4px solid var(--black); border-radius:0; background:white; box-shadow:12px 12px 0 var(--purple); }
.auth-card { background:var(--green); }
label { color:var(--black); }
input,textarea,.editorial-color-field select { border:3px solid var(--black); border-radius:0; background:white; color:var(--black); }
input:focus,textarea:focus { border-color:var(--purple); box-shadow:4px 4px 0 var(--green); }
.primary,.secondary,.text-button { border-radius:0; }
.primary { border:3px solid var(--black); background:var(--black); color:white; }
.primary:hover { background:var(--purple); }
.secondary { border:3px solid var(--black); background:var(--green); color:var(--black); }
.manage-radio-save { background:var(--black); color:#fff; border-color:var(--black); }
.manage-radio-save:hover { background:#252825; border-color:#252825; }
.text-button { color:var(--black); }
.page-heading { padding:18px 22px; border:4px solid var(--black); background:var(--yellow); }
.page-heading h1 { line-height:.82; }
.radio-grid { gap:26px; }
.radio-card { overflow:visible; background:var(--purple); color:white; box-shadow:10px 10px 0 var(--green); }
.radio-card::before { display:none; }
.radio-card h2,.radio-details strong { color:white; }
.radio-card .radio-url { color:var(--yellow); }
.radio-details span { color:rgba(255,255,255,.72); }
.status,.status.active { border:2px solid var(--black); border-radius:0; background:var(--green); color:var(--black); }
.empty-state { border:4px dashed var(--black); border-radius:0; background:rgba(255,255,255,.72); color:var(--black); }
.empty-state strong { color:var(--black); }
.editorial-layout { gap:28px; }
.editorial-pages { overflow:visible; box-shadow:8px 8px 0 var(--purple); }
.editorial-pages button { border-bottom:3px solid var(--black); background:var(--purple); color:white; font-family:Inter,system-ui,sans-serif; font-weight:900; letter-spacing:.06em; }
.editorial-pages button.active { background:var(--green); color:var(--black); }
.editorial-pages small,.editorial-pages button.active small { color:inherit; opacity:.7; }
.editorial-form { box-shadow:12px 12px 0 var(--green); }
.editorial-form > header,.editorial-form > footer { border-color:var(--black); }
.editorial-form > header span { color:var(--black); }
.editorial-form > header small,.editorial-items-heading small { color:var(--muted); }
.editorial-item { border:3px solid var(--black); border-radius:0; background:var(--yellow); }
.editorial-item > header strong { color:var(--black); }
.editorial-image-preview { border:3px solid var(--black); border-radius:0; background:white; color:var(--black); }
.editorial-color-dot { border-color:var(--black); border-radius:0; }
.metric { background:var(--green); }
.metric strong,.metric span { color:var(--black); }
table { background:white; }
th,td { border-color:var(--black); color:var(--black); }
th { background:var(--purple); color:white; }
td button { border:2px solid var(--black); border-radius:0; background:var(--green); color:var(--black); }
dialog::backdrop { background:rgba(102,98,200,.78); backdrop-filter:blur(4px); }
.dialog-card { background:var(--yellow); box-shadow:12px 12px 0 var(--green); }
.dialog-close { color:var(--black); }
.slug-field { border:3px solid var(--black); border-radius:0; background:white; }
.pairing-card>strong { border:3px solid var(--black); border-radius:0; background:var(--purple); color:white; }
.manage-information span,.design-form { border:2px solid var(--black); border-radius:0; background:white; color:var(--black); }
.manage-information strong { color:var(--black); }
#toast { border:3px solid var(--black); border-radius:0; background:var(--green); color:var(--black); box-shadow:6px 6px 0 var(--black); }
@media(max-width:760px){ .topbar{border-width:0 0 4px}.brand-logo{width:11px;height:30px;flex-basis:11px}.auth-intro{padding:18px}.card,.dialog-card,.radio-card,.metric,.editorial-form,.editorial-pages,.table-shell{box-shadow:6px 6px 0 var(--purple)} }

/* Navigation simplifiée du CMS */
.topbar nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.topbar nav button { min-height:38px; padding:8px 11px; font-size:8px; }
.topbar .nav-count-button { display:inline-flex; align-items:center; gap:7px; }
.topbar .nav-count-button span { display:inline-grid; min-width:20px; height:20px; padding:0 5px; place-items:center; border:2px solid white; border-radius:50%; background:var(--yellow); color:var(--black); font-size:8px; font-weight:900; }
.topbar .nav-count-button span[hidden] { display:none; }
.editorial-layout { display:block; }
.editorial-pages { position:sticky; z-index:20; top:0; margin-bottom:18px; padding:13px; border:4px solid var(--black); background:var(--purple); box-shadow:7px 7px 0 var(--green); }
.editorial-pages label { display:grid; grid-template-columns:auto minmax(220px,1fr); align-items:center; gap:16px; color:white; font-size:9px; font-weight:900; letter-spacing:.1em; }
.editorial-pages select { width:100%; min-height:46px; padding:9px 12px; border:3px solid var(--black); background:white; color:var(--black); font-weight:900; }
.editorial-form { max-width:1080px; margin:0 auto; }
.editorial-header-actions { display:grid; justify-items:end; gap:8px; }
.editorial-header-actions a { padding:7px 9px; border:2px solid var(--black); background:var(--green); color:var(--black); font-size:8px; font-weight:900; text-decoration:none; }
.editorial-section,.editorial-item { overflow:visible; padding:0; border:3px solid var(--black); background:white; }
.editorial-section > summary,.editorial-item > summary { display:flex; min-height:58px; align-items:center; justify-content:space-between; gap:16px; padding:13px 16px; background:var(--purple); color:white; cursor:pointer; list-style:none; }
.editorial-section > summary::-webkit-details-marker,.editorial-item > summary::-webkit-details-marker { display:none; }
.editorial-section > summary::after,.editorial-item > summary::after { content:'＋'; margin-left:auto; font-family:Combat,sans-serif; font-size:22px; }
.editorial-section[open] > summary::after,.editorial-item[open] > summary::after { content:'−'; }
.editorial-section > summary span,.editorial-item > summary b { font-size:8px; font-weight:900; }
.editorial-section-body { display:grid; gap:14px; padding:18px; background:white; }
.editorial-item > summary > span { display:grid; gap:4px; }
.editorial-item > summary strong { color:var(--green); font-size:8px; letter-spacing:.12em; }
.editorial-item > summary em { max-width:650px; overflow:hidden; color:white; font-family:Combat,sans-serif; font-size:18px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.editorial-item-body { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(420px,1.35fr); gap:22px; padding:18px; background:var(--yellow); }
.editorial-remove-item { justify-self:end; padding:7px 9px; border:2px solid var(--black); background:white; color:#a42320; font-size:8px; font-weight:900; }
.editorial-remove-item { grid-column:1/-1; }
.editorial-live-preview { position:sticky; top:92px; align-self:start; min-width:0; }
.editorial-preview-label { display:block; margin-bottom:8px; font-size:8px; font-weight:900; letter-spacing:.12em; }
.editorial-preview-card { position:relative; min-height:390px; padding-bottom:72px; }
.editorial-preview-image { position:relative; height:310px; overflow:hidden; border:4px solid var(--black); background:linear-gradient(135deg,#333,var(--purple)); cursor:grab; touch-action:none; user-select:none; }
.editorial-preview-image.dragging { cursor:grabbing; outline:5px solid var(--green); outline-offset:-9px; }
.editorial-preview-image img { position:absolute; z-index:1; inset:0; width:100%; height:100%; object-fit:cover; }
.editorial-preview-image b { position:absolute; z-index:2; top:15px; right:17px; font-family:Combat,sans-serif; font-size:40px; }
.editorial-preview-copy { position:absolute; z-index:3; right:14px; bottom:0; left:20px; min-height:112px; padding:13px 15px; border:4px solid var(--black); background:var(--green); color:var(--black); }
.editorial-item[data-page-key="home"] .editorial-preview-copy { right:auto; width:74%; }
.editorial-preview-copy small { font-size:7px; font-weight:900; letter-spacing:.08em; }
.editorial-preview-copy h3 { margin:5px 0; font-family:Combat,sans-serif; font-size:clamp(18px,2vw,28px); line-height:1; }
.editorial-preview-copy p { margin:0 0 9px; font-size:9px; line-height:1.4; }
.editorial-preview-copy p h3 { font-size:16px; }
.editorial-preview-button { display:inline-block; padding:6px 8px; border:2px solid var(--black); font-size:7px; font-weight:900; }
@media(max-width:900px){.editorial-item-body{grid-template-columns:1fr}.editorial-live-preview{position:static}.editorial-preview-card{max-width:520px}.editorial-remove-item{grid-column:auto}}
@media(max-width:760px){.editorial-pages{position:static}.editorial-pages label{grid-template-columns:1fr}.editorial-form{padding:14px}.editorial-form>header{flex-direction:column}.editorial-header-actions{justify-items:start}.editorial-item>summary em{max-width:55vw;font-size:14px}.topbar nav{justify-content:flex-start}}
@media(max-width:600px){.editorial-image-crop{grid-template-columns:1fr}}

/* Panneau de gestion d'une licence : contraste explicite avec le tableau. */
.license-edit-row td {
  background:#f4f4ef;
  color:var(--black);
}
.license-edit-row .license-admin-card-body {
  padding:20px;
  border-top:4px solid var(--black);
}
.license-edit-row label,
.license-edit-row legend,
.license-edit-row summary,
.license-edit-row strong {
  color:var(--black);
}
.license-edit-row input,
.license-edit-row select,
.license-edit-row textarea {
  border:3px solid var(--black);
  border-radius:0;
  background:white;
  color:var(--black);
}
.license-edit-row .license-features-admin,
.license-edit-row .license-devices {
  border-color:var(--black);
  background:white;
  color:var(--black);
}
.license-edit-row .license-activation-list > div {
  border:2px solid var(--black);
  background:var(--yellow);
  color:var(--black);
}
.license-edit-row .license-activation-list small {
  color:#555;
}
.license-edit-row .license-admin-actions button {
  border:2px solid var(--black);
  background:var(--black);
  color:white;
}
.license-create-panel > summary {
  color:var(--black);
}

/* Titres des pages d'administration, plus compacts. */
.page-heading h1 {
  margin-top:8px;
  font-size:clamp(28px,4vw,50px);
  line-height:.92;
}
@media(max-width:600px) {
  .page-heading h1 { font-size:clamp(25px,9vw,36px); }
}

/* Finition administration : palette volontairement neutre et typographie
   discrète ; le vert reste réservé à l'action principale et aux états. */
.license-admin .license-help {
  margin: 8px 0 18px;
  color: #8f9890;
  font-size: 13px;
  line-height: 1.45;
}
.license-admin .license-create-panel:not(.license-catalog) {
  border: 1px solid #353a36;
  border-radius: 10px;
  background: #171917;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.license-admin .license-create-panel:not(.license-catalog) > summary {
  padding: 15px 18px;
  color: #e4e8e3;
  font-size: 11px;
  letter-spacing: .07em;
}
.license-admin .license-create-panel:not(.license-catalog) > form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background: #141614;
}
.license-admin .license-create-panel:not(.license-catalog) > form > label {
  gap: 6px;
  color: #cbd0ca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .035em;
}
.license-admin .license-create-panel:not(.license-catalog) > form > label input,
.license-admin .license-create-panel:not(.license-catalog) > form > label select {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #4b524c;
  border-radius: 5px;
  background: #e9ebe7;
  font-size: 13px;
}
.license-admin .license-create-panel:not(.license-catalog) > form > label small {
  min-height: 0;
  color: #7f8980;
  font-size: 11px;
  line-height: 1.35;
}
.license-admin .license-create-panel:not(.license-catalog) .license-customization {
  border: 1px solid #353b36;
  border-radius: 6px;
  background: #191c19;
}
.license-admin .license-create-panel:not(.license-catalog) .license-customization > summary {
  padding: 12px 14px;
  color: #b9c0b9;
  font-size: 10px;
  letter-spacing: .05em;
}
.license-admin .license-create-panel:not(.license-catalog) .license-customization > div {
  gap: 14px 18px;
  padding: 16px;
  border-top: 1px solid #353b36;
}
.license-admin .license-create-panel:not(.license-catalog) .license-customization label {
  color: #cbd0ca;
  font-size: 10px;
}
.license-admin .license-create-panel:not(.license-catalog) .license-customization input {
  min-height: 36px;
  border: 1px solid #4b524c;
  border-radius: 5px;
  font-size: 13px;
}
.license-admin .license-create-panel:not(.license-catalog) > form > button {
  min-height: 38px;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: .05em;
}
.license-admin .license-create-panel:not(.license-catalog) > form > button.primary {
  min-width: 190px;
  margin-top: 2px;
  background: var(--green);
  color: #101310;
}
@media(max-width:850px) {
  .license-admin .license-create-panel:not(.license-catalog) > form { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .license-admin .license-create-panel:not(.license-catalog) > form { grid-template-columns: 1fr; }
}

/* Carte de création : interface privée, volontairement sobre. */
.license-admin .license-new-license-panel {
  border: 1px solid #2c302d;
  border-radius: 8px;
  background: #090a09;
  box-shadow: none;
}
.license-admin .license-new-license-panel > summary {
  padding: 14px 18px;
  color: #eff2ef;
  font-size: 10px;
  letter-spacing: .09em;
}
.license-admin .license-new-license-panel[open] > summary { border-bottom: 1px solid #252925; }
.license-admin .license-new-license-panel > .license-create-license-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  background: #090a09;
}
.license-form-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border-bottom: 1px solid #252925;
}
.license-form-intro span,.license-form-section > header > span {
  color: #777e78;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.license-form-intro h3 {
  margin: 5px 0 0;
  color: #f4f5f3;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.license-form-intro p {
  max-width: 350px;
  margin: 0;
  color: #858c86;
  font-size: 12px;
  line-height: 1.45;
}
.license-form-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  padding: 20px 22px;
  border-bottom: 1px solid #202420;
}
.license-form-section > header { display: grid; align-content: start; gap: 6px; }
.license-form-section h4 { margin: 0; color: #e9ece8; font-size: 13px; font-weight: 700; }
.license-form-section header p { margin: 0; color: #747b75; font-size: 11px; line-height: 1.4; }
.license-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.license-form-fields-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.license-form-fields-short { grid-template-columns: minmax(180px, .45fr) 1fr; }
.license-new-license-panel .license-form-fields label,
.license-new-license-panel .license-customization label {
  display: grid;
  gap: 7px;
  color: #aab0aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .055em;
}
.license-new-license-panel .license-form-fields input,
.license-new-license-panel .license-form-fields select,
.license-new-license-panel .license-customization input {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #303631;
  border-radius: 4px;
  background: #151815;
  color: #f1f3ef;
  font-size: 13px;
}
.license-new-license-panel .license-form-fields input:focus,
.license-new-license-panel .license-form-fields select:focus,
.license-new-license-panel .license-customization input:focus { border-color: #78817a; box-shadow: none; }
.license-new-license-panel .license-form-fields small { color: #6f776f; font-size: 10px; line-height: 1.35; letter-spacing: 0; }
.license-new-license-panel .license-customization {
  margin: 18px 22px;
  border: 1px solid #292e2a;
  border-radius: 5px;
  background: #101210;
}
.license-new-license-panel .license-customization > summary { padding: 12px 14px; color: #9da59e; font-size: 9px; letter-spacing: .07em; }
.license-new-license-panel .license-customization > div { padding: 16px; border-top: 1px solid #292e2a; }
.license-new-license-panel .license-customization fieldset { border-color: #303631; background: transparent; }
.license-new-license-panel .license-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 22px;
}
.license-new-license-panel .license-form-footer .primary { min-width: 180px; min-height: 38px; padding: 0 15px; border-radius: 4px; font-size: 10px; }
.license-new-license-panel .license-form-footer small { color: #737a74; font-size: 10px; }
@media(max-width:850px) {
  .license-form-section { grid-template-columns: 145px minmax(0,1fr); }
  .license-form-fields-three { grid-template-columns: 1fr 1fr; }
}
@media(max-width:620px) {
  .license-form-intro,.license-form-section { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .license-form-fields,.license-form-fields-three,.license-form-fields-short { grid-template-columns: 1fr; }
  .license-new-license-panel .license-form-footer { display: grid; align-items: stretch; }
  .license-new-license-panel .license-form-footer .primary { width: 100%; }
}

/* Espace licences : feuille de gestion claire, distincte du site public. */
body.licenses-workspace { background: #f5f6f4; color: #171917; }
body.licenses-workspace .topbar { border-color: #d9ddd8; background: #fff; }
body.licenses-workspace .topbar .brand { color: #111; }
body.licenses-workspace .topbar nav { color: #5f655f; }
body.licenses-workspace main { max-width: 1440px; }
body.licenses-workspace #licenses-view .page-heading { margin-bottom: 26px; }
body.licenses-workspace #licenses-view .eyebrow { color: #5d655e; font-size: 9px; }
body.licenses-workspace #licenses-view .page-heading h1 { color: #111; font-family: Inter,system-ui,sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
body.licenses-workspace #licenses-view .secondary { border-color: #8d948e; color: #252825; background: #fff; }
body.licenses-workspace .license-admin > header h2 { color: #151715; font-family: Inter,system-ui,sans-serif; font-size: 20px; font-weight: 700; }
body.licenses-workspace .license-admin-toolbar > span { min-width: 32px; height: 32px; border-radius: 5px; background: #252825; color: #fff; font-size: 12px; }
body.licenses-workspace .license-admin-toolbar label { color: #4f554f; font-size: 9px; }
body.licenses-workspace .license-admin-toolbar select { min-height: 35px; padding: 7px 10px; border-color: #c8cec8; border-radius: 4px; background: #fff; color: #171917; font-size: 12px; }
body.licenses-workspace .license-help { color: #555c56; font-size: 13px; }
body.licenses-workspace .license-new-license-panel { border: 1px solid #d3d8d3; border-radius: 6px; background: #fff; box-shadow: none; }
body.licenses-workspace .license-new-license-panel > summary { padding: 15px 18px; color: #161816; font-size: 11px; letter-spacing: .05em; }
body.licenses-workspace .license-new-license-panel > .license-create-license-form { background: #fff; }
body.licenses-workspace .license-form-intro { padding: 18px 22px; border-color: #e1e4e0; background: #fbfcfb; }
body.licenses-workspace .license-form-intro span,body.licenses-workspace .license-form-section > header > span { color: #737a74; }
body.licenses-workspace .license-form-intro h3 { color: #151715; font-size: 18px; }
body.licenses-workspace .license-form-intro p { color: #5d645e; font-size: 12px; }
body.licenses-workspace .license-form-section { grid-template-columns: 190px minmax(0,1fr); padding: 20px 22px; border-color: #e1e4e0; }
body.licenses-workspace .license-form-section h4 { color: #181a18; font-size: 13px; }
body.licenses-workspace .license-form-section header p { color: #6e756f; font-size: 11px; }
body.licenses-workspace .license-new-license-panel .license-form-fields label,body.licenses-workspace .license-new-license-panel .license-customization label { color: #454c46; font-size: 10px; }
body.licenses-workspace .license-new-license-panel .license-form-fields input,body.licenses-workspace .license-new-license-panel .license-form-fields select,body.licenses-workspace .license-new-license-panel .license-customization input { min-height: 40px; border-color: #cbd1cb; border-radius: 4px; background: #fff; color: #171917; font-size: 13px; }
body.licenses-workspace .license-new-license-panel .license-form-fields input:focus,body.licenses-workspace .license-new-license-panel .license-form-fields select:focus,body.licenses-workspace .license-new-license-panel .license-customization input:focus { border-color: #4f5b51; box-shadow: 0 0 0 2px rgba(25,40,27,.08); }
body.licenses-workspace .license-new-license-panel .license-form-fields small { color: #69716a; font-size: 11px; }
body.licenses-workspace .license-new-license-panel .license-customization { margin: 18px 22px; border-color: #d5dad5; background: #fafbfa; }
body.licenses-workspace .license-new-license-panel .license-customization > summary { color: #454c46; font-size: 10px; }
body.licenses-workspace .license-new-license-panel .license-customization > div { border-color: #dfe3df; }
body.licenses-workspace .license-new-license-panel .license-customization fieldset { border-color: #d5dad5; color: #252825; }
body.licenses-workspace .license-new-license-panel .license-customization fieldset label { color: #333933; font-size: 12px; font-weight: 600; letter-spacing: 0; }
body.licenses-workspace .license-new-license-panel .license-form-footer { padding: 0 22px 22px; }
body.licenses-workspace .license-new-license-panel .license-form-footer .primary { border-radius: 4px; background: #171917; color: #fff; font-size: 11px; }
body.licenses-workspace .license-new-license-panel .license-form-footer small { color: #687069; font-size: 11px; }
body.licenses-workspace .license-summary-table { border: 1px solid #d3d8d3; background: #fff; color: #1a1c1a; }
body.licenses-workspace .license-summary-table th { background: #f1f3f0; color: #555c56; font-size: 10px; }
body.licenses-workspace .license-summary-table td { border-color: #e1e4e0; color: #202320; font-size: 12px; }
body.licenses-workspace .license-summary-table button { border: 1px solid #c6ccc6; border-radius: 4px; background: #fff; color: #202320; font-size: 10px; }
body.licenses-workspace .license-catalog { border-color: #d3d8d3; background: #fff; }
body.licenses-workspace .license-catalog > summary { color: #414841; }
@media(max-width:620px) { body.licenses-workspace .license-form-section { grid-template-columns: 1fr; } }

/* Correctif de structure : les sections d'une licence ne doivent jamais
   devenir les colonnes du formulaire. Cette règle finale prévaut sur les
   anciennes variantes graphiques de la page. */
body.licenses-workspace .license-new-license-panel > form.license-create-license-form {
  display: block !important;
  width: 100%;
  padding: 0 !important;
  background: #fff !important;
}
body.licenses-workspace .license-new-license-panel .license-form-intro,
body.licenses-workspace .license-new-license-panel .license-form-section,
body.licenses-workspace .license-new-license-panel .license-customization,
body.licenses-workspace .license-new-license-panel .license-form-footer {
  width: auto;
  max-width: none;
}
body.licenses-workspace .license-new-license-panel .license-form-section {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 20px 22px !important;
}
body.licenses-workspace .license-new-license-panel .license-form-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  min-width: 0;
}
body.licenses-workspace .license-new-license-panel .license-form-fields-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.licenses-workspace .license-new-license-panel .license-form-fields-short {
  grid-template-columns: minmax(200px, .45fr) minmax(0, 1fr) !important;
}
body.licenses-workspace .license-new-license-panel .license-form-fields label {
  min-width: 0;
}
body.licenses-workspace .license-new-license-panel .license-form-fields input,
body.licenses-workspace .license-new-license-panel .license-form-fields select {
  min-width: 0;
}
body.licenses-workspace .license-new-license-panel .license-customization {
  display: block !important;
  margin: 18px 22px !important;
  padding: 0 !important;
}
body.licenses-workspace .license-new-license-panel .license-customization > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.licenses-workspace .license-new-license-panel .license-customization fieldset {
  grid-column: 1 / -1 !important;
}
body.licenses-workspace .license-new-license-panel .license-form-footer {
  display: flex !important;
  padding: 0 22px 22px !important;
}
@media(max-width:760px) {
  body.licenses-workspace .license-new-license-panel .license-form-section { grid-template-columns: 1fr !important; }
  body.licenses-workspace .license-new-license-panel .license-form-fields-three { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media(max-width:520px) {
  body.licenses-workspace .license-new-license-panel .license-form-fields,
  body.licenses-workspace .license-new-license-panel .license-form-fields-three,
  body.licenses-workspace .license-new-license-panel .license-form-fields-short,
  body.licenses-workspace .license-new-license-panel .license-customization > div { grid-template-columns: 1fr !important; }
  body.licenses-workspace .license-new-license-panel .license-form-footer { display: grid !important; }
}
.app-access-policy-card { display:grid; gap:8px; margin:12px 0; padding:16px; border:2px solid currentColor; }
.license-help { font-size: 1rem; line-height: 1.5; max-width: 75ch; }
.license-customization { grid-column: 1 / -1; border: 1px solid currentColor; padding: 16px; margin: 8px 0; }
.license-customization summary { cursor: pointer; font-weight: 700; font-size: .875rem; }
.license-customization[open] summary { margin-bottom: 16px; }
.license-create-form label small, .license-edit-grid label small { font-size: .875rem; font-weight: 400; line-height: 1.4; text-transform: none; }
.license-catalog { margin-top: 28px; }
.app-access-policy-card button { justify-self:start; }
#app-access-policy-form > p { grid-column:1 / -1; }

/* Création de licence : une grille aérée, avec une seule zone de
   personnalisation repliable pour éviter les hauteurs déséquilibrées. */
.license-create-panel:not(.license-catalog) {
  overflow: hidden;
  background: #161816;
  border: 2px solid #303530;
}
.license-create-panel:not(.license-catalog) > summary {
  padding: 20px 24px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: .1em;
}
.license-create-panel:not(.license-catalog) > form {
  grid-template-columns: minmax(220px, 1.7fr) repeat(2, minmax(170px, 1fr));
  align-items: start;
  gap: 18px 20px;
  padding: 24px;
  border: 0;
  border-top: 1px solid #303530;
  border-radius: 0;
  background: #111311;
}
.license-create-panel:not(.license-catalog) > form > label {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  color: #f2f2ec;
  font-size: 11px;
  line-height: 1.2;
}
.license-create-panel:not(.license-catalog) > form > label input,
.license-create-panel:not(.license-catalog) > form > label select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid #555c55;
  border-radius: 8px;
  background: #f4f4ef;
  color: #111;
  font-size: 15px;
}
.license-create-panel:not(.license-catalog) > form > label small {
  min-height: 2.6em;
  color: #aeb5ad;
}
.license-create-panel:not(.license-catalog) .license-customization {
  padding: 0;
  border: 1px solid #3b423c;
  border-radius: 9px;
  background: #181b18;
}
.license-create-panel:not(.license-catalog) .license-customization > summary {
  padding: 14px 16px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .06em;
}
.license-create-panel:not(.license-catalog) .license-customization > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding: 18px;
  border-top: 1px solid #3b423c;
}
.license-create-panel:not(.license-catalog) .license-customization label {
  display: grid;
  gap: 8px;
  color: #f2f2ec;
}
.license-create-panel:not(.license-catalog) .license-customization input {
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 11px;
  border: 1px solid #555c55;
  border-radius: 7px;
  background: #f4f4ef;
  color: #111;
  font-size: 14px;
}
.license-create-panel:not(.license-catalog) .license-customization fieldset {
  grid-column: 1 / -1;
  margin: 0;
}
.license-create-panel:not(.license-catalog) > form > button {
  grid-column: auto;
  justify-self: start;
  min-height: 44px;
  margin-top: 2px;
}
.license-create-panel:not(.license-catalog) > form > button.primary {
  grid-column: 1 / -1;
  min-width: 220px;
  font-size: 12px;
}
@media(max-width: 850px) {
  .license-create-panel:not(.license-catalog) > form,
  .license-create-panel:not(.license-catalog) .license-customization > div { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .license-create-panel:not(.license-catalog) > form,
  .license-create-panel:not(.license-catalog) .license-customization > div { grid-template-columns: 1fr; }
  .license-create-panel:not(.license-catalog) > form > button,
  .license-create-panel:not(.license-catalog) > form > button.primary { grid-column: 1; width: 100%; }
}

/* Member account: intentionally quiet and distinct from the administrator UI. */
.account-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.account-member-card,.account-member-panel{border:1px solid #d8d8d4;background:#fff;padding:22px}.account-member-card{display:grid;gap:8px;min-height:112px}.account-member-card span,.account-member-panel header span{font-size:11px;font-weight:800;letter-spacing:.09em;color:#6c716d}.account-member-card strong{font-size:25px;color:#151615}.account-member-card small{color:#6c716d}.account-member-identity{background:#171817;color:#fff;border-color:#171817}.account-member-identity strong,.account-member-identity span,.account-member-identity small{color:inherit}.account-member-panel{grid-column:span 1}.account-member-panel header{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid #e7e7e3}.account-member-panel header strong{font-size:22px}.account-member-panel p{margin:12px 0;color:#515551}.account-installation{display:grid;gap:3px;padding:12px 0;border-bottom:1px solid #ecece8}.account-installation:last-child{border-bottom:0}.account-installation small{color:#6c716d}@media(max-width:800px){.account-member-grid{grid-template-columns:1fr}.account-member-panel{grid-column:auto}}

/* Fenêtre de gestion : espace de travail stable, quel que soit l'onglet. */
#manage-dialog { width:min(1180px,calc(100vw - 36px)); max-width:none; max-height:calc(100vh - 36px); }
.manage-card { width:100%; height:min(840px,calc(100vh - 36px)); max-height:calc(100vh - 36px); min-height:0; grid-template-rows:auto auto minmax(0,1fr); gap:0; overflow:hidden; padding:0; background:#fff; box-shadow:14px 14px 0 var(--green); }
.manage-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:3px 20px; padding:24px 30px 18px; border-bottom:3px solid var(--black); background:var(--yellow); }
.manage-header .eyebrow { grid-column:1/-1; margin:0; font-size:10px; letter-spacing:.13em; }
.manage-header h2 { margin:0; min-width:0; font-family:Combat,sans-serif; font-size:clamp(27px,3vw,42px); line-height:.9; }
.manage-header .radio-url { max-width:310px; overflow:hidden; color:var(--black); font-size:11px; font-weight:900; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.manage-card > .dialog-close { z-index:3; top:12px; right:15px; width:32px; height:32px; padding:0; border:2px solid var(--black); background:#fff; color:var(--black); line-height:24px; }
.manage-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); border:0; border-bottom:3px solid var(--black); background:var(--black); }
.manage-tabs button { min-height:52px; padding:10px 12px; border:0; border-right:3px solid var(--black); background:#fff; color:var(--black); font-size:10px; }
.manage-tabs button:last-child { border-right:0; }
.manage-tabs button + button { border-left:0; }
.manage-tabs button.active { background:var(--purple); color:#fff; }
.manage-tab-panel { min-height:0; overflow:auto; align-content:start; gap:18px; padding:26px 30px 30px; background:#fff; }
.manage-tab-panel::-webkit-scrollbar { width:10px; }
.manage-tab-panel::-webkit-scrollbar-thumb { border:2px solid #fff; background:var(--purple); }
.manage-information { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.manage-information span { min-height:78px; padding:16px; border:3px solid var(--black); background:var(--green); font-size:10px; }
.manage-information strong { font-size:16px; }
.design-form { grid-template-columns:minmax(260px,.8fr) minmax(240px,1fr) minmax(170px,.55fr); align-items:start; gap:16px; padding:20px; border:3px solid var(--black); }
.design-form .radio-logo-field { grid-row:span 2; }
.design-form .radio-description-field { grid-column:2/-1; }
.design-form > button { align-self:end; justify-self:stretch; min-height:46px; }
.manage-main-action { width:auto; min-height:48px; justify-self:start; padding:12px 18px; }
.danger-zone { grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; margin-top:0; padding:18px 0 0; border-top:3px solid var(--black); }
.danger-zone p { margin:0; font-size:12px; line-height:1.4; }
.danger-zone button { justify-self:end; }
.planning-manager > header,.station-network-panel > header { padding-bottom:16px; border-bottom:3px solid var(--black); }
.planning-manager > header strong,.station-network-panel > header strong { font-family:Combat,sans-serif; font-size:25px; }
.automation-form { grid-template-columns:minmax(230px,1fr) minmax(190px,.7fr) auto; align-items:end; gap:14px; padding:18px; border:3px solid var(--black); border-radius:0; background:var(--yellow); }
.automation-form .automation-toggle { grid-column:1/-1; color:var(--black); font-size:12px; }
.automation-form button { min-height:45px; white-space:nowrap; }
.schedule-manager { gap:14px; }
.schedule-event-form { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; padding:18px; border:3px solid var(--black); border-radius:0; background:#f5f5f1; }
.schedule-event-form label { min-width:0; font-size:9px; }
.schedule-event-form select,.schedule-event-form input { width:100%; min-width:0; }
.schedule-event-upload-wrap small { display:block; margin-top:5px; color:#717671; font-size:9px; font-weight:600; letter-spacing:0; line-height:1.3; }
.schedule-event-list { max-height:none; overflow:visible; }
.schedule-event-row { grid-template-columns:105px minmax(0,1fr) 38px; padding:14px; border:2px solid var(--black); border-radius:0; background:#fff; }
.schedule-event-row time strong { font-size:19px; }
.station-invite-form { grid-template-columns:minmax(140px,.55fr) minmax(260px,1fr) 180px auto; align-items:end; gap:14px; padding:18px; border:3px solid var(--black); background:var(--yellow); }
.station-invite-form button { min-height:45px; white-space:nowrap; }
.station-network-list { gap:12px; }
.station-member { min-height:68px; padding:14px; border:2px solid var(--black); background:#fff; }
.station-member strong { font-size:14px; }.station-member small { font-size:11px; }
.podcast-manager { border:0; background:transparent; }
.podcast-manager-body { max-width:100%; gap:18px; padding:0; }
.podcast-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.podcast-row { grid-template-columns:62px minmax(0,1fr) auto; min-height:82px; padding:10px; }
.podcast-row img,.podcast-placeholder { width:62px; height:62px; }
.podcast-form { max-width:900px; }

@media (max-width:900px) {
  #manage-dialog { width:calc(100vw - 22px); max-height:calc(100vh - 22px); }
  .manage-card { height:calc(100vh - 22px); max-height:calc(100vh - 22px); }
  .manage-tab-panel { padding:20px; }
  .design-form { grid-template-columns:1fr 1fr; }.design-form .radio-logo-field { grid-row:auto; }.design-form .radio-description-field { grid-column:1/-1; }
  .schedule-event-form { grid-template-columns:repeat(3,minmax(0,1fr)); }.schedule-event-form button { grid-column:1/-1; justify-self:start; }
  .station-invite-form { grid-template-columns:1fr 1fr; }.station-invite-form button { grid-column:1/-1; justify-self:start; }
}
@media (max-width:600px) {
  #manage-dialog { width:100vw; max-height:100vh; }.manage-card { height:100vh; max-height:100vh; box-shadow:none; }
  .manage-header { grid-template-columns:1fr; padding:21px 18px 15px; }.manage-header .radio-url { max-width:calc(100vw - 80px); text-align:left; }
  .manage-tabs button { min-height:48px; padding:7px 3px; font-size:8px; }.manage-tab-panel { padding:18px; }
  .manage-information,.design-form,.automation-form,.schedule-event-form,.station-invite-form,.podcast-list { grid-template-columns:1fr; }
  .design-form .radio-description-field { grid-column:auto; }.schedule-event-form button,.station-invite-form button { grid-column:auto; }
  .danger-zone { grid-template-columns:1fr; }.danger-zone button { justify-self:start; }
  .podcast-row { grid-template-columns:52px minmax(0,1fr); }.podcast-row img,.podcast-placeholder { width:52px; height:52px; }.podcast-row-actions { grid-column:1/-1; grid-template-columns:1fr 1fr; }
}

/* Variante BETA récente : calme, blanche, lisible, avec le vert réservé aux actions. */
.manage-card { border:1px solid #d8d8d4; border-radius:0; background:#fff; box-shadow:10px 10px 0 var(--green); }
.manage-header { padding:25px 30px 20px; border-bottom:1px solid #deded9; background:#fff; }
.manage-header .eyebrow { color:#6c716d; font-family:Inter,system-ui,sans-serif; font-size:11px; font-weight:800; letter-spacing:.09em; }
.manage-header h2 { color:#171817; font-family:Inter,system-ui,sans-serif; font-size:30px; font-weight:750; letter-spacing:-.035em; line-height:1; }
.manage-header .radio-url { color:#5d625e; font-family:Inter,system-ui,sans-serif; font-size:11px; font-weight:700; }
.manage-card > .dialog-close { top:18px; right:19px; border:1px solid #d8d8d4; border-radius:50%; background:#fff; color:#171817; font-family:Inter,system-ui,sans-serif; font-size:20px; line-height:28px; }
.manage-tabs { gap:0; padding:0 30px; border:0; border-bottom:1px solid #deded9; background:#fff; }
.manage-tabs button { min-height:48px; padding:10px 16px; border:0; border-right:0; border-bottom:3px solid transparent; background:transparent; color:#717671; font-family:Inter,system-ui,sans-serif; font-size:10px; font-weight:800; letter-spacing:.07em; }
.manage-tabs button.active { border-bottom-color:#171817; background:transparent; color:#171817; }
.manage-tab-panel { gap:20px; padding:26px 30px 32px; background:#fff; }
.manage-tab-panel::-webkit-scrollbar-thumb { border:2px solid #fff; background:#bebfbb; }
.manage-information { gap:12px; }.manage-information span { min-height:76px; padding:16px; border:1px solid #d8d8d4; background:#fff; color:#6c716d; font-family:Inter,system-ui,sans-serif; font-size:10px; }.manage-information strong { color:#171817; font-size:18px; }
.design-form,.automation-form,.station-invite-form,.schedule-event-form { border:1px solid #d8d8d4; border-radius:0; background:#fff; }
.design-form { gap:18px; padding:20px; }.design-form > label,.schedule-event-form label { color:#555a56; font-family:Inter,system-ui,sans-serif; font-size:10px; font-weight:800; letter-spacing:.07em; }.design-form > label select { border:1px solid #cfd1ce; border-radius:0; font-family:Inter,system-ui,sans-serif; }.design-form > button,.automation-form button,.station-invite-form button,.schedule-event-form button { border:0; background:#171817; color:#fff; font-family:Inter,system-ui,sans-serif; font-size:10px; }
.manage-main-action { border:0; background:#171817; color:#fff; font-family:Inter,system-ui,sans-serif; font-size:11px; box-shadow:4px 4px 0 var(--green); }
.danger-zone { border-top:1px solid #e5e5e1; }.danger-zone>strong { color:#a33e3a; font-family:Inter,system-ui,sans-serif; }.danger-zone button { border:1px solid #e0c2c0; border-radius:0; color:#9c3734; font-family:Inter,system-ui,sans-serif; }
.planning-manager > header,.station-network-panel > header { padding-bottom:15px; border-bottom:1px solid #deded9; }.planning-manager > header strong,.station-network-panel > header strong { color:#171817; font-family:Inter,system-ui,sans-serif; font-size:22px; font-weight:750; letter-spacing:-.025em; }
.automation-form { align-items:end; }.automation-form .automation-toggle { color:#4f544f; font-family:Inter,system-ui,sans-serif; }.schedule-manager > header strong,.station-network-list > strong { color:#171817; font-family:Inter,system-ui,sans-serif; font-size:12px; }.schedule-manager > header small { color:#707570; font-family:Inter,system-ui,sans-serif; }
.schedule-event-row,.station-member { border:1px solid #dcdedb; border-radius:0; background:#fff; }.schedule-event-row time strong { color:#171817; font-family:Inter,system-ui,sans-serif; }.schedule-event-row small,.schedule-event-row span,.station-member small { color:#717671; font-family:Inter,system-ui,sans-serif; }.schedule-event-row button { border:0; border-radius:0; background:transparent; color:#9c3734; }.station-member button { border:1px solid #e0c2c0; border-radius:0; color:#9c3734; font-family:Inter,system-ui,sans-serif; }
.podcast-manager-body { gap:16px; }.podcast-beta-notice { border:1px solid #d8d8d4; background:#f8f8f5; }.podcast-row { border:1px solid #d8d8d4; background:#fff; }.podcast-row img,.podcast-placeholder { border:1px solid #d8d8d4; }.podcast-placeholder { background:#171817; color:#fff; }.podcast-row-actions button,.podcast-form-heading button { border:1px solid #d8d8d4; background:#fff; color:#171817; font-family:Inter,system-ui,sans-serif; }.podcast-form { border-top:1px solid #deded9; }.podcast-image-editor,.podcast-proposal-form { border:1px solid #d8d8d4; background:#fff; }.podcast-proposal-form > p,.podcast-proposal-form > small,.podcast-proposal-form label { color:#4f544f; }
@media (max-width:600px) { .manage-header { padding:20px 18px 15px; }.manage-header h2 { font-size:26px; }.manage-tabs { padding:0 8px; }.manage-tabs button { padding:10px 5px; } }

/* Action principale de la fiche radio : reste noire dans tous les thèmes. */
#radio-design-form .manage-radio-save {
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
}
#radio-design-form .manage-radio-save:hover {
  background:#252525 !important;
  border-color:#252525 !important;
}

#account-overview .account-storage-compact,#radio-account-storage.account-storage-compact {
  display:grid;
  grid-template-columns:30px minmax(150px,1fr) minmax(70px,140px) auto;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  min-height:0;
  align-self:start;
  width:100%;
  max-width:540px;
  margin-bottom:16px;
}
.account-storage-compact .account-storage-icon{width:30px;height:34px;fill:none;stroke:#171b22;stroke-width:2.2;stroke-linejoin:round}
.account-storage-compact .account-storage-copy{display:grid;gap:4px;min-width:0}
.account-storage-compact .account-storage-copy strong{font-size:15px;line-height:1.2;color:#171b22}
.account-storage-compact .account-storage-copy small{font-size:13px;line-height:1.2;color:#69707b}
.account-storage-compact .account-storage-bar{height:10px;background:#e0e1e4;border-radius:10px;overflow:hidden}
.account-storage-compact .account-storage-bar span{display:block;height:100%;border-radius:inherit;background:#7aec0a}
.account-storage-compact .account-storage-percent{font-size:15px;white-space:nowrap;color:#171b22}
@media(max-width:480px){
  #account-overview .account-storage-compact,#radio-account-storage.account-storage-compact{grid-template-columns:25px minmax(0,1fr) 65px auto;gap:8px;padding:12px}
  .account-storage-compact .account-storage-copy strong{font-size:13px}
  .account-storage-compact .account-storage-copy small{font-size:11px}
}
