:root{font-family:Inter,Arial,sans-serif;color:#183238;background:#f2f5f4;font-synthesis:none;--green:#087a58;--muted:#6c7e81}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #57bcb0;outline-offset:3px}.loading{padding:60px;text-align:center}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.intro{background:#102c31;color:white;padding:clamp(36px,7vw,110px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.intro:after{content:'';position:absolute;width:460px;height:460px;border:70px solid #ffffff08;border-radius:50%;right:-250px;bottom:-220px}.logo{width:200px;background:white;border-radius:16px;padding:14px;object-fit:contain}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#72c9b0;margin:35px 0 14px}.intro h1{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-2px;margin:0 0 22px}.intro p{color:#bbd0d0;line-height:1.8;max-width:440px}.intro ul{list-style:none;padding:0;line-height:2.4;color:#d8e9e5}.login-area{display:flex;align-items:center;justify-content:center;padding:32px}.login-card{width:min(100%,420px)}h2{font-size:28px;letter-spacing:-.7px;margin:0 0 10px}.muted{color:var(--muted);line-height:1.6}.field{display:grid;gap:8px;font-size:13px;font-weight:700;margin:24px 0}.field input,select{width:100%;border:1px solid #d1ddda;border-radius:12px;background:white;padding:15px;color:#183238}.password-row{display:flex;border:1px solid #d1ddda;border-radius:12px;background:white}.password-row input{border:0;min-width:0}.password-row button{border:0;background:none;color:var(--green);padding:12px}.primary{border:0;border-radius:12px;background:var(--green);color:white;padding:15px 22px;font-weight:700}.full{width:100%}.error{color:#a12f32;background:#fff0f0;padding:12px;border-radius:10px;line-height:1.5}.login-note{margin-top:24px;font-size:13px;line-height:1.7;color:var(--muted)}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100dvh}.sidebar{background:#102c31;color:white;padding:28px 20px;display:flex;flex-direction:column;gap:26px}.sidebar .logo{width:100%;max-width:198px}.nav{display:grid;gap:8px}.nav button{border:0;background:none;color:#c5d7d6;text-align:left;border-radius:12px;padding:14px;font-weight:700;display:flex;gap:12px;align-items:center}.nav button.active{background:#1c4548;color:white}.nav .icon{font-size:19px;width:24px;text-align:center}.sidebar-footer{margin-top:auto;border-top:1px solid #ffffff1a;padding-top:20px;font-size:12px;color:#96bcb2}.sidebar-footer button{background:transparent;color:white;border:1px solid #456262;border-radius:10px;padding:11px;width:100%;margin-top:14px}.main{min-width:0}.topbar{background:white;padding:23px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e9e5;gap:20px}.topbar small{color:var(--green);font-weight:800;letter-spacing:1px;font-size:10px}.topbar h1{font-size:24px;margin:7px 0 0}.top-controls{display:flex;gap:10px;align-items:center;max-width:55%}.top-controls select{padding:11px;max-width:320px}.ghost{border:1px solid #d6e0dc;border-radius:10px;background:white;padding:11px 15px;color:#244b41;font-weight:700}.content{max-width:1280px;margin:auto;padding:32px 36px 60px}.welcome{background:linear-gradient(120deg,#0b5e61,#102d40);color:white;border-radius:20px;padding:32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome h2{font-size:30px}.welcome p{color:#bfdbd4;margin-bottom:0;font-size:14px;line-height:1.7}.welcome .tag{font-size:11px;letter-spacing:1.4px;color:#98dccb;font-weight:800;margin-bottom:12px;display:block}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#66d69b;margin-right:6px}.welcome-contact{border:1px solid #ffffff35;background:#ffffff0b;color:white;text-decoration:none;border-radius:12px;padding:12px 18px;white-space:nowrap;font-size:13px}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.kpi{background:white;padding:25px;border:1px solid #e1e8e4;border-radius:16px}.kpi small{color:var(--muted);font-size:12px;font-weight:700}.kpi strong{display:block;font-size:27px;margin:14px 0 8px}.kpi p{font-size:12px;line-height:1.6;margin:0;color:var(--muted)}.kpi.accent{background:#e3f4ec;border-color:#bedfcd}.grid-two{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.panel{background:white;border:1px solid #e1e8e4;border-radius:18px;padding:25px;margin-top:22px}.panel h3{font-size:18px;margin:0 0 6px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.panel-head p{font-size:12px;color:var(--muted);margin:6px 0 0}.row{border-top:1px solid #eef1ef;padding:17px 0;display:flex;justify-content:space-between;align-items:center;gap:18px}.row:first-child{border:0}.row strong{font-size:14px}.row small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:7px}.badge{display:inline-block;padding:6px 10px;border-radius:20px;font-size:11px;font-weight:700;background:#e5f4eb;color:#267653;white-space:nowrap}.badge.plan{background:#e9f1fb;color:#2465a1}.badge.cancel{background:#ffeded;color:#993636}.empty{text-align:center;padding:32px 18px;color:var(--muted);font-size:14px;line-height:1.7}.empty b{display:block;color:#315048;font-size:16px;margin-bottom:8px}.search{width:100%;background:white;border:1px solid #d6e0dc;border-radius:12px;padding:14px;margin:24px 0 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;padding:14px 12px;border-bottom:1px solid #dbe5df;white-space:nowrap}td{padding:18px 12px;border-bottom:1px solid #edf1ee;line-height:1.6;white-space:nowrap}td:first-child{white-space:normal;min-width:160px}.num{text-align:right;font-variant-numeric:tabular-nums}.document-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:24px}.document{background:white;border:1px solid #e0e7e2;border-radius:18px;padding:24px}.document header{display:flex;justify-content:space-between;align-items:center}.doc-icon{background:#e8f4ef;color:var(--green);padding:13px;border-radius:12px;font-size:22px}.document h3{font-size:23px;margin:22px 0 7px}.document p{font-size:13px;line-height:1.7;color:var(--muted)}.document footer{display:flex;gap:10px;margin-top:22px}.note{padding:16px 20px;border-radius:12px;background:#e8f2ed;color:#466559;font-size:13px;line-height:1.6;margin-top:22px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.facts{display:grid;gap:20px;margin:26px 0}.facts small{color:var(--muted);display:block;font-size:12px;margin-bottom:6px}.facts strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.pdf-dialog{border:0;border-radius:18px;padding:20px;width:min(94vw,1000px);max-height:94dvh}.pdf-dialog::backdrop{background:#0b202acc}.pdf-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.pdf-dialog iframe{width:100%;height:70dvh;border:0;background:#eee}.pdf-dialog img{width:100%;display:block}.pdf-preview{overflow:auto;max-height:73dvh}.pdf-dialog footer{margin-top:14px}.mobile-brand{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#183e35;color:white;padding:14px 22px;border-radius:12px;box-shadow:0 5px 20px #0002;display:none;z-index:20;font-size:14px}#toast.show{display:block}.refresh-state{color:var(--muted);font-size:11px;margin-top:20px} @media(max-width:1000px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:22px 14px}.content{padding:24px}.topbar{padding:22px 24px}.grid-two{grid-template-columns:1fr}.kpi{padding:20px}.kpi strong{font-size:23px}.welcome{padding:26px}.top-controls{max-width:50%}}@media(max-width:700px){.login{grid-template-columns:1fr}.intro{padding:30px}.intro h1{font-size:30px;letter-spacing:-1px}.intro ul,.intro p{display:none}.intro .eyebrow{margin:22px 0 10px}.intro .logo{width:160px}.login-area{padding:30px 24px 45px;align-items:start}.shell{display:block}.sidebar{padding:15px 16px;gap:15px}.sidebar .logo{width:130px;padding:7px}.nav{display:flex;overflow:auto;gap:4px;padding-bottom:3px}.nav button{flex-shrink:0;padding:11px 12px;font-size:12px;gap:6px}.nav .icon{font-size:15px;width:auto}.sidebar-footer{display:none}.topbar{padding:18px;align-items:flex-start;flex-direction:column;gap:15px}.topbar h1{font-size:22px}.top-controls{max-width:100%;width:100%}.top-controls select{max-width:none;flex:1;min-width:0;font-size:13px}.content{padding:20px 16px 45px}.welcome{padding:24px;display:block}.welcome h2{font-size:26px}.welcome-contact{display:inline-block;margin-top:18px}.kpis{grid-template-columns:1fr;gap:12px;margin:18px 0}.kpi{padding:19px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.kpi strong{font-size:23px;margin:0;grid-row:span 2}.kpi p{grid-column:1;grid-row:2}.panel{padding:20px;margin-top:18px}.document-grid,.profile-grid{grid-template-columns:1fr}.panel-head{align-items:flex-start}.panel-head .ghost{font-size:11px;padding:9px;white-space:nowrap}.document footer button{flex:1;font-size:12px}.pdf-dialog{padding:12px}.pdf-dialog header strong{font-size:14px}}

.topbar>div:first-child{min-width:0}.topbar h1,.welcome h2{overflow-wrap:anywhere}
.report-title{display:flex;gap:20px;justify-content:space-between;align-items:center}.report-title .tag{font-size:11px;color:var(--green);letter-spacing:1px}.trend-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.trend-filters label{font-size:12px;font-weight:700;display:grid;gap:8px}.trend-filters input{font:inherit;min-width:0;width:100%;padding:15px;border:1px solid #d1ddda;border-radius:12px}.trend-month{display:grid;grid-template-columns:70px 1fr 150px;gap:15px;align-items:center;padding:14px 0;font-size:12px;border-bottom:1px solid #eef1ef}.trend-track{display:flex;height:18px;background:#f2f5f4;border-radius:7px;overflow:hidden}.activity-yes{background:#efb88b}.activity-no{background:#79c5ae}.trend-no-data{color:var(--muted);background:#f2f5f4;padding:8px;border-radius:7px;grid-column:span 2}.chart-legend{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.chart-legend i{width:12px;height:12px;border-radius:3px}.visit-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.install-app{white-space:nowrap;font-size:12px}.login-card>.install-app{margin-top:18px}.top-controls{flex-wrap:wrap}.visit-row>div:first-child{min-width:0;overflow-wrap:anywhere}.trend-month small{color:var(--muted)}@media(max-width:700px){.report-title{display:block}.report-title .primary{width:100%;margin:10px 0}.trend-filters{grid-template-columns:1fr 1fr}.trend-filters label:first-child{grid-column:span 2}.trend-month{grid-template-columns:65px 1fr;gap:10px}.trend-month small{grid-column:2}.trend-no-data{grid-column:2}.visit-row{align-items:flex-start;flex-direction:column;gap:10px}.visit-actions{justify-content:flex-start}.top-controls .install-app{order:3}.report-title h2{margin-top:10px}}

.notification-visit{outline:2px solid #168b79;outline-offset:3px;border-radius:10px;background:#f0faf6}
.top-controls{flex-wrap:wrap}
