:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#eef2ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 0,#a5b4fc 0,transparent 32%),linear-gradient(145deg,#4338ca,#7c3aed);background-attachment:fixed}button,input{font:inherit}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,420px);padding:36px;background:#fff;border-radius:26px;box-shadow:0 30px 80px #1e1b4b55;text-align:center}.brand-mark{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border-radius:18px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:30px;font-weight:800}.auth-card h1{margin:0;font-size:30px}.muted{color:#687386;margin:8px 0 28px}label{display:grid;gap:7px;margin:14px 0;text-align:left;font-size:13px;font-weight:700;color:#465066}input{width:100%;padding:12px 13px;border:1px solid #d9ddeb;border-radius:11px;background:#f8f9fd;color:#172033;outline:none}input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f122}.check{display:flex;align-items:center;font-weight:500}.check input{width:auto}.primary,.ghost,.link-button{border:0;cursor:pointer}.primary{padding:12px 18px;border-radius:11px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-weight:750;box-shadow:0 8px 22px #4f46e540}.auth-card .primary{width:100%;margin-top:6px}.ghost{padding:11px 17px;border-radius:11px;background:#ffffff1f;color:#fff;border:1px solid #ffffff4d}.link-button{display:block;margin:22px auto 8px;background:none;color:#4f46e5;font-weight:700}.small-link{font-size:13px;color:#687386;text-decoration:none}.alert{padding:11px 13px;margin:14px 0;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:14px}.dashboard{min-height:100vh;padding:32px 24px 60px}.dashboard header,.summary,.cards,.empty,.loading{width:min(1160px,100%);margin-left:auto;margin-right:auto}.dashboard header{display:flex;align-items:center;justify-content:space-between;color:#fff;margin-bottom:24px}.dashboard h1{margin:4px 0 0;font-size:30px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;opacity:.72}.header-actions{display:flex;gap:10px}.compact{padding:10px 15px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.summary div{display:flex;flex-direction:column;padding:18px 20px;border:1px solid #ffffff3d;border-radius:17px;background:#ffffff20;color:#fff;backdrop-filter:blur(10px)}.summary strong{font-size:26px}.summary span{font-size:12px;opacity:.8}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.card{position:relative;min-height:230px;padding:23px;border-radius:22px;background:#fff;box-shadow:0 18px 45px #1e1b4b35;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 25px 55px #1e1b4b45}.card:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;background:#f59e0b}.card.free:before{background:#22c55e}.card.waiting:before{background:#8b5cf6}.status{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:11px;font-weight:800;text-transform:uppercase}.free .status{background:#f0fdf4;color:#15803d}.waiting .status{background:#f5f3ff;color:#6d28d9}.edit{position:absolute;right:18px;top:18px;border:0;border-radius:10px;background:#eef2ff;color:#4338ca;width:34px;height:34px;cursor:pointer}.apt-number{font-size:54px;line-height:1;font-weight:850;margin-top:30px;color:#1e293b}.apt-internal{margin-top:6px;color:#64748b;font-weight:700}.apt-place{margin-top:22px;font-size:13px;color:#64748b}.updated{position:absolute;right:20px;bottom:18px;color:#94a3b8;font-size:11px}.empty,.loading{text-align:center;color:#fff;padding:70px 20px}.empty{border:1px solid #ffffff3d;border-radius:24px;background:#ffffff18}.empty>span{font-size:48px}.empty h2{margin-bottom:5px}dialog{width:min(680px,calc(100% - 28px));border:0;border-radius:22px;padding:25px;box-shadow:0 28px 90px #0f172a66}dialog::backdrop{background:#0f172a99;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{margin:0}.icon-button{border:0;background:#f1f5f9;border-radius:50%;width:36px;height:36px;font-size:23px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:18px}.wide{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.dialog-actions .ghost{color:#475569;border-color:#dbe1ea;background:#f8fafc}.calendar-content{margin-top:20px;max-height:65vh;overflow:auto}.reservation{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:14px 5px;border-bottom:1px solid #e7eaf1}.reservation time{font-weight:800;color:#4338ca}.toast{position:fixed;right:20px;bottom:20px;padding:13px 17px;border-radius:12px;background:#172033;color:#fff;box-shadow:0 14px 35px #0004;z-index:10}@media(max-width:650px){.dashboard{padding:22px 14px 45px}.dashboard header{align-items:flex-start}.dashboard h1{font-size:23px}.header-actions{flex-direction:column}.summary{gap:7px}.summary div{padding:13px}.summary strong{font-size:21px}.summary span{font-size:10px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.auth-card{padding:28px 22px}}
