/* Larger typography and semantic theme tokens for the BITDI prototype. */
:root{--surface:#ffffff;--surface-soft:#f4f5f0;--soft-panel:#f5ecd6;--accent:#164c3b;--header:#ffffffed;--nav-bg:#fffffff5;--input-line:#d9dfd5;font-size:16px}
html[data-theme=dark]{--cream:#111914;--surface:#1c2821;--surface-soft:#26362b;--sage:#2d4033;--ink:#edf3eb;--muted:#b7c3b4;--line:#35483a;--accent:#a9d9b7;--header:#152019f2;--nav-bg:#17231cf7;--soft-panel:#343624;--input-line:#52644f}
body{background:var(--cream);color:var(--ink)}
.sidebar,.master-card,.aside-card,.category,.product-card,.job-card,.profile-panel,.stat,.admin-table,.review,.message-preview,.empty,.all-cats button,.outline{background:var(--surface)}
.topbar{background:var(--header)}
.mobile-nav{background:var(--nav-bg)}
.search input,.filters select,.field input,.field select,.field textarea,.order-status{background:var(--surface);color:var(--ink);border-color:var(--input-line)}
.notification{background:var(--surface)}
.product-visual,.tag{background:var(--surface-soft)}
.tag{color:var(--muted)}
.avatar,.secondary,.round-arrow,.category .cat-icon,.badge,.steps i{color:var(--accent)}
.category.active .cat-icon,.gold-btn,.hero-tag,.mobile-nav .count{color:#133b2b}
.text-btn,.back-link,.mini-link,.admin-table button,.save-btn.saved{color:var(--accent)}
.nav button:not(.active),.mobile-nav button:not(.active){color:var(--muted)}
.mobile-nav button.active{color:var(--accent)}
.master-card.sponsored{background:var(--surface);border-color:#b69745}
.category.active{background:var(--soft-panel)}
.aside-card.warm,.info-box{background:var(--soft-panel);color:var(--ink)}
.aside-card.warm .aside-icon{background:var(--gold);color:#164c3b}
.badge.gold{background:#efbf54;color:#34270c}
.hero{background:#164c3b;color:white}.hero .gold-btn{color:#153c2c}
.master-description,.detail-section p,.detail-section li{color:var(--muted)}
.hero-tag{background:var(--gold)}
.profile-panel,.settings-block{max-width:100%}
button{touch-action:manipulation}
svg{width:24px;height:24px;stroke-width:1.85}
.primary,.secondary,.outline,.gold-btn{font-size:14px;min-height:46px;padding:13px 18px}
.nav button{font-size:15px;min-height:48px}
.help-card p,.side-user,.side-user small,.brand-sub{font-size:12px}
.help-card button{font-size:13px;display:flex;align-items:center;gap:8px;min-height:40px}
.location{font-size:13px}.location strong{font-size:15px}
.top-settings{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);background:var(--surface);border-radius:12px}
.notification{width:44px;height:44px}
.eyebrow{font-size:13px}.hero p{font-size:15px;line-height:1.8;max-width:480px}
.section-head h2,.results-head h2{font-size:22px}
.section-head p,.results-head span,.breadcrumb,.text-btn{font-size:13px}
.category{min-height:136px}.category .cat-icon{width:46px;height:46px}.category strong{font-size:14px}.category small{font-size:12px}
.filters select{font-size:14px;max-width:190px;height:48px}.search input{font-size:15px;padding-top:14px;padding-bottom:14px}.search svg{width:22px;height:22px;top:13px}
.master-identity h3{font-size:17px}.master-identity p{font-size:13px}.master-description{font-size:14px;min-height:51px}
.rating{font-size:14px}.rating small{font-size:12px}.rating svg{width:17px;height:17px}
.badge{font-size:12px;padding:5px 8px}.badge svg{width:14px;height:14px}.tag{font-size:12px;padding:5px 8px}
.card-price strong{font-size:19px}.card-price small{font-size:12px}.round-arrow{width:42px;height:42px}.round-arrow svg{width:21px}
.card-top{min-height:27px}.save-btn{min-width:40px;min-height:40px}.save-btn svg{width:22px;height:22px}
.aside-card h3{font-size:21px}.aside-card p,.steps li{font-size:14px}.steps span{font-size:12px}.steps i{width:27px;height:27px;font-size:12px}
.page-title p,.job-card p,.job-meta,.ad-note{font-size:14px}.job-card p{line-height:1.85}.job-card h3{font-size:20px}
.product-card h3{font-size:16px}.product-card p{font-size:13px;line-height:1.7}.product-foot strong{font-size:19px}.icon-button{width:44px;height:44px}.icon-button svg{width:23px;height:23px}
.field{font-size:14px}.field input,.field select,.field textarea{font-size:16px;padding:13px;min-height:48px}.hint,.footer-note,.demo-notice{font-size:12px;line-height:1.8}.toggle-row{font-size:14px;min-height:44px}.toggle-row input{width:20px;height:20px}
.admin-tabs{overflow-x:auto;gap:8px;padding:4px 0 9px;scrollbar-width:thin}.admin-tabs button{white-space:nowrap;font-size:14px;min-height:46px;flex-shrink:0}
.admin-table td{font-size:14px;padding:18px}.admin-table th{font-size:13px}.admin-table button{font-size:14px;min-height:42px}.admin-table td small{font-size:12px}.admin-launch{font-size:13px;min-height:44px;gap:9px}.admin-launch svg{width:20px;height:20px}
.stat p{font-size:14px}.stat strong{font-size:32px}.info-box,.security-note{font-size:13px;line-height:1.9}.error-message{font-size:14px}
.detail-section h3{font-size:17px}.detail-section p,.detail-section li,.review p{font-size:15px}.review strong{font-size:14px}.review small{font-size:12px}.detail-price small{font-size:13px}
.cart-row h3{font-size:15px}.cart-row p{font-size:13px}.qty button{width:42px;height:42px;font-size:20px}
.close{width:44px;height:44px}.modal-header h2{font-size:22px}.form-actions{flex-wrap:wrap}
.mobile-nav button{font-size:12px;min-width:56px;min-height:54px;padding:5px 7px;gap:5px}.mobile-nav svg{width:26px;height:26px}.mobile-nav .count{font-size:11px;right:5px}
.shell [hidden]{display:none!important}
.listing-layout:has(.aside[hidden]){grid-template-columns:minmax(0,1fr)}
.configured-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.configured-actions button{min-height:44px;max-width:100%;overflow-wrap:anywhere}
.profile-dashboard{max-width:980px}.profile-summary{display:flex;gap:18px;align-items:center;padding:28px;border-radius:22px;background:var(--green);color:white}.profile-summary>.avatar{width:70px;height:70px;border-radius:20px;font-size:25px;background:#ffffff1f;color:white}.profile-summary h2{font-size:25px;margin:0 0 8px}.profile-summary p{font-size:14px;margin:0;color:#deecdf}.profile-summary .badge{margin-left:auto;background:#ffffff20;color:white}
.profile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}.profile-shortcuts button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:18px;min-width:0}.profile-shortcuts svg{color:var(--accent);width:26px;height:26px}.profile-shortcuts strong{font-size:15px}.profile-shortcuts small{font-size:12px;color:var(--muted)}
.profile-menu{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:0 22px;margin-bottom:20px}.profile-menu button{display:flex;align-items:center;gap:16px;width:100%;padding:20px 0;text-align:left;min-height:76px}.profile-menu button+button{border-top:1px solid var(--line)}.profile-menu button>svg:first-child{color:var(--accent)}.profile-menu button>svg:last-child{margin-left:auto;color:var(--muted);width:21px}.profile-menu strong{display:block;font-size:16px}.profile-menu small{display:block;color:var(--muted);font-size:13px;margin-top:6px}
.profile-edit{padding:0 24px;max-width:100%}.profile-edit summary{padding:20px 0;cursor:pointer;font-size:16px;font-weight:750;display:flex;justify-content:space-between;align-items:center}.profile-edit form{padding:8px 0 24px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;align-items:start}.settings-block{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px}.settings-block h2{font-size:21px;margin:0 0 10px}.settings-block>p{font-size:14px;color:var(--muted);line-height:1.8}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px}.theme-choice{border:2px solid var(--line);border-radius:14px;padding:12px;position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;font-size:13px;font-weight:750}.theme-choice.selected{border-color:var(--gold)}.theme-choice>svg{position:absolute;right:6px;top:6px;background:var(--gold);border-radius:50%;color:#164c3b;width:22px;height:22px;padding:3px}.theme-preview{width:100%;height:92px;border:1px solid #d4ded1;border-radius:8px;background:#faf9f5;padding:12px;display:flex;flex-direction:column;gap:7px}.theme-preview i{height:22px;border-radius:4px;background:#164c3b}.theme-preview b{height:9px;width:75%;background:#a6b4a0;border-radius:3px}.theme-preview em{height:9px;width:50%;background:#efbf54;border-radius:3px}.theme-dark{background:#111914;border-color:#435345}.theme-dark i{background:#296749}.theme-dark b{background:#c6d4bf}.theme-system{background:linear-gradient(90deg,#faf9f5 50%,#111914 50%)}.settings-language{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.settings-language .hint{margin-top:13px}.settings-info{display:flex;gap:15px;margin:25px 0}.settings-info svg{color:var(--accent);width:28px;height:28px}.settings-info strong{font-size:15px}.settings-info p{font-size:14px;line-height:1.8;color:var(--muted)}.settings-block .field textarea{min-height:100px}.settings-block>.hint{font-size:12px}
.order-status{border:1px solid var(--line);padding:11px;border-radius:9px;font-size:14px;min-height:44px}.category-admin-list{margin:23px 0}.category-admin-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.category-admin-list span{display:flex;align-items:center;gap:14px;font-size:15px}.category-admin-list svg{color:var(--accent)}.plan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.plan-cards article{background:var(--cream);border:1px solid var(--line);border-radius:15px;padding:24px}.plan-cards h3{font-size:21px}.plan-cards p{font-size:14px;color:var(--muted);line-height:1.9}.plan-cards strong{display:block;margin:20px 0}.plan-cards .outline{width:100%}.message-preview p{font-size:14px}.all-cats button{font-size:14px;min-height:70px}.empty p{font-size:14px}.back-link{font-size:14px;min-height:44px}
@media(min-width:1001px){.listing-layout{grid-template-columns:minmax(0,1fr) 260px}.master-identity{gap:11px}.master-description{min-height:76px}.master-card{padding:19px}.cards{gap:16px}.filters{flex-wrap:wrap}.hero{min-height:244px}.hero-art{margin-left:20px}.sidebar{width:240px}.shell{grid-template-columns:240px minmax(0,1fr)}.nav button{padding:14px 13px}.category strong{font-size:13px}.category small{font-size:11px}}
@media(min-width:1001px) and (max-width:1250px){.listing-layout{grid-template-columns:1fr}.aside{display:none}.master-description{min-height:53px}}
@media(max-width:1000px){.category{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:135px}.category strong,.category small{align-self:center}.settings-layout{grid-template-columns:1fr}}
@media(max-width:720px){.topbar{height:80px;padding:0 17px}.top-actions{gap:7px}.top-settings,.notification{width:40px;height:40px;min-width:40px}.topbar .brand{font-size:28px;gap:7px}.mobile-location select{font-size:12px!important;max-width:105px;padding:9px!important}main{padding:20px 17px 115px}.hero h1{font-size:32px}.hero p{font-size:14px}.hero .eyebrow{font-size:12px}.hero .gold-btn{font-size:14px;min-height:44px}.hero{padding:25px 22px}.section-head h2{font-size:21px}.section-head p{font-size:12px}.section-head .text-btn{font-size:12px;max-width:110px;text-align:right}.categories{gap:9px}.category{min-height:138px;padding:14px 6px 12px}.category strong{font-size:13px;line-height:1.5}.category small{font-size:11px}.category .cat-icon{width:43px;height:43px}.filters select{font-size:14px}.master-card{padding:18px}.master-identity h3{font-size:17px}.master-identity p{font-size:13px}.master-description{font-size:14px;min-height:0}.portrait{width:65px;height:72px}.master-card .card-top{top:12px;right:12px}.master-card .card-top .badge{font-size:10px}.master-card.sponsored .master-identity{padding-top:29px}.master-card:not(.sponsored) .master-identity{padding-top:29px}.results-head h2{font-size:20px}.results-head span{font-size:12px}.card-price strong{font-size:19px}.page-title h1{font-size:28px}.page-title p{font-size:14px}.page-title .primary{font-size:13px;white-space:normal;padding:11px 13px}.product-card h3{font-size:15px}.product-card p{font-size:12px}.product-foot strong{font-size:16px}.product-foot{gap:6px;flex-wrap:wrap}.product-visual{height:145px}.job-card h3{font-size:19px}.job-card p{font-size:14px}.job-bottom{align-items:flex-start}.job-bottom .primary{font-size:13px;min-height:44px}.job-bottom strong{font-size:17px}.form-actions>*{flex:1;min-width:120px}.profile-summary{padding:23px 18px;gap:13px;flex-wrap:wrap}.profile-summary h2{font-size:23px}.profile-summary>.avatar{width:58px;height:58px}.profile-summary>.badge{margin-left:71px}.profile-shortcuts{gap:8px}.profile-shortcuts button{padding:16px 10px;gap:10px}.profile-shortcuts strong{font-size:12px}.profile-shortcuts small{font-size:11px}.profile-menu{padding:0 18px}.profile-menu strong{font-size:15px}.profile-menu small{font-size:12px}.profile-edit{padding:0 18px}.settings-block{padding:22px 18px}.theme-options{gap:8px}.theme-choice{padding:8px;font-size:12px}.theme-preview{height:86px;padding:9px}.modal-header h2{font-size:20px}.detail-section p,.detail-section li{font-size:15px}.demo-notice{font-size:12px}.plan-cards{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.admin-table td{font-size:14px;padding:15px 12px}.admin-table th{font-size:12px;padding:14px 12px}.profile-panel{padding:22px 18px}.profile-edit.profile-panel{padding:0 18px}.topbar .top-actions select{max-width:105px}.cart-row h3{font-size:14px}.cart-row p{font-size:12px}.qty{gap:8px}.qty button{width:36px;height:42px}.cart-row{flex-wrap:wrap}.qty{margin-left:auto}.admin-tabs{margin-right:-17px;padding-right:17px}}
@media(max-width:380px){.mobile-location select{max-width:88px}.topbar{padding:0 12px}.topbar .brand{font-size:24px}.topbar .brand img{width:30px;height:30px}.top-settings,.notification{width:36px;height:40px;min-width:36px}.category strong{font-size:12px}.theme-choice{font-size:11px}.profile-shortcuts strong{font-size:11px}.mobile-nav button{font-size:11px;padding:5px}}
.category small,.profile-shortcuts small,.profile-shortcuts strong,.theme-choice,.mobile-nav button{font-size:12px}
.profile-shortcuts strong{overflow-wrap:anywhere}.profile-shortcuts button{min-width:0}.profile-edit[open] summary{border-bottom:1px solid var(--line);margin-bottom:14px}

/* Selected A5 craftsman and B1 storefront; readable at navigation scale. */
.icon-accent{fill:var(--gold)}
.mobile-nav button{min-height:60px;flex:1;min-width:0;padding:5px 3px}
.mobile-nav svg{width:30px;height:30px}
.nav svg{width:28px;height:28px}
.shop-partner-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;text-decoration:none}
.shop-partner-actions a svg{width:20px;height:20px;flex:none}
.search-suggestion{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.search-suggestion:empty{display:none}
.search-suggestion button{min-height:44px;display:inline-flex;align-items:center;gap:6px}
.search-suggestion svg,.category small svg{width:16px;height:16px}
.category small svg{vertical-align:middle;margin-inline-end:4px}
.filters .search-suggestion{grid-column:1/-1;flex-basis:100%;margin-bottom:0}
