/* Dated Core v8.10.72 — Theme & Brand control centre */
.core-app .dated-theme-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.core-app .dated-theme-meta>div{display:grid;gap:5px;padding:15px 17px;border:1px solid var(--dc-border,#e4d9d1);border-radius:14px;background:rgba(255,253,250,.86)}.core-app .dated-theme-meta span{font:700 9px/1 var(--dated-label,"Cormorant SC",Georgia,serif);letter-spacing:.16em;text-transform:uppercase;color:var(--rose,#b76e78)}.core-app .dated-theme-meta strong{font:500 17px/1.2 var(--serif,Georgia,serif);color:var(--espresso,#211814)}.core-app .dated-theme-meta small{font-size:10px;line-height:1.4;color:var(--muted,#7d6f67)}
.core-app .dated-theme-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.core-app .dated-theme-editor{min-width:0}.core-app .dated-theme-panel{margin-top:0!important}.core-app .dated-theme-panel>.dated-core-section-head{margin-bottom:18px!important}.core-app .dated-theme-panel .dated-core-form-grid{gap:14px!important}
.core-app .dated-theme-palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.core-app .dated-theme-palette{overflow:hidden;border:1px solid #e4d8cf;border-radius:16px;background:#fffdf9}.core-app .dated-theme-palette.is-dark{border-color:#44362f;background:#211814;color:#f8f1ea}.core-app .dated-theme-palette-head{display:grid;gap:4px;padding:16px 17px;border-bottom:1px solid currentColor;border-bottom-color:rgba(93,69,56,.10)}.core-app .dated-theme-palette.is-dark .dated-theme-palette-head{border-bottom-color:rgba(255,255,255,.09)}.core-app .dated-theme-palette-head strong{font:500 18px/1.2 var(--serif,Georgia,serif)}.core-app .dated-theme-palette-head small{color:#81736a;font-size:10px}.core-app .dated-theme-palette.is-dark .dated-theme-palette-head small{color:#b9aba2}
.core-app .dated-theme-color{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 15px;border-bottom:1px solid rgba(93,69,56,.08)}.core-app .dated-theme-color:last-child{border-bottom:0}.core-app .dated-theme-palette.is-dark .dated-theme-color{border-color:rgba(255,255,255,.075)}.core-app .dated-theme-color>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}.core-app .dated-theme-color i{width:22px;height:22px;flex:none;border:1px solid rgba(0,0,0,.12);border-radius:7px;background:#ece3dc}.core-app .dated-theme-color strong{font-size:11px;font-weight:650}.core-app .dated-theme-color>span:last-child{display:flex;align-items:center;gap:7px}.core-app .dated-theme-color input[type=color]{width:34px!important;height:30px!important;min-height:30px!important;padding:2px!important;border-radius:8px!important;cursor:pointer}.core-app .dated-theme-color input[type=text]{width:82px!important;min-height:34px!important;padding:0 9px!important;text-transform:uppercase;font:650 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important}.core-app .dated-theme-palette.is-dark input[type=text]{background:#2d211c!important;border-color:#57473f!important;color:#f8f1ea!important}
.core-app .dated-theme-logo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.core-app .dated-theme-logo-card{overflow:hidden;border:1px solid var(--dc-border,#e4d9d1);border-radius:16px;background:#fff}.core-app .dated-theme-logo-preview{height:150px;display:grid;place-items:center;padding:22px;background:linear-gradient(145deg,#fbf7f2,#eee5dc);border-bottom:1px solid var(--dc-border,#e4d9d1)}.core-app .dated-theme-logo-preview.is-dark{background:linear-gradient(145deg,#2a201b,#17110e)}.core-app .dated-theme-logo-preview img{max-width:210px;max-height:98px;object-fit:contain}.core-app .dated-theme-logo-card .dated-core-field{padding:15px 16px 17px}
.core-app .dated-theme-scope-grid{display:grid;gap:10px}.core-app .dated-theme-scope{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid var(--dc-border,#e4d9d1);border-radius:14px;background:#fff;cursor:pointer}.core-app .dated-theme-scope:hover{border-color:#cdbbb0;background:#fffdfa}.core-app .dated-theme-scope input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:var(--rose,#b76e78)}.core-app .dated-theme-scope>span{display:grid;gap:3px}.core-app .dated-theme-scope strong{font-size:12px}.core-app .dated-theme-scope small{color:var(--muted,#7d6f67);font-size:10px;line-height:1.4}.core-app .dated-theme-scope i{width:9px;height:9px;border-radius:50%;background:#cfc4bc;box-shadow:0 0 0 4px rgba(131,113,102,.08)}.core-app .dated-theme-scope:has(input:checked) i{background:#788b70;box-shadow:0 0 0 4px rgba(120,139,112,.12)}
.core-app .dated-theme-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px;padding:14px 16px;border:1px solid var(--dc-border,#e4d9d1);border-radius:15px;background:rgba(255,253,250,.9)}.core-app .dated-theme-actions>span{margin-left:auto;max-width:380px;text-align:right;color:var(--muted,#7d6f67);font-size:9.5px;line-height:1.45}.core-app .dated-theme-actions [data-theme-reset]{color:#705f55!important}
.core-app .dated-theme-preview{position:sticky;top:102px;overflow:hidden;border:1px solid rgba(83,61,49,.14);border-radius:19px;background:#fffdf9;box-shadow:0 22px 60px rgba(55,38,30,.09)}.core-app .dated-theme-preview-head{height:62px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;gap:3px 12px;padding:0 16px;border-bottom:1px solid rgba(83,61,49,.10);background:#faf5ef}.core-app .dated-theme-preview-head>span{font:700 8px/1 var(--dated-label,"Cormorant SC",Georgia,serif);letter-spacing:.17em;color:var(--rose,#b76e78)}.core-app .dated-theme-preview-head>strong{font:500 15px/1 var(--serif,Georgia,serif)}.core-app .dated-theme-preview-head>button{grid-column:2;grid-row:1/3;align-self:center;min-height:30px!important;padding:0 10px!important;border:1px solid #d8cbc2!important;border-radius:9px!important;background:#fff!important;color:#5c4d45!important;font-size:9px!important;font-weight:700!important;cursor:pointer}.core-app .dated-theme-preview-canvas{padding:18px;background:var(--theme-preview-canvas,#f6f0e9);color:var(--theme-preview-text,#211814);transition:.18s background,.18s color}.core-app .dated-theme-preview-brand{display:grid;gap:1px;padding-bottom:13px;border-bottom:1px solid var(--theme-preview-border,#e4d8cf)}.core-app .dated-theme-preview-brand span{font:500 18px/1 var(--theme-preview-display,var(--serif,Georgia,serif));letter-spacing:.16em}.core-app .dated-theme-preview-brand small{font:700 6.5px/1.3 var(--theme-preview-label,var(--dated-label,"Cormorant SC",Georgia,serif));letter-spacing:.16em;text-transform:uppercase;color:var(--theme-preview-muted,#7d6f67)}.core-app .dated-theme-preview-nav{display:flex;gap:6px;padding:13px 0}.core-app .dated-theme-preview-nav i{width:42px;height:6px;border-radius:999px;background:var(--theme-preview-border,#e4d8cf)}.core-app .dated-theme-preview-nav i:first-child{background:var(--theme-preview-accent,#b76e78)}.core-app .dated-theme-preview-card{padding:16px;border:1px solid var(--theme-preview-border,#e4d8cf);border-radius:var(--theme-preview-radius,12px);background:var(--theme-preview-surface,#fffaf5);box-shadow:var(--theme-preview-shadow,0 12px 32px rgba(55,38,30,.08));font-family:var(--theme-preview-ui,var(--sans,Arial,sans-serif))}.core-app .dated-theme-preview-card>span{font:700 7px/1 var(--theme-preview-label,var(--dated-label,"Cormorant SC",Georgia,serif));letter-spacing:.18em;color:var(--theme-preview-accent,#b76e78)}.core-app .dated-theme-preview-card h3{margin:8px 0 6px;font:500 22px/1.08 var(--theme-preview-serif,var(--serif,Georgia,serif));color:inherit}.core-app .dated-theme-preview-card p{margin:0;color:var(--theme-preview-muted,#7d6f67);font-size:9.5px;line-height:1.55}.core-app .dated-theme-preview-card>div{display:flex;gap:6px;margin-top:14px}.core-app .dated-theme-preview-card button{min-height:30px!important;padding:0 10px!important;border:1px solid var(--theme-preview-border,#e4d8cf)!important;border-radius:calc(var(--theme-preview-radius,12px) * .72)!important;background:transparent!important;color:inherit!important;font-size:8px!important;font-weight:700!important}.core-app .dated-theme-preview-card button:first-child{border-color:var(--theme-preview-text,#211814)!important;background:var(--theme-preview-text,#211814)!important;color:var(--theme-preview-surface,#fffaf5)!important}.core-app .dated-theme-preview-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.core-app .dated-theme-preview-stats>div{display:grid;gap:3px;padding:10px;border:1px solid var(--theme-preview-border,#e4d8cf);border-radius:var(--theme-preview-radius,12px);background:var(--theme-preview-surface,#fffaf5)}.core-app .dated-theme-preview-stats small{font:700 6px/1 var(--theme-preview-label,var(--dated-label,"Cormorant SC",Georgia,serif));letter-spacing:.16em;color:var(--theme-preview-accent,#b76e78)}.core-app .dated-theme-preview-stats strong{font:500 17px/1.1 var(--theme-preview-serif,var(--serif,Georgia,serif))}.core-app .dated-theme-preview>p{margin:0;padding:13px 16px;color:var(--muted,#7d6f67);font-size:9px;line-height:1.5;background:#fff}
.core-app input[type=range]{padding:0!important;accent-color:var(--rose,#b76e78)}.core-app output{font-weight:700;color:var(--rose,#b76e78)}
@media(max-width:1180px){.core-app .dated-theme-layout{grid-template-columns:1fr}.core-app .dated-theme-preview{position:relative;top:auto;max-width:680px}.core-app .dated-theme-meta{grid-template-columns:1fr 1fr}.core-app .dated-theme-meta>div:last-child{grid-column:1/-1}}
@media(max-width:760px){.core-app .dated-theme-meta,.core-app .dated-theme-palette-grid,.core-app .dated-theme-logo-grid{grid-template-columns:1fr}.core-app .dated-theme-meta>div:last-child{grid-column:auto}.core-app .dated-theme-color{grid-template-columns:1fr}.core-app .dated-theme-color>span:last-child{justify-content:flex-start}.core-app .dated-theme-actions{align-items:stretch}.core-app .dated-theme-actions .button{width:100%!important}.core-app .dated-theme-actions>span{margin-left:0;text-align:left}.core-app .dated-theme-preview{max-width:none}}

/* v8.14.8 — per-product Appearance & Brand editor. */
.dated-product-theme-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 16px;padding:16px 18px;border:1px solid var(--line,#e5d9d0);border-radius:16px;background:var(--paper,#fffaf5)}
.dated-product-theme-identity{display:flex;align-items:center;gap:14px;min-width:0}.dated-product-theme-identity>span{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border:1px solid rgba(82,57,45,.10);border-radius:14px;background:#fff;overflow:hidden}.dated-product-theme-identity>span img{width:48px;height:48px;object-fit:contain;display:block}.dated-product-theme-identity small{display:block;margin-bottom:3px;color:var(--rose,#b76e78);font-size:9px;font-weight:800;letter-spacing:.16em}.dated-product-theme-identity h2{margin:0!important;font-size:24px!important}.dated-product-theme-identity p{margin:3px 0 0;color:var(--muted,#7d6f67);font-size:12px}.dated-product-theme-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.dated-core-badge.warn{background:#f5eadb!important;color:#81603a!important}
.dated-product-theme-meta{margin-top:14px!important}.dated-core-product-theme-subnav{margin-bottom:0!important}
.dated-product-brand-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:6px 0 18px}.dated-product-brand-mode{position:relative;display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line,#e4d8cf);border-radius:15px;padding:18px;background:var(--paper,#fffaf5);cursor:pointer}.dated-product-brand-mode.is-selected{border-color:rgba(183,110,120,.55);box-shadow:0 0 0 3px rgba(183,110,120,.08)}.dated-product-brand-mode input{margin-top:3px;accent-color:#7f554c}.dated-product-brand-mode strong{display:block;font-size:14px}.dated-product-brand-mode small{display:block;margin-top:5px;color:var(--muted,#7d6f67);font-size:11px;line-height:1.5}
.dated-product-logo-grid .dated-theme-logo-card{min-height:230px}.dated-product-logo-card input[type=file]{display:block;width:100%;margin-top:8px;padding:9px;border:1px dashed var(--line,#e4d8cf);border-radius:10px;background:rgba(255,255,255,.45);font-size:11px}.dated-product-logo-remove{display:flex!important;align-items:center;gap:7px!important;margin-top:9px!important;color:#8a554f!important;font-size:10px!important}.dated-product-logo-remove input{width:14px!important;height:14px!important}.dated-product-preview-logo{width:42px;height:42px;object-fit:contain;display:block;margin-bottom:5px}.dated-theme-preview-brand:has(.dated-product-preview-logo){display:flex;align-items:center;gap:10px}.dated-theme-preview-stats strong{font-size:18px!important}
.dated-button-danger-soft{border-color:#d7b5af!important;color:#8d514b!important;background:#fff8f6!important}.dated-button-danger-soft:hover{background:#f8e9e6!important}
@media(max-width:920px){.dated-product-theme-header{align-items:flex-start;flex-direction:column}.dated-product-theme-header-actions{justify-content:flex-start}.dated-product-brand-mode-grid{grid-template-columns:1fr}}
.dated-brand-scope-switch{display:flex;align-items:center;gap:12px;margin:12px 0 16px;padding:8px 10px;border:1px solid var(--line,#e4d8cf);border-radius:14px;background:var(--paper,#fffaf5);width:max-content;max-width:100%;overflow:auto}.dated-brand-scope-switch>strong{padding:0 7px;color:var(--muted,#7d6f67);font-size:9px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.dated-brand-scope-switch nav{display:flex;gap:4px}.dated-brand-scope-switch a{padding:8px 11px;border-radius:9px;color:var(--muted,#7d6f67);font-size:11px;font-weight:700;white-space:nowrap;text-decoration:none}.dated-brand-scope-switch a:hover{background:#f4ede7;color:var(--espresso,#211814)}.dated-brand-scope-switch a.is-active{background:var(--espresso,#211814);color:#fff}
