:root {
    --gm-purple:#7957d9; --gm-purple-dark:#6644c3; --gm-purple-pale:#f1ecff;
    --gm-text:#253040; --gm-dim:#66717e; --gm-line:#e3e5ea;
    --gm-ground:#f3f4f6; --gm-rail:60px; --gm-sub:170px; --gm-top:50px;
    font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
}
.gm-body,.gm-auth {margin:0;color:var(--gm-text);font-size:14px;background:var(--gm-ground);-webkit-font-smoothing:antialiased}
.gm-body *, .gm-auth * {box-sizing:border-box}
.gm-body [hidden],.gm-auth [hidden]{display:none!important}
.gm-body a,.gm-auth a{color:inherit;text-decoration:none}
.gm-body button,.gm-auth button,.gm-body select,.gm-auth input,.gm-body input {font:inherit}
.gm-body button,.gm-auth button{cursor:pointer}
.gm-body :focus-visible,.gm-auth :focus-visible{outline:2px solid var(--gm-purple);outline-offset:2px}
.gm-top :focus-visible,.gm-rail :focus-visible {outline-color:white}
.gm-body svg,.gm-auth svg{height:18px;width:18px;flex:none}
.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}
.gm-top{height:var(--gm-top);background:var(--gm-purple);color:white;display:flex;align-items:center;position:fixed;inset:0 0 auto;z-index:20}
.gm-brand{height:100%;display:inline-flex;align-items:center;gap:10px;padding:0 13px;font-size:18px;font-weight:600;white-space:nowrap}
.gm-mark{display:inline-grid;place-items:center;font:700 17px/1 Inter,Arial,sans-serif;color:var(--gm-purple);background:white;width:29px;height:29px;border-radius:7px}
.gm-brand small{font-size:11px;font-weight:500;color:#f2ebff;border-left:1px solid #b3a1eb;margin-left:5px;padding-left:8px}
.gm-search-zone{position:absolute;inset-inline-start:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px}
.gm-search{width:clamp(220px,30vw,458px);height:34px;display:flex;align-items:center;background:white;border-radius:4px;padding:0 6px;color:var(--gm-text)}
.gm-search select{height:25px;max-width:88px;border:0;border-right:1px solid var(--gm-line);background:white;color:var(--gm-dim);padding:0 3px;font-size:13px}
.gm-search input{border:0;min-width:30px;flex:1;background:none;outline:0;padding:0 8px;height:32px}
.gm-search button,.gm-top-actions button,.gm-quiet,.gm-rail button{background:none;border:0;color:inherit}
.gm-search button{width:29px;padding:3px;display:grid;place-items:center;color:var(--gm-purple)}
.gm-quiet{font-size:12px;padding:4px 1px;white-space:nowrap;color:white}
.gm-top-actions{margin-left:auto;display:flex;align-items:center;gap:4px;padding-right:11px}
.gm-top-actions>*{width:33px;height:34px;display:grid;place-items:center;border-radius:3px}
.gm-top-actions>*:hover,.gm-rail-item:hover,.gm-me:hover{background:#ffffff20}
.gm-rail{position:fixed;inset:var(--gm-top) auto 0 0;width:var(--gm-rail);z-index:19;background:var(--gm-purple);color:white;display:flex;flex-direction:column;align-items:stretch;overflow:auto}
.gm-me,.gm-rail-item{border:0;background:none;color:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:64px;width:100%;font-size:12px;text-decoration:none}
.gm-rail .gm-me{padding:5px 2px 8px;min-height:72px;border-bottom:1px solid #ffffff24}
.gm-me>span:last-child {max-width:57px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eee7ff;color:#623eb2;font-weight:700;font-size:16px}
.gm-rail-item.is-active{background:var(--gm-purple-dark)}
.gm-rail-item svg{width:20px;height:20px}
.gm-subnav{position:fixed;inset:var(--gm-top) auto 0 var(--gm-rail);width:var(--gm-sub);padding:9px 0;background:#fafbfc;border-right:1px solid var(--gm-line);z-index:15;overflow:auto}
.gm-nav-head{display:flex;align-items:center;justify-content:space-between;height:36px;padding:0 10px 0 17px}
.gm-nav-head strong{font-size:14px}
.gm-nav-head button,.gm-tile-foot button,.gm-controls>button,.gm-viewtabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;color:#657181;background:none;padding:3px}
.gm-nav-head button:hover,.gm-viewtabs button:hover{color:var(--gm-purple)}
.gm-subnav nav a{display:flex;align-items:center;gap:9px;padding:0 14px;height:35px;font-size:13px;border-left:3px solid transparent}
.gm-subnav nav a:hover,.gm-subnav nav a.is-selected{background:var(--gm-purple-pale);color:var(--gm-purple-dark);border-left-color:var(--gm-purple)}
.gm-common-customer-groups:empty{display:none}
.gm-side-group summary{cursor:pointer;min-height:35px;display:flex;align-items:center;gap:7px;padding:0 12px 0 22px;font-size:13px}
.gm-side-group summary::before{content:'›';color:var(--gm-purple);font-size:17px;line-height:1}
.gm-side-group[open] summary::before{transform:rotate(90deg)}
.gm-side-group summary:hover{background:var(--gm-purple-pale);color:var(--gm-purple-dark)}
.gm-subnav nav .gm-side-group-list a{justify-content:space-between;min-height:35px;height:auto;padding-inline-start:31px}
.gm-side-group-list a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-side-group-list :is(small,p){color:var(--gm-dim);font-size:11px}.gm-side-group-list p{margin:7px 14px}
.gm-subnav svg{width:15px;height:15px}
.gm-main{margin:var(--gm-top) 0 0 var(--gm-rail);min-height:calc(100vh - var(--gm-top));min-width:0}
.gm-main.has-subnav{margin-left:calc(var(--gm-rail) + var(--gm-sub))}
.gm-body[data-dashboard-drill="1"] > :is(.gm-top,.gm-rail,.gm-subnav,.gm-profile){display:none}
.gm-body[data-dashboard-drill="1"] > #workspace{margin:0;min-height:100vh}
.gm-simple-menu-toggle{display:none}
.gm-body[data-menu-mode="simple"] .gm-profile{left:auto;right:10px}
.gm-body[data-menu-mode="simple"] .gm-simple-nav{position:fixed;inset:var(--gm-top) auto 0 0;margin:0;width:170px;display:block;padding:0;overflow:auto;overscroll-behavior:contain;border:0;border-inline-end:1px solid var(--gm-line)}
.gm-body[data-menu-mode="simple"] .gm-simple-nav nav{display:block;min-width:0;overflow:visible}
.gm-simple-nav nav+nav{border-top:1px solid var(--gm-line);margin-top:3px;padding-top:3px}
.gm-simple-nav nav a{min-height:45px;height:auto;padding:7px 11px 7px 16px;gap:8px;overflow-wrap:anywhere}
.gm-simple-nav nav a svg{width:18px;height:18px}
.gm-body[data-menu-mode="simple"] > .gm-main{margin:var(--gm-top) 0 0 170px;min-height:calc(100vh - var(--gm-top))}
.gm-profile{position:fixed;top:var(--gm-top);left:var(--gm-rail);z-index:31;min-width:168px;padding:13px 0;background:white;border:1px solid var(--gm-line);border-radius:5px;box-shadow:0 8px 24px #26213b24}
.gm-profile strong,.gm-profile small,.gm-profile a,.gm-profile form button{display:block;padding:5px 16px;font-size:13px}
.gm-profile small {color:var(--gm-dim);font-size:12px;margin-bottom:7px}
.gm-profile a:hover,.gm-profile form button:hover{color:var(--gm-purple);background:var(--gm-purple-pale)}
.gm-profile form button{width:100%;text-align:left;border:0;background:none}
.gm-viewtabs{min-height:60px;padding:9px 15px;display:flex;align-items:center;gap:7px;background:white;border-bottom:1px solid var(--gm-line)}
.gm-viewtabs>a{height:33px;display:inline-flex;align-items:center;padding:0 15px;color:var(--gm-dim);border-radius:4px;font-size:14px}
.gm-viewtabs>a.is-selected{color:var(--gm-purple);background:var(--gm-purple-pale);font-weight:600}
.gm-viewtabs button{font-size:12px;margin-left:3px}
.gm-viewtabs button svg{width:14px;height:14px}
.gm-dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(23rem,calc((100% - 10px) / 2))),1fr));gap:10px;padding:10px;align-items:stretch}
.gm-tile{background:white;border:1px solid #e8e9ec;border-radius:4px;position:relative;min-width:0;min-height:clamp(310px,44.7vh,468px);padding:22px 25px 35px;display:flex;flex-direction:column;scroll-margin-top:58px}
.gm-tile header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;min-height:30px;margin-bottom:13px}
.gm-tile h2,.gm-dialog h2{font-size:16px;line-height:1.45;font-weight:600;color:#242a34;margin:0}
.gm-controls,.gm-period{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;max-width:100%}
.gm-controls{margin-inline-start:auto;justify-content:flex-end}
.gm-controls select,.gm-controls input{border:1px solid #e2e4e9;border-radius:4px;background:white;font-size:12px;color:#566171;padding:3px 7px;max-width:125px;height:27px}
.gm-controls>button{width:26px;height:26px}
.gm-controls>button:hover,.gm-tile-foot button:hover{color:var(--gm-purple)}
.gm-controls svg{width:15px;height:15px}
.gm-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7.3rem),1fr));gap:10px;margin-top:12px;align-items:stretch}
.gm-metric{--metric:#7957d9;display:block;background:#fff;border:1px solid #e7e9ee;border-radius:4px;text-align:center;padding:21px 5px 14px;min-width:0}
.gm-metric.green{--metric:#369a7c}.gm-metric.orange{--metric:#d78c2b}.gm-metric.blue{--metric:#6582c7}
.gm-metric:hover{border-color:var(--metric);box-shadow:0 2px 10px #453d5c0b}
.gm-metric b{display:block;font-size:clamp(18px,1.55vw,28px);line-height:1.2;overflow-wrap:anywhere;color:var(--metric);font-weight:520;font-variant-numeric:tabular-nums}
.gm-metric span{border-top:1px solid #eceef2;margin-top:13px;padding-top:11px;display:flex;justify-content:center;align-items:center;gap:5px;color:#606d77;font-size:13px}
.gm-metric svg{color:var(--metric);width:14px;height:14px}
.gm-month-hint{color:var(--gm-dim);margin:0 0 4px;font-size:12px}
.gm-month-hint a{color:var(--gm-purple);text-decoration:underline;text-underline-offset:3px}
.gm-visit-metrics-title{margin:20px 0 8px;font-size:14px;color:#42465b}
.gm-visit-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7.3rem),1fr));gap:6px}
.gm-visit-metrics a{display:flex;flex-direction:column;gap:5px;padding:10px 8px;min-width:0;border-radius:4px;background:var(--gm-purple-pale);color:#595365}
.gm-visit-metrics a:hover,.gm-visit-metrics a:focus-visible{outline:1px solid var(--gm-purple)}
.gm-visit-metrics b{font-size:19px;color:var(--gm-purple);font-variant-numeric:tabular-nums}
.gm-visit-metrics span{font-size:12px;line-height:1.4}
@media(max-width:480px){.gm-visit-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.gm-tile-foot{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:auto;padding-top:13px;color:#939aa5;font-size:11px}
.gm-tile-foot button{width:18px;height:18px}.gm-tile-foot svg{width:13px;height:13px}
.gm-chart-label{color:#74808d;font-size:13px;line-height:1.7;margin:7px 0 13px}
.gm-empty{flex:1;min-height:95px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#9aa2ad;font-size:13px}
.gm-empty svg{height:34px;width:34px;color:#c7cbd4}
.gm-goal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 7%;flex:1;padding:8px}
.gm-ring{flex:none;width:clamp(108px,9vw,145px);max-width:100%;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--gm-purple) var(--p),#eeeaf8 0);padding:11px}
.gm-ring div{border-radius:50%;width:100%;height:100%;background:white;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;gap:4px}
.gm-ring b{max-width:100%;overflow-wrap:anywhere;text-align:center;font:600 clamp(15px,1.4vw,22px)/1.1 Inter,sans-serif}
.gm-ring span,.gm-goal-data span{font-size:12px;color:var(--gm-dim)}
.gm-goal-data{display:grid;min-width:0;max-width:100%;gap:9px;overflow-wrap:anywhere}.gm-goal-data h3{font-size:14px;margin:0 0 4px}.gm-goal-data b{color:var(--gm-text);font-weight:500;margin-left:8px}
.gm-rank,.gm-funnel{display:flex;align-items:center;gap:10px;margin:8px 0;font-size:13px}
.gm-rank-num{display:grid;place-items:center;width:21px;height:21px;color:var(--gm-purple);background:var(--gm-purple-pale);border-radius:50%}
.gm-rank strong,.gm-funnel span{font-weight:500;flex:0 1 115px;min-width:0;max-width:35%;overflow-wrap:anywhere}.gm-rank>b,.gm-funnel>b{max-width:25%;overflow-wrap:anywhere}.gm-rank>div,.gm-funnel>div{flex:1;min-width:0;background:#f3f1f8;height:7px;border-radius:4px}
.gm-rank i,.gm-funnel i{display:block;background:var(--gm-purple);height:100%;min-width:3px;border-radius:4px}.gm-funnel>div,.gm-funnel i{height:16px}
.gm-remind-page .gm-tile{grid-column:1/-1;min-height:390px}.gm-tabs{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--gm-line)}
.gm-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:9px 6px;font-size:13px;color:var(--gm-dim)}
.gm-tabs button[aria-selected=true]{color:var(--gm-purple);border-color:var(--gm-purple)}
.gm-remind-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--gm-line);padding:11px 4px}.gm-remind-row:hover,.gm-more{color:var(--gm-purple)!important}
.gm-remind-row span{min-width:0;overflow-wrap:anywhere}.gm-remind-row small{flex:none;color:var(--gm-dim)}.gm-more{display:inline-block;margin-top:12px;font-size:13px}
.gm-notice,.gm-error,.gm-auth-alert{margin:10px;padding:10px 14px;border-radius:4px;color:#236a4f;background:#edf8f2;font-size:13px}
.gm-error,.gm-auth-alert{color:#a33c39;background:#fff1f0}
.gm-dialog{max-width:calc(100vw - 26px);width:395px;padding:23px;border:1px solid var(--gm-line);border-radius:8px;color:var(--gm-text);box-shadow:0 12px 60px #1e163040}
.gm-dialog::backdrop{background:#211c323c}.gm-dialog h2{margin:0 0 17px}.gm-dialog p{font-size:13px;color:var(--gm-dim)}
.gm-dialog label,.gm-auth form>label{display:flex;flex-direction:column;gap:7px;margin:13px 0;font-size:13px}
.gm-dialog input:not([type=checkbox]),.gm-dialog select,.gm-auth form>label input{border:1px solid #d5d8df;border-radius:4px;padding:8px 11px;color:var(--gm-text);width:100%;background:white;min-height:34px}
.gm-dialog .gm-check{flex-direction:row;align-items:center;gap:7px}.gm-body input[type=checkbox],.gm-auth input[type=checkbox]{accent-color:var(--gm-purple)}
.gm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.gm-actions button{background:white;color:var(--gm-text);border:1px solid var(--gm-line);border-radius:4px;padding:7px 16px}
.gm-actions button.gm-primary,.gm-primary{background:var(--gm-purple);border:1px solid var(--gm-purple);color:white}
.gm-auth{min-height:100dvh;background:#f5f4f9;display:flex;flex-direction:column}
.gm-auth>header{display:flex;align-items:center;gap:11px;height:68px;padding:0 5%;color:white;background:#422e76}
.gm-auth>header strong{font-size:18px}.gm-auth>header small{font-size:12px;opacity:.8;border-left:1px solid #ffffff55;padding-left:11px}
.gm-auth main{flex:1;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:34px 14px}
.gm-auth-card{width:min(100%,410px);padding:34px;background:white;border:1px solid #e2deeb;border-radius:12px;box-shadow:0 12px 40px #2720330b}
.gm-auth-icon{width:42px;height:42px;background:var(--gm-purple-pale);color:var(--gm-purple);border-radius:10px;display:grid;place-items:center}
.gm-auth-icon svg{width:22px;height:22px}.gm-auth-card h1{font-size:24px;margin:17px 0 7px;font-weight:630;letter-spacing:-.02em}
.gm-auth-card p{font-size:13px;color:var(--gm-dim);margin:0 0 24px}
.gm-auth form>label input{height:42px}.gm-password{display:block;position:relative}.gm-password input{padding-right:40px!important}
.gm-password button{position:absolute;right:3px;top:0;height:100%;width:37px;border:0;background:none;color:#7b7587;display:grid;place-items:center}
.gm-auth-options{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:12px 0 21px}
.gm-auth-options label{display:flex;align-items:center;gap:5px}.gm-auth-options a{color:var(--gm-purple)}
.gm-auth-submit{width:100%;height:42px;border-radius:5px;color:white;border:0;background:var(--gm-purple);font-weight:600!important}.gm-auth-submit:hover{background:var(--gm-purple-dark)}
.gm-auth-alert{margin:0 0 12px}.gm-auth footer{text-align:center;color:#7c748b;font-size:12px;padding:14px}
@media(max-width:1000px){.gm-tile{padding:16px 15px 20px}.gm-search-zone{inset-inline-start:54%}.gm-brand small{display:none}.gm-metric span{font-size:11px}.gm-metric{padding:16px 3px 11px}.gm-metrics{gap:5px}.gm-top-actions{gap:0}.gm-quiet{font-size:11px}.gm-controls select,.gm-controls input{max-width:108px}.gm-search{width:clamp(160px,22vw,280px)}}
@media(max-width:760px){:root{--gm-rail:52px;--gm-sub:146px}.gm-dash-grid{grid-template-columns:1fr}.gm-top-actions>a:not(:first-child){display:none}.gm-search-zone{inset-inline-start:auto;right:78px;transform:none}.gm-quiet{display:none}.gm-brand{font-size:14px;gap:6px;padding:0 6px}.gm-search{width:clamp(110px,29vw,220px)}.gm-metric b{font-size:18px}.gm-tile{min-height:240px}.gm-main.has-subnav{margin:0 0 0 var(--gm-rail)}.gm-rail-item{min-height:53px}.gm-mark{width:23px;height:23px;font-size:14px}.gm-remind-page .gm-tile{min-height:280px}}
@media(max-width:760px){
    .gm-body[data-menu-mode="simple"] .gm-simple-nav{display:none;z-index:21;width:min(200px,calc(100vw - 28px));box-shadow:6px 0 20px #21194324}
    .gm-body[data-menu-mode="simple"][data-simple-menu-open] .gm-simple-nav{display:block}
    .gm-body[data-menu-mode="simple"] > .gm-main{margin-left:0}
    .gm-body[data-menu-mode="simple"] .gm-simple-menu-toggle{display:grid;place-items:center;flex:0 0 30px;align-self:stretch;background:none;color:white;border:0}
    .gm-body[data-menu-mode="simple"] .gm-search{width:clamp(108px,28vw,220px)}
    .gm-body[data-menu-mode="simple"] .gm-brand{gap:4px;padding-inline:3px}
}
@media(max-width:760px){
    .gm-subnav{position:relative;inset:auto;margin:var(--gm-top) 0 0 var(--gm-rail);width:auto;display:flex;align-items:stretch;padding:0;border:0;border-bottom:1px solid var(--gm-line);overflow:visible}
    .gm-nav-head{height:auto;flex:none;gap:3px;padding:0 5px;border-right:1px solid var(--gm-line)}
    .gm-subnav nav{display:flex;min-width:0;overflow-x:auto;align-items:stretch}
    .gm-subnav nav a{flex:none;height:38px;padding:0 8px;border-left:0;border-bottom:2px solid transparent}
    .gm-subnav nav a.is-selected{border-bottom-color:var(--gm-purple)}
    .gm-common-customer-groups{display:flex;align-items:flex-start;flex:none}
    .gm-side-group summary{padding:0 8px;white-space:nowrap;min-height:38px}
    .gm-subnav nav .gm-side-group-list a{padding-inline-start:8px}
}
@media(max-width:400px){.gm-brand{font-size:12px}.gm-top .gm-mark{display:none}.gm-tile header{flex-wrap:wrap}.gm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-search select{max-width:48px}}

.gm-chart-group{display:flex;gap:16px;align-items:center;margin:12px 0 14px;font-size:13px}
.gm-chart-group a{padding:4px 0;color:var(--gm-dim);border-bottom:2px solid transparent}
.gm-chart-group .is-selected{color:var(--gm-purple-dark);border-color:var(--gm-purple)}
a.gm-funnel:hover span{color:var(--gm-purple-dark);text-decoration:underline}
.gm-funnel i[style="width:0%"]{min-width:0}
