
:root{--bg:#f7f9fc;--surface:#fff;--surface2:#f1f4f8;--text:#101828;--muted:#667085;--line:#e4e9f0;--primary:#111827;--accent:#4f7cff;--green:#12b76a;--red:#e5484d;--amber:#f59e0b;--shadow:0 16px 50px rgba(15,23,42,.08);--radius:22px}
*{box-sizing:border-box;min-width:0}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit}a{text-decoration:none;color:inherit}.app{min-height:100vh}.container{width:min(1180px,calc(100% - 30px));margin:auto}.top{height:72px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.topin{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:900;display:flex;align-items:center;gap:9px}.mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#111827,#4f7cff);color:#fff;display:grid;place-items:center}.nav{display:flex;gap:21px;color:#475467;font-size:14px}.actions{display:flex;gap:8px}.btn{min-height:44px;padding:11px 16px;border-radius:13px;border:1px solid #dce3eb;background:#fff;color:#101828;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s;max-width:100%}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.08)}.btn-primary{background:#111827;color:#fff;border-color:#111827}.btn-blue{background:#4f7cff;color:#fff;border-color:#4f7cff}.btn-green{background:#12b76a;color:#fff;border-color:#12b76a}.btn-red{background:#fff2f3;color:#c9363f;border-color:#ffd6da}.btn-soft{background:#f5f7fa}.page{padding:42px 0 68px}.eyebrow{font-size:11px;font-weight:900;color:#4f7cff;letter-spacing:.14em;text-transform:uppercase}.title{font-size:42px;letter-spacing:-.04em;margin:8px 0}.sub{color:#667085;line-height:1.6}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{padding:20px}.grid2{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.field{display:grid;gap:7px;margin:13px 0}.field label{font-size:13px;font-weight:800}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3eb;border-radius:13px;padding:13px 14px;background:#fff;color:#101828;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7aa6ff;box-shadow:0 0 0 4px rgba(79,124,255,.08)}
.auth{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:25px}.authcard{width:min(520px,100%);padding:28px}.split-login{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.owner-shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:20px 14px;position:sticky;top:0;height:100vh}.sidebrand{margin:0 8px 20px}.side{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:11px;color:#667085;margin:4px 0;cursor:pointer}.side.active,.side:hover{background:#f1f5ff;color:#27418f}.main{padding:24px;overflow:hidden}.mainhead{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.role{display:inline-flex;padding:6px 8px;border-radius:999px;background:#eef4ff;color:#4169d8;font-size:10px;font-weight:900}.live{padding:18px 20px;border:1px solid #d5f1e2;background:#f3fff8;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.live b{color:#067647}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat{padding:16px}.stat b{font-size:26px}.stat span{display:block;color:#667085;font-size:12px}.table{display:grid;gap:8px}.tr{display:grid;grid-template-columns:1.1fr .75fr .65fr .75fr auto;gap:10px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.tr small{color:#667085;display:block}.pill{display:inline-flex;padding:6px 8px;border-radius:999px;font-size:10px;font-weight:900}.new{background:#fff6e5;color:#925700}.confirmed{background:#ecfdf3;color:#067647}.rejected{background:#fff1f3;color:#c9363f}.completed{background:#eff8ff;color:#175cd3}.source{background:#f2f4f7;color:#475467}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.item{overflow:hidden}.itemimg{height:180px;background-size:cover;background-position:center;background-color:#eef2f6}.itembody{padding:15px}.price{font-size:18px;font-weight:900}.itemactions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.pos{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.pos-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.pos-item{padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.pos-item:hover{border-color:#9db8ff}.cartline{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.carttotal{font-size:26px;font-weight:900;margin:16px 0}
.store-head{background:#fff;border-bottom:1px solid var(--line)}.store-nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:15px}.store-links{display:flex;gap:20px;color:#475467}.hero{padding:52px 0 30px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.hero-img{height:430px;border-radius:28px;background-size:cover;background-position:center;box-shadow:var(--shadow)}.hero h1{font-size:58px;letter-spacing:-.055em;line-height:1;margin:10px 0 16px}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:25px 0 56px}.store-item{overflow:hidden}.store-img{height:210px;background-size:cover;background-position:center}.store-body{padding:16px}.store-body p{color:#667085}.store-cta{display:flex;gap:8px;flex-wrap:wrap}
.editor-preview{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff}.preview-hero{height:300px;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:22px}.preview-title{background:rgba(255,255,255,.9);padding:13px 15px;border-radius:14px;font-size:24px;font-weight:900}
.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.integration{padding:18px}.integration-icon{width:44px;height:44px;border-radius:13px;background:#f2f4f7;display:grid;place-items:center;font-size:19px;font-weight:900;margin-bottom:12px}.integration p{color:#667085}.statusline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.modalback{position:fixed;inset:0;background:rgba(15,23,42,.4);backdrop-filter:blur(9px);display:grid;place-items:center;padding:14px;z-index:999}.modal{width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:21px;padding:22px;box-shadow:0 28px 90px rgba(15,23,42,.2)}.modalactions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.toast{position:fixed;right:16px;top:88px;z-index:1000;width:min(380px,calc(100% - 32px));background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;box-shadow:var(--shadow)}.toast b{display:block}.toast span{color:#667085;font-size:12px}
.chatbtn{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border:0;border-radius:18px;background:#111827;color:#fff;z-index:800;font-weight:900;cursor:pointer;box-shadow:0 18px 40px rgba(15,23,42,.2)}.chatbox{position:fixed;right:18px;bottom:84px;width:min(380px,calc(100% - 24px));height:min(520px,calc(100vh - 110px));z-index:801;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 80px rgba(15,23,42,.18);display:none;grid-template-rows:auto 1fr auto;overflow:hidden}.chatbox.open{display:grid}.chathead,.chatinput{padding:12px;border-bottom:1px solid var(--line)}.chatinput{border-top:1px solid var(--line);border-bottom:0;display:flex;gap:7px}.chatinput input{flex:1;border:1px solid var(--line);border-radius:11px;padding:11px}.messages{padding:13px;overflow:auto;background:#fbfcfe}.msg{max-width:85%;padding:10px 12px;border-radius:14px;margin:7px 0;font-size:13px;line-height:1.45}.bot{background:#fff;border:1px solid var(--line)}.user{margin-left:auto;background:#111827;color:#fff}
@media(max-width:1000px){.nav{display:none}.owner-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);display:flex;overflow:auto;gap:5px}.sidebrand{display:none}.side{white-space:nowrap}.stats{grid-template-columns:1fr 1fr}.grid3,.catalog-grid,.pos-products,.integration-grid,.store-grid{grid-template-columns:1fr 1fr}.grid2,.pos,.hero-grid{grid-template-columns:1fr}.tr{grid-template-columns:1fr 1fr}.tr .rowactions{grid-column:1/-1}}
@media(max-width:620px){.container{width:calc(100% - 20px)}.top{height:66px}.actions .hide-mobile{display:none}.page{padding:30px 0 54px}.title{font-size:34px}.main{padding:14px}.mainhead,.live{align-items:flex-start;flex-direction:column}.stats,.grid3,.catalog-grid,.pos-products,.integration-grid,.store-grid{grid-template-columns:1fr}.tr{grid-template-columns:1fr}.split-login{grid-template-columns:1fr}.hero h1{font-size:43px}.hero-img{height:300px}.store-links{display:none}.modal{width:100%;padding:18px}.modalactions{flex-direction:column}.modalactions .btn{width:100%}.btn{white-space:normal;text-align:center}.itemactions,.store-cta{flex-direction:column}.itemactions .btn,.store-cta .btn{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* V13.1 restored AI home + template marketplace */
.ai-home{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:38px 0}.ai-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.ai-home h1{font-size:clamp(48px,7vw,78px);line-height:.97;letter-spacing:-.055em;margin:13px 0 18px}.ai-lead{font-size:18px;max-width:680px}.ai-actions{margin-top:24px;flex-wrap:wrap}.ai-trust{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;color:#667085;font-size:12px}.ai-stage{position:relative;min-height:500px;display:grid;place-items:center}.ai-orb{width:min(360px,72vw);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font-size:66px;font-weight:900;color:rgba(17,24,39,.72);background:radial-gradient(circle at 34% 28%,#fff 0 6%,#dff7ff 10%,#92dcff 24%,#8d9eff 40%,#edf0ff 61%,#fff 76%);box-shadow:0 36px 100px rgba(79,124,255,.20),inset -28px -38px 80px rgba(64,78,150,.14);animation:aiFloat 5s ease-in-out infinite}.ai-float{position:absolute;background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--shadow);padding:12px 14px;border-radius:16px}.ai-float b,.ai-float small{display:block}.ai-float small{color:#667085}.af1{top:12%;left:2%}.af2{top:28%;right:0}.af3{bottom:18%;left:4%}.af4{bottom:8%;right:5%}@keyframes aiFloat{50%{transform:translateY(-12px) rotate(-1deg)}}
.template-market{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.template-card{overflow:hidden}.template-photo{height:215px;background-size:cover;background-position:center}.template-card .actions{flex-wrap:wrap}.template-card .actions .btn{flex:1 1 130px}
@media(max-width:1000px){.ai-home-grid{grid-template-columns:1fr;text-align:center}.ai-actions,.ai-trust{justify-content:center}.ai-stage{min-height:430px}.template-market{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ai-home{padding:26px 0}.ai-home h1{font-size:46px}.ai-stage{min-height:380px}.ai-float{font-size:12px}.template-market{grid-template-columns:1fr}.template-card .actions{flex-direction:column}.template-card .actions .btn{width:100%;flex:auto}}

/* V14 role consoles and live order alerts */
.side-logout{width:100%;border:0;background:transparent;text-align:left;font:inherit}
.incoming-panel{margin-bottom:18px;border-color:#d8e5ff;background:linear-gradient(180deg,#fff,#fbfdff)}
.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-count{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff0f1;color:#c9363f;font-size:11px;font-weight:900}
.alert-state{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#f3fff8;color:#067647;border:1px solid #d5f1e2;font-size:11px;font-weight:800}.alert-dot{width:8px;height:8px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 5px rgba(18,183,106,.1)}
.incoming-order-popup{text-align:left}.order-alert-icon{width:58px;height:58px;border-radius:18px;background:#111827;color:#fff;display:grid;place-items:center;font-size:28px;font-weight:900;margin-bottom:14px;animation:orderPulse 1.1s ease-in-out infinite}.order-alert-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.order-alert-card>div{padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.order-alert-card span{display:block;font-size:11px;color:#667085;margin-bottom:4px}.order-alert-card b{overflow-wrap:anywhere}
.staff-guide{margin-bottom:4px}
.ready{background:#eef4ff;color:#344db7}.out_for_delivery{background:#eff8ff;color:#175cd3}.preparing{background:#fff7ed;color:#9a3412}
@keyframes orderPulse{50%{transform:scale(1.06);box-shadow:0 0 0 10px rgba(79,124,255,.08)}}
@media(max-width:620px){.panel-head{flex-direction:column}.order-alert-card{grid-template-columns:1fr}.alert-state{width:100%;justify-content:center}.incoming-panel{padding:15px}}

/* V15 Theme Engine / Website Builder */
.template-market{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.template-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.template-shot{height:220px;background-size:cover;background-position:center;display:flex;align-items:flex-start;padding:14px}.template-shot span{background:rgba(255,255,255,.9);backdrop-filter:blur(10px);padding:7px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em}.template-copy{padding:18px}.template-copy h3{margin:0 0 7px}.template-copy p{color:#667085;line-height:1.5}.template-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.builder-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:14px}.builder-tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.builder-tab.active{background:#111827;color:#fff}.builder-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}.builder-form{position:relative}.builder-pane{display:none}.builder-pane.active{display:block}.builder-save{margin-top:16px;width:100%}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-row{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid var(--line)}
.editor-preview{position:sticky;top:24px;height:max-content}.mini-site{background:var(--site-bg);color:var(--site-primary);min-height:530px}.mini-nav{height:58px;padding:0 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(0,0,0,.08)}.mini-nav img{max-height:34px;max-width:120px}.mini-nav span{font-size:11px}.mini-hero{height:330px;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:18px}.mini-hero>div{max-width:72%;background:rgba(255,255,255,.9);padding:16px;border-radius:14px}.mini-hero small{font-size:9px;letter-spacing:.1em}.mini-hero h2{margin:5px 0}.mini-hero p{font-size:11px;color:#667085}.mini-hero button{border:0;background:var(--site-primary);color:#fff;padding:8px 11px;border-radius:9px}.mini-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}.mini-cards i{height:80px;border-radius:11px;background:var(--site-surface)}
.customer-site{background:var(--site-bg);color:var(--site-primary);min-height:100vh}.customer-header{background:rgba(255,255,255,.92);backdrop-filter:blur(15px);border-bottom:1px solid rgba(0,0,0,.07);position:sticky;top:0;z-index:40}.customer-nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}.customer-brand{font-size:20px;font-weight:900}.customer-brand img{max-height:42px;max-width:160px}.customer-nav nav{display:flex;gap:20px;font-size:14px}.customer-cart{border:1px solid rgba(0,0,0,.1);background:#fff;padding:10px 13px;border-radius:999px;font-weight:800}.cust-hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.055em}.cust-hero p{font-size:17px;line-height:1.6}.site-btn{display:inline-flex;border:0;background:var(--site-primary);color:#fff;padding:12px 17px;border-radius:12px;font-weight:800;cursor:pointer}.site-btn.light{background:#fff;color:#111}.site-link{font-weight:800;color:var(--site-primary)}
.split-hero{padding:48px 0}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.split-image{height:520px;border-radius:30px;background-size:cover;background-position:center}
.editorial-hero{position:relative;padding-bottom:55px}.hero-photo{height:64vh;min-height:520px;background-size:cover;background-position:center}.editorial-copy{margin-top:-110px;position:relative}.editorial-copy>small,.editorial-copy>h1,.editorial-copy>p,.editorial-copy>.site-btn{margin-left:32px}.editorial-copy h1{background:#fff;display:table;padding:14px 20px;margin-bottom:0;max-width:760px}.editorial-copy p{background:#fff;padding:12px 20px;max-width:600px;margin-top:0}
.clinical-hero{padding:52px 0;background:linear-gradient(180deg,var(--site-surface),#fff)}.clinical-grid{display:grid;grid-template-columns:1fr .9fr;gap:32px;align-items:center}.clinical-image{height:500px;border-radius:26px;background-size:cover;background-position:center}.clinic-chip{display:inline-flex;background:#fff;border:1px solid rgba(0,0,0,.08);padding:8px 10px;border-radius:999px;font-size:11px;font-weight:900}
.soft-hero{padding:50px 0}.soft-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px}.soft-card{background:var(--site-surface);border-radius:34px;padding:48px;display:flex;flex-direction:column;justify-content:center}.soft-image{min-height:520px;border-radius:34px;background-size:cover;background-position:center}
.bold-hero{min-height:72vh;background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}.bold-hero .container{max-width:1180px}.bold-hero h1{max-width:740px}.bold-hero p{max-width:560px}
.customer-section{padding:64px 0;background:var(--site-bg)}.customer-section:nth-of-type(even){background:var(--site-surface)}.section-head small,.cust-hero small{font-weight:900;letter-spacing:.12em;font-size:10px}.section-head h2{font-size:40px;margin:7px 0 23px}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-item{background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:20px;overflow:hidden}.customer-item-img{height:240px;background-size:cover;background-position:center}.customer-item-body{padding:17px}.customer-item-body span{font-size:10px;font-weight:900;color:var(--site-accent);text-transform:uppercase}.customer-price{font-size:18px;font-weight:900;margin:12px 0}.customer-contact{padding:60px 0;background:var(--site-primary);color:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-actions{display:grid;gap:8px;justify-content:end}.contact-actions a{color:#fff;font-weight:800}.customer-footer{padding:34px 0;background:#fff;border-top:1px solid rgba(0,0,0,.07)}.customer-footer>.container{display:flex;justify-content:space-between;gap:25px}.customer-footer p{color:#667085}.footer-links{display:flex;gap:15px;flex-wrap:wrap}
.tpl-beauty .customer-item,.tpl-beauty .site-btn{border-radius:999px}.tpl-beauty .customer-item-img{border-radius:20px 20px 60% 60%}
.tpl-clinic .customer-item{border-radius:14px}.tpl-clinic .site-btn{border-radius:9px}.tpl-clinic .customer-section:nth-of-type(even){background:#f4fbfd}
.tpl-salon{font-family:Georgia,'Times New Roman',serif}.tpl-salon .customer-nav,.tpl-salon .customer-item-body,.tpl-salon .site-btn{font-family:Inter,system-ui,sans-serif}.tpl-salon .customer-item{border-radius:0}.tpl-salon .customer-item-img{height:300px}
.tpl-pet .customer-item{border-radius:28px;transform:rotate(-.3deg)}.tpl-pet .customer-item:nth-child(even){transform:rotate(.4deg)}
.tpl-retail .customer-nav{text-transform:uppercase;letter-spacing:.08em;font-size:12px}.tpl-retail .customer-item{border-radius:0;border:0}.tpl-retail .customer-item-img{height:340px}
.tpl-cafe{font-family:Georgia,serif}.tpl-cafe .customer-item-body,.tpl-cafe .customer-nav{font-family:Inter,system-ui,sans-serif}.tpl-cafe .customer-section:nth-of-type(even){background:#fbf6f0}
.tpl-auto .customer-header{background:#0e141a;color:#fff;border-bottom-color:#26313b}.tpl-auto .customer-cart{background:#1c2730;color:#fff;border-color:#33414d}.tpl-auto .customer-item{border-radius:10px}
.tpl-florist .customer-section:nth-of-type(even){background:#fff8fa}.tpl-florist .customer-item{border-radius:32px 32px 8px 8px}
.tpl-home .customer-item,.tpl-fitness .customer-item{border-radius:16px}
@media(max-width:980px){.template-market{grid-template-columns:repeat(2,1fr)}.builder-grid,.split-grid,.clinical-grid,.soft-grid{grid-template-columns:1fr}.editor-preview{position:static}.customer-grid{grid-template-columns:repeat(2,1fr)}.split-image,.clinical-image,.soft-image{height:420px;min-height:0}.editorial-copy{margin-top:-70px}}
@media(max-width:620px){.template-market,.customer-grid,.color-grid,.contact-grid{grid-template-columns:1fr}.template-actions{flex-direction:column}.template-actions .btn{width:100%}.customer-nav nav{display:none}.cust-hero h1{font-size:43px}.split-image,.clinical-image,.soft-image{height:300px}.soft-card{padding:28px}.hero-photo{height:52vh;min-height:390px}.editorial-copy{margin-top:-40px}.editorial-copy>small,.editorial-copy>h1,.editorial-copy>p,.editorial-copy>.site-btn{margin-left:10px}.editorial-copy h1{font-size:38px}.customer-footer>.container{flex-direction:column}.contact-actions{justify-content:start}}

/* V16 Dedicated POS Terminal */
.pos-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);background:#f3f5f8}.pos-auth-card{background:#fff;padding:clamp(28px,6vw,80px);display:flex;flex-direction:column;justify-content:center}.pos-logo{font-size:16px;font-weight:900;letter-spacing:.08em;margin-bottom:34px}.pos-auth-card h1{font-size:48px;letter-spacing:-.05em;margin:9px 0}.pos-auth-card p{color:#667085;line-height:1.6}.pos-login-btn{width:100%;margin-top:8px}.pos-back{display:inline-flex;margin-top:18px;color:#667085;font-size:13px}.pos-auth-visual{display:grid;place-items:center;padding:40px;background:linear-gradient(135deg,#111827,#28334b)}.pos-screen-mock{width:min(720px,95%);height:520px;background:#f7f9fc;border:12px solid #202938;border-radius:28px;box-shadow:0 45px 100px rgba(0,0,0,.35);padding:20px;display:grid;grid-template-columns:1fr 190px;grid-template-rows:55px 1fr;gap:15px}.mock-top{grid-column:1/-1;background:#fff;border-radius:12px}.mock-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mock-grid i{background:#fff;border-radius:12px}.mock-cart{background:#fff;border-radius:12px}
.pos-loading{min-height:100vh;display:grid;place-items:center;background:#eef2f6;font-weight:800}.pos-terminal-shell{min-height:100vh;background:#eef1f5;color:#101828}.pos-topbar{height:70px;background:#111827;color:#fff;padding:0 22px;display:flex;align-items:center;justify-content:space-between}.pos-brand{font-weight:900;letter-spacing:.08em}.pos-topbar small{display:block;color:#aab4c4}.pos-cashier{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center}.pos-cashier small{grid-column:2}.pos-status-dot{width:9px;height:9px;border-radius:50%;background:#32d583;box-shadow:0 0 0 5px rgba(50,213,131,.12)}.pos-tabs{height:58px;background:#fff;border-bottom:1px solid #dfe4ea;padding:0 18px;display:flex;align-items:end;gap:6px}.pos-tab{height:48px;border:0;background:transparent;padding:0 18px;font-weight:800;color:#667085;border-bottom:3px solid transparent;cursor:pointer}.pos-tab.active{color:#101828;border-color:#4f7cff}.pos-tab b{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#fee4e2;color:#b42318;font-size:10px;margin-left:5px}.pos-workspace{padding:16px}.pos-pane{display:none}.pos-pane.active{display:block}.market-pos{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:15px;min-height:calc(100vh - 160px)}.pos-catalog-area{min-width:0}.pos-searchbar{display:flex;gap:8px;margin-bottom:12px}.pos-searchbar input{flex:1;border:1px solid #d7dde5;border-radius:13px;padding:13px 14px;background:#fff}.pos-filter{border:1px solid #d7dde5;background:#fff;border-radius:13px;padding:0 16px;font-weight:800}.pos-filter.active{background:#111827;color:#fff}.market-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.market-product{border:1px solid #dfe4ea;background:#fff;border-radius:15px;padding:0;text-align:left;overflow:hidden;cursor:pointer;min-width:0;transition:.16s}.market-product:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.09)}.market-product-img{height:135px;background-size:cover;background-position:center}.market-product>div:last-child{padding:11px}.market-product b{display:block;line-height:1.25}.market-product span{display:block;color:#475467;margin-top:6px;font-weight:800}.market-cart{background:#fff;border:1px solid #dfe4ea;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100vh - 160px);position:sticky;top:16px}.market-cart-head{padding:16px;border-bottom:1px solid #eef1f4;display:flex;justify-content:space-between;align-items:center}.market-cart-head h2{margin:0;font-size:20px}.market-cart-head span{font-size:12px;color:#667085}.market-cart-lines{padding:8px 14px;overflow:auto;flex:1}.market-cart-line{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #eef1f4}.market-cart-line small{display:block;color:#667085;margin-top:3px}.market-cart-line button{border:0;background:#f2f4f7;border-radius:9px;width:30px;height:30px;cursor:pointer}.market-cart-bottom{padding:14px;border-top:1px solid #eef1f4}.market-total{display:flex;justify-content:space-between;align-items:center;font-size:19px;margin:13px 0}.market-total b{font-size:25px}.market-pay{width:100%;border:0;border-radius:13px;background:#4f7cff;color:#fff;padding:15px;font-weight:900;cursor:pointer}.pos-empty-small,.pos-empty{color:#667085;text-align:center;padding:35px 15px}.pos-empty{background:#fff;border-radius:18px;border:1px solid #dfe4ea}.pos-order-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pos-order-card{background:#fff;border:1px solid #dfe4ea;border-radius:16px;padding:16px}.pos-order-card.new{border-top:4px solid #f79009}.pos-order-card.confirmed{border-top:4px solid #12b76a}.pos-order-head{display:flex;justify-content:space-between;gap:8px}.pos-order-head small{color:#667085}.pos-order-head h3{margin:3px 0}.pos-order-head>span{text-transform:uppercase;font-size:10px;font-weight:900;background:#f2f4f7;height:max-content;padding:6px 8px;border-radius:999px}.pos-order-items{padding:14px 0;color:#344054;line-height:1.5}.pos-order-meta{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid #eef1f4}.pos-order-actions{display:flex;gap:8px}.pos-order-actions .btn{flex:1}.pos-history{display:grid;gap:8px}.pos-history-row{display:grid;grid-template-columns:1fr 1.4fr .6fr auto;gap:12px;align-items:center;background:#fff;border:1px solid #dfe4ea;border-radius:13px;padding:13px}.pos-history-row small{display:block;color:#667085}.receipt{text-align:center}.receipt-brand{font-weight:900;font-size:20px}.receipt-meta{display:grid;gap:3px;color:#667085;font-size:12px;margin:10px 0 18px}.receipt-lines>div,.receipt-total{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed #d0d5dd;text-align:left}.receipt-total{font-size:20px;border-bottom:0}.receipt-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:18px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.permission-grid label{border:1px solid #e4e7ec;padding:10px;border-radius:11px}.perm-pills{display:flex;gap:5px;flex-wrap:wrap}.perm-pills span{background:#f2f4f7;border-radius:999px;padding:6px 8px;font-size:10px;font-weight:800}
@media print{body *{visibility:hidden!important}#receiptPrint,#receiptPrint *{visibility:visible!important}#receiptPrint{position:fixed;inset:0;background:#fff;padding:30px}.receipt-actions{display:none!important}}
/* V16 stronger visual identities */
.tpl-beauty .customer-header{background:rgba(255,250,252,.92)}.tpl-beauty .customer-section:nth-of-type(even){background:#fff5f8}.tpl-beauty .site-btn{background:linear-gradient(135deg,var(--site-primary),var(--site-accent))}
.tpl-clinic .clinical-hero{background:linear-gradient(135deg,#eefafd,#fff)}.tpl-clinic .customer-item{box-shadow:none;border-color:#d8edf2}.tpl-clinic .section-head small{color:#19809a}
.tpl-salon .editorial-copy h1{font-family:Georgia,serif;font-weight:500}.tpl-salon .customer-item-body h3{font-family:Georgia,serif;font-size:24px}
.tpl-pet .soft-card{background:#fff3df}.tpl-pet .customer-section:nth-of-type(even){background:#f2fbf6}.tpl-pet .site-btn{background:#244b40}
.tpl-retail .editorial-copy h1{font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:-.04em}.tpl-retail .customer-section{padding-top:80px}.tpl-retail .customer-grid{gap:28px}
.tpl-dental .clinical-image{border-radius:80px 20px 80px 20px}.tpl-dental .site-btn{background:#0e6174}
.tpl-cafe .soft-card{background:#f7ede3}.tpl-cafe .customer-item{background:#fffaf5}.tpl-cafe .site-btn{background:#422d23}
.tpl-fitness .bold-hero{background-position:center 35%}.tpl-fitness .customer-item{border:0;box-shadow:0 16px 36px rgba(35,48,43,.08)}
.tpl-auto .customer-section{background:#0f151b;color:#fff}.tpl-auto .customer-section:nth-of-type(even){background:#161f27}.tpl-auto .customer-item{background:#1d2730;border-color:#2b3944;color:#fff}.tpl-auto .customer-price{color:#7bc7ff}
.tpl-spa .split-hero{background:#f4f1ec}.tpl-spa .split-image{border-radius:46% 46% 18px 18px}.tpl-spa .customer-item-img{border-radius:50% 50% 0 0}
.tpl-florist .soft-card{background:#fff0f4}.tpl-florist .soft-image{border-radius:50% 50% 20px 20px}.tpl-florist .site-btn{background:#3e5147}
.tpl-home .split-grid{grid-template-columns:1.1fr .9fr}.tpl-home .split-image{border-radius:18px}.tpl-home .customer-item{border-radius:14px}
@media(max-width:1100px){.market-product-grid{grid-template-columns:repeat(3,1fr)}.pos-order-board{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.pos-auth-shell{grid-template-columns:1fr}.pos-auth-visual{display:none}.market-pos{grid-template-columns:1fr}.market-cart{position:static;max-height:none}.market-product-grid{grid-template-columns:repeat(2,1fr)}.pos-order-board{grid-template-columns:1fr}.pos-history-row{grid-template-columns:1fr 1fr}.pos-history-row button{grid-column:1/-1}.permission-grid{grid-template-columns:1fr}}
@media(max-width:520px){.pos-topbar{padding:0 12px}.pos-tabs{overflow:auto}.pos-tab{padding:0 12px;white-space:nowrap}.pos-workspace{padding:10px}.market-product-grid{grid-template-columns:1fr 1fr}.market-product-img{height:110px}.market-cart{border-radius:14px}.pos-history-row{grid-template-columns:1fr}.receipt-actions{flex-direction:column}.receipt-actions .btn{width:100%}}
