/* Landing page: the reference layout with the customer's own colour palette. */
.wh-home{display:flex;flex-direction:column;gap:26px;min-width:0;color:var(--text);font-family:Poppins,system-ui,sans-serif;padding-bottom:18px}
.wh-home button,.wh-home input,.wh-home select{font:inherit}.wh-home button{cursor:pointer}.wh-home button:disabled{opacity:.5;cursor:default}.wh-home button:focus-visible,.wh-home input:focus-visible,.wh-home select:focus-visible{outline:2px solid var(--brand,#a75d78);outline-offset:3px}.wh-home .positive{color:#178b80}.wh-home .negative{color:#d64b5b}
.wh-home h2,.wh-home h3,.wh-home p{margin:0}.wh-home h2{font-size:14px;font-weight:600;letter-spacing:-.2px}.wh-home h3{font-size:15px;font-weight:600}.wh-home p{font-size:12px;line-height:1.55;color:var(--muted-text)}.wh-home .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wh-market-banner{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);min-height:76px}.wh-market-banner>div{flex:1;min-width:0}.wh-market-banner small{font-size:10px;color:var(--muted-text)}.wh-market-banner h2{font-weight:500;margin:2px 0}.wh-banner-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:linear-gradient(145deg,var(--brand-faint,#f7e9ef),var(--surface));color:var(--brand-deep,#7f3353)}
.wh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:8px;min-height:34px;padding:8px 12px;background:var(--surface);color:var(--text);font-size:11px!important;font-weight:500!important;white-space:nowrap}.wh-button.primary{background:var(--brand,#a75d78);border-color:var(--brand,#a75d78);color:white}.wh-button:hover{filter:brightness(.96)}.wh-dismiss,.wh-refresh{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:var(--muted-text)}.wh-dismiss:hover,.wh-refresh:hover{background:var(--surface-2)}
.wh-filters-row{display:flex;align-items:center;gap:8px;margin-top:-8px;margin-bottom:-14px}.wh-filters-row>p{flex:1;font-size:11px}.wh-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:31px;max-width:70%;font-size:10px!important;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted-text);padding:6px 10px}.wh-filters{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.5fr auto;align-items:end;gap:12px;border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--surface)}.wh-filters label{display:flex;flex-direction:column;gap:7px;min-width:0}.wh-filters label>span{font-size:11px;color:var(--muted-text)}.wh-filters input,.wh-filters select{min-height:36px;min-width:0;width:100%;font-size:11px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:7px;padding:7px}
.wh-primary-grid{display:grid;grid-template-columns:minmax(0,1.86fr) minmax(320px,1fr);gap:16px;align-items:stretch}.wh-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px #33202a0d;padding:20px;min-width:0;display:flex;flex-direction:column;gap:14px}.wh-card-heading{display:flex;align-items:center;gap:10px;min-width:0;min-height:36px}.wh-card-heading>div{flex:1;min-width:0}.wh-card-heading p{font-size:10px;line-height:1.4}.wh-heading-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:var(--brand,#a75d78);background:color-mix(in srgb,var(--brand,#a75d78) 6%,var(--surface))}.wh-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:3px 0;border:0;background:transparent;color:var(--brand-deep,#7f3353);font-size:10px!important;font-weight:500!important;white-space:nowrap;text-decoration:none}.wh-link:hover{text-decoration:underline}
.wh-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wh-metric{min-width:0;border:1px solid color-mix(in srgb,var(--line) 70%,var(--surface));border-left:3px solid #436fce;border-radius:9px;padding:10px 11px;display:flex;flex-direction:column;gap:3px;min-height:84px}.wh-metric>span{font-size:11px;color:var(--muted-text)}.wh-metric>strong{font-size:15px;font-weight:700;line-height:1.55;color:var(--brand-deep,#7f3353);white-space:nowrap}.wh-metric.net{border-left-color:var(--brand,#a75d78)}.wh-metric.ticket{border-left-color:#178b80}.wh-metric.ticket>strong{color:#178b80}.wh-metric small{font-size:9px;display:flex;align-items:center;gap:3px;color:var(--muted-text)}.wh-metric small>span{color:var(--muted-text);font-size:8px}.wh-metric small.positive{color:#178b80}.wh-metric small.negative{color:#d64b5b}
.wh-chart{margin-top:0;padding-top:10px;border-top:1px solid var(--line);flex:1;min-width:0;position:relative}.wh-chart-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.wh-chart-controls>span{font-size:9px;color:var(--muted-text)}.wh-revenue-toggle{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:20px;padding:4px 8px;color:var(--muted-text);font-size:9px!important;background:var(--surface)}.wh-revenue-toggle.active{color:var(--brand-deep);background:var(--brand-faint);border-color:var(--brand)}.wh-revenue-toggle svg{width:9px;height:9px;fill:currentColor}.wh-chart .wg-chart{gap:8px}.wh-chart .wg-chart-toolbar{margin:0;justify-content:center}.wh-chart .wg-chart-legend{gap:5px;justify-content:center}.wh-chart .wg-legend-button{padding:5px 7px;font-size:9px;min-height:25px}.wh-chart .wg-chart-scroll{border:0;border-radius:0}.wh-chart .wg-chart-scroll svg{width:100%;min-width:0;height:auto}.wh-chart .wg-chart-readout{min-height:27px;font-size:9px;background:transparent;border:0;padding:3px 0;gap:6px;line-height:1.5}.wh-chart .wg-chart-readout b{font-size:9px}.wh-chart .wg-axis-title{font-size:9px}.wh-sales-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px;min-height:30px;gap:8px;margin-top:auto}.wh-sales-footer>span{font-size:9px;color:var(--muted-text)}
.wh-profit>span{display:block;font-size:11px;color:var(--muted-text);margin-bottom:4px}.wh-profit>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wh-profit strong{font-size:22px;color:#178b80;line-height:1.35;font-weight:700}.wh-profit small{font-size:9px;padding:3px 6px;border-radius:5px;color:#178b80;background:#178b8010}.wh-profit.loss strong,.wh-profit.loss small{color:#d64b5b}.wh-profit.loss small{background:#d64b5b12}.wh-money-bar{height:32px;display:flex;border-radius:7px;overflow:hidden;background:var(--surface-2);gap:2px;flex-shrink:0}.wh-money-bar>span{min-width:0}.wh-deficit{color:#d64b5b!important;font-size:10px!important}.wh-money-list{display:flex;flex-direction:column;padding:10px 0 0;margin:0;list-style:none;flex:1}.wh-money-list li{display:flex;align-items:center;gap:8px;padding:18px 0;border-bottom:1px solid var(--line);min-width:0}.wh-money-list li:last-child{border-bottom:0}.wh-money-list i{width:9px;height:9px;border-radius:50%;flex-shrink:0}.wh-money-list li>div{flex:1;min-width:0}.wh-money-list li>div>span{display:block;font-size:11px}.wh-money-list li>div>small{display:block;color:var(--muted-text);font-size:8px;line-height:1.4}.wh-money-list strong{font-size:12px;white-space:nowrap}.wh-money-list li>small{min-width:27px;text-align:right;color:var(--subtle-text);font-size:8px}.wh-notice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-left:3px solid var(--brand,#a75d78);border-radius:8px;padding:9px;font-size:10px;color:var(--muted-text);min-height:45px;line-height:1.5}.wh-notice svg{flex-shrink:0;color:var(--brand)}.wh-notice>span{flex:1}.wh-notice.warning{border-left-color:#e59955}.wh-notice.warning svg,.wh-notice.warning .wh-link{color:#a05e22}
.wh-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:0}.wh-shortcut{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-size:11px!important;font-weight:500!important;min-height:38px;box-shadow:0 1px 1px #33202a08;padding:8px}.wh-shortcut svg{color:var(--brand)}.wh-shortcut:hover{background:var(--brand-faint)}.wh-shortcuts:empty{display:none}.wh-audit{margin-top:-10px}.wh-audit .wf-order-audit{padding:12px 18px}.wh-audit .wf-order-audit>summary{font-size:11px}
.wh-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.wh-section-heading h2{font-size:15px}.wh-section-heading p{font-size:11px;margin-top:2px}.wh-tools-grid{display:grid;grid-template-columns:1.7fr repeat(3,minmax(0,1fr));gap:14px}.wh-tool{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.wh-tool-art{display:grid;place-items:center;position:relative;background:linear-gradient(140deg,var(--brand-faint,#f7e9ef),var(--surface-2));height:122px;color:var(--brand,#a75d78)}.wh-tool-art>svg{background:var(--surface);padding:14px;width:70px;height:70px;border-radius:18px;box-shadow:0 12px 28px #7c425214;z-index:1}.wh-tool:nth-child(3) .wh-tool-art{background:#436fce10;color:#436fce}.wh-tool:nth-child(4) .wh-tool-art{background:#178b8010;color:#178b80}.wh-tool-content{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;flex:1}.wh-tool-tag{font-size:9px;padding:3px 7px;border-radius:6px;color:var(--brand-deep);background:var(--brand-faint)}.wh-tool h3{font-size:13px;line-height:1.5}.wh-tool p{font-size:10px;line-height:1.6;margin-bottom:8px}.wh-tool .wh-button{margin-top:auto;min-height:32px;font-size:10px!important;align-self:stretch}.wh-tool.featured{background:var(--brand-deep,#71354f);border-color:var(--brand-deep,#71354f);color:white;position:relative}.wh-tool.featured .wh-tool-art{background:linear-gradient(135deg,#ffffff08,#ffffff16);height:122px;color:white;overflow:hidden}.wh-tool.featured .wh-tool-art:before,.wh-tool.featured .wh-tool-art:after{content:'';position:absolute;width:310px;height:150px;border:24px solid #ffffff0b;border-radius:50%;transform:rotate(-25deg);left:8%;top:30px}.wh-tool.featured .wh-tool-art:after{left:50%;top:-45px}.wh-tool.featured .wh-tool-art>svg{background:#ffffff17;box-shadow:0 10px 20px #00000014}.wh-tool.featured h3{font-size:17px}.wh-tool.featured p{color:#ffffffc7;font-size:11px}.wh-tool.featured .wh-tool-tag{color:white;background:#ffffff20}.wh-tool.featured .wh-button{background:white;color:var(--brand-deep);border-color:white}
.wh-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wh-task-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:4px 0}.wh-task-counts>div{min-width:0}.wh-task-counts span{display:block;font-size:10px;color:var(--muted-text);margin-bottom:5px}.wh-task-counts strong{display:block;font-size:24px;font-weight:600;color:var(--text)}.wh-task-counts strong>small{font-size:10px;color:var(--muted-text);font-weight:400}.wh-task-note{padding-top:10px;border-top:1px solid var(--line)}.wh-task-links{display:flex;justify-content:space-between;gap:10px;margin-top:auto}.wh-heatmap{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:5px;padding-top:7px}.wh-heatmap>span{height:28px;border-radius:4px;background:var(--surface-2);border:1px solid var(--line);position:relative}.wh-heatmap>span.active{background:var(--brand,#a75d78);border-color:var(--brand,#a75d78)}.wh-heatmap>span small{position:absolute;top:31px;left:50%;transform:translateX(-50%);font-size:7px;color:var(--muted-text);white-space:nowrap}.wh-heatmap>span:nth-child(even) small{display:none}.wh-heatmap-footer{display:flex;justify-content:space-between;align-items:center;font-size:8px;gap:10px;color:var(--muted-text);margin-top:18px}.wh-heatmap-footer>span:last-child{display:flex;align-items:center;gap:5px}.wh-heatmap-footer i{width:9px;height:9px;border:1px solid var(--line);border-radius:2px;background:var(--surface-2)}.wh-heatmap-footer i.active{background:var(--brand,#a75d78)}
.wh-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:45px 20px;min-height:350px;text-align:center;color:var(--muted-text)}.wh-empty strong{font-size:13px;color:var(--text)}.wh-empty p{max-width:360px;font-size:11px}.wh-empty>svg{color:var(--brand)}.wh-empty.compact{min-height:300px;flex:1}
@media(min-width:1700px){.wh-home{max-width:1510px;margin:0 auto}.wh-primary-grid{grid-template-columns:minmax(0,1fr) 420px}.wh-chart .wg-chart-scroll svg{max-height:300px}}
@media(max-width:1250px){.wh-primary-grid{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}.wh-money .wh-card-heading{flex-wrap:wrap}.wh-money .wh-card-heading>.wh-link{margin-left:44px;min-height:17px}.wh-metrics{gap:7px}.wh-metric{padding:9px}.wh-metric>strong{font-size:13px}.wh-tools-grid{grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:10px}.wh-tool-content{padding:13px}.wh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-filters>.wh-button{grid-column:1/-1}}
@media(max-width:1040px){.wh-primary-grid{grid-template-columns:1fr}.wh-money .wh-card-heading{flex-wrap:nowrap}.wh-money .wh-card-heading>.wh-link{margin-left:0}.wh-money-list li{padding:14px 0}.wh-money{gap:14px}.wh-profit>div{gap:12px}.wh-chart .wg-chart-scroll svg{max-height:295px}.wh-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-tool.featured{grid-column:span 2}.wh-tool.featured .wh-tool-art{height:115px}.wh-bottom-grid{grid-template-columns:1fr}.wh-shortcuts{gap:8px}.wh-shortcut{font-size:10px!important}}
@media(max-width:620px){.wh-home{gap:22px}.wh-card{padding:16px;gap:14px}.wh-market-banner{padding:12px;gap:10px;flex-wrap:wrap}.wh-market-banner>div{flex-basis:calc(100% - 64px)}.wh-market-banner>.wh-button{margin-left:50px}.wh-market-banner>.wh-dismiss{margin-left:auto}.wh-market-banner p{font-size:10px}.wh-filters-row{flex-wrap:wrap;gap:6px;margin:0 0 -8px}.wh-filters-row>p{flex-basis:100%;font-size:10px}.wh-filter-button{max-width:calc(100% - 38px);font-size:9px!important}.wh-filters{padding:12px;gap:10px}.wh-filters label:last-of-type{grid-column:1/-1}.wh-metrics{gap:6px}.wh-metric{padding:8px 7px;border-left-width:2px;min-height:77px}.wh-metric>span{font-size:9px;line-height:1.4;min-height:25px}.wh-metric>strong{font-size:11px}.wh-metric small{font-size:8px;flex-wrap:wrap;line-height:1.25;min-height:20px}.wh-metric small>span{font-size:7px}.wh-card-heading h2{font-size:12px}.wh-card-heading p{font-size:9px}.wh-heading-icon{width:30px;height:30px}.wh-heading-icon svg{width:16px}.wh-chart-controls{flex-wrap:wrap}.wh-revenue-toggle{font-size:8px!important}.wh-chart .wg-legend-button{font-size:8px;padding:4px 5px}.wh-chart .wg-chart-readout{font-size:8px}.wh-chart .wg-chart-scroll svg{height:210px;max-height:none}.wh-sales-footer{flex-wrap:wrap}.wh-sales-footer>span{font-size:8px}.wh-sales-footer>.wh-link{margin-left:auto}.wh-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-shortcut{min-height:38px}.wh-money-list strong{font-size:11px}.wh-money-list li>div>span{font-size:10px}.wh-notice{font-size:9px;padding:9px 7px}.wh-notice .wh-link{font-size:8px!important}.wh-money .wh-card-heading>.wh-link{font-size:8px!important}.wh-tools-grid{gap:10px}.wh-tool{border-radius:16px}.wh-tool-art{height:100px}.wh-tool-content{padding:12px;gap:7px}.wh-tool h3{font-size:11px}.wh-tool p{font-size:9px}.wh-tool.featured h3{font-size:16px}.wh-tool.featured p{font-size:10px}.wh-tool.featured .wh-tool-art{height:110px}.wh-task-counts strong{font-size:23px}.wh-task-counts span{font-size:9px}.wh-heatmap{gap:4px}.wh-heatmap>span{height:23px}.wh-heatmap>span small{top:27px;font-size:6px}.wh-heatmap-footer{font-size:7px}.wh-empty{min-height:300px;padding:30px 14px}.wh-empty.compact{min-height:220px}}
:root[data-theme=dark] .wh-card,:root[data-theme=dark] .wh-shortcut{box-shadow:none}:root[data-theme=dark] .wh-tool.featured{background:color-mix(in srgb,var(--brand-deep,#71354f) 60%,#171317)}
.wh-home .wh-audit{width:100%;max-width:none;margin:-10px 0 0;padding:0;display:block}.wh-home .wh-audit>.wf-order-audit{margin:0;width:100%;padding:12px 16px}.wh-home .wh-chart .wg-chart-scroll>.wg-plot{width:100%!important;height:auto!important;min-width:0;max-width:100%!important}.wh-home .wh-chart .wg-chart-scroll{overflow-x:hidden}
@media(max-width:620px){.wh-tools-grid>.wh-tool:last-child:nth-child(even){grid-column:span 2}}
