*{box-sizing:border-box} :root{--bg:#f5f6f8;--panel:#fff;--text:#17191c;--muted:#727781;--line:#e7e9ed;--green:#1f9d68;--r:18px}body{margin:0;background:var(--bg);color:var(--text);font:14px Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}a{color:inherit}button,.button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:11px;padding:11px 15px;color:var(--text);font-weight:650;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px}button:hover,.button:hover{background:#f0f1f3}button:disabled{opacity:.5;cursor:wait}.primary{background:#111214;color:#fff;border-color:#111214}.primary:hover{background:#33363c}.danger{color:#b23636}.small{padding:7px 10px;font-size:12px}.link{border:none;background:transparent;text-decoration:underline;padding:8px 0}.auth-body,.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 0 0,#e8e9ed,transparent 60%),#f5f6f8}.auth-card{width:min(460px,100%);background:white;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 20px 70px #191a2210}.auth-card h1{font-size:30px;letter-spacing:-1px;line-height:1.15;margin:13px 0}.auth-card p{color:var(--muted);line-height:1.65}.mark{background:#111214;color:white;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:25px;font-weight:850}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em}.auth-card form{margin-top:20px}.auth-card button.primary{width:100%;margin-top:12px}label{display:block;font-size:12px;font-weight:650;color:#666d77;margin:13px 0}input,select,textarea{display:block;width:100%;border:1px solid #dfe2e6;background:#fff;border-radius:10px;padding:11px 12px;outline:none;color:var(--text);margin-top:7px}input:focus,select:focus,textarea:focus{border-color:#333;box-shadow:0 0 0 3px #17191c10}input[type=checkbox]{width:auto;display:inline-block;margin:0 8px 0 0}label.check{display:flex;align-items:center;font-weight:500;line-height:1.5}.sidebar{width:242px;background:#111214;color:white;position:fixed;inset:0 auto 0 0;padding:26px 15px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 24px}.brand .mark{background:white;color:#111}.brand strong{display:block;font-size:18px}.brand small{display:block;color:#8e939b;margin-top:4px;font-size:10px}.sidebar nav{overflow-y:auto;flex:1}.nav-button{width:100%;justify-content:flex-start;border:0;background:transparent;color:#aeb2b8;margin:2px 0;padding:11px 13px;font-size:13px}.nav-button.active,.nav-button:hover{background:#25272b;color:white}.nav-icon{width:22px;text-align:center}.side-footer{padding:14px 10px 0;border-top:1px solid #2b2c30;font-size:12px}.side-footer small{display:block;color:#969ba3;margin:7px 0}.side-footer button{background:#25272b;border-color:#333;color:white}.main{margin-left:242px;min-height:100vh}.topbar{height:82px;position:sticky;top:0;background:#fffffff0;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;z-index:20}.topbar h1{font-size:22px;margin:4px 0}.topbar .eyebrow{color:var(--muted)}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.content{padding:25px 30px 60px;max-width:1500px;margin:auto}.hero{background:linear-gradient(120deg,#17191c,#30343a);color:white;border-radius:22px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;position:relative;overflow:hidden}.hero:after{content:"";width:220px;height:220px;position:absolute;right:-65px;top:-115px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 35px #ffffff04;pointer-events:none}.hero h2{font-size:29px;letter-spacing:-.7px;margin:6px 0 9px}.hero p{color:#c0c4cb;margin:0;line-height:1.6;font-size:13px}.hero .eyebrow{color:#9da3ae}.card{background:white;border:1px solid var(--line);border-radius:var(--r);padding:21px;min-width:0}.card h3{font-size:15px;margin:0 0 16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-label{font-size:12px;color:var(--muted)}.stat-value{font-size:28px;letter-spacing:-1px;font-weight:780;margin:14px 0 6px}.muted{color:var(--muted);font-size:12px;line-height:1.65}.split{display:grid;grid-template-columns:1.45fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2{margin:0 0 5px;font-size:24px;letter-spacing:-.5px}.section-head p{margin:0;color:var(--muted);font-size:12px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:white}.table{width:100%;border-collapse:collapse;white-space:nowrap}.table th{background:#fafbfc;text-align:left;text-transform:uppercase;font-size:10px;letter-spacing:.06em;color:#858a92;padding:14px 16px;border-bottom:1px solid var(--line)}.table td{padding:15px 16px;border-bottom:1px solid #f0f1f3;font-size:12px}.table tr:last-child td{border-bottom:0}.pill{font-size:10px;display:inline-block;font-weight:700;background:#eaf8f1;color:#158055;padding:6px 9px;border-radius:99px}.pill.gray{background:#f0f1f3;color:#727781}.pill.orange{background:#fff2df;color:#9c6719}.pill.red{background:#fff0f0;color:#b63e3e}.notice{padding:14px 17px;background:#fff5e6;color:#865f24;border:1px solid #f2dfc0;border-radius:12px;line-height:1.6;font-size:12px;margin-bottom:17px}.notice.error{background:#fff0f0;color:#a12b2b;border-color:#f3cece}.notice.success{background:#eaf8f1;color:#187a53;border-color:#c8e8db}.empty{text-align:center;padding:45px 22px;background:white;border:1px dashed #d9dde2;border-radius:18px;color:#777e88;line-height:1.7}.empty strong{display:block;color:#272b32;font-size:17px;margin-bottom:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}.footer-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.search{max-width:340px;margin:0 0 18px}dialog{border:0;border-radius:20px;padding:25px;width:min(600px,calc(100% - 28px));max-height:90vh;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#1119;backdrop-filter:blur(3px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-title h2{margin:0;font-size:20px}#toast{position:fixed;bottom:24px;right:24px;max-width:440px;padding:16px 20px;background:#17191c;color:white;z-index:100;border-radius:13px;box-shadow:0 8px 28px #0002;display:none;line-height:1.5}#toast.show{display:block}#toast.error{background:#922c36}.loading{padding:80px;text-align:center;color:#747984}.row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);gap:15px}.row:last-child{border:0}.row strong{display:block}.row small{display:block;margin-top:5px;color:var(--muted)}.big-price{font-size:30px;font-weight:800;letter-spacing:-1px;margin:18px 0}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.public-top{padding:20px 6%;display:flex;justify-content:space-between;background:#151515;color:white;align-items:center;gap:14px}.public-top .brand{padding:0}.public-main{max-width:1120px;margin:auto;padding:28px 24px 70px}.public-main .hero{padding:38px}.public-main .hero h2{font-size:38px}.service-card .category{font-size:10px;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}.service-card h3{font-size:19px;margin:12px 0 5px}.service-card button{width:100%;margin-top:15px}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.slot.selected{background:#17191c;color:white}.menu-toggle{display:none}.checks{display:flex;gap:12px;flex-wrap:wrap}code{font-size:12px;overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.bar{height:8px;background:#eceef1;border-radius:99px;overflow:hidden;margin-top:7px}.bar span{display:block;height:100%;background:#252930} .no-margin{margin:0}.space-top{margin-top:20px}.calendar-day{max-width:200px;margin:0}.amount{font-weight:750}.error-inline{color:#ad3333;font-size:13px;line-height:1.6}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){.grid3{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none;box-shadow:40px 0 100px #0004}.main{margin-left:0}.topbar{padding:0 16px;height:72px}.topbar h1{font-size:19px}.content{padding:18px 15px 50px}.menu-toggle{display:block}.grid3{grid-template-columns:1fr}.hero{padding:23px;align-items:flex-start;flex-direction:column}.hero h2{font-size:24px}.stats{gap:9px}.stat-value{font-size:23px}.card{padding:17px}.form-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:22px}.auth-card{padding:26px}.auth-wrap{padding:15px}.public-main{padding:18px 15px 50px}.public-main .hero{padding:25px}.public-main .hero h2{font-size:29px}.public-top{padding:16px}.public-top .brand small{display:none}.public-top .brand strong{font-size:15px}.public-top button{font-size:11px;padding:9px}.slots{grid-template-columns:repeat(3,1fr)}#toast{left:15px;right:15px;bottom:15px}.actions{gap:7px}.row{align-items:flex-start}.table td,.table th{padding:13px}.auth-card h1{font-size:27px}}
.hours-row{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:12px;align-items:center;border-bottom:1px solid #e8e8e8;padding:10px 0}.hours-row label{margin:0}.hours-row .check{margin-top:20px}fieldset{border:1px solid #ddd;border-radius:12px;margin:16px 0;padding:16px}.company-logo{width:72px;height:72px;object-fit:contain;border-radius:12px}.period{align-items:end;margin-bottom:24px}.period label{margin:0}.space-bottom{margin-bottom:20px}#public-qr{width:260px;max-width:100%;padding:8px;background:white}#public-qr svg{width:100%;height:auto}pre{overflow:auto;max-height:420px;background:#f5f5f5;padding:16px;font-size:12px;white-space:pre-wrap;word-break:break-word}.flow-step{background:#fafafa}.flow-step legend{font-weight:700}@media(max-width:700px){.hours-row{grid-template-columns:1fr 1fr}.hours-row>.check{grid-column:1/-1}.period{display:grid;grid-template-columns:1fr 1fr}.period>button{grid-column:1/-1}}

/* v2.1: optional thumbnails and authenticated professional portal. */
.entity-thumb{display:inline-block;width:72px;height:72px;object-fit:cover;border-radius:14px;margin:0 12px 10px 0;vertical-align:middle;background:#f1f2f4;flex-shrink:0}
.table .entity-thumb{width:44px;height:44px;margin-bottom:0;border-radius:10px}
.photo-editor{border:1px solid #e1e4e8;border-radius:12px;padding:14px;margin:14px 0}.photo-editor input[type=file]{max-width:100%;padding:8px}
.pro-welcome{display:flex;align-items:center;gap:16px;background:#111214;color:#fff;padding:24px;border-radius:20px;margin-bottom:20px}.pro-welcome .entity-thumb{width:88px;height:88px;margin:0}.pro-welcome h2{margin:4px 0}.pro-welcome p{margin:6px 0;color:#c4c7cd}
@media(max-width:600px){.pro-welcome{padding:18px;gap:12px}.pro-welcome .entity-thumb{width:64px;height:64px}.pro-welcome h2{font-size:21px}}

/* Client storefront 2.2 */
.public-plans{margin-top:48px}.plan-card{display:flex;flex-direction:column;gap:12px}.plan-card h3,.plan-card p{margin:0}.plan-card .big-price small{font-size:15px;font-weight:500;color:var(--muted)}.plan-benefits{padding-left:20px;line-height:1.8;flex:1;margin:0}.plan-buy{width:100%;margin-top:auto}.public-main .service-card{display:flex;flex-direction:column;gap:12px}.service-card>button{margin-top:auto}.client-auth-card{width:100%;max-width:480px}.public-main .grid3{align-items:stretch}@media(max-width:600px){.public-top{gap:16px;flex-wrap:wrap}.public-top .actions{width:100%}.public-top .actions button{flex:1}.public-plans{margin-top:32px}.public-main .hero h2{overflow-wrap:anywhere}.public-main .tabs{display:flex;flex-wrap:wrap;gap:8px}}

.version-badge{position:fixed;bottom:3px;right:8px;font-size:10px;color:#707784;pointer-events:none}details{margin:18px 0}summary{cursor:pointer;font-weight:650}details[open]>summary{margin-bottom:14px}
