:root{--bg:#FAF8F5;--card:#fff;--ink:#231F1E;--muted:#786E68;--line:#EAE4DC;--accent:#8E1F3E;--soft:#F9EFF2;--shadow:0 2px 10px rgba(35,31,30,.04)}
html body,body[data-access=member][data-view]{background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-variant-numeric:tabular-nums}
h1,.shop-identity h1,.directory-info h2{font-family:Lora,Georgia,serif;font-weight:600;letter-spacing:-.025em}button,input,select,textarea,.shop-action{font-family:inherit;font-variant-numeric:tabular-nums}body header,body .bottom{background:rgba(250,248,245,.96);border-color:var(--line)}
body .profile-box,body .tool-card,body .tool-section,body .order-card,body .product-price-row,body .orders-summary>div,body #recipeBook .book-card,body #recipeBookForm,body #recipeBookDetail,body .directory-card,body .shop-settings-card,body .recipe-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
body .order-card[data-state]{border-left-width:4px}body .order-card[data-state=new]{border-left-color:#60a5fa}body .order-card[data-state=in_progress]{border-left-color:#fbbf24}body .order-card[data-state=ready]{border-left-color:#4ade80}body .order-card[data-state=done]{border-left-color:#9ca3af}body .order-card[data-state=cancelled]{border-left-color:#f87171}
body dialog,body .shop-dialog{background:white;border-color:var(--line);box-shadow:var(--shadow)}body .directory-banner{background:var(--soft);border-radius:16px}body .primary{background:var(--accent);color:white;border-radius:12px}body .primary:hover{background:#731832}body .outline,body input:not([type=checkbox]):not([type=radio]),body select,body textarea{border-radius:12px;border-color:var(--line)}body .order-source,body .order-badge,body .dessert-live-badge{border-radius:999px}body .shop-action{background:var(--accent);border-radius:999px}body .shop-action:hover{background:#731832}body .shop-muted,body .shop-footer a{color:var(--muted)}
.directory-card-head{display:flex;align-items:center;gap:12px;min-width:0;width:100%}
.directory-card-head .directory-avatar,.directory-card-head .directory-link{flex-shrink:0}
.directory-card-head .directory-info{min-width:0;flex:1}
.directory-info .directory-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;line-height:1.4}
.directory-count-part{white-space:nowrap}
.directory-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.directory-thumbs[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.directory-thumbs[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.directory-thumbs[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.directory-thumb-frame{display:grid;place-items:center;aspect-ratio:1;width:100%;min-width:0;overflow:hidden;border-radius:12px;background:#f5f0ea}
.directory-thumb{display:block;width:100%;height:100%;object-fit:cover;min-width:0;min-height:0}
.directory-thumb[hidden]{display:none}
.directory-thumb-empty{font-size:11px;color:var(--muted);text-align:center;padding:4px}
#shopSettingsPage{max-width:720px;margin:auto}.shop-state{border-radius:999px;padding:4px 9px;font-size:11px;font-weight:600;background:#f0efee;color:#786e68;white-space:nowrap}.shop-state.live{background:#dcf4e5;color:#226b41}.shop-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.shop-quick-actions>*{font-size:12px;min-width:0;padding:10px 6px;text-align:center;white-space:normal}.shop-quick-actions [aria-disabled=true]{opacity:.45;pointer-events:none}.shop-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#eee8e1;border-radius:12px;margin:8px 0 12px}.shop-tabs button{border:0;background:transparent;padding:10px 5px;border-radius:10px;font-size:13px;font-weight:600}.shop-tabs button[aria-pressed=true]{background:white;color:var(--accent);box-shadow:var(--shadow)}.shop-settings-card{padding:14px}.shop-settings-card[hidden]{display:none!important}.shop-publish-switch{display:flex!important;align-items:center;gap:10px;padding:10px 0}.shop-publish-switch input{appearance:none;width:44px;height:25px;border-radius:99px;background:#d5cfc9;position:relative;flex:none;margin:0}.shop-publish-switch input:checked{background:var(--accent)}.shop-publish-switch input:before{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;background:white;border-radius:50%;transition:transform .2s}.shop-publish-switch input:checked:before{transform:translateX(19px)}.shop-editor #shopAvatarPreview{width:80px;height:80px;border-radius:50%;object-fit:cover;background:none}.shop-editor #shopAddProduct{width:100%}#accountLogout{width:100%;margin:16px 0 8px;color:var(--accent)}.shop-public-page .shop-header{background:transparent;border:0}.shop-settings-card .shop-preview-content .shop-header{background:transparent}

#shopQuickActions[hidden],#shopDelete[hidden],#shopLiveStatus[hidden]{display:none!important}.shop-delete-link{display:block;width:100%;border:0;background:none;color:#b42336;font-size:13px;font-weight:600;padding:14px 8px 5px;margin:10px 0 0;text-align:center}.shop-delete-link:hover{text-decoration:underline}.shop-delete-link:disabled{opacity:.5}#shopDeleteDialog{width:min(calc(100% - 28px),440px);padding:20px;border:1px solid var(--line);border-radius:16px}#shopDeleteDialog h2{margin:0 0 10px;font-size:21px}#shopDeleteDescription{color:var(--muted);line-height:1.55;font-size:14px}.shop-delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.shop-delete-actions button{min-height:44px;border-radius:12px;font-size:14px;font-weight:600}.shop-delete-confirm{background:#b42336;color:white;border:1px solid #b42336}.shop-delete-confirm:hover{background:#951c2c}.shop-delete-actions button:disabled{opacity:.55}
