/* Groke identity. The original Printmedia Experts styles remain the default. */
html[data-portal-theme="groke"]{
    --brand:#005095;--brand-hover:#004077;--accent:#005095;--mint:var(--accent);
    --sidebar:#f2f2f2;--bg:#f9f9f9;--paper:#fff;--ink:#333;--muted:#60656b;
    --line:#dce1e5;--soft:#edf3f8;
}
[data-portal-theme="groke"] a:hover{color:var(--brand-hover)}
[data-portal-theme="groke"] :focus-visible{outline-color:#005095}
[data-portal-theme="groke"] :is(input[type=checkbox],input[type=radio]){accent-color:var(--brand)}
[data-portal-theme="groke"] .panel{box-shadow:0 3px 16px #00000003}
[data-portal-theme="groke"] .button-secondary{border-color:var(--line)}
[data-portal-theme="groke"] .button-secondary:hover{background:var(--soft);border-color:#91adc5;color:var(--brand)}
[data-portal-theme="groke"] :is(.button-accent,.round-link){color:#fff}
[data-portal-theme="groke"] :is(.button-accent,.round-link):hover{background:var(--brand-hover);border-color:var(--brand-hover);color:#fff}
[data-portal-theme="groke"] .button:not(.button-secondary):not(.button-quiet):hover{color:#fff}
[data-portal-theme="groke"] :is(.badge-production,.badge-ready){background:var(--soft);color:var(--brand)}
[data-portal-theme="groke"] .alert:not(.alert-success):not(.alert-warning):not(.alert-error){background:var(--soft);border-color:#cbdce9;color:#31536f}
[data-portal-theme="groke"] :is(.field label,.checkbox,.print-requirements strong,.price-breakdown dd){color:var(--ink)}
[data-portal-theme="groke"] :is(.field input,.field select,.field textarea,table input,.reuse-search input,.reuse-content>select){border-color:#cbd2d8}
[data-portal-theme="groke"] :is(.field input,.field select,.field textarea):hover{border-color:#91adc5}
[data-portal-theme="groke"] :is(.field input,.field select,.field textarea):focus{outline:2px solid #dceaf5;border-color:var(--brand)}
[data-portal-theme="groke"] .field input[readonly]{background:#f2f2f2}
[data-portal-theme="groke"] th{background:#f2f2f2}
[data-portal-theme="groke"] tbody tr:hover{background:#f8fafb}
[data-portal-theme="groke"] :is(.empty-icon,.source-option .icon,.review-file .icon,.library-empty .icon,.selected-file>.icon){color:var(--brand)}

/* Neutral navigation gives the original blue SVG its own clear space. */
[data-portal-theme="groke"] .sidebar{color:var(--ink);border-right:1px solid var(--line)}
[data-portal-theme="groke"] .sidebar>.brand{padding-top:28px;padding-bottom:20px}
[data-portal-theme="groke"] .brand-lockup{display:flex;align-items:center;gap:16px}
[data-portal-theme="groke"] .sidebar>.brand .brand-logo{width:48px;height:auto;flex-shrink:0}
[data-portal-theme="groke"] .brand-subtitle{color:var(--muted);margin-top:0;font-size:11px;letter-spacing:1.6px;max-width:62px;line-height:1.8}
[data-portal-theme="groke"] :is(.nav-caption,.nav-link,.nav-link .icon,.account-info>span,.logout-button,.mobile-account){color:var(--muted)}
[data-portal-theme="groke"] .nav-link:hover{background:#e4e9ed;color:var(--brand)}
[data-portal-theme="groke"] .nav-link.active{background:var(--brand);color:#fff}
[data-portal-theme="groke"] .nav-link.active:hover{background:var(--brand-hover);color:#fff}
[data-portal-theme="groke"] .nav-link.active .icon{background-color:currentColor;color:#fff}
[data-portal-theme="groke"] .sidebar-footer{border-color:#d5dadd}
[data-portal-theme="groke"] .avatar{background:#dce7ef;color:var(--brand)}
[data-portal-theme="groke"] .logout-button:hover{color:var(--brand)}
[data-portal-theme="groke"] .environment-badge:before{background:var(--brand)}
[data-portal-theme="groke"] :is(.mobile-account .button,.menu-toggle){border-color:#cbd2d8;color:var(--brand);background:transparent}

/* Catalogue, cart and checkout share the same blue selection states. */
[data-portal-theme="groke"] .catalog-filter{box-shadow:0 2px 8px #00000002}
[data-portal-theme="groke"] .product-card:hover{border-color:#91adc5;box-shadow:0 7px 22px #00000007}
[data-portal-theme="groke"] :is(.product-visual,.visual-1,.visual-2,.visual-3){background:#e6edf2;color:var(--brand)}
[data-portal-theme="groke"] .product-visual.has-image{background:#f2f2f2}
[data-portal-theme="groke"] .product-paper{box-shadow:5px 8px 0 #00000010,8px 13px 22px #00000012}
[data-portal-theme="groke"] .catalog-preview-banner{border-color:var(--line);background:var(--soft)}
[data-portal-theme="groke"] .catalog-categories a[aria-current=page]{color:#fff}
[data-portal-theme="groke"] .catalog-categories a[aria-current=page]>span:last-child{color:#dceaf5}
[data-portal-theme="groke"] .catalog-thumbnails>a{background:#f2f2f2;border-color:var(--line)}
[data-portal-theme="groke"] .variant-image-stage{background:#f2f2f2}
[data-portal-theme="groke"] .variant-option:hover{border-color:#91adc5;background:#f8fafb}
[data-portal-theme="groke"] .variant-option[aria-current=true]{background:var(--soft);border-color:var(--brand)}
[data-portal-theme="groke"] .variant-check{color:var(--brand)}
[data-portal-theme="groke"] .catalog-order-steps li[aria-current]{background:var(--soft)}
[data-portal-theme="groke"] .catalog-order-steps li[aria-current]>span{background:var(--brand);border-color:var(--brand);color:#fff}
[data-portal-theme="groke"] :is(.catalog-artwork-note,.cart-heading-count,.cart-included-poster){background:var(--soft)}
[data-portal-theme="groke"] :is(.cart-item-image,.poster-choice-image){background:#f2f2f2}
[data-portal-theme="groke"] :is(.topbar-cart:hover,.topbar-cart[aria-current]){background:var(--soft);border-color:#91adc5}
[data-portal-theme="groke"] .poster-choice:has(input:checked){background:var(--soft)}
[data-portal-theme="groke"] .poster-choice:has(input:focus-visible){outline-color:var(--brand)}
[data-portal-theme="groke"] .order-steps li>span{background:#e6e6e6;color:var(--muted)}
[data-portal-theme="groke"] .order-steps .current>span{background:var(--brand);color:#fff}
[data-portal-theme="groke"] .product-spec-details>summary{color:var(--muted)}
[data-portal-theme="groke"] .upload-picker{border-color:#b4c7d6;background:#f8fafb}
[data-portal-theme="groke"] :is(.upload-picker:hover,.upload-picker.is-dragover){border-color:var(--brand);background:var(--soft)}
[data-portal-theme="groke"] .upload-picker:focus-within{outline-color:var(--brand)}
[data-portal-theme="groke"] .upload-picker-icon{border-color:#cbdce9;box-shadow:4px 4px 0 #dceaf5;color:var(--brand)}
[data-portal-theme="groke"] .upload-picker-copy em{color:var(--brand)}
[data-portal-theme="groke"] :is(.upload-picker.has-file,.selected-file){background:#f4f7f9;border-color:var(--line)}
[data-portal-theme="groke"] .price-panel{border-color:var(--line)}
[data-portal-theme="groke"] .price-breakdown .price-total{background:var(--soft)}
[data-portal-theme="groke"] .status-timeline li{border-color:var(--line)}
[data-portal-theme="groke"] .timeline-dot{background:var(--brand)}
[data-portal-theme="groke"] .checkout-steps button:hover{background:var(--soft)}
[data-portal-theme="groke"] .checkout-steps button[aria-current=step]{background:var(--brand);color:#fff}
[data-portal-theme="groke"] .checkout-step-number{border-color:#cbd2d8}
[data-portal-theme="groke"] [aria-current=step] .checkout-step-number{background:#fff;border-color:#fff;color:var(--brand)}
[data-portal-theme="groke"] .checkout-steps button:focus-visible{outline-color:#91adc5}
[data-portal-theme="groke"] .source-option{border-color:var(--line)}
[data-portal-theme="groke"] .source-option:has(input:checked){border-color:var(--brand);background:var(--soft);box-shadow:inset 0 0 0 1px var(--brand)}
[data-portal-theme="groke"] .source-option:focus-within{outline-color:var(--brand)}
[data-portal-theme="groke"] :is(.review-edit,.address-edit-label,.address-close-label,.price-calculation>summary,.payment-order-details>summary){color:var(--brand)}
[data-portal-theme="groke"] :is(.review-card,.checkout-review-layout .review-totals){background:#f8fafb}
[data-portal-theme="groke"] .review-details .review-card{background:#fff}
[data-portal-theme="groke"] .order-product-info>div{box-shadow:0 8px 22px #00000012}
[data-portal-theme="groke"] .same-address-option{background:#f4f7f9;border-color:var(--line)}
[data-portal-theme="groke"] .review-preflight:not([data-state="passed"]):not([data-state="warning"]):not([data-state="error"]){background:var(--soft);color:var(--muted)}
[data-portal-theme="groke"] .payment-state-symbol:not([data-state="paid"]){background:var(--soft);color:var(--brand)}

/* PDF status colours keep their meaning; neutral controls follow the identity. */
[data-portal-theme="groke"] .pdf-preview{background:#f2f2f2;border-color:var(--line)}
[data-portal-theme="groke"] .pdf-toolbar button{color:var(--brand);border-color:var(--line)}
[data-portal-theme="groke"] .pdf-toolbar button:hover:enabled{background:var(--soft);border-color:#91adc5}
[data-portal-theme="groke"] .pdf-view-bar .pdf-toolbar button{border-color:var(--line)}
[data-portal-theme="groke"] :is(.pdf-canvas-wrap canvas,.pdf-layout-stage){box-shadow:0 4px 18px #00000014}
[data-portal-theme="groke"] .pdf-layout-stage canvas{box-shadow:none}
[data-portal-theme="groke"] .pdf-layout-summary:not([data-pdf-preflight-state]):not([data-layout-severity]){border-color:var(--line)}
[data-portal-theme="groke"] .pdf-layout-details-label{color:var(--brand)}
[data-portal-theme="groke"] .pdf-layout-pages li{border-color:var(--line)}

/* Account appearance picker, with fixed previews of both identities. */
.appearance-panel{margin-bottom:28px}
.theme-fieldset{border:0;padding:0;margin:0;min-width:0}
.theme-fieldset legend{font-size:19px;font-weight:600;letter-spacing:-.35px;padding:0;margin-bottom:8px}
.theme-fieldset>p{font-size:14px;margin:0 0 22px}
.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:920px}
.theme-option{position:relative;display:block;border:1px solid var(--line);border-radius:10px;cursor:pointer;overflow:hidden;background:#fff;min-width:0}
.theme-option:has(input:checked){border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.theme-option:has(input:focus-visible){outline:3px solid var(--brand);outline-offset:4px}
.theme-option>input{position:absolute;bottom:59px;right:18px;width:18px;height:18px;margin:0;accent-color:var(--brand)}
.theme-option-copy{display:grid;gap:6px;padding:18px 42px 18px 18px;min-height:98px}
.theme-option-copy>strong{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:16px;color:var(--ink)}
.theme-option-copy>span{font-size:13px;color:var(--muted);line-height:1.6}
.theme-option-tag{font-size:10px;font-weight:400;padding:2px 7px;background:var(--soft);color:var(--muted);border-radius:4px}
.theme-preview{display:grid;grid-template-columns:32% 1fr;height:170px;border-bottom:1px solid #e0e1e5;background:#f7f6f9;pointer-events:none}
.theme-preview-sidebar{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:20px 13px;background:#210f37}
.theme-preview-sidebar img{display:block;width:100%;max-width:100px;height:auto;margin-bottom:12px}
.theme-preview-nav{height:8px;width:86%;border-radius:3px;background:#ffda62}
.theme-preview-nav:last-child{width:64%;background:#8d7b9e}
.theme-preview-content{padding:24px 20px;display:flex;flex-direction:column;gap:16px}
.theme-preview-heading{width:65%;height:7px;background:#bdb5c6;border-radius:3px}
.theme-preview-cards{display:flex;gap:10px;flex:1}
.theme-preview-cards>span{flex:1;border-radius:4px;background:#fff;border:1px solid #e4dfee;border-top:12px solid #eae2f1}
.theme-preview-button{align-self:flex-end;width:46%;height:13px;background:#ffda62;border-radius:3px}
.theme-preview-groke{background:#f9f9f9}
.theme-preview-groke .theme-preview-sidebar{background:#f2f2f2;border-right:1px solid #e1e4e6;gap:7px;padding-top:15px}
.theme-preview-groke .theme-preview-sidebar img{width:37px;height:auto;margin-bottom:3px}
.theme-preview-groke :is(.theme-preview-nav,.theme-preview-button){background:#005095}
.theme-preview-groke .theme-preview-nav:last-child{background:#b3b8bd}
.theme-preview-groke .theme-preview-heading{background:#aab2b8}
.theme-preview-groke .theme-preview-cards>span{border-color:#dce1e5;border-top-color:#e5edf3}
.appearance-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:920px}
.appearance-actions p{margin:0}
@media(max-width:800px){
    [data-portal-theme="groke"] .sidebar{border-right:0;border-bottom:1px solid var(--line)}
    [data-portal-theme="groke"] .sidebar>.brand{padding:16px 24px}
    [data-portal-theme="groke"] .sidebar>.brand .brand-logo{width:34px}
    [data-portal-theme="groke"] .sidebar .brand-subtitle{display:block;max-width:none}
    [data-portal-theme="groke"] .menu-toggle{top:28px}
}
@media(max-width:600px){
    .theme-options{grid-template-columns:minmax(0,1fr);gap:16px}
    .theme-preview{height:160px}
    .appearance-actions{align-items:stretch;flex-direction:column;gap:13px}
    .theme-option-copy>strong{font-size:15px}
}
