.admin-notification-all:hover{background:#f2faf7;text-decoration:none}
.admin-account-trigger{display:flex;align-items:center;gap:11px;min-width:180px;height:64px;padding:0 17px;background:#086f6c;color:#fff}
.admin-account[open]>.admin-account-trigger,.admin-account-trigger:hover{background:#075f5c}
.admin-account-trigger svg{display:none;width:21px;height:21px}
.admin-account-label{display:block;min-width:0;line-height:1.25}
.admin-account-label strong,.admin-account-label small{display:block;overflow:hidden;max-width:150px;text-overflow:ellipsis;white-space:nowrap}
.admin-account-label strong{margin-left:0;font-size:13px;font-weight:750}
.admin-account-label small{margin-top:3px;color:#d9f2fe;font-size:11px}
.admin-account-chevron{margin-left:auto;font-size:18px;line-height:1}
.admin-account-panel{position:absolute;z-index:31;top:100%;right:0;width:270px;padding:7px 0;border:1px solid #dce7ea;background:#fff;box-shadow:0 17px 35px #1b4d6530}
.admin-account-panel a,.admin-account-panel button{display:block;width:100%;min-height:43px;padding:12px 17px;border:0;background:#fff;color:#283f48!important;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.admin-account-panel a:hover,.admin-account-panel button:hover{background:#edf8f4;text-decoration:none}
.admin-account-panel form{margin:0;border-top:1px solid #e8eff2}
.admin-top-actions .admin-store-link{display:flex;align-items:center;justify-content:center;gap:10px;min-width:158px;height:64px;padding:0 17px;background:#075f5c;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.admin-top-actions .admin-store-link:hover{background:#054f4d;text-decoration:none}
.admin-store-link svg{flex:none;width:22px;height:22px}
@media(max-width:1120px){.admin-top{grid-template-columns:165px minmax(180px,1fr) auto;gap:12px}.admin-account-trigger{min-width:54px;padding:0 16px}.admin-account-trigger svg{display:block}.admin-account-label{display:none}.admin-account-chevron{margin-left:0}.admin-top-actions .admin-store-link{min-width:54px;padding:0 16px}.admin-store-link span{display:none}}
@media(max-width:640px){
  .design-status{display:block}
  .design-status>div+div{border-top:1px solid #e7eeeb;border-left:0}
  .design-draft-badge{display:inline-block;margin:0 0 15px 20px}
  .design-gallery-grid{grid-template-columns:1fr}
  .design-card p{min-height:0}
  .design-preview-toolbar{align-items:flex-start;flex-direction:column}
}

/* Overview metrics use actual order totals for each selected period. */
.dashboard-sales{overflow:hidden;border-radius:8px}
.dashboard-periods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line)}
.dashboard-period{display:grid;align-content:center;gap:5px;min-height:108px;padding:16px 12px;border-right:1px solid var(--line);background:#f8fbfa;color:#56716f;text-align:center;text-decoration:none!important}
.dashboard-period:last-child{border-right:0}
.dashboard-period:hover{background:#eef8f4}
.dashboard-period.active{background:var(--teal);color:#fff}
.dashboard-period span{font-size:12px}
.dashboard-period strong{color:inherit;font-size:21px;line-height:1.1}
.dashboard-period small{color:inherit;font-size:11px}
.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:25px 20px}
.dashboard-chart{min-width:0;padding:0 15px}
.dashboard-chart+.dashboard-chart{border-left:1px solid var(--line)}
.dashboard-chart h2{margin:0 0 14px;color:var(--teal);text-align:center;font-size:18px}
.dashboard-chart-bars{display:flex;align-items:flex-end;gap:2px;height:210px;overflow:hidden;border-bottom:1px solid #c9dcd5;background:repeating-linear-gradient(to top,transparent 0,transparent 40px,#e9f1ed 41px,#e9f1ed 42px)}
.dashboard-bar-group{position:relative;flex:1;min-width:5px;height:100%}
.dashboard-bar{position:absolute;bottom:23px;left:16%;width:68%;min-height:2px;border-radius:3px 3px 0 0}
.dashboard-bar.revenue{background:#73be61}
.dashboard-bar.orders{background:#e9a345}
.dashboard-bar-group small{position:absolute;right:0;bottom:3px;left:0;overflow:hidden;color:#879b96;text-align:center;font-size:9px;white-space:nowrap}
.dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);background:#f8fbfa}
.dashboard-summary>div{display:grid;gap:7px;padding:17px 12px;border-right:1px solid var(--line);text-align:center}
.dashboard-summary>div:last-child{border-right:0}
.dashboard-summary span{color:#6d8580;font-size:12px}
.dashboard-summary strong{color:var(--teal);font-size:22px}
.dashboard-note{margin:0;padding:10px 18px;color:#78908a;text-align:right;font-size:11px}
.dashboard-recent{overflow:hidden;border-radius:8px}
.dashboard-recent .admin-table{min-width:890px}
.dashboard-recent .admin-table td{vertical-align:middle}
.dashboard-recent .admin-table td a{font-weight:750}
@media(max-width:900px){.dashboard-charts{grid-template-columns:1fr;gap:25px}.dashboard-chart+.dashboard-chart{padding-top:20px;border-top:1px solid var(--line);border-left:0}}
@media(max-width:650px){.dashboard-periods{display:flex;overflow-x:auto}.dashboard-period{flex:none;min-width:125px;min-height:88px}.dashboard-period strong{font-size:17px}.dashboard-charts{padding:20px 8px}.dashboard-summary strong{font-size:17px}.dashboard-summary>div{padding:14px 7px}.dashboard-note{text-align:left}}
.product-card .variant-preview{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px;color:#65776d;font-size:11px}
.product-card .variant-preview strong{width:100%;font-weight:600}
.product-card .variant-chip{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;padding:2px 6px;border:1px solid #d1dcd2;border-radius:10px;background:#fff;font-style:normal;line-height:1.2}
.product-card .variant-chip.is-color{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;border-radius:50%}
.product-badges{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}
.product-badge{display:inline-block;padding:3px 8px;border-radius:3px;color:#fff;font-size:11px;font-weight:700;line-height:1.4}
.product-detail .product-badge{font-size:12px}
.product-card .variant-chip.is-image{width:22px;height:22px;min-width:22px;min-height:22px;overflow:hidden;padding:0;border-radius:50%}
.product-card .variant-chip.is-image img{width:100%;height:100%;object-fit:cover}
.variant-value-image{display:block;width:46px;height:46px;object-fit:cover;border:1px solid #d1dcd2;border-radius:50%}
.store-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px}
.store-footer .store-identity{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.store-footer .store-powered-by{display:flex;align-items:center;justify-content:center;gap:10px;color:#7b8c83;font-size:12px;white-space:nowrap}
.store-footer .store-powered-by a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;text-decoration:none}
.store-footer .store-powered-by a:hover{opacity:.75}
.store-footer .store-powered-by img{display:block;width:96px;height:auto}
.store-footer .store-legal{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
.store-footer .store-legal a{margin:0}
.notice-with-action{display:flex;align-items:center;justify-content:space-between;gap:18px}
.notice-with-action>div{min-width:0}
.notice-with-action .notice-action{flex:none;border-color:#d7847a;color:#9d4238;white-space:nowrap}
.notice-with-action .notice-action:hover{background:#fff8f7}
@media(max-width:650px){.notice-with-action{align-items:stretch;flex-direction:column;gap:12px}.notice-with-action .notice-action{width:100%}}
.legal-pages-panel{margin-bottom:18px;padding:20px}
.legal-pages-panel h2{margin:0 0 5px;color:#176b67;font-size:18px}
.legal-pages-panel p{margin:0 0 16px;color:var(--muted)}
.legal-editor-section{margin-bottom:18px;padding:22px;scroll-margin-top:18px}
.legal-document-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}
.legal-document-heading h2{margin:0 0 5px;color:#176b67;font-size:20px}
.legal-document-heading p{margin:0;color:var(--muted);line-height:1.5}
.legal-document-heading>div:last-child{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.legal-document-heading a{font-size:12px;font-weight:700}
.legal-editor-section>label{display:block;margin-bottom:7px;color:#365256;font-size:13px;font-weight:700}
.legal-editor-section textarea{display:block;width:100%;min-height:350px;padding:14px;border:1px solid #c9dcda;border-radius:6px;background:#fff;color:#1d3d3e;line-height:1.6;outline-color:var(--teal);resize:vertical}
.legal-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 35px}
.legal-editor-footer p{max-width:730px;margin:0;color:var(--muted);line-height:1.5}
.legal-editor-footer .button{flex:none}
.legal-completion-dialog{width:min(920px,calc(100vw - 30px))}
.legal-completion-dialog .admin-dialog-body{max-height:calc(100dvh - 155px)}
.legal-completion-columns,.legal-completion-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.legal-completion-columns{padding:0 14px 10px;color:#496763;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.legal-completion-row{align-items:start;padding:14px;border-top:1px solid #dce9e5}
.legal-completion-row:nth-child(even){background:#f8fbfa}
.legal-completion-label{display:block;color:#173f3e;font-size:14px;font-weight:750;line-height:1.5}
