:root{font-family:Arial,Helvetica,sans-serif;color:#193b48;background:#f3f6f7;font-size:16px;line-height:1.5;--navy:#123744;--teal:#087f82;--line:#dbe5e9;--muted:#5a707c;--red:#a93426;--amber:#926000}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{border:0;border-radius:.65rem;padding:.7rem 1rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--teal);color:white;min-height:44px}button:disabled{opacity:.5;cursor:wait}button:hover,a.button:hover{filter:brightness(.94)}button.secondary,.button.secondary{background:#e6eef0;color:var(--navy)}button.ghost,.button.ghost{background:transparent;color:var(--teal);border:1px solid var(--line)}button.danger{background:#fae8e4;color:var(--red)}button.small,.button.small{padding:.45rem .7rem;font-size:.9rem;min-height:40px}button:focus-visible,a:focus-visible,input:focus,select:focus{outline:3px solid #7bc9cc;outline-offset:2px}a{color:var(--teal)}input,select,textarea{width:100%;padding:.65rem .8rem;border:1px solid #b8cbd3;background:white;border-radius:.5rem;color:var(--navy);min-height:44px}input[type=checkbox]{width:auto;min-height:auto}label{display:block;font-weight:600;font-size:.9rem;margin:.2rem 0 .35rem}h1,h2,h3,p{margin-top:0}h1{font-size:1.9rem;line-height:1.2;letter-spacing:-.035em;margin-bottom:.65rem}h2{font-size:1.25rem;line-height:1.3}h3{font-size:1.05rem}p{margin-bottom:.8rem}.muted{color:var(--muted)}.eyebrow{font-size:.85rem;font-weight:700;color:var(--teal);letter-spacing:.08em;text-transform:uppercase}.loading{min-height:80vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem}.brand{display:flex;align-items:center;gap:.7rem;font-weight:700;font-size:1.65rem;letter-spacing:-.04em}.brand img{width:40px;height:40px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-intro{padding:12vh 12%;background:var(--navy);color:white;display:flex;flex-direction:column;justify-content:center}.login-intro .brand{margin-bottom:5rem}.login-intro h1{font-size:3rem;max-width:560px}.login-intro p{color:#c3dadd;max-width:460px;font-size:1.1rem}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:3rem}.login-form{width:100%;max-width:380px}.login-form h2{font-size:1.7rem}.field{margin-bottom:1.1rem}.login-form button{width:100%;margin-top:.5rem}.form-error{color:var(--red);font-size:.95rem;min-height:1.5rem}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:1.8rem 1.15rem;display:flex;flex-direction:column;gap:2rem}.sidebar .brand{padding:0 .5rem}.sidebar nav{display:grid;gap:.35rem}.sidebar nav button{background:transparent;color:#cce0e3;justify-content:flex-start;font-weight:400}.sidebar nav button.active{background:#27505b;color:white;font-weight:700}.sidebar-foot{margin-top:auto;font-size:.9rem;padding:.5rem;color:#cce0e3}.sidebar-foot button{padding:.4rem 0;color:#a4e3df;background:transparent}.main-area{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:white;padding:1rem 2rem;border-bottom:1px solid var(--line)}.tenant-title{font-weight:700}.topbar select{max-width:300px}.top-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.notification-indicator{font-size:.9rem;border-radius:99px;background:#fff2d6;color:#805400;padding:.45rem .75rem}.notification-indicator.on{background:#e1f3ee;color:#17654d}.content{max-width:1440px;margin:auto;padding:2rem}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.7rem}.actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.stat{background:white;border:1px solid var(--line);border-radius:.9rem;padding:1.1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:2rem;line-height:1}.stat span{color:var(--muted);font-size:.95rem}.toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.2rem}.toolbar input{flex:1;min-width:180px}.toolbar select{width:auto;min-width:150px}.call-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:1rem}.call-card{background:white;border:1px solid var(--line);border-top:4px solid #db9a30;border-radius:.9rem;padding:1.25rem;box-shadow:0 3px 12px #12374405}.call-card.claimed{border-top-color:var(--teal)}.call-card.closed,.call-card.cancelled{border-top-color:#a3b5be}.card-top{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.75rem}.badge{padding:.25rem .55rem;border-radius:99px;background:#fff0d6;color:#805400;font-size:.85rem;white-space:nowrap}.badge.claimed{background:#dff2ed;color:#17654d}.badge.closed,.badge.cancelled{background:#eaf0f3;color:#536976}.call-card h2{font-size:1.4rem;margin-bottom:.3rem}.call-meta{color:var(--muted);font-size:.95rem;margin-bottom:1rem}.call-time{color:var(--muted);font-size:.9rem}.call-extension{padding:.8rem;background:#edf6f7;border-radius:.6rem;margin:1rem 0}.call-extension strong{display:block;font-size:1.1rem}.call-extension small{font-size:.85rem;color:var(--muted)}.audio-block{padding:.8rem;background:#f1f5f7;border-radius:.6rem;margin-bottom:1rem}.audio-block label{margin:0 0 .5rem;font-size:.9rem}.audio-block audio{width:100%;height:40px}.call-card .actions{padding-top:.6rem;min-height:50px}.empty{padding:4rem 2rem;text-align:center;border:1px dashed #b8cbd3;border-radius:1rem;background:#fff}.empty img{width:48px;opacity:.7;margin-bottom:1rem}.empty h2{margin-bottom:.5rem}.panel{background:white;border:1px solid var(--line);border-radius:.9rem;padding:1.5rem;margin-bottom:1.2rem}.panel.narrow{max-width:700px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:.9rem}table{width:100%;border-collapse:collapse}th{text-align:left;color:var(--muted);font-size:.88rem;background:#f8fafb}th,td{padding:.95rem 1rem;border-bottom:1px solid var(--line);vertical-align:middle}tbody tr:last-child td{border-bottom:0}td .muted{font-size:.9rem}td:last-child{white-space:nowrap}.info-banner{border:1px solid #c1dce1;background:#edf7f8;padding:1rem 1.2rem;border-radius:.7rem;margin-bottom:1.2rem;font-size:.95rem}.warning-banner{border-color:#ebcf9f;background:#fff6e6;color:#795311}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-grid .full{grid-column:1/-1}.field-help{font-size:.85rem;color:var(--muted);margin-top:.3rem}.check-field{display:flex;align-items:center;gap:.6rem}.toast{position:fixed;right:1.5rem;bottom:1.5rem;z-index:20;background:var(--navy);color:white;border-radius:.8rem;padding:1rem 1.4rem;max-width:440px;box-shadow:0 8px 35px #12374430}.toast.error{background:#963d32}dialog{border:0;border-radius:1rem;padding:0;max-width:600px;width:calc(100% - 2rem);box-shadow:0 20px 90px #12374440;color:var(--navy)}dialog::backdrop{background:#102b3970}.modal-body{padding:1.7rem}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem;gap:1rem}.modal-head h2{margin:0}.modal-foot{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.5rem}.qr-preview{display:block;width:230px;max-width:100%;margin:1rem auto}.url-field{font-size:.85rem;word-break:break-all;background:#f3f6f7;padding:.8rem;border-radius:.5rem}.guest{background:#f0f5f5}.guest-shell{max-width:520px;margin:0 auto;padding:1.4rem 1.4rem 2rem;min-height:100vh;display:flex;flex-direction:column}.guest-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:2rem}.guest-header .brand{font-size:1.3rem}.guest-header .brand img{width:32px;height:32px}.guest-header select{width:auto;min-height:40px;padding:.4rem}.guest-point{text-align:center;margin:1rem 0 1.5rem}.guest-point .eyebrow{margin-bottom:.6rem}.guest-point h1{font-size:2.25rem}.guest-panel{background:white;padding:1.6rem;border-radius:1.2rem;box-shadow:0 8px 35px #12374408;text-align:center}.call-button{width:160px;height:160px;border-radius:50%;margin:1rem auto 1.5rem;background:var(--teal);border:10px solid #def1ef;box-shadow:0 0 0 10px #f2f9f8}.call-button img{width:68px;height:68px}.call-button:hover{transform:scale(1.02)}.call-button-label{font-size:1.2rem;font-weight:700;margin:0 0 .6rem}.guest-panel h2{font-size:1.4rem}.guest-status-icon{width:72px;height:72px;background:#e4f3ef;color:var(--teal);border-radius:50%;display:grid;place-items:center;font-size:2rem;margin:0 auto 1.2rem}.guest-note{color:var(--muted);font-size:.95rem}.guest-footer{margin-top:auto;padding:2rem 0 0;text-align:center;color:var(--muted);font-size:.85rem}.voice-section{border-top:1px solid var(--line);padding-top:1.3rem;margin-top:1.5rem}.voice-section h3{font-size:1.1rem}.voice-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.65rem}.recording{color:var(--red);font-weight:700;margin-bottom:1rem}.voice-section audio{width:100%;margin-bottom:.8rem}.qr-print{background:white}.qr-print header{margin:2rem}.qr-print-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:1rem}.qr-print-card{border:1px solid var(--line);padding:1rem;text-align:center;break-inside:avoid}.qr-print-card img{width:160px;height:160px}.qr-print-card p{font-size:.9rem}.qr-print-card strong{color:var(--teal)}[hidden]{display:none!important}@media(max-width:900px){.shell{grid-template-columns:185px minmax(0,1fr)}.content{padding:1.4rem}.topbar{padding:1rem 1.4rem}.sidebar{padding:1.4rem .7rem}.login-intro{padding:8vh 10%}.login-intro h1{font-size:2.3rem}.call-grid{grid-template-columns:1fr}}@media(max-width:650px){.login-screen{display:block}.login-intro{padding:2rem}.login-intro .brand{margin-bottom:1.5rem}.login-intro h1{font-size:2rem}.login-form-wrap{padding:2rem}.shell{display:block}.sidebar{padding:1rem;gap:1rem}.sidebar .brand{font-size:1.4rem}.sidebar nav{display:flex;flex-wrap:wrap;gap:.2rem}.sidebar nav button{font-size:.9rem;padding:.4rem .65rem}.sidebar-foot{display:none}.topbar{padding:1rem}.content{padding:1.2rem 1rem}.page-heading{flex-direction:column}.stats{gap:.5rem}.stat{padding:.85rem;display:block}.stat strong{display:block;margin-top:.5rem}.stat span{font-size:.8rem}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.toast{left:1rem;right:1rem;bottom:1rem}.top-actions{gap:.4rem}.qr-print-grid{grid-template-columns:1fr 1fr}.guest-shell{padding:1.2rem}.guest-header{margin-bottom:1rem}}@media print{.qr-print header{display:none}.qr-print-grid{grid-template-columns:repeat(3,1fr);padding:0;gap:.5cm}.qr-print-card{padding:.3cm}.qr-print-card img{width:4cm;height:4cm}body{background:white}button{display:none}}
