/* V47: stable customer navigation and durable-save feedback. */
html{overflow-y:scroll;scrollbar-gutter:stable;}
#storageWarning{position:fixed;bottom:12px;left:12px;right:12px;z-index:10000;padding:16px 20px;border:2px solid #9b5b00;border-radius:8px;background:#fff3cd;color:#422900;font:600 15px/1.5 Arial,sans-serif;box-shadow:0 3px 20px #0002;}
.customer-tabs a:focus-visible{outline:2px solid #ef4b2b;outline-offset:-3px;}

/* Footer: copyright left, developer credit right. */
.footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer .footer-bottom .footer-credit{display:inline-flex;align-items:center;gap:7px;margin:0;text-align:right;line-height:1.6}
@media(max-width:600px){.footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}.footer .footer-bottom .footer-credit{text-align:left}}

/* Admin video fixes: consistent top-aligned workspace, stable shell, usable support filters. */
.admin-layout{grid-template-columns:246px minmax(0,1fr);align-items:start;min-height:calc(100dvh - var(--admin-header-height,76px))}
.admin-layout .admin-workspace{margin:0!important;align-self:start;max-width:none;width:100%;min-height:calc(100dvh - var(--admin-header-height,76px))}
.admin-layout .app-sidebar{top:var(--admin-header-height,76px);height:calc(100dvh - var(--admin-header-height,76px));scrollbar-width:thin;overscroll-behavior:contain}
.admin-workspace .ticket-list-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,220px);align-items:center;gap:14px}
.admin-workspace .ticket-list-tools .ticket-search{display:flex;align-items:center;gap:10px;min-width:0;width:100%;margin:0;padding:0 14px;font-weight:400}
.admin-workspace .ticket-list-tools .ticket-search .icon{flex:none}
.admin-workspace .ticket-list-tools .ticket-search input{min-width:0;flex:1;width:100%;height:47px;padding:0}
.admin-workspace .ticket-list-tools .select{width:100%;min-width:0}
@media(max-width:1100px) and (min-width:771px){.admin-layout{grid-template-columns:208px minmax(0,1fr)}}
@media(max-width:770px){.admin-layout .app-sidebar{height:auto;top:auto;overscroll-behavior:auto}.admin-layout .admin-workspace{min-height:0}.admin-workspace .ticket-list-tools{grid-template-columns:minmax(0,1fr)}}

/* Admin header: dark navigation matching the workspace sidebar. */
.admin-portal-header{background:#141414!important;border-bottom-color:#2a2a2a!important;color:#fff}
.admin-portal-header .admin-portal-brand,.admin-portal-header .admin-portal-brand>span{color:#f5f5f5!important}
.admin-portal-header .admin-portal-brand>span{border-left-color:#414141}
.admin-portal-header .admin-top-nav a{color:#ededed}
.admin-portal-header .admin-top-nav a:hover{background:#292929;color:#fff}
.admin-portal-header .admin-top-nav a.active{background:#d83a1f;color:#fff}
.admin-portal-header .admin-portal-header-actions>a{color:#ededed}
.admin-portal-header .admin-portal-header-actions>a:hover{color:#ff927c}
.admin-portal-header .admin-mini-avatar{background:#303030;border:1px solid #494949;color:#fff}
.admin-portal-header a:focus-visible{outline:2px solid #ff927c;outline-offset:3px}

/* Header navigation is handled by the admin sidebar. */
.admin-portal-header .admin-portal-header-inner{grid-template-columns:minmax(0,1fr) auto!important}
.admin-portal-header .admin-portal-header-actions{justify-self:end}
/* Store policies */
.policy-page .page-intro{max-width:820px;margin-inline:auto}
.policy-eyebrow{display:block;color:#d93618;font-size:12px;font-weight:800;letter-spacing:.13em;margin-bottom:16px}
.policy-page .policy-date{font-size:13px!important;margin-top:18px;color:#747474}
.policy-nav{max-width:820px;margin:0 auto 24px;display:flex;flex-wrap:wrap;gap:8px}
.policy-nav a{border:1px solid #e6e6e6;border-radius:8px;padding:11px 17px;background:#fff;font-size:14px;font-weight:700}
.policy-nav a[aria-current="page"]{background:#141414;color:#fff;border-color:#141414}
.policy-content.legal-content{padding:32px;margin:0 auto 72px;background:#fff;border:1px solid #e8e8e8;border-radius:16px;overflow-wrap:anywhere}
.policy-summary{padding:23px 25px;border-radius:10px;background:#f5f5f5;border:1px solid #e9e9e9;margin-bottom:34px}
.policy-summary-refund{background:#fff3ee;border-color:#ffd5c8}
.policy-summary>strong{font-size:17px;color:#151515}
.policy-summary p{margin:8px 0 0}
.policy-content section+section{margin-top:30px;padding-top:24px;border-top:1px solid #ededed}
.policy-content h2{display:flex;align-items:baseline;gap:12px;font-size:22px!important;line-height:1.4!important;margin:0 0 14px!important;letter-spacing:-.025em}
.policy-content h2>span{font-size:12px;color:#d93618;letter-spacing:.05em;flex-shrink:0}
.policy-content p{margin:0 0 14px;color:#525252!important;line-height:1.85!important}
.policy-content p:last-child{margin-bottom:0}
.policy-content a{color:#b9321b;text-decoration:underline;text-underline-offset:3px}
.policy-contact{background:#fafafa;margin-inline:-12px;padding-inline:12px;padding-bottom:16px;border-radius:8px}
@media(max-width:600px){.policy-content.legal-content{padding:22px 18px;margin-bottom:40px}.policy-summary{padding:18px;margin-bottom:26px}.policy-nav a{padding:10px 12px;font-size:13px}.policy-content h2{font-size:20px!important}.policy-page .page-intro{padding-top:32px}}
