:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#182a4a;background:#f5f7fc}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #e5eaf3}nav{max-width:1140px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}nav>div{display:flex;gap:20px;align-items:center;flex-wrap:wrap}a{color:#345ec0;text-decoration:none}nav a{font-size:14px;font-weight:600}.brand{font-size:23px;color:#172c50;font-weight:850;letter-spacing:-.5px;display:inline-flex;align-items:center;gap:8px}.brand-name{font-size:23px;letter-spacing:-.5px;color:inherit;font-weight:850}main{max-width:1140px;margin:0 auto;padding:60px 24px;min-height:75vh}h1{font-size:clamp(34px,4.2vw,58px);line-height:1.08;letter-spacing:-2px;margin:18px 0}h2{font-size:23px}h3{font-size:17px}p{color:#61708a;line-height:1.75}em{font-style:normal;color:#5b7dc9}.eyebrow{color:#5473b5;font-size:11px;font-weight:800;letter-spacing:2px}.hero,.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.hero{min-height:450px}.hero p{max-width:460px}.btn{display:inline-block;border:0;background:#315bc0;color:white;border-radius:9px;padding:14px 22px;font-weight:700;font-size:14px;cursor:pointer;margin:6px 6px 6px 0}.btn.secondary{background:#e9eefb;color:#315bc0}.sample{display:grid;place-items:center;min-height:330px;background:radial-gradient(circle,#dfe9fc,transparent 68%)}.card-art{width:310px;height:190px;border-radius:17px;background:linear-gradient(130deg,#13233f,#294e91);box-shadow:0 24px 45px #14284d44;color:#fff;padding:30px;font-size:24px;transform:rotate(-8deg)}.card-art small{display:block;font-size:10px;letter-spacing:2px;margin-top:80px}.features,.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:50px}.features article,.panel{background:white;border:1px solid #e1e7f0;border-radius:15px;padding:30px;box-shadow:0 6px 20px #182a4a08}.panel.narrow{max-width:480px;margin:0 auto}.panel.edit{max-width:720px;margin:auto}.panel.public{max-width:560px;margin:auto;text-align:center;padding:45px}.panel+.panel{margin-top:22px}label{display:block;font-size:13px;font-weight:650;color:#304669;margin:20px 0 6px}input,textarea{display:block;width:100%;margin-top:9px;border:1px solid #d9e2f1;border-radius:8px;padding:13px 14px;background:#fbfcff;color:#1d3050;font:inherit}input:focus,textarea:focus{outline:2px solid #9bb5ee}button{cursor:pointer}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.alert{padding:13px 18px;border:1px solid #b8caed;background:#e9f0ff;border-radius:8px;margin-bottom:25px}.inline{display:inline}.link{border:0;background:none;color:#345ec0;font-weight:600}.qr{width:120px;height:120px}code{overflow-wrap:anywhere}.avatar{height:110px;width:110px;border-radius:50%;object-fit:cover;margin:10px auto 25px}.placeholder{background:#e6edfc;display:grid;place-items:center;color:#315bc0;font-size:40px}.profile-links{margin-top:30px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}td,th{padding:13px;border-bottom:1px solid #e8edf6}footer{text-align:center;padding:25px;color:#8490a6;border-top:1px solid #e5eaf3;font-size:12px}@media(max-width:760px){.hero,.split{grid-template-columns:1fr;gap:25px}.features,.tiles{grid-template-columns:1fr}main{padding:35px 18px}nav{align-items:flex-start;flex-direction:column}nav>div{gap:13px}.heading{align-items:flex-start;flex-direction:column}}

/* Card Studio: picture uploader */
.picture-editor{display:flex;align-items:center;gap:25px;background:#f4f7fe;border:1px solid #e0e8f8;border-radius:14px;padding:22px;margin:25px 0 28px}
.picture-editor .avatar{margin:0;flex:0 0 112px;width:112px;height:112px;border:3px solid white;box-shadow:0 4px 14px #1e37621a}
.picture-editor h2{margin:0 0 4px;font-size:19px}
.picture-editor p{margin:3px 0 8px;font-size:13px}
.picture-info{flex:1;min-width:0}
.picture-info small{display:block;font-size:12px;color:#6b7c97;margin-top:5px}
.picture-info .upload-button{display:inline-block;margin:5px 0 4px;cursor:pointer}
.photo-input{position:absolute;width:1px;height:1px;padding:0;border:0;opacity:0;overflow:hidden;clip-path:inset(50%)}
.photo-input:focus-visible + *{outline:2px solid #315bc0}
.picture-preview[hidden],.picture-placeholder[hidden]{display:none}
.editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
@media(max-width:560px){.picture-editor{flex-direction:column;align-items:flex-start;gap:14px}}

/* ===== UnoTapSave Card Studio ===== */
.studio-shell{max-width:1140px;margin:auto}.studio-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.studio-heading h1{font-size:clamp(36px,4.5vw,54px);margin:12px 0 8px;letter-spacing:-2px}.studio-heading p{margin:0}.studio-outlink{font-size:13px;font-weight:700;white-space:nowrap;margin-bottom:10px}
.studio-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(290px,.76fr);gap:24px;align-items:start}.studio-editor,.studio-preview{background:white;border:1px solid #dfe6f2;border-radius:20px;box-shadow:0 16px 45px #23365a0b;overflow:hidden}.editor-tabs{display:flex;border-bottom:1px solid #e3e9f4;overflow-x:auto;padding:8px 16px 0;gap:4px}.editor-tab{background:transparent;color:#60718e;font:700 13px inherit;border:0;white-space:nowrap;padding:15px 16px;cursor:pointer;border-bottom:3px solid transparent;font-size:13px;font-weight:700}.editor-tab.selected{color:#315bc0;border-color:#315bc0}.studio-pane{padding:30px 31px}.studio-pane[hidden]{display:none}.studio-pane h2{font-size:28px;letter-spacing:-1px;margin:9px 0 6px}.studio-pane>p{margin:0 0 20px;line-height:1.5;font-size:14px}.studio-section-tag{font-size:10px;letter-spacing:2px;font-weight:800;color:#6d89ca}.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.studio-pane label:not(.upload-action):not(.theme-option){margin:14px 0 4px}.studio-pane input:not([type=file]):not([type=radio]):not([type=color]),.studio-pane textarea{background:#fbfcff;border-radius:10px;padding:14px;font-size:14px}.studio-pane textarea{min-height:130px;resize:vertical}.studio-pane input:focus,.studio-pane textarea:focus{outline:2px solid #8eaeef;outline-offset:0}.studio-controls{border-top:1px solid #e8edf5;padding:17px 29px;display:flex;justify-content:space-between;align-items:center;gap:18px}.studio-controls .btn{white-space:nowrap;margin:0}.studio-controls span{font-size:12px;color:#71829d;line-height:1.4}.upload-area{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #dce5f4;border-radius:14px;background:#f8faff;margin:14px 0}.upload-area strong{font-size:15px}.upload-area p{font-size:12px;line-height:1.5;margin:5px 0 10px}.upload-thumb{width:88px;height:88px;flex:0 0 88px;border-radius:13px;background:#e6edfb;display:grid;place-items:center;color:#5670a4;font-size:30px;overflow:hidden}.upload-thumb.landscape{width:128px;flex-basis:128px;height:84px}.upload-thumb img{width:100%;height:100%;object-fit:cover}.upload-action{display:inline-block;background:#e5edff;color:#305abd;border-radius:8px;padding:10px 14px;font-weight:750;font-size:12px;cursor:pointer!important;margin:0!important}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.editor-note{background:#f1f5fd;border-left:3px solid #6688d2;padding:12px!important;border-radius:5px}.design-label{font-size:13px;font-weight:750;margin:25px 0 12px}.theme-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.theme-option{margin:0!important;cursor:pointer;display:flex;flex-direction:column;gap:8px;align-items:center;padding:9px;border:1px solid #dde5f2;border-radius:12px;font-size:12px;font-weight:750}.theme-option:has(input:checked){border-color:#3764c9;box-shadow:0 0 0 2px #3764c920}.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.theme-swatch{width:100%;height:46px;border-radius:8px}.swatch-ocean{background:linear-gradient(135deg,#12315b,#3c79d9)}.swatch-midnight{background:linear-gradient(135deg,#111827,#3a4868)}.swatch-minimal{background:linear-gradient(135deg,#f7f9fc,#dce6f3);border:1px solid #d4dfed}.swatch-sunset{background:linear-gradient(135deg,#ff995f,#8c4788)}.choice-options{display:flex;flex-wrap:wrap;gap:9px}.choice-options label{margin:0!important;cursor:pointer}.choice-options input{position:absolute;width:1px;opacity:0}.choice-options span{display:inline-block;border:1px solid #dee6f4;border-radius:9px;padding:12px 17px;font-size:13px}.choice-options input:checked+span{background:#e7efff;border-color:#6f95e7;color:#1b4fae}.accent-label{display:flex!important;align-items:center;gap:15px}.accent-label input[type=color]{padding:2px;width:55px;height:42px;cursor:pointer;border:1px solid #dee6f4;border-radius:9px;background:white}.studio-preview{padding:18px;background:#f5f8ff;position:sticky;top:15px}.preview-topline{display:flex;justify-content:space-between;gap:10px;color:#6580ae;font-size:10px;font-weight:800;letter-spacing:1.2px;margin:4px 4px 17px}.preview-hint{font-size:12px;text-align:center;line-height:1.6;margin:15px 9px 0}
/* Shared render for editor preview and published profile */
.digital-card{--accent:#315bc0;--accent-ink:#fff;--ink:#1d3155;--surface:#fff;--soft:#f4f7fd;--edge:#e8edf5;--muted:#63738e;background:var(--card-bg,var(--surface));color:var(--ink);font-family:var(--font-family,Inter,ui-sans-serif,system-ui,sans-serif);border:1px solid var(--action-edge,var(--edge));border-radius:var(--card-radius,23px);box-shadow:var(--card-shadow,0 18px 32px #203e6921);overflow:hidden;width:100%;max-width:390px;margin:auto;text-align:var(--text-align,center);word-break:break-word}.digital-cover{background:linear-gradient(130deg,var(--accent),#162d56);height:125px;position:relative;overflow:hidden}.digital-cover img{width:100%;height:100%;object-fit:cover;display:block}.digital-content{padding:0 26px 24px;position:relative}.digital-portrait{height:104px;width:104px;background:#e5edfc;border:5px solid var(--card-bg,var(--surface));color:#315bc0;box-shadow:0 7px 20px #152c4b23;display:grid;place-items:center;border-radius:50%;font-size:42px;margin:-52px auto 12px;position:relative;overflow:hidden}.digital-portrait img{width:100%;height:100%;object-fit:cover}.digital-logo{width:50px;height:50px;border-radius:10px;border:2px solid var(--card-bg,var(--surface));margin:0 auto 10px;background:#fff;overflow:hidden;display:grid;place-items:center}.digital-logo[hidden]{display:none}.digital-logo img{width:100%;height:100%;object-fit:contain}.digital-card h1,.digital-card h2{font-size:var(--name-size,24px);font-weight:var(--name-weight,850);font-style:var(--name-style,normal);color:var(--name-color,var(--ink));line-height:1.18;letter-spacing:var(--name-letter-spacing,-.6px);margin:6px auto 5px}.digital-title{font-size:var(--title-size,14px);font-weight:var(--title-weight,700);font-style:var(--title-style,normal);text-transform:var(--title-transform,none);color:var(--title-color,var(--accent));margin-bottom:4px}.digital-company{font-size:13px;color:var(--company-color,var(--text-color,var(--muted)));font-weight:650}.digital-bio{font-size:var(--body-size,14px);font-weight:var(--body-weight,400);color:var(--text-color,var(--muted));margin:17px auto;line-height:var(--body-line-height,1.6);white-space:pre-wrap}.digital-save{display:block;margin:17px 0 14px;background:var(--accent);color:var(--accent-ink,#fff)!important;font-size:13px;font-weight:800;border-radius:11px;padding:13px 10px;text-decoration:none}.digital-action-list{display:flex;flex-direction:column;gap:9px}.digital-action-list a,.preview-action,.digital-info-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:var(--action-bg,var(--soft));color:var(--ink);border:1px solid var(--action-edge,var(--edge));border-radius:10px;text-decoration:none;text-align:left;font-size:13px;font-weight:730}.digital-action-list a span:nth-child(2),.preview-action span:nth-child(2){flex:1}.digital-info-line span{flex:1}.digital-footnote{font-size:10px;letter-spacing:1.3px;font-weight:850;color:var(--text-color,var(--muted));opacity:1;margin-top:22px}.theme-midnight{--ink:#eff3ff;--surface:#171e31;--soft:#263048;--edge:#3c4661;--muted:#acb7cf}.theme-minimal{--ink:#152238;--surface:#fff;--soft:#f8f9fb;--edge:#e2e8ee;--muted:#718096}.theme-minimal .digital-cover{background:linear-gradient(130deg,#e8edf5,#becde3)}.theme-sunset{--ink:#442c45;--surface:#fffaf8;--soft:#fff0ec;--edge:#f5d9d2;--muted:#8e6c73}.theme-sunset .digital-cover{background:linear-gradient(120deg,#ff9b67,#a44e90)}.theme-midnight .digital-cover{background:linear-gradient(135deg,#0b1022,#394b76)}.layout-compact .digital-cover{height:75px}.layout-compact .digital-portrait{width:82px;height:82px;margin-top:-42px}.layout-compact .digital-bio{margin:10px auto}.layout-centered .digital-logo{position:absolute;right:12px;top:10px;width:43px;height:43px}.buttons-pill .digital-action-list a,.buttons-pill .preview-action,.buttons-pill .digital-save{border-radius:99px}.buttons-outline .digital-action-list a,.buttons-outline .preview-action{background:transparent;border:1.5px solid var(--accent);color:var(--ink)}.buttons-outline .digital-save{background:transparent;border:2px solid var(--accent);color:var(--accent)!important}.published-shell{max-width:500px;margin:auto}.published-card{max-width:500px}.published-card .digital-cover{height:155px}.published-card .digital-content{padding:0 33px 32px}.published-card .digital-portrait{width:118px;height:118px;margin-top:-59px}.published-card h1{font-size:var(--name-size,30px);font-weight:var(--name-weight,850);color:var(--name-color,var(--ink))}.published-card .digital-bio{font-size:var(--body-size,14px)}.published-card .digital-action-list{gap:10px}
@media(max-width:940px){.studio-grid{grid-template-columns:1fr}.studio-preview{position:static;max-width:570px;width:100%;margin:auto}.studio-heading{align-items:flex-start;flex-direction:column}.studio-outlink{margin:0}}@media(max-width:560px){.studio-pane{padding:23px 19px}.form-pair{grid-template-columns:1fr}.studio-controls{padding:17px 19px;flex-direction:column;align-items:stretch}.studio-controls .btn{width:100%}.editor-tab{padding:13px 11px;font-size:12px}.theme-options{grid-template-columns:repeat(2,1fr)}.upload-area{gap:12px;align-items:flex-start}.upload-thumb{width:70px;flex-basis:70px;height:70px}.upload-thumb.landscape{width:85px;flex-basis:85px;height:70px}.studio-heading h1{font-size:40px}.studio-preview{padding:13px}.published-card .digital-content{padding:0 22px 27px}}

/* Branded contact links shared by Card Studio preview and the public card. */
.digital-action-list a .action-label,.digital-action-list .action-label,
.digital-action-list .preview-action .action-label{flex:1;min-width:0}
.action-icon{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#5c6b82}
.action-icon img{height:17px;width:17px;object-fit:contain;display:block}
.brand-facebook{background:#1877f2}.brand-instagram{background:linear-gradient(130deg,#feda75,#d62976 48%,#4f5bd5)}
.brand-tiktok{background:#121212}.brand-whatsapp{background:#25d366}.brand-viber{background:#7360f2}
.brand-messenger{background:#168aff}.brand-linkedin{background:#0a66c2}.brand-youtube{background:#ff0033}
.brand-website{background:#5276b5}.brand-email{background:#3a8e91}.brand-phone{background:#356bc4}
.brand-address{background:#6a7c96}.brand-gcash{background:#1477e2}
.action-arrow{color:var(--muted);flex:0 0 auto;font-size:14px}
.digital-action-list a:hover{border-color:var(--accent);transform:translateY(-1px);transition:transform .12s,border-color .12s}
.public-privacy{text-align:center;max-width:420px;margin:19px auto;font-size:11px;color:#71809a;line-height:1.5}

/* NFC URL administration and customer dashboard */
.admin-heading{margin-bottom:28px}.admin-heading h1{margin-bottom:8px}.admin-heading p{margin-top:0;max-width:720px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}
.admin-grid .panel{margin:0}.admin-grid h2,.inventory-heading h2{margin:8px 0}
.admin-help ol{padding-left:20px;color:#5e6f89;line-height:1.8;font-size:14px}
.admin-help li{padding-left:4px;margin:5px 0}
.url-reveal-panel{margin:22px 0}.url-reveal-panel>p{margin-top:8px}
.generated-card{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 0;border-top:1px solid #e7edf6}
.generated-card:first-of-type{margin-top:12px}
.generated-card-details{flex:1;min-width:0}.generated-card-details h3{margin:0 0 10px;color:#1c3155}
.activation-code-label,.url-label{font-size:12px;font-weight:750;color:#405879;margin:12px 0 6px}
.activation-code{display:inline-block;padding:9px 14px;background:#edf3ff;border:1px solid #d9e5fb;border-radius:9px;color:#214b9e;font-size:20px;font-weight:850;letter-spacing:3px}
.copy-row{display:flex;align-items:stretch;gap:8px;min-width:0}.copy-row code{display:block;flex:1;min-width:0;overflow-wrap:anywhere;background:#f5f7fb;border:1px solid #e1e8f2;border-radius:8px;padding:12px;color:#30466a;font-size:12px;line-height:1.5}
.copy-btn{flex:0 0 auto;margin:0;padding:10px 14px}.generated-card-details small,.generated-qr small{display:block;color:#7a879c;font-size:11px;line-height:1.5;margin-top:8px}
.generated-qr{width:132px;flex:0 0 132px;text-align:center}.generated-qr img{width:120px;height:120px;object-fit:contain;background:#fff;border:1px solid #e5eaf2;border-radius:9px;padding:5px}.download-qr{display:inline-block;margin-top:6px;font-size:11px;font-weight:750}
.inventory-panel{margin-top:25px}.inventory-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.inventory-count{font-size:11px;color:#7a879c}.inventory-panel .table-wrap{margin-top:18px}
.status-pill{display:inline-block;padding:5px 9px;border-radius:99px;background:#edf3ff;color:#315bc0;font-size:11px;font-weight:750;white-space:nowrap}.status-active{background:#e9f7ef;color:#247448}.status-pending{background:#fff5df;color:#91671b}.status-disabled{background:#fcecec;color:#a33b3b}
.inventory-activation-code{display:inline-block;padding:6px 9px;background:#edf3ff;border:1px solid #d9e5fb;border-radius:7px;color:#214b9e;font-size:13px;font-weight:850;letter-spacing:2px;font-variant-numeric:tabular-nums;white-space:nowrap}.copy-code-btn{display:inline-block;margin-left:5px;border:1px solid #d7e1f2;background:#fff;color:#345ec0;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:750;cursor:pointer}.code-used{display:inline-block;color:#66758d;background:#eef1f6;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:750}
.table-subtext{display:block;color:#8a96a9;font-size:10px;margin-top:4px}.admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-actions form{margin:0}.small-btn{font-size:11px;padding:9px 11px;margin:0}.plain-btn{border:1px solid #dce4f0;background:#fff;color:#50627e;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:700}
.warning-note,.hosting-warning{padding:13px 15px;background:#fff8e8;border:1px solid #f2dfb6;border-radius:9px;color:#795b25;font-size:13px;line-height:1.6}.hosting-warning{margin-top:18px}.hosting-warning strong{color:#624819}
.dashboard-card{display:flex;flex-direction:column;align-items:flex-start}.dashboard-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dashboard-actions .btn{margin:0}.public-qr-block{display:flex;align-items:center;gap:12px;margin-top:22px;padding-top:16px;border-top:1px solid #e8edf5;width:100%}.public-qr-block .qr{width:90px;height:90px}.public-qr-block small{color:#78869d}.dashboard-note{font-size:12px;line-height:1.6;margin:14px 0 0;padding:11px 13px;background:#f2f6fd;border-radius:8px;color:#61718b}
.access-message{text-align:left}.access-message h1{font-size:clamp(30px,4vw,42px);letter-spacing:-1.2px}.access-message .btn{margin:8px 0 16px}
@media(max-width:760px){.admin-grid{grid-template-columns:1fr}.generated-card{align-items:flex-start}.generated-qr{width:104px;flex-basis:104px}.generated-qr img{width:96px;height:96px}.copy-row{flex-direction:column}.copy-btn{width:100%}.inventory-heading{align-items:flex-start;flex-direction:column}.admin-actions{min-width:150px}}
@media(max-width:480px){.generated-card{flex-direction:column-reverse}.generated-qr{display:flex;align-items:center;gap:10px;width:auto}.generated-qr img{width:78px;height:78px}.generated-qr small{margin:0}.admin-grid .panel,.url-reveal-panel,.inventory-panel{padding:22px}.dashboard-actions{align-items:flex-start;flex-direction:column}}

/* Global appearance selector and username form help */
.appearance-picker{display:flex!important;align-items:center;gap:7px;margin:0!important;color:#65748d;font-size:11px!important;font-weight:700!important;white-space:nowrap}
.appearance-picker select{width:auto;min-width:112px;margin:0;padding:8px 10px;border:1px solid #d9e2f1;border-radius:8px;background:#fbfcff;color:#243858;font:inherit;font-size:12px}
.field-help{display:block;color:#7b879c;font-size:11px;line-height:1.5;margin:-2px 0 10px}
.status-deleted{background:#eceff4;color:#566174}

/* Explicit dark appearance */
html[data-theme="dark"]{color-scheme:dark;background:#0b1220;color:#e7edf7}
html[data-theme="dark"] body{background:#0b1220;color:#e7edf7}
html[data-theme="dark"] header,html[data-theme="dark"] footer{background:#111b2d;border-color:#26344c;color:#9aa9bf}
html[data-theme="dark"] .brand{color:#f0f5ff}
html[data-theme="dark"] nav a,html[data-theme="dark"] .link{color:#a9c1ff}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] strong{color:#edf3ff}
html[data-theme="dark"] p,html[data-theme="dark"] .preview-hint,html[data-theme="dark"] .inventory-count{color:#aab8cc}
html[data-theme="dark"] .panel,html[data-theme="dark"] .features article,html[data-theme="dark"] .studio-editor,html[data-theme="dark"] .studio-preview{background:#151f32;border-color:#2a3952;color:#e7edf7;box-shadow:0 8px 26px #0005}
html[data-theme="dark"] .studio-preview{background:#101a2b}
html[data-theme="dark"] .picture-editor,html[data-theme="dark"] .upload-area,html[data-theme="dark"] .editor-note,html[data-theme="dark"] .dashboard-note{background:#1b2940;border-color:#344660;color:#dce6f5}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#0e192a;border-color:#354762;color:#e7edf7}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8292aa}
html[data-theme="dark"] label{color:#c4d2e7}
html[data-theme="dark"] .field-help,html[data-theme="dark"] .picture-info small{color:#9aaac0}
html[data-theme="dark"] .editor-tabs,html[data-theme="dark"] .studio-controls,html[data-theme="dark"] td,html[data-theme="dark"] th,html[data-theme="dark"] .public-qr-block{border-color:#2a3952}
html[data-theme="dark"] .editor-tab{color:#a9b8ce}
html[data-theme="dark"] .editor-tab.selected{color:#a9c1ff;border-color:#7298f0}
html[data-theme="dark"] .theme-option,html[data-theme="dark"] .choice-options span,html[data-theme="dark"] .plain-btn{background:#1b2940;border-color:#3a4b67;color:#dce6f5}
html[data-theme="dark"] .choice-options input:checked+span{background:#263d66;border-color:#7198f0;color:#e8f0ff}
html[data-theme="dark"] .appearance-picker{color:#aab8cc}
html[data-theme="dark"] .appearance-picker select{background:#0e192a;border-color:#354762;color:#e7edf7}
html[data-theme="dark"] .alert{background:#1b3152;border-color:#395a8b;color:#dce9ff}
html[data-theme="dark"] .warning-note,html[data-theme="dark"] .hosting-warning{background:#352d1d;border-color:#67512b;color:#f0d9a7}
html[data-theme="dark"] .hosting-warning strong{color:#ffe4a8}
html[data-theme="dark"] .status-deleted{background:#30394a;color:#d0d8e5}
html[data-theme="dark"] .status-disabled{background:#47282c;color:#ffc2c2}
html[data-theme="dark"] .status-active{background:#183c30;color:#a9e8c8}
html[data-theme="dark"] .status-pending{background:#463719;color:#f5d895}
html[data-theme="dark"] a{color:#a9c1ff}
html[data-theme="dark"] .btn{color:#fff}

/* Auto appearance follows the device/browser color scheme */
@media (prefers-color-scheme:dark){
 html[data-theme="auto"]{color-scheme:dark;background:#0b1220;color:#e7edf7}
 html[data-theme="auto"] body{background:#0b1220;color:#e7edf7}
 html[data-theme="auto"] header,html[data-theme="auto"] footer{background:#111b2d;border-color:#26344c;color:#9aa9bf}
 html[data-theme="auto"] .brand{color:#f0f5ff}
 html[data-theme="auto"] nav a,html[data-theme="auto"] .link{color:#a9c1ff}
 html[data-theme="auto"] h1,html[data-theme="auto"] h2,html[data-theme="auto"] h3,html[data-theme="auto"] strong{color:#edf3ff}
 html[data-theme="auto"] p,html[data-theme="auto"] .preview-hint,html[data-theme="auto"] .inventory-count{color:#aab8cc}
 html[data-theme="auto"] .panel,html[data-theme="auto"] .features article,html[data-theme="auto"] .studio-editor,html[data-theme="auto"] .studio-preview{background:#151f32;border-color:#2a3952;color:#e7edf7;box-shadow:0 8px 26px #0005}
 html[data-theme="auto"] .studio-preview{background:#101a2b}
 html[data-theme="auto"] .picture-editor,html[data-theme="auto"] .upload-area,html[data-theme="auto"] .editor-note,html[data-theme="auto"] .dashboard-note{background:#1b2940;border-color:#344660;color:#dce6f5}
 html[data-theme="auto"] input,html[data-theme="auto"] textarea,html[data-theme="auto"] select{background:#0e192a;border-color:#354762;color:#e7edf7}
 html[data-theme="auto"] input::placeholder,html[data-theme="auto"] textarea::placeholder{color:#8292aa}
 html[data-theme="auto"] label{color:#c4d2e7}
 html[data-theme="auto"] .field-help,html[data-theme="auto"] .picture-info small{color:#9aaac0}
 html[data-theme="auto"] .editor-tabs,html[data-theme="auto"] .studio-controls,html[data-theme="auto"] td,html[data-theme="auto"] th,html[data-theme="auto"] .public-qr-block{border-color:#2a3952}
 html[data-theme="auto"] .editor-tab{color:#a9b8ce}
 html[data-theme="auto"] .editor-tab.selected{color:#a9c1ff;border-color:#7298f0}
 html[data-theme="auto"] .theme-option,html[data-theme="auto"] .choice-options span,html[data-theme="auto"] .plain-btn{background:#1b2940;border-color:#3a4b67;color:#dce6f5}
 html[data-theme="auto"] .choice-options input:checked+span{background:#263d66;border-color:#7198f0;color:#e8f0ff}
 html[data-theme="auto"] .appearance-picker{color:#aab8cc}
 html[data-theme="auto"] .appearance-picker select{background:#0e192a;border-color:#354762;color:#e7edf7}
 html[data-theme="auto"] .alert{background:#1b3152;border-color:#395a8b;color:#dce9ff}
 html[data-theme="auto"] .warning-note,html[data-theme="auto"] .hosting-warning{background:#352d1d;border-color:#67512b;color:#f0d9a7}
 html[data-theme="auto"] .hosting-warning strong{color:#ffe4a8}
 html[data-theme="auto"] .status-deleted{background:#30394a;color:#d0d8e5}
 html[data-theme="auto"] .status-disabled{background:#47282c;color:#ffc2c2}
 html[data-theme="auto"] .status-active{background:#183c30;color:#a9e8c8}
 html[data-theme="auto"] .status-pending{background:#463719;color:#f5d895}
 html[data-theme="auto"] a{color:#a9c1ff}
 html[data-theme="auto"] .btn{color:#fff}
}

/* Contrast fix: keep the light secondary button text dark in dark/auto mode. */
html[data-theme="dark"] .btn.secondary{color:#234b98}
@media(prefers-color-scheme:dark){html[data-theme="auto"] .btn.secondary{color:#234b98}}


/* UnoTapSave v2.4 design controls and permanent-delete action */
.design-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.design-controls-grid label{margin:10px 0 6px!important}
.design-controls-grid select{display:block;width:100%;margin-top:9px;padding:12px 13px;border:1px solid #d9e2f1;border-radius:9px;background:#fbfcff;color:#1d3050;font:inherit;font-size:13px}
.design-controls-grid input[type=range]{padding:0;accent-color:#315bc0;cursor:pointer}
.design-controls-grid output{float:right;color:#6a7b96;font-size:11px;font-weight:700}
.design-help{font-size:12px!important;margin:-4px 0 14px!important;color:#71809a}
.design-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.design-color-grid label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:10px 12px;border:1px solid #e1e8f3;border-radius:10px;background:#fbfcff;font-size:12px}
.design-color-grid input[type=color]{width:42px;height:34px;padding:2px;margin:0;border:1px solid #d9e2f1;border-radius:7px;background:white;cursor:pointer}
.design-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.contrast-status{font-size:11px;line-height:1.5;color:#247448}
.contrast-status.contrast-good{color:#247448}
.contrast-status.contrast-warning{color:#a34d16;font-weight:700}
.danger-btn{border:1px solid #f0caca!important;background:#fff1f1!important;color:#a42f36!important;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer}
.danger-btn:hover{background:#ffe2e2!important;border-color:#e9a9ad!important}
@media(max-width:560px){.design-controls-grid,.design-color-grid{grid-template-columns:1fr}.design-actions{align-items:flex-start;flex-direction:column}}
html[data-theme="dark"] .design-controls-grid select,html[data-theme="dark"] .design-color-grid label{background:#0e192a;border-color:#354762;color:#e7edf7}
html[data-theme="dark"] .design-help{color:#aab8cc}
html[data-theme="dark"] .contrast-status.contrast-good{color:#8de0b5}
html[data-theme="dark"] .contrast-status.contrast-warning{color:#ffbd83}
html[data-theme="dark"] .danger-btn{background:#48282e!important;border-color:#75434a!important;color:#ffc4c8!important}
@media(prefers-color-scheme:dark){html[data-theme="auto"] .design-controls-grid select,html[data-theme="auto"] .design-color-grid label{background:#0e192a;border-color:#354762;color:#e7edf7}html[data-theme="auto"] .design-help{color:#aab8cc}html[data-theme="auto"] .contrast-status.contrast-good{color:#8de0b5}html[data-theme="auto"] .contrast-status.contrast-warning{color:#ffbd83}html[data-theme="auto"] .danger-btn{background:#48282e!important;border-color:#75434a!important;color:#ffc4c8!important}}


/* Keep the customer-selected digital-card palette independent of the site's light/dark UI. */
html[data-theme="dark"] .digital-card h1,html[data-theme="dark"] .digital-card h2{color:var(--name-color,var(--ink))}
html[data-theme="dark"] .digital-card .digital-title{color:var(--title-color,var(--accent))}
html[data-theme="dark"] .digital-card .digital-company{color:var(--company-color,var(--text-color,var(--muted)))}
html[data-theme="dark"] .digital-card .digital-bio,html[data-theme="dark"] .digital-card .digital-footnote{color:var(--text-color,var(--muted))}
html[data-theme="dark"] .digital-card .digital-action-list a,html[data-theme="dark"] .digital-card .digital-info-line{color:var(--ink)}
html[data-theme="dark"] .digital-card .digital-save{color:var(--accent-ink,#fff)!important}
html[data-theme="dark"] .digital-card.buttons-outline .digital-save{color:var(--accent)!important}
@media(prefers-color-scheme:dark){
 html[data-theme="auto"] .digital-card h1,html[data-theme="auto"] .digital-card h2{color:var(--name-color,var(--ink))}
 html[data-theme="auto"] .digital-card .digital-title{color:var(--title-color,var(--accent))}
 html[data-theme="auto"] .digital-card .digital-company{color:var(--company-color,var(--text-color,var(--muted)))}
 html[data-theme="auto"] .digital-card .digital-bio,html[data-theme="auto"] .digital-card .digital-footnote{color:var(--text-color,var(--muted))}
 html[data-theme="auto"] .digital-card .digital-action-list a,html[data-theme="auto"] .digital-card .digital-info-line{color:var(--ink)}
 html[data-theme="auto"] .digital-card .digital-save{color:var(--accent-ink,#fff)!important}
 html[data-theme="auto"] .digital-card.buttons-outline .digital-save{color:var(--accent)!important}
}


/* UnoTapSave Card Studio v2.4 — clearer typography controls and theme-safe card contrast */
.design-group{padding:16px 0 18px;border-bottom:1px solid #e8edf5}
.design-group:last-child{border-bottom:0;padding-bottom:0}
.design-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.design-controls-grid label{margin:10px 0 6px!important}
.design-controls-grid select{display:block;width:100%;margin-top:9px;padding:12px 13px;border:1px solid #d9e2f1;border-radius:9px;background:#fbfcff;color:#1d3050;font:inherit;font-size:13px}
.design-controls-grid input[type=range]{padding:0;accent-color:#315bc0;cursor:pointer}
.design-controls-grid output{float:right;color:#6a7b96;font-size:11px;font-weight:700}
.design-help{font-size:12px!important;margin:-4px 0 14px!important;color:#71809a}
.design-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.design-color-grid label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:10px 12px;border:1px solid #e1e8f3;border-radius:10px;background:#fbfcff;font-size:12px}
.design-color-grid input[type=color]{width:42px;height:34px;padding:2px;margin:0;border:1px solid #d9e2f1;border-radius:7px;background:white;cursor:pointer}
.design-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.contrast-status{font-size:11px;line-height:1.6;color:#247448;margin-top:10px;overflow-wrap:anywhere}
.contrast-status.contrast-good{color:#247448}
.contrast-status.contrast-warning{color:#a34d16;font-weight:700}
@media(max-width:560px){.design-controls-grid,.design-color-grid{grid-template-columns:1fr}.design-actions{align-items:stretch;flex-direction:column}.design-actions button{width:100%}}
html[data-theme="dark"] .design-group{border-color:#2a3952}
html[data-theme="dark"] .design-controls-grid select,html[data-theme="dark"] .design-color-grid label{background:#0e192a;border-color:#354762;color:#e7edf7}
html[data-theme="dark"] .design-help{color:#aab8cc}
html[data-theme="dark"] .contrast-status.contrast-good{color:#8de0b5}
html[data-theme="dark"] .contrast-status.contrast-warning{color:#ffbd83}
@media(prefers-color-scheme:dark){html[data-theme="auto"] .design-group{border-color:#2a3952}html[data-theme="auto"] .design-controls-grid select,html[data-theme="auto"] .design-color-grid label{background:#0e192a;border-color:#354762;color:#e7edf7}html[data-theme="auto"] .design-help{color:#aab8cc}html[data-theme="auto"] .contrast-status.contrast-good{color:#8de0b5}html[data-theme="auto"] .contrast-status.contrast-warning{color:#ffbd83}}


/* UnoTapSave v2.5: Card Studio dark-mode form controls.
   Higher specificity is intentional: the base .studio-pane input rule otherwise
   wins over the older html[data-theme] input selector and leaves pale text on white. */
html[data-theme="dark"] .studio-pane input:not([type="file"]):not([type="radio"]):not([type="color"]):not([type="range"]),
html[data-theme="dark"] .studio-pane textarea,
html[data-theme="dark"] .studio-pane select {
  background-color: #0e192a !important;
  color: #f4f7ff !important;
  border-color: #40536f !important;
  -webkit-text-fill-color: #f4f7ff;
  caret-color: #f4f7ff;
}
html[data-theme="dark"] .studio-pane input::placeholder,
html[data-theme="dark"] .studio-pane textarea::placeholder {
  color: #a7b7ce !important;
  opacity: 1;
  -webkit-text-fill-color: #a7b7ce;
}
html[data-theme="dark"] .studio-pane input:-webkit-autofill,
html[data-theme="dark"] .studio-pane textarea:-webkit-autofill,
html[data-theme="dark"] .studio-pane select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0e192a inset !important;
  -webkit-text-fill-color: #f4f7ff !important;
}
html[data-theme="dark"] .studio-pane select option {background:#0e192a;color:#f4f7ff}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .studio-pane input:not([type="file"]):not([type="radio"]):not([type="color"]):not([type="range"]),
  html[data-theme="auto"] .studio-pane textarea,
  html[data-theme="auto"] .studio-pane select {
    background-color: #0e192a !important;
    color: #f4f7ff !important;
    border-color: #40536f !important;
    -webkit-text-fill-color: #f4f7ff;
    caret-color: #f4f7ff;
  }
  html[data-theme="auto"] .studio-pane input::placeholder,
  html[data-theme="auto"] .studio-pane textarea::placeholder {
    color: #a7b7ce !important;
    opacity: 1;
    -webkit-text-fill-color: #a7b7ce;
  }
  html[data-theme="auto"] .studio-pane input:-webkit-autofill,
  html[data-theme="auto"] .studio-pane textarea:-webkit-autofill,
  html[data-theme="auto"] .studio-pane select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0e192a inset !important;
    -webkit-text-fill-color: #f4f7ff !important;
  }
  html[data-theme="auto"] .studio-pane select option {background:#0e192a;color:#f4f7ff}
}

/* Clickable website preview image shown above the Website action. */
.website-feature-card {
  display:block; margin:14px 0; overflow:hidden; border:1px solid var(--action-edge,var(--edge));
  border-radius:14px; background:var(--action-bg,var(--soft)); color:var(--ink) !important;
  text-decoration:none; text-align:left; transition:transform .15s ease,border-color .15s ease;
}
.website-feature-card:hover {transform:translateY(-2px);border-color:var(--accent)}
.website-feature-card[hidden] {display:none !important}
.website-feature-image {width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--action-bg,var(--soft))}
.website-feature-image img {display:block;width:100%;height:100%;object-fit:cover}
.website-feature-meta {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:var(--ink)}
.website-feature-meta>div {display:flex;flex-direction:column;gap:4px;min-width:0}
.website-feature-meta strong {font-size:13px;color:var(--ink) !important}
.website-feature-meta span:not(.website-feature-arrow) {font-size:11px;opacity:.76;overflow-wrap:anywhere}
.website-feature-arrow {font-size:18px;font-weight:800;color:var(--accent);flex:0 0 auto}
.website-preview-upload {align-items:center}
.website-preview-upload .upload-thumb {flex-basis:128px}
@media(max-width:560px){.website-preview-upload{align-items:flex-start}.website-feature-meta{padding:10px 12px}}

/* UnoTapSave - Get Yours Now Facebook CTA */
.unotapsave-cta-wrap {
    width: min(100% - 32px, 430px);
    margin: 22px auto 26px;
}

.unotapsave-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 14px 22px;
    box-sizing: border-box;
    border-radius: 15px;
    background: linear-gradient(135deg, #1877F2, #0866FF);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: .2px;
    box-shadow: 0 8px 22px rgba(24,119,242,.24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.unotapsave-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(24,119,242,.32);
}

.unotapsave-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    color: #1877F2;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 900;
}

.unotapsave-cta-arrow {
    font-size: 19px;
}

@media (max-width: 480px) {
    .unotapsave-cta-wrap {
        width: calc(100% - 28px);
        margin-top: 18px;
    }
}
