
/* Shared TAPO interface, derived from the owner workspace. Business data is untouched. */
:root {
 --tapo-ui-font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 --tapo-ui-canvas:#f7f7f7;
 --tapo-ui-surface:#fff;
 --tapo-ui-ink:#292623;
 --tapo-ui-muted:#777874;
 --tapo-ui-line:#ececea;
 --tapo-ui-accent:#e95135;
 --tapo-ui-accent-hover:#d3442b;
 --tapo-ui-radius:10px;
}
html {color-scheme:light;scroll-padding-top:88px;}
body {font-family:var(--tapo-ui-font)!important;color:var(--tapo-ui-ink);font-size:14px;line-height:1.65;}
body :is(h1,h2,h3,h4,h5,h6,p,label,button,input,select,textarea,summary,nav,a,.eyebrow,.tag,.pill) {font-family:var(--tapo-ui-font)!important;}
body :is(button,input,select,textarea) {box-sizing:border-box;}
body :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--tapo-ui-accent)!important;outline-offset:3px!important;}
body :is(button,a.button,input,select,textarea) {touch-action:manipulation;}
body :is(button,.button):disabled {cursor:not-allowed;}
body [hidden] {display:none!important;}

/* Public product pages share the quiet owner workspace surfaces and hierarchy. */
body.nfc-marketing {background:var(--tapo-ui-surface);color:var(--tapo-ui-ink);font-size:14px;}
.nfc-marketing :is(h1,h2,h3) {color:var(--tapo-ui-ink);font-weight:650;letter-spacing:-.025em;}
.nfc-marketing h1 {font-size:clamp(30px,3.6vw,46px);line-height:1.2;max-width:680px;margin-bottom:20px;}
.nfc-marketing h2 {font-size:clamp(24px,2.5vw,32px);line-height:1.3;margin-bottom:16px;}
.nfc-marketing h3 {font-size:18px;line-height:1.4;}
.nfc-marketing p {color:var(--tapo-ui-muted);font-size:14px;line-height:1.75;}
.nfc-marketing :is(.hero-copy>p,.page-hero p,.section-heading>p) {font-size:16px;max-width:580px;}
.nfc-marketing :is(.eyebrow,.feature-number,.learn,.text-link) {color:var(--tapo-ui-accent);}
.nfc-marketing .eyebrow {font-size:10px;letter-spacing:.1em;font-weight:600;margin-bottom:12px;}
.nfc-marketing .site-header {background:#fffffff5;border-color:var(--tapo-ui-line);backdrop-filter:blur(12px);}
.nfc-marketing .navigation {min-height:76px;gap:32px;}
.nfc-marketing nav {font-size:13px;gap:24px;}
.nfc-marketing nav a:hover {color:var(--tapo-ui-accent);}
.nfc-marketing :is(.grain,.nfc-steps,.nfc-closing,.page-hero) {background:var(--tapo-ui-canvas)!important;}
.nfc-marketing .grain:before {display:none;}
.nfc-marketing .hero-grid {min-height:580px;padding-top:56px;padding-bottom:56px;gap:56px;}
.nfc-marketing :is(.feature-card,.device-card,.faq-item,.glass-panel,.price-card,.subscription-card,.business-card,.blog-card,.contact-card) {background:var(--tapo-ui-surface)!important;border:1px solid var(--tapo-ui-line)!important;border-radius:var(--tapo-ui-radius)!important;box-shadow:none!important;backdrop-filter:none!important;}
.nfc-marketing .feature-card {padding:24px;transition:border-color .16s,background .16s;}
.nfc-marketing .feature-card:hover {transform:none;border-color:#f2b3a5!important;background:#fffaf8!important;box-shadow:none!important;}
.nfc-marketing :is(.nav-panel,.faq-list details,.steps-grid article) {background:#fff;border:1px solid var(--tapo-ui-line);border-radius:10px;box-shadow:none;}
.nfc-marketing .nav-panel a:hover {background:var(--tapo-ui-canvas);}
.nfc-marketing :is(.steps-grid article,.contact-card) {padding:24px;}
.nfc-marketing .nfc-price-strip {border-color:var(--tapo-ui-line);}
.nfc-marketing .site-footer {background:var(--tapo-ui-canvas);border-top:1px solid var(--tapo-ui-line);color:var(--tapo-ui-muted);}
.nfc-marketing .hero-notes {color:var(--tapo-ui-muted);gap:20px;}
.nfc-marketing .hero-notes span:before {color:var(--tapo-ui-accent);}

/* Buttons and fields outside customer-specific colour settings. */
body:not(.customer-glass) :is(.button,button.primary,.primary,.trial-primary) {
 min-height:42px;padding:10px 18px;border-radius:8px;background:var(--tapo-ui-accent);border:1px solid var(--tapo-ui-accent);color:#fff;font-size:13px;font-weight:600;line-height:1.5;box-shadow:none;transition:background .16s,border-color .16s;
}
body:not(.customer-glass) :is(.button,button.primary,.trial-primary):hover {background:var(--tapo-ui-accent-hover);border-color:var(--tapo-ui-accent-hover);transform:none;}
body:not(.customer-glass) :is(.button.secondary,button.secondary,a.secondary) {background:#fff;color:var(--tapo-ui-ink);border:1px solid var(--tapo-ui-line);box-shadow:none;border-radius:8px;}
body:not(.customer-glass) :is(.button.secondary,button.secondary,a.secondary):hover {background:var(--tapo-ui-canvas);border-color:#d8d8d5;}
body:not(.customer-glass) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]),select,textarea) {border:1px solid #dededb;border-radius:8px;background:#fff;color:var(--tapo-ui-ink);font-size:14px;line-height:1.5;min-height:42px;padding:10px 12px;box-shadow:none;}
body:not(.customer-glass) :is(input[type=checkbox],input[type=radio]) {accent-color:var(--tapo-ui-accent);}
body:not(.customer-glass) :is(input,textarea)::placeholder {color:#94948e;opacity:1;}

/* Central, onboarding, tools, and login use the same component language. */
.tapo-central-page {background:#fff!important;}
.tapo-central-page .central-sidebar {background:var(--tapo-ui-canvas);border-color:var(--tapo-ui-line);}
.tapo-central-page .central-sidebar nav button {border-radius:8px;font-size:13px;color:#626768;min-height:42px;font-weight:500;}
.tapo-central-page .central-sidebar nav button[aria-current=page] {background:#fff;color:var(--tapo-ui-accent);box-shadow:none;}
.tapo-central-page :is(.nav-caption,.central-logo span,.eyebrow) {color:#8b8c87;font-size:10px;letter-spacing:.09em;}
.tapo-central-page :is(.central-main,.dialog-head,dialog) {background:#fff;color:var(--tapo-ui-ink);}
.tapo-central-page :is(.panel,.stat,dialog,.notice) {border:1px solid var(--tapo-ui-line);border-radius:10px;box-shadow:none;}
.tapo-central-page .central-topbar h1 {font-size:26px;font-weight:650;letter-spacing:-.03em;}
.tapo-central-page :is(.panel h2,.panel-head h2) {font-size:17px;font-weight:600;color:var(--tapo-ui-ink);}
.tapo-central-page :is(th,td,.central-updated,.central-footnote) {border-color:var(--tapo-ui-line);}
.tapo-central-page th {background:var(--tapo-ui-canvas);color:var(--tapo-ui-muted);}
.tapo-central-page :is(.feature-bar i,.chart i) {background:var(--tapo-ui-accent);}
.tapo-central-page .notice {background:#fff8f5;color:#7d493d;}
body.trial-page {background:var(--tapo-ui-canvas)!important;}
.trial-page :is(.trial-header,.trial-card,.trial-existing) {background:#fff!important;border-color:var(--tapo-ui-line)!important;box-shadow:none!important;backdrop-filter:none!important;}
.trial-page .trial-card {border-radius:12px!important;padding:32px!important;}
.trial-page :is(h1,h2) {font-weight:650;color:var(--tapo-ui-ink);letter-spacing:-.025em;}
.trial-page h1 {font-size:28px!important;line-height:1.25;}
.trial-page :is(p,.trial-footnote,.trial-login) {color:var(--tapo-ui-muted);}
.trial-page .trial-steps .current span {background:var(--tapo-ui-accent);color:#fff;}
.trial-page .trial-phone {border-radius:8px;border-color:#dededb;background:var(--tapo-ui-canvas);}
.trial-page .trial-phone input {border:0!important;}
body.tapo-document-page {background:var(--tapo-ui-canvas);}
.tapo-document-page main {max-width:800px;margin:32px auto;background:#fff;border:1px solid var(--tapo-ui-line);border-radius:12px;padding:32px;}
.tapo-document-page h1 {font-size:28px;font-weight:650;letter-spacing:-.03em;}
.tapo-document-page h2 {font-size:18px;font-weight:600;}
.tapo-document-page p {color:var(--tapo-ui-muted);font-size:14px;}
body.tapo-qr-page {background:var(--tapo-ui-canvas)!important;color:var(--tapo-ui-ink)!important;}
.tapo-qr-page main {background:#fff!important;border:1px solid var(--tapo-ui-line)!important;border-radius:12px!important;box-shadow:none!important;backdrop-filter:none!important;}
.tapo-qr-page h1 {font-size:26px;font-weight:650;}
.tapo-qr-page :is(p,small,#qr-status) {color:var(--tapo-ui-muted);}
.tapo-qr-page button {background:var(--tapo-ui-accent);border-color:var(--tapo-ui-accent);color:#fff;border-radius:8px;font-size:13px;font-weight:600;min-height:42px;}
.tapo-qr-page .qr-empty {border:1px dashed #dededb;border-radius:8px;color:var(--tapo-ui-muted);}
.tapo-editor-page {background:var(--tapo-ui-canvas)!important;}
.tapo-editor-page :is(.panel,.editor-panel,.preview-panel,.editor-sidebar,.editor-card) {background:#fff!important;border-color:var(--tapo-ui-line)!important;border-radius:10px;box-shadow:none!important;}
body:not(.customer-glass) #app :is(.login-card,.login-form,.login-panel) {border-color:var(--tapo-ui-line)!important;background:#fff!important;box-shadow:none!important;border-radius:12px;}

/* Customer controls match the owner UI, while business colours and artwork remain configurable. */
html body.customer-glass #app#app :is(.customer-hub,.customer-sheet,.consumer,.hub-row,.outlet-identity,.nc-catalog,.nff-shell) {font-family:var(--tapo-ui-font)!important;}
html body.customer-glass #app#app :is(.hub-row,.outlet-identity,.nc-food,.nc-menu-detail,.nc-detail-options,.nff-shell) {border-radius:10px!important;box-shadow:none!important;backdrop-filter:none!important;}
html body.customer-glass #app#app :is(.customer-sheet h2,.nc-menu-detail h2) {font-size:22px!important;font-weight:650!important;line-height:1.3!important;letter-spacing:-.025em!important;font-family:var(--tapo-ui-font)!important;}
html body.customer-glass #app#app :is(.customer-sheet h3,.nc-menu-section h3) {font-size:16px!important;font-weight:600!important;font-family:var(--tapo-ui-font)!important;}
html body.customer-glass #app#app .customer-sheet:not([data-feature=sudoku]) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {border-radius:8px!important;font-family:var(--tapo-ui-font)!important;font-size:14px!important;min-height:44px;box-shadow:none!important;}
html body.customer-glass #app#app .customer-sheet:not([data-feature=sudoku]) :is(button:not(.nc-food-main):not(.nc-food-heart):not(.nc-detail-photo),a.button) {font-family:var(--tapo-ui-font)!important;font-size:13px!important;font-weight:600!important;border-radius:8px!important;box-shadow:none!important;}
html body.customer-glass #app#app .hub-row {font-size:14px!important;min-height:52px!important;}
html body.customer-glass #app#app :is(.sheet-body,.nc-menu-detail,.nff-shell) p {font-family:var(--tapo-ui-font)!important;line-height:1.65;}

@media(max-width:767px) {
 .nfc-marketing .wrap,.nfc-marketing .container {width:calc(100% - 32px);}
 .nfc-marketing .navigation {min-height:64px;gap:16px;}
 .nfc-marketing .hero-grid {min-height:0;gap:32px;padding-top:36px;padding-bottom:36px;}
 .nfc-marketing :is(.feature-card,.steps-grid article,.contact-card) {padding:20px;}
 .nfc-marketing .nav-panel {border-radius:10px;}
 .trial-page .trial-card {padding:24px 20px!important;}
 .tapo-document-page main {margin:16px;border-radius:10px;padding:24px 20px;}
 .tapo-qr-page main {padding:24px 20px!important;}
 body:not(.customer-glass) :is(.button,button.primary,.trial-primary) {min-height:44px;}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto!important;}body :is(.button,.feature-card){transition:none!important;}}
@media print {.tapo-document-page main{border:0;margin:0;padding:0;}.tapo-qr-page main{border:0!important;}}

/* Supporting application shells use TAPO surfaces, not the business page palette. */
body:has(.login-layout,.build-shell,.experience-scanner-shell,#app.platform-workspace) {background:var(--tapo-ui-canvas)!important;}
body #app#app :is(.login-layout,.build-shell,.experience-scanner-shell) {font-family:var(--tapo-ui-font)!important;color:var(--tapo-ui-ink);}
body #app#app :is(.login-layout .panel,.experience-scanner-shell>.panel,.build-hero) {background:#fff!important;border:1px solid var(--tapo-ui-line)!important;box-shadow:none!important;border-radius:12px!important;backdrop-filter:none!important;}
body #app#app .login-intro h1 {font-size:clamp(28px,4vw,42px)!important;line-height:1.2!important;letter-spacing:-.03em;}
body #app#app :is(.login-layout,.experience-scanner-shell,.build-shell) .brand {color:var(--tapo-ui-accent)!important;}
body #app#app.platform-workspace {background:#fff!important;}
body #app#app.platform-workspace :is(aside,.central-sidebar) {background:var(--tapo-ui-canvas)!important;border-color:var(--tapo-ui-line)!important;}
body #app#app.platform-workspace :is(.panel,.stat,.central-stat) {background:#fff!important;border:1px solid var(--tapo-ui-line)!important;border-radius:10px!important;box-shadow:none!important;}
body #app#app.platform-workspace :is(h1,h2,h3) {color:var(--tapo-ui-ink);letter-spacing:-.025em;font-weight:650;}
body #app#app.platform-workspace h1 {font-size:26px!important;}
body #app#app.platform-workspace :is(button:not(.secondary),.button:not(.secondary)) {background:var(--tapo-ui-accent);border-color:var(--tapo-ui-accent);color:#fff;box-shadow:none;}
.tapo-editor-page :is(h1,h2,h3) {color:var(--tapo-ui-ink);letter-spacing:-.025em;font-weight:650;}
.tapo-editor-page header {background:#fff!important;border-color:var(--tapo-ui-line)!important;}
@media(max-width:767px){body #app#app .login-intro{padding:24px!important;}.tapo-document-page main{width:auto;}}

/* One type system in the live business page and its owner preview. */
.customer-hub.nfd-customer {--nfd-font:var(--tapo-ui-font)!important;--cg-font:var(--tapo-ui-font)!important;}
html body #app#app#app#app#app#app .customer-hub.nfd-customer :is(.outlet-identity h1,.outlet-identity p,.hub-row>span:nth-child(2)) {font-family:var(--tapo-ui-font)!important;}
html body #app#app#app#app#app#app .customer-hub.nfd-customer .outlet-identity h1 {font-weight:650!important;letter-spacing:-.025em!important;}
html body #app#app#app#app#app#app .customer-hub.nfd-customer .hub-actions .hub-row {min-height:56px!important;padding:12px 16px!important;border-radius:10px!important;box-shadow:none!important;border:1px solid color-mix(in srgb,var(--nfd-card-text) 14%,transparent)!important;}
html body #app#app#app#app#app#app .customer-hub.nfd-customer .hub-row>span:nth-child(2) {font-size:14px!important;font-weight:600!important;line-height:1.5!important;}
html body #app#app#app#app#app#app .customer-hub.nfd-customer .hub-chevron {color:var(--nfd-card-text)!important;}
html body #app#app#app#app#app#app .nfc-style-demo {font-family:var(--tapo-ui-font)!important;}

.nfc-marketing :is(.pricing-card,.trial-welcome-status,.trial-setup-grid article) {background:#fff!important;border:1px solid var(--tapo-ui-line)!important;border-radius:10px!important;box-shadow:none!important;}

/* The login introduction sits directly on the page canvas. */
body #app#app .login-intro {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;}

/* Platform sign-in: balanced introduction and one focused form. */
body #app#app .platform-login-layout {box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,432px)!important;align-items:center!important;gap:88px!important;width:min(1080px,100%)!important;min-height:100dvh!important;margin:0 auto!important;padding:64px 40px!important;}
body #app#app .platform-login-layout .login-intro {max-width:420px!important;margin:0!important;padding:0!important;align-self:center!important;}
body #app#app .platform-login-layout .login-intro .brand {margin:0 0 48px!important;}
body #app#app .platform-login-layout .login-intro .brand svg {width:100px!important;height:auto!important;}
body #app#app .platform-login-layout .login-intro .eyebrow {margin:0 0 16px!important;font-size:10px!important;letter-spacing:.12em!important;color:#8a817a!important;}
body #app#app .platform-login-layout .login-intro h1 {font-size:44px!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:0 0 24px!important;font-weight:650!important;}
body #app#app .platform-login-layout .login-intro>p {font-size:15px!important;line-height:1.75!important;color:var(--tapo-ui-muted)!important;max-width:330px!important;margin:0!important;}
body #app#app .platform-login-layout .brand-geometry {display:none!important;}
body #app#app .platform-login-layout>.panel.login {box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:32px!important;border-radius:14px!important;border:1px solid #e8e8e5!important;background:#fff!important;box-shadow:0 8px 32px #29262304!important;}
body #app#app .platform-login-layout>.login>.eyebrow {font-size:10px!important;letter-spacing:.1em!important;color:#8a817a!important;margin:0 0 10px!important;}
body #app#app .platform-login-layout>.login>h2 {font-size:26px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.025em!important;margin:0 0 24px!important;}
body #app#app .platform-login-layout .login>p[role=status] {font-size:12px!important;line-height:1.65!important;padding:12px 14px!important;margin:0 0 24px!important;background:#fff7f3!important;border:1px solid #fae8df!important;border-radius:8px!important;color:#815b4b!important;}
body #app#app .platform-login-layout form#login {display:grid!important;gap:18px!important;margin:0!important;}
body #app#app .platform-login-layout form#login>.field,body #app#app .platform-login-layout form#login>.password-field {display:grid!important;gap:8px!important;margin:0!important;font-size:13px!important;}
body #app#app .platform-login-layout form#login input {height:46px!important;min-height:46px!important;border-radius:8px!important;background:#fff!important;padding:11px 12px!important;border:1px solid #dededb!important;font-size:14px!important;}
body #app#app .platform-login-layout .password-input-wrap input {padding-right:46px!important;}
body #app#app .platform-login-layout form#login>button {min-height:46px!important;padding:12px 16px!important;margin:6px 0 0!important;background:var(--tapo-ui-accent)!important;border:1px solid var(--tapo-ui-accent)!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important;font:600 13px/1.5 var(--tapo-ui-font)!important;}
body #app#app .platform-login-layout form#login>button:hover {background:var(--tapo-ui-accent-hover)!important;}
body #app#app .platform-login-layout #login-error:empty {display:none!important;}
body #app#app .platform-login-layout .login>p.note:not([role]) {padding:0!important;border:0!important;background:transparent!important;color:#898983!important;font-size:11px!important;line-height:1.65!important;margin:16px 0 24px!important;}
body #app#app .platform-login-layout .login>a.button.secondary {display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;background:#fafaf9!important;border:1px solid #eaeae7!important;border-radius:8px!important;font-size:12px!important;margin:0!important;}
body #app#app .platform-login-layout .login>a.text-link {text-align:center!important;margin:16px 0 0!important;font-size:12px!important;color:#73746f!important;}
@media(min-width:768px) and (max-width:1023px) {body #app#app .platform-login-layout {gap:40px!important;padding:48px 32px!important;grid-template-columns:minmax(0,1fr) minmax(0,400px)!important;}body #app#app .platform-login-layout .login-intro h1 {font-size:36px!important;}}
@media(max-width:767px) {body #app#app .platform-login-layout {grid-template-columns:minmax(0,1fr)!important;min-height:100dvh!important;align-content:start!important;gap:28px!important;padding:28px 20px 40px!important;max-width:480px!important;}body #app#app .platform-login-layout .login-intro .brand {margin:0 0 28px!important;}body #app#app .platform-login-layout .login-intro .brand svg {width:86px!important;}body #app#app .platform-login-layout .login-intro h1 {font-size:30px!important;line-height:1.2!important;margin-bottom:12px!important;}body #app#app .platform-login-layout .login-intro h1 br {display:none!important;}body #app#app .platform-login-layout .login-intro h1 br:after {content:' ';}body #app#app .platform-login-layout .login-intro>p {max-width:none!important;font-size:13px!important;}body #app#app .platform-login-layout>.panel.login {padding:24px!important;}body #app#app .platform-login-layout>.login>h2 {font-size:23px!important;}}
