:root{--navy:#102746;--gold:#d8ad48;--cream:#faf7ef;--red:#a51f18}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:#182235;font:15px/1.5 Arial,sans-serif}header{background:var(--navy);color:#fff;padding:12px 4%;display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:5}header img{width:78px;height:58px;object-fit:contain;background:#fff;border-radius:6px}header small{display:block;color:#e6d6ad}nav{margin-left:auto}nav a{color:#fff;margin-left:12px;text-decoration:none}main{max-width:1150px;margin:24px auto;padding:0 16px;min-height:75vh}h1,h2{color:var(--navy)}h1{font-size:clamp(24px,4vw,36px)}.hero,.login{background:#fff;border:1px solid #e6dcc7;border-radius:18px;padding:28px;margin:20px auto;max-width:680px;box-shadow:0 8px 24px #14243a12}.hero{text-align:center}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:18px 0}.card{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e4d7bd;border-radius:12px;padding:16px;text-decoration:none;color:var(--navy);box-shadow:0 3px 12px #00000008}.card strong{font-size:25px}.card em{font-size:11px;color:#946d16}.login{max-width:440px}label{display:block;font-weight:600;margin:12px 0 5px}input,select{width:100%;padding:12px;border:1px solid #cbd1d9;border-radius:8px;background:#fff;font-size:16px}button,.button{display:inline-block;border:0;background:var(--navy);color:white;padding:12px 18px;border-radius:8px;font-weight:700;text-decoration:none;cursor:pointer;margin:10px 0}.primary{background:#d5a51f;color:#17243a;width:100%}.danger{background:#a51f18}.alert{padding:14px;background:#fff0e9;border:1px solid #e8b4a2;border-radius:8px;color:#8a2118;margin:14px 0}.success{background:#e9f8ee;color:#176b37}.code{font-size:34px;letter-spacing:8px;color:#a51f18;font-weight:bold;background:#fff3d3;padding:12px;text-align:center;border-radius:10px}table{width:100%;border-collapse:collapse;background:#fff;margin:14px 0}td,th{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left}th{background:var(--navy);color:#fff}.tilegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:7px}.tile{border:1px solid #d9d2c4;border-radius:8px;background:#fff;padding:7px;text-align:center;margin:0}.tile span{font-size:11px;display:block}.tile b{display:block;min-height:30px;color:#a51f18;font-size:14px}.tile input{padding:5px;text-align:center}.muted{color:#697386;font-size:13px}footer{text-align:center;color:#778092;padding:22px} @media(max-width:600px){header{padding:8px}header img{width:58px;height:46px}nav a{font-size:12px;margin-left:5px}main{margin:12px auto;padding:0 10px}.tilegrid{grid-template-columns:repeat(4,1fr)}td,th{padding:7px;font-size:13px}}

main.ajax-loading{opacity:.55;pointer-events:none;transition:opacity .12s ease} 

/* CANA LOUNGE recorder theme — ivory, burgundy and charcoal */
body:has(.recorder-brand){background:radial-gradient(ellipse at 50% 0%,#fffdf8 0%,#f5eee4 58%,#eadfd2 100%);color:#282321;min-height:100vh}
.recorder-brand{min-height:190px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;padding:22px 16px 8px;border:0;letter-spacing:.14em}
.recorder-logo-card{width:min(270px,66vw);height:150px;background:#fffdf8;border:1px solid #e7d8c9;border-radius:18px;box-shadow:0 12px 30px rgba(77,29,22,.10);display:flex;align-items:center;justify-content:center;padding:10px 16px}
.recorder-logo-card img{width:100%;height:100%;object-fit:contain}
.recorder-brand-caption{font-size:11px;font-weight:800;color:#98251d;letter-spacing:.28em}
.recorder-page{max-width:760px;min-height:calc(100vh - 205px);margin:0 auto;padding:12px 18px 32px}
.recorder-login{max-width:460px;margin:12px auto 18px;padding:24px 24px 20px;background:rgba(255,255,255,.80);border:1px solid #e4d5c8;border-radius:17px;box-shadow:0 12px 32px rgba(74,31,23,.08)}
.recorder-login h1{font-size:20px;line-height:1.3;color:#342521;margin:0 0 8px}
.recorder-hint{margin:0 0 18px;color:#786c65;font-size:13px;line-height:1.6}
.recorder-login label{font-size:11px;letter-spacing:.12em;color:#5f4942;margin:0 0 7px}
.recorder-login input[name="code"]{height:62px;background:#fffdfa;border:1px solid #d8c7ba;border-radius:11px;color:#31221e;font-size:25px;font-weight:800;letter-spacing:.38em;box-shadow:inset 0 1px 3px rgba(50,25,20,.04)}
.recorder-login input[name="code"]:focus{outline:2px solid rgba(157,35,26,.18);border-color:#9d251d}
.recorder-login .primary{height:52px;width:100%;margin:12px 0 0;background:#9f241c;color:#fffaf4;border-radius:10px;font-size:14px;letter-spacing:.06em;box-shadow:0 5px 12px rgba(128,30,23,.16)}
.recorder-login .primary:hover{background:#811b16}
.recorder-help{text-align:center;color:#8d7168;font-size:11px;font-weight:700;letter-spacing:.12em;margin:14px 0 8px}
.recorder-page .alert{background:#fff5ef;border-color:#e6c3b6;color:#8c271e}
.recorder-page h1,.recorder-page h2,.recorder-page h3{color:#5a2923}
.recorder-page .card{border-color:#e5d6ca;color:#392a25;background:#fffdfa}
.recorder-page button,.recorder-page .button{background:#9f241c;color:#fffaf4}
.recorder-page .primary{background:#9f241c;color:#fffaf4}
.recorder-page .danger{background:#6d211d}
.recorder-page .tile{border-color:#dfd0c3;background:#fffdfa}
.recorder-page .tile b{color:#98251d}
@media(max-width:600px){
 .recorder-brand{min-height:165px;padding-top:18px}
 .recorder-logo-card{width:220px;height:124px}
 .recorder-page{padding:10px 14px 28px}
 .recorder-login{margin:10px auto 16px;padding:21px 18px}
}
