:root{--bg:#f3f5f8;--ink:#172436;--muted:#718094;--line:#e3e8ef;--green:#c5f568;--dark:#102727;--white:#fff;--accent:#246c60;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,.button{border:0;background:var(--dark);color:#fff;font:inherit;font-weight:650;padding:12px 20px;border-radius:10px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;line-height:1.4}button:hover,.button:hover{filter:brightness(1.12);text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #63a99a;outline-offset:3px}input,select{border:1px solid #d9e1e8;background:#fff;color:var(--ink);padding:12px;border-radius:9px;font:inherit;width:100%;min-width:0}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent)}input[type=range]{padding:0;accent-color:var(--accent)}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}form{display:grid;gap:18px}h1,h2,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.4px;line-height:1.15;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.5px}p{color:var(--muted)}small{display:block;color:var(--muted);font-size:12px}footer{color:var(--muted);font-size:12px;margin-top:30px}fieldset{border:0;margin:0;padding:0}legend{font-weight:600;font-size:13px;margin-bottom:10px}.brand{font-size:20px;font-weight:500;letter-spacing:-.6px;white-space:normal}.brand b{font-weight:800}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:800;display:block;margin-bottom:14px}.secondary{background:#e8efed;color:#28594f}.ghost{background:transparent;color:var(--ink);padding:7px 10px;font-size:12px}.danger{color:#a24646}.light{background:var(--green);color:#173a33}.muted{color:var(--muted)}.error{color:#a13c3c}.pill{display:inline-flex;align-items:center;gap:8px;border-radius:30px;padding:6px 12px;font-size:10px;letter-spacing:1px;font-weight:750;background:#eff7e8;color:#3f6b37}.pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge{display:inline-flex;padding:4px 9px;border-radius:6px;background:#e9f2ef;color:#296853;font-size:11px}.badge.ad{background:#fff1dd;color:#97752e}.sidebar{width:244px;background:#fff;position:fixed;inset:0 auto 0 0;padding:32px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:3}.side-caption{font-size:9px;letter-spacing:1.6px;margin:40px 12px 15px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{justify-content:flex-start;color:#6c7a89;background:transparent;font-size:13px;padding:14px}.sidebar nav button.active{color:#224f43;background:#edf4e7}.side-bottom{margin-top:auto;display:grid;gap:15px;font-size:12px}.side-bottom small{font-size:10px}.workspace{margin-left:244px;padding:0 40px 30px;max-width:1700px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:35px;color:var(--muted);font-size:12px}.topbar span:first-child{font-weight:650;color:var(--ink)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.page-head p{margin:0}.page-head>button{font-size:12px;flex-shrink:0}.hero{display:flex;align-items:center;justify-content:space-between;background:radial-gradient(ellipse at 90% 90%,#3a6150,transparent 65%),var(--dark);color:white;border-radius:22px;padding:32px 42px;min-height:285px;overflow:hidden}.hero h2{font-size:30px;line-height:1.2;max-width:600px;margin:20px 0 8px;overflow-wrap:anywhere}.hero p{color:#bed0c7}.hero .pill{background:#ffffff14;color:var(--green)}.meter{font-size:22px;letter-spacing:4px;color:var(--green);margin:15px 0}.disc{width:218px;height:218px;border-radius:50%;background:repeating-radial-gradient(circle,#273430 0px,#273430 2px,#172320 3px,#172320 5px);box-shadow:0 14px 40px #0003;display:grid;place-items:center;flex-shrink:0;margin-left:30px;border:3px solid #ffffff12;transform:rotate(-15deg)}.disc>div{width:90px;height:90px;background:var(--green);border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#193d31;font-size:30px;font-weight:800;box-shadow:0 0 0 10px #0002}.disc span{font-size:7px;letter-spacing:1px;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.stats article{border:1px solid var(--line);background:white;padding:20px 24px;border-radius:var(--radius)}.stats span{color:var(--muted);font-size:12px}.stats strong{font-size:36px;display:block;letter-spacing:-1px;line-height:1.4}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px}.card p:last-child{margin-bottom:0}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0;font-size:13px}.list-row:last-child{border-bottom:0}.list-row>div:first-child{min-width:0;overflow-wrap:anywhere}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;align-items:end}.form-grid>button{justify-self:start}.form-grid .wide,.days{grid-column:1/-1}.days{display:flex;flex-wrap:wrap;gap:20px}.days label,.check{flex-direction:row;align-items:center}.inline{display:flex;gap:10px}.inline select{flex:1}.toolbar{display:flex;gap:14px;margin:24px 0}.toolbar input{max-width:420px}.toolbar select{max-width:220px}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin:20px 0}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{color:var(--muted);font-size:11px;background:#fafbfc;font-weight:600;padding:17px 20px}td{padding:16px 20px;border-top:1px solid var(--line);max-width:420px;overflow-wrap:anywhere}td small{margin-top:4px}td b{font-weight:600}.empty{color:var(--muted);padding:28px 10px;text-align:center}.tab{display:none}.tab.active{display:block}.notice{padding:12px 18px;border-radius:10px;margin-bottom:20px;border:1px solid var(--line)}.notice.success{background:#e9f3e5;color:#365c35}.notice.error{background:#fff0ef;color:#a13c3c}#playlist-order{padding-left:22px}#playlist-order li{padding:9px 0;border-bottom:1px solid var(--line)}#playlist-order li>div{display:inline-flex;margin-left:8px}#playlist-order li span{overflow-wrap:anywhere}.login-body{background:radial-gradient(ellipse at 80% 10%,#365e4b,transparent 70%),#102727;min-height:100vh;display:grid;place-items:center;padding:30px}.login-card{background:#fff;border-radius:24px;padding:42px;max-width:490px;width:100%;box-shadow:0 24px 100px #0003}.login-card .brand{margin-bottom:40px}.login-card h1{font-size:38px}.login-card a{display:block;margin-top:24px;font-size:12px}.public-body{background:#f4f6ef}.public-header{display:flex;align-items:center;justify-content:space-between;padding:30px 6vw;border-bottom:1px solid #dfe6d7}.public-main{max-width:1000px;margin:65px auto;padding:0 24px}.public-main>h1{font-size:clamp(48px,7vw,78px);letter-spacing:-4px;color:#173a31;line-height:1.05;margin:0}.public-main>h1 em{font-family:Georgia,serif;font-weight:400;color:#598966}.tagline{font-size:17px;margin:22px 0 40px}.public-player{display:grid;grid-template-columns:300px 1fr;box-shadow:0 20px 65px #344a3010;background:white;border:1px solid #e3e8dc;border-radius:24px;overflow:hidden}.player-art{display:grid;place-items:center;background:radial-gradient(circle at 0 0,#507359,#102727);padding:32px}.player-art .disc{margin:0;width:210px;height:210px}.player-info{padding:34px;min-width:0}.player-info h2{font-size:27px;margin:18px 0 6px;line-height:1.2;overflow-wrap:anywhere}.player-info>p{margin-bottom:20px}.player-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.player-controls>button{background:var(--green);color:#173a31;min-width:155px}.volume{font-size:11px;width:120px}.progress{margin:20px 0;display:flex;align-items:center;gap:14px}.progress progress{width:100%;height:5px;accent-color:var(--accent)}.progress span{font-size:10px;white-space:nowrap;color:var(--muted)}#player-status{font-size:11px;margin:18px 0 0;min-height:2em}.public-next{margin-top:40px}.public-next p{border-bottom:1px solid #dfe6d7;padding:15px 0;margin:0;color:#4b6358}.public-next b{font-size:11px;color:#7d9879;margin-right:22px}.public-footer{padding:25px 6vw;display:flex;justify-content:space-between;border-top:1px solid #dfe6d7;gap:20px}@media(min-width:1550px){.workspace{margin-right:auto}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 15px}.workspace{margin-left:210px;padding:0 24px 30px}.hero{padding:28px}.hero .disc{width:160px;height:160px}.page-head{align-items:flex-start;flex-direction:column}.two-col{grid-template-columns:1fr}.hero h2{font-size:26px}.stats article{padding:16px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:18px;border-right:0}.sidebar .brand{font-size:18px}.side-caption,.side-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:5px;margin-top:15px}.sidebar nav button{white-space:nowrap;padding:10px;font-size:11px}.workspace{margin-left:0;padding:0 16px 25px}.topbar{height:55px;margin-bottom:24px}h1{font-size:30px}.hero .disc{display:none}.hero{min-height:240px;padding:25px}.stats{gap:8px}.stats article{padding:13px}.stats span{font-size:10px}.stats strong{font-size:28px}.form-grid{grid-template-columns:1fr}.card{padding:20px}.days{gap:13px}td,th{padding:12px}.toolbar{flex-wrap:wrap}.public-header{padding:20px}.public-header>.pill{display:none}.public-main{margin-top:45px}.public-main>h1{letter-spacing:-2px}.public-player{grid-template-columns:1fr}.player-art{padding:25px}.player-art .disc{width:150px;height:150px}.player-info{padding:25px}.public-footer{flex-direction:column}.login-card{padding:28px}.login-card h1{font-size:32px}}

/* v1.1: categorias separadas */
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}td select[data-kind]{font-size:12px;padding:6px;max-width:115px;margin:4px} @media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

dialog{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:650px;width:94vw;max-height:90vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#102727aa}dialog .inline{flex-wrap:wrap}dialog audio{width:100%}#analysis-status,#cue-status{white-space:pre-line;max-height:190px;overflow:auto}
