body{padding-bottom:90px}.bottom-controls{position:fixed;z-index:70;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--white,#fff);border-top:1px solid var(--line,#e4dce8);box-shadow:0 -3px 20px #35243f0b}.bottom-controls>a,.bottom-controls>button{border:0;background:transparent;color:var(--dark,#35243f);padding:10px 16px;font-size:14px;border-radius:10px;text-align:center;font-weight:600}.bottom-controls>a:hover,.bottom-controls>button:hover{background:var(--soft,#f6f1f8)}.bottom-controls b{border-radius:20px;background:#70408b;color:white;padding:3px 6px;margin-left:5px;font-size:11px}.bottom-controls [hidden]{display:none!important}.notifications-dialog{width:min(650px,94vw);max-height:80vh;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--white);color:var(--dark)}.notifications-dialog::backdrop{background:#21132b99}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.notification-heading button{background:none;border:0;color:inherit;font-size:28px}.notification-list{margin-top:15px}.notification-row{display:grid;gap:6px;padding:16px;border-top:1px solid var(--line);line-height:1.5}.notification-row small{color:var(--muted)}.notification-row.unread{background:var(--soft);border-left:3px solid #a06ec0}.notification-row span{overflow-wrap:anywhere}
html[data-theme=dark]{color-scheme:dark;--purple:#9360ad;--dark:#f2eaf7;--muted:#c1b3ca;--lavender:#302638;--cream:#19151e;--line:#493a54;--white:#241c2c;--soft:#302538;background:var(--cream);color:var(--dark)}
html[data-theme=dark] body{background:var(--cream);color:var(--dark)}html[data-theme=dark] :is(.header,.portal-card,.shop-order,.order-row,.account-menu,.ready-box,.modal,.modal-panel,dialog,.footer){background:var(--white);color:var(--dark);border-color:var(--line)}html[data-theme=dark] :is(input,textarea,select){background:#211a28;color:var(--dark);border-color:var(--line)}html[data-theme=dark] :is(.notice,.order-detail-text,.final-preview,.approval-totals>div,.status-pill,.order-tabs,.ordered-item,.design-brief,.bulk-question,.payment-action,.money-grid>div,.enquiry-review){background:var(--soft);color:var(--dark);border-color:var(--line)}html[data-theme=dark] :is(.approval-totals strong,.approval-totals span,.approval-decision>p,.approval-terms summary,.approval-decision .change-request summary,.portal-nav,.portal-links,.shop-price,.item-heading,.notification-row,.account-menu a){color:var(--dark)}html[data-theme=dark] :is(.approval-totals small,.approval-next,.approval-card .portal-file small,.receipt-form small,.small,small,.field>span){color:var(--muted)}html[data-theme=dark] :is(.secondary,.text-button,.portal-file,.order-filters button,.order-tabs button){color:var(--dark);border-color:var(--line);background:var(--white)}html[data-theme=dark] :is(.primary,.order-tabs button[aria-selected=true],.order-filters button.active){background:#86509f;color:#fff}html[data-theme=dark] .portal-success{background:#203d32;color:#d0f2df}html[data-theme=dark] .payment-alert{background:#534122;color:#ffe6a9}html[data-theme=dark] .portal-error{color:#ffb4c5}html[data-theme=dark] .hero{background:var(--cream)}html[data-theme=dark] .product-card{background:var(--white);border-color:var(--line)}
@media(max-width:600px){.bottom-controls{gap:2px;padding-left:5px;padding-right:5px;justify-content:space-around}.bottom-controls>a,.bottom-controls>button{padding:10px 6px;font-size:12px}.notifications-dialog{padding:18px}}
html[data-theme=dark] :is(.config-dialog,.bag-dialog,.artwork-tools,.enquiry-handoff,.portal-submit-box,.review-next,.view-controls button,.preview-badge,.chip,.review-options span,.round-stamp){background:var(--soft);color:var(--dark)}html[data-theme=dark] #email-ready .enquiry-review{background:var(--white);color:var(--dark)}html[data-theme=dark] .card-arrow{background:var(--white);color:var(--dark)}html[data-theme=dark] .preview-panel{background:radial-gradient(ellipse at 30% 30%,#3b3045,#231c2a)}

/* Keep all order surfaces and supporting text readable in dark mode. */
html[data-theme=dark] :is(.price-lines article,.order-list,.pricing-panel fieldset,.proof-selection,.client-order-item,.item-upload){background:var(--soft);color:var(--dark);border-color:var(--line)}
html[data-theme=dark] :is(.visible-updates time,.order-reference,.order-row small,.shop-order-actions>a:first-child){color:var(--muted)}
html[data-theme=dark] :is(.shop-order-status,.portal-stage,.account-menu>button,.dialog-close,.order-filters button[aria-pressed=true]){color:var(--dark)}
html[data-theme=dark] .portal-error{background:#4a2432;color:#ffccd5}
html[data-theme=dark] input[readonly]{background:#302638;color:var(--dark)}
html[data-theme=dark] .order-row:hover{background:var(--soft)}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#bbaec5;opacity:1}
.bottom-controls>a,.bottom-controls>button{max-width:230px;line-height:1.35}
@media(max-width:600px){.bottom-controls>a,.bottom-controls>button{font-size:12px;max-width:135px}.bottom-controls{align-items:center}}

.bottom-controls>a,.bottom-controls>button{white-space:nowrap;max-width:none;flex-shrink:0}.bottom-controls [hidden]{display:none!important}@media(max-width:600px){.bottom-controls{gap:6px;overflow-x:auto;justify-content:space-evenly}.bottom-controls>a,.bottom-controls>button{font-size:14px;max-width:none;padding-left:8px;padding-right:8px}}

.effects-preferences{margin:20px auto 100px;max-width:600px;padding:12px 18px;color:var(--dark);font-size:14px}.effects-preferences label{display:inline-flex;gap:12px;align-items:center;margin:12px}.effects-preferences select{min-height:44px}html[data-effects=reduced] *,html[data-effects=reduced] *::before,html[data-effects=reduced] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}html[data-effects=reduced] .playful-garden{pointer-events:none!important}.approval-consent small{display:block;margin-top:4px}
