@layer properties,theme,base;@layer components{.customer-account-dialog{width:min(760px,100vw);max-width:min(760px,100vw)}.customer-account-drawer{width:min(760px,100vw);max-width:min(760px,100vw);height:min(50dvh, var(--app-height,50dvh))!important;max-height:min(50dvh, var(--app-height,50dvh))!important;transition:height .35s cubic-bezier(.32,.72,0,1),max-height .35s cubic-bezier(.32,.72,0,1)!important}.customer-account-drawer.account-drawer-expanded{height:min(95dvh, var(--app-height,95dvh))!important;max-height:min(95dvh, var(--app-height,95dvh))!important}.account-hub{min-width:0;line-height:1.5}.account-identity{align-items:center;gap:10px;padding:0 0 12px;display:flex}.account-identity>div{flex:1;min-width:0}.account-identity strong{overflow-wrap:anywhere;letter-spacing:-.03em;font-size:20px;display:block}.account-sync{color:var(--muted-foreground);align-items:center;gap:6px;margin-top:4px;font-size:12px;display:flex}.account-tabs{gap:0}.account-tab-list{border-radius:12px;width:100%;height:44px;margin-bottom:12px;padding:4px}.account-tab-list [data-slot=tabs-trigger]{border-radius:9px;min-height:36px}.account-count{background:var(--muted);font-variant-numeric:tabular-nums;border-radius:99px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;display:inline-flex}.account-feedback:has(>*){gap:8px;margin-bottom:10px;display:grid}.account-tab-panel{gap:10px;display:grid}.account-tab-panel[hidden]{display:none}.account-section{min-width:0}.account-section h3,.account-new-order h3{letter-spacing:-.015em;margin:0;font-size:14px;font-weight:600}.account-section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.account-section-heading>svg{color:var(--muted-foreground);flex-shrink:0}.account-section-heading p,.account-data-export p,.account-signout p,.account-new-order p{color:var(--muted-foreground);margin:4px 0 0;font-size:12px}.account-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.account-profile-fields .field{gap:4px}.account-profile-fields input{border:1px solid var(--border);background:var(--background);height:42px}.account-profile-fields [data-slot=field-description]{font-size:11px}.account-save-row{justify-content:space-between;align-items:center;gap:8px;margin-top:12px;display:flex}.account-save-row small,.account-muted{color:var(--muted-foreground);font-size:12px}.account-muted{margin:10px 0;display:block}.account-address-preview{gap:8px;margin:0 0 10px;display:grid}.account-address-preview strong{align-items:center;gap:8px;font-size:13px;display:flex}.account-address-preview strong>span{color:var(--primary);font-size:10px;font-weight:400}.account-address-preview p{color:var(--muted-foreground);overflow-wrap:anywhere;margin:3px 0 0;font-size:12px}.account-access-actions,.account-confirm-actions,.account-order-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.account-order-track{border:1px solid var(--border);border-radius:var(--radius);min-height:48px;color:var(--foreground);justify-content:center;align-items:center;padding:0 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.account-order-track:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 50%, transparent);outline-offset:2px}.account-confirm-actions{justify-content:flex-end;margin-top:0}.account-access-actions{margin-top:0}.account-new-order{background:color-mix(in srgb, var(--primary) 7%, var(--popover));border:1px solid color-mix(in srgb, var(--primary) 18%, var(--border));border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.account-order-list{flex-direction:column;gap:0;display:flex}.account-order{min-width:0}.account-order-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.account-order-heading strong{overflow-wrap:anywhere;font-size:13px;display:block}.account-order-heading time,.account-audit time{color:var(--muted-foreground);margin-top:4px;font-size:11px;display:block}.account-order-items{border-top:1px solid var(--border);gap:10px;margin:16px 0 0;padding:16px 0;list-style:none;display:grid}.account-order-items li{justify-content:space-between;align-items:flex-start;gap:16px;font-size:12px;display:flex}.account-order-items li>span:last-child{font-variant-numeric:tabular-nums;flex-shrink:0}.account-order-items b{color:var(--muted-foreground);font-weight:400}.account-order-items small{color:var(--muted-foreground);margin:2px 0 0;display:block}.account-order-delivery,.account-reorder-note{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:11px}.account-reorder-note{margin:16px 0 0}.account-order-total{border-top:1px solid var(--border);justify-content:space-between;gap:16px;margin-top:12px;padding-top:12px;font-size:12px;display:flex}.account-order-total strong{font-variant-numeric:tabular-nums;font-size:15px}.account-order-actions>button{flex:1}.account-empty,.account-loading{text-align:center;justify-items:center;gap:10px;padding:28px 8px;display:grid}.account-empty>svg,.account-loading>svg{color:var(--muted-foreground)}.account-empty p,.account-loading p{max-width:300px;color:var(--muted-foreground);margin:0;font-size:12px}.account-data-export,.account-signout{justify-content:space-between;align-items:center;gap:20px;display:flex}.account-audit{gap:18px;margin:0;padding:0;list-style:none;display:grid}.account-audit li{align-items:flex-start;gap:10px;display:flex}.account-audit-dot{background:var(--muted);width:22px;height:22px;color:var(--muted-foreground);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.account-audit strong{font-size:12px;font-weight:500}.account-audit p{color:var(--muted-foreground);margin:2px 0 0;font-size:11px}@media (width<=800px){.customer-account-dialog{width:100%}}@media (width<=520px){.account-identity strong{font-size:18px}.account-tab-list [data-slot=tabs-trigger]{gap:4px;padding-inline:6px;font-size:11.5px}.account-new-order{padding:12px}.account-profile-fields{grid-template-columns:minmax(0,1fr);gap:10px}.account-save-row,.account-data-export,.account-signout,.account-new-order{flex-direction:column;align-items:stretch}.account-save-row button,.account-access-actions>button{width:100%}.account-order-heading{gap:8px}.account-order-actions{flex-direction:column}.account-order-actions>button{min-height:40px}}@media (width<=380px){.account-tab-list [data-slot=tabs-trigger]{gap:3px;padding-inline:3px;font-size:10.5px}}.account-preference-list{gap:2px;display:grid}.account-preference-row{width:100%;min-height:56px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:6px 4px;display:flex}.account-preference-row:hover{background:var(--muted)}.account-preference-row:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.account-preference-icon{background:var(--muted);width:36px;height:36px;color:var(--muted-foreground);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.account-preference-copy{flex:1;gap:2px;min-width:0;display:grid}.account-preference-copy strong{font-size:13px;font-weight:620;line-height:1.3}.account-preference-copy small{color:var(--muted-foreground);font-size:11px;line-height:1.35}.account-preference-chevron{color:var(--muted-foreground);flex-shrink:0}.account-menu-list{background:color-mix(in srgb, var(--card) 90%, var(--background));border:1px solid color-mix(in srgb, var(--border) 80%, transparent);border-radius:16px;flex-direction:column;margin-top:4px;display:flex;overflow:hidden;box-shadow:0 1px 2px #0000000a}.account-menu-item{border:none;border-bottom:1px solid color-mix(in srgb, var(--border) 45%, transparent);width:100%;min-height:54px;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border-radius:0;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;transition:background-color .15s;display:flex}.account-menu-item:last-child{border-bottom:none}.account-menu-item:hover{background:color-mix(in srgb, var(--foreground) 5%, transparent)}.account-menu-item:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.account-menu-icon{background:color-mix(in srgb, var(--foreground) 7%, transparent);width:36px;height:36px;color:var(--foreground);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.account-menu-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.account-menu-copy strong{color:var(--foreground);font-size:14px;font-weight:600;line-height:1.25}.account-menu-copy small{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.3;overflow:hidden}.account-menu-trailing{color:var(--muted-foreground);flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.account-menu-chevron{color:var(--muted-foreground);flex-shrink:0}.account-toggle-switch{background:var(--muted);border:1px solid var(--border);cursor:pointer;border-radius:9999px;flex-shrink:0;align-items:center;width:44px;height:24px;padding:2px;transition:background-color .2s,border-color .2s;display:inline-flex;position:relative}.account-toggle-switch[aria-checked=true]{background:var(--primary);border-color:var(--primary)}.account-toggle-knob{background:var(--card);border-radius:9999px;width:18px;height:18px;transition:transform .2s;display:block;box-shadow:0 1px 3px #0003}.account-toggle-switch[aria-checked=true] .account-toggle-knob{background:var(--primary-foreground);transform:translate(20px)}.account-notifications-panel{flex-direction:column;gap:16px;padding:8px 0;display:flex}.account-notifications-status{background:var(--muted);border:1px solid var(--border);border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.account-notifications-status-icon{background:var(--background);width:40px;height:40px;color:var(--foreground);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.account-notifications-status-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.account-notifications-status-copy strong{font-size:14px;font-weight:600}.account-notifications-status-copy small{color:var(--muted-foreground);font-size:12px}.account-notifications-actions{flex-direction:column;gap:10px;display:flex}.account-login-header-cta{background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);cursor:pointer;box-shadow:0 2px 8px color-mix(in srgb, var(--primary) 35%, transparent);border-radius:9999px;align-items:center;gap:10px;padding:6px 14px 6px 8px;font-size:14px;font-weight:650;transition:transform .15s,background-color .15s,box-shadow .15s;display:inline-flex}.account-login-header-cta:hover{background:color-mix(in srgb, var(--primary) 88%, black);border-color:color-mix(in srgb, var(--primary) 88%, black);box-shadow:0 4px 12px color-mix(in srgb, var(--primary) 45%, transparent);transform:translateY(-1px)}.account-login-header-cta:active{box-shadow:0 1px 4px color-mix(in srgb, var(--primary) 30%, transparent);transform:translateY(0)}.account-login-header-icon{background:color-mix(in srgb, var(--primary-foreground) 22%, transparent);width:28px;height:28px;color:var(--primary-foreground);border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.account-login-header-label{letter-spacing:-.01em;font-size:14px;font-weight:650}.account-login-header-arrow{opacity:.9;transition:transform .15s}.account-login-header-cta:hover .account-login-header-arrow{transform:translate(2px)}.account-menu-item-login{border-color:color-mix(in srgb, var(--primary) 20%, transparent);background:color-mix(in srgb, var(--primary) 5%, transparent)}.account-menu-item-login:hover{background:color-mix(in srgb, var(--primary) 10%, transparent)}.account-avatar-login{background:color-mix(in srgb, var(--primary) 12%, transparent);border-radius:9999px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.account-auth-container{flex-direction:column;gap:12px;display:flex}.account-auth-step{flex-direction:column;gap:16px;padding:4px 0 16px;display:flex}.account-auth-header{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:6px 0 2px;display:flex}.account-auth-icon{background:color-mix(in srgb, var(--primary) 12%, transparent);width:48px;height:48px;color:var(--primary);border-radius:14px;justify-content:center;align-items:center;margin-bottom:2px;display:inline-flex}.account-auth-header h3{margin:0;font-size:16px;font-weight:650}.account-auth-header p{color:var(--muted-foreground);max-width:320px;margin:0;font-size:13px;line-height:1.4}.account-auth-form{flex-direction:column;gap:12px;display:flex}.chat-library{gap:12px;min-width:0;display:grid}.chat-search{align-items:center;gap:8px;display:flex}.chat-search>svg{color:var(--muted-foreground);flex-shrink:0}.chat-search input{min-width:0}.chat-filters{gap:4px;display:flex}.chat-library-count{color:var(--muted-foreground);font-size:12px}.chat-library-list{gap:8px;display:grid}.chat-library-card{border:1px solid var(--border);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.chat-library-card[data-current=true]{border-color:var(--primary);background:var(--accent)}.chat-library-open{text-align:left;border-radius:0;gap:12px;width:100%;padding:14px 4px 14px 12px;display:flex}.chat-library-picture{background:var(--muted);width:48px;height:48px;color:var(--muted-foreground);border-radius:12px;flex:0 0 48px;place-items:center;display:grid;overflow:hidden}.chat-library-picture img{object-fit:cover;width:100%;height:100%}.chat-library-copy{flex:1;gap:5px;min-width:0;display:grid}.chat-library-title{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;font-weight:600;display:flex}.chat-current{color:var(--primary-foreground);background:var(--primary);border-radius:6px;padding:2px 5px;font-size:10px}.chat-new-count{background:var(--accent);color:var(--accent-foreground);border-radius:6px;padding:2px 5px;font-size:11px}.chat-library-detail{text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:12px;overflow:hidden}.chat-library-meta{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:11px;display:flex}.chat-state{border:1px solid var(--border);color:var(--foreground);border-radius:6px;padding:2px 6px}.chat-state[data-closed=true]{color:var(--muted-foreground)}.chat-library-rename{margin-right:4px}.chat-rename{grid-column:1/-1;padding:12px}.chat-rename>div{justify-content:flex-end;gap:8px;display:flex}.shop-new-order-button{background:var(--card);border-radius:999px;min-height:44px;padding-inline:14px;font-size:13px;font-weight:650}.new-order-error{z-index:20;border:1px solid var(--destructive);background:var(--card);width:min(280px,100vw - 24px);color:var(--destructive);border-radius:10px;margin:0;padding:8px 10px;font-size:12px;position:absolute;top:calc(100% + 4px);right:0}.new-order-dialog-icon{background:var(--accent);width:40px;height:40px;color:var(--primary-text);border-radius:14px;place-items:center;display:grid}.new-order-summary{border:1px solid var(--border);background:var(--muted);border-radius:14px;align-items:flex-start;gap:12px;margin-top:4px;padding:14px;display:flex}.new-order-summary-icon{background:var(--card);width:34px;height:34px;color:var(--primary-text);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.new-order-summary strong{font-size:14px;line-height:1.35;display:block}.new-order-summary small{color:var(--muted-foreground);margin-top:3px;font-size:12px;line-height:1.45;display:block}.new-order-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.new-order-actions>button{min-height:44px}@media (width<=480px){.new-order-actions{flex-direction:column}.new-order-actions>button{width:100%}}@media (width<=359px){.shop-new-order-button{padding-inline:10px;font-size:12px}}}@layer utilities;
