.gc-page{min-height:100vh;padding:14px;background:#fff}.gc-workspace{min-width:0;display:flex;flex-direction:column;gap:10px}.gc-workspace .workspace-brand-row{order:0}.gc-utility-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.gc-quick-add{min-width:118px;color:var(--muted);background:var(--panel-soft)}.gc-quick-add:disabled{cursor:not-allowed;opacity:.62}.gc-language{display:inline-grid;grid-template-columns:42px 48px;border:1px solid var(--line);border-radius:4px;overflow:hidden}.gc-language button{min-height:34px;border:0;border-radius:0;font-size:12px;font-weight:800}.gc-language button+button{border-left:1px solid var(--line)}.gc-language button.active{color:#fff;background:var(--botball-red)}.gc-profile-bar{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(190px,1fr) repeat(4,auto) minmax(140px,auto);gap:7px;align-items:center}.gc-profile-name input,.gc-profile-bar select{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:0 10px}.gc-profile-bar button{min-width:54px;padding:0 9px;text-transform:uppercase;font-size:11px;font-weight:800}.gc-danger{border-color:#efb5bb;color:var(--botball-red-dark);background:#fff3f4}.gc-sync-state{min-width:0;color:var(--muted);font-size:12px;line-height:1.25;overflow-wrap:anywhere}.gc-sync-state.saving{color:#8a5a00}.gc-sync-state.unsynced{color:var(--botball-red-dark);font-weight:700}.gc-sync-state.saved{color:#267344}.gc-mobile-summary-row{display:none}.gc-content{min-height:0;height:calc(100vh - 182px);display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:14px;border-top:2px solid var(--line)}.gc-category-strip{min-width:0;min-height:0;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px) / 3);gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-gutter:stable}.gc-category{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border-right:1px solid var(--line);scroll-snap-align:start}.gc-category-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:3px solid var(--botball-red);background:#fff}.gc-category-header h2{margin:0;color:var(--ink);font-size:17px;line-height:1.2;letter-spacing:0}.gc-category-header span{flex:0 0 auto;color:var(--muted);font-size:12px;font-weight:800}.gc-section-list{min-height:0;overflow-y:auto;padding:7px 10px 18px 2px}.gc-section+.gc-section{margin-top:9px}.gc-section-header{min-height:36px;display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:7px;align-items:center;padding:6px 7px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafafa}.gc-section-marker{width:8px;height:8px;border:2px solid var(--botball-red);background:#fff}.gc-section-header h3{min-width:0;margin:0;color:var(--ink);font-size:13px;line-height:1.25;letter-spacing:0;overflow-wrap:anywhere}.gc-section-progress{color:var(--muted);font-size:11px;font-weight:800}.gc-item-list{padding:1px 0 4px 13px}.gc-item{width:100%;min-height:58px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid transparent;border-bottom-color:var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:14px;line-height:1.3;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.gc-item:hover{background:#fff7f8}.gc-item input{width:24px;height:24px;margin:0;accent-color:var(--botball-red)}.gc-item:has(input:disabled){color:var(--muted);cursor:not-allowed}.gc-item.completed span{color:var(--muted);text-decoration:line-through;text-decoration-thickness:2px}.gc-item.highlighted{border-color:var(--botball-red);background:#fff1f3;box-shadow:0 0 0 3px #c8203229}.gc-incomplete-panel{min-width:0;overflow-y:auto;padding:10px 0 12px 12px;border-left:2px solid var(--botball-red);background:#fff}.gc-incomplete-heading{margin:0 0 8px;color:var(--botball-red);font-size:12px;font-weight:900;text-transform:uppercase}.gc-incomplete-list{display:flex;flex-direction:column;gap:6px}.gc-incomplete-list button{width:100%;min-height:50px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:7px 9px;text-align:left;border-left:3px solid var(--line-strong);background:#fff}.gc-incomplete-list button:hover{border-left-color:var(--botball-red)}.gc-incomplete-list button span{color:var(--muted);font-size:11px;line-height:1.2;overflow-wrap:anywhere}.gc-incomplete-list button strong{font-size:13px;line-height:1.25}.gc-all-complete{color:#267344;font-size:14px;font-weight:700}.gc-incomplete-modal{max-width:560px}@media(max-width:1180px)and (min-width:821px){.gc-profile-bar{grid-template-columns:minmax(150px,1fr) minmax(160px,1fr) repeat(4,auto)}.gc-sync-state{grid-column:1 / -1;text-align:right}.gc-content{height:calc(100vh - 206px);grid-template-columns:minmax(0,1fr) 250px}.gc-category-strip{grid-auto-columns:calc((100% - 16px) / 3);gap:8px}}@media(max-width:820px){.gc-page{height:100dvh;min-height:0;overflow:hidden;padding:8px}.gc-workspace{height:100%;gap:7px}.gc-workspace .workspace-brand-row{order:1}.gc-utility-row{order:2}.gc-profile-bar{order:3;grid-template-columns:minmax(0,1fr) repeat(4,48px);gap:5px}.gc-profile-name{grid-column:1 / -1}.gc-profile-name input{height:36px}.gc-profile-bar select{height:34px;padding:0 6px;font-size:12px}.gc-profile-bar button{min-width:0;min-height:34px;padding:0 3px;font-size:10px}.gc-sync-state{grid-column:1 / -1;min-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc-mobile-summary-row{order:4;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:4px;border-bottom:2px solid var(--line);color:var(--muted);font-size:12px;font-weight:700}.gc-mobile-summary-row button{min-height:32px;padding:0 10px;color:#fff;border-color:var(--botball-red);background:var(--botball-red);font-size:11px;font-weight:800}.gc-workspace>.notice,.gc-workspace>.error{order:5;padding:5px 8px;font-size:11px}.gc-content{order:6;flex:1;height:auto;min-height:0;display:block;border-top:0}.gc-category-strip{height:100%;display:flex;flex-direction:column;gap:0;overflow-x:hidden;overflow-y:auto;scroll-snap-type:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.gc-category{flex:0 0 auto;display:block;border-right:0;border-bottom:2px solid var(--line-strong)}.gc-category-header{position:sticky;top:0;z-index:2;min-height:44px;padding:7px 8px;border-bottom-width:2px}.gc-category-header h2{font-size:15px}.gc-section-list{overflow:visible;padding:4px 1px 12px}.gc-section+.gc-section{margin-top:7px}.gc-section-header{min-height:34px;padding:5px 6px}.gc-section-header h3{font-size:12px}.gc-item-list{padding:1px 0 3px 10px}.gc-item{min-height:52px;grid-template-columns:30px minmax(0,1fr);gap:8px;padding:7px 6px;font-size:13px}.gc-item input{width:23px;height:23px}.gc-incomplete-panel{display:none}}@media(max-width:430px){.gc-page{padding:6px}.gc-profile-bar{grid-template-columns:minmax(0,1fr) repeat(4,44px);gap:4px}.gc-profile-bar button{font-size:9px}.gc-quick-add{min-width:104px;min-height:32px;font-size:12px}.gc-language{grid-template-columns:38px 42px}}.rules-page{--rules-red: #c82032;--rules-red-dark: #971827;--rules-ink: #1b1c1f;--rules-muted: #626971;--rules-line: #d9dde2;--rules-soft: #f6f7f8;--rules-font-body: 16px;--rules-font-control: 14px;--rules-font-meta: 13px;--rules-line-body: 1.6;--rule-zoom-toolbar-height: 43px;padding:14px clamp(12px,2vw,28px) 40px;overflow-x:hidden}.rules-workspace{width:min(1480px,100%);margin:0 auto;display:flex;flex-direction:column;gap:12px}.rules-page .workspace-brand-row{order:initial}.rules-title-row,.rules-section-heading,.rule-figure-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.rules-title-row{border-top:3px solid var(--rules-red);padding-top:10px}.rules-title-row h1,.rules-section-heading h2,.rule-figure-heading h2,.rule-block-list h2{margin:2px 0 0;color:var(--rules-ink);letter-spacing:0}.rules-title-row h1{font-size:36px;line-height:1.1}.rule-kicker{color:var(--rules-red-dark);font-size:var(--rules-font-meta);font-weight:800;text-transform:uppercase}.rules-language{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--rules-line);border-radius:4px}.rules-language>svg{margin:0 5px;color:var(--rules-muted)}.rules-language button{min-width:42px;min-height:34px;padding:0 9px;border:0;font-size:var(--rules-font-control);font-weight:800}.rules-language button.active{color:#fff;background:var(--rules-red)}.rules-query{min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--rules-line);border-radius:4px;padding:3px 3px 3px 12px}.rules-query>svg{color:var(--rules-red)}.rules-query input{min-width:0;height:36px;border:0;outline:0;color:var(--rules-ink);background:#fff;font-size:16px}.rules-query button{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border-color:var(--rules-red);color:#fff;background:var(--rules-red);font-size:var(--rules-font-control);font-weight:800}.rules-query button:disabled{border-color:#c8ccd1;background:#a8adb4;cursor:default}.rules-source-notice{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;border-left:3px solid var(--rules-red);background:var(--rules-soft);color:var(--rules-muted);font-size:var(--rules-font-meta)}.rules-source-notice strong{color:var(--rules-ink)}.rules-source-notice span{min-width:0;overflow-wrap:anywhere;text-align:right}.rules-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:2px solid var(--rules-red)}.rules-tabs button{min-width:0;min-height:40px;border:0;border-radius:0;background:#fff;font-size:var(--rules-font-control);font-weight:800}.rules-tabs button.active{color:#fff;background:var(--rules-red)}.rules-results{border:1px solid var(--rules-line);border-top:3px solid var(--rules-red);padding:10px 12px;background:#fff}.rules-results-heading{display:flex;justify-content:space-between;color:var(--rules-muted);font-size:var(--rules-font-meta)}.rules-results-heading strong{color:var(--rules-ink)}.rules-result-note{margin:8px 0;color:var(--rules-red-dark);font-size:var(--rules-font-control)}.rules-llm-answer{margin:10px 0;padding:10px 12px;border-left:3px solid var(--rules-red);background:var(--rules-soft);color:var(--rules-ink);font-size:var(--rules-font-body);line-height:var(--rules-line-body)}.rules-result-list{max-height:310px;overflow-y:auto}.rules-result-list article{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eceef1}.rules-result-list article>button:first-child{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:0;padding:0;text-align:left}.rules-result-list article>button:first-child span{width:100%;overflow:hidden;color:var(--rules-muted);font-size:var(--rules-font-control);line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.rules-result-list article>button:last-child,.rule-inline-source,.rule-source-link{min-height:30px;display:inline-flex;align-items:center;gap:4px;border:0;color:var(--rules-red-dark);background:transparent;font-size:var(--rules-font-meta);font-weight:800}.rules-overview,.rules-scoring,.rules-field{padding-top:6px}.rule-block-list{width:min(940px,100%);margin:0 auto}.rule-block-list article{position:relative;display:grid;grid-template-columns:minmax(190px,.35fr) minmax(0,1fr) auto;gap:22px;align-items:start;padding:18px 8px;border-bottom:1px solid var(--rules-line);transition:background .16s ease,box-shadow .16s ease}.rule-block-list h2{font-size:21px;line-height:1.3}.rule-block-list p,.rule-explanation p{margin:0;color:#34383d;font-size:var(--rules-font-body);line-height:var(--rules-line-body)}.rules-overview-figure{width:min(1120px,100%);margin:22px auto 0;padding-top:14px;border-top:2px solid var(--rules-ink)}.rules-overview-figure img{display:block;width:100%;height:auto}.rules-overview-figure figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0}.rule-figure-section{padding:15px 0 24px;border-bottom:2px solid var(--rules-ink)}.rule-figure-heading,.rules-section-heading{margin-bottom:10px}.rule-figure-heading h2,.rules-section-heading h2{font-size:23px;line-height:1.3}.rule-figure-layout{min-width:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px;align-items:stretch}.rule-transform-shell{min-width:0;border:1px solid var(--rules-line);background:#fff}.rule-zoom-controls{min-height:var(--rule-zoom-toolbar-height);flex:0 0 var(--rule-zoom-toolbar-height);display:flex;justify-content:flex-end;gap:4px;padding:5px;border-bottom:1px solid var(--rules-line);background:var(--rules-soft)}.rule-zoom-controls button{width:34px;min-height:32px;display:grid;place-items:center;padding:0}.rule-transform-viewport{width:100%!important;max-height:min(68vh,720px);overflow:hidden!important;touch-action:none;background:#fff}.rule-transform-content{width:100%!important}@media(min-width:761px){.rule-figure-section--figure-2{--figure-2-canvas-height: clamp(400px, 62dvh, 620px)}.rule-figure-section--figure-2 .rule-transform-shell{display:flex;flex-direction:column;height:calc(var(--figure-2-canvas-height) + var(--rule-zoom-toolbar-height))}.rule-figure-section--figure-2 .rule-transform-viewport{width:100%!important;height:var(--figure-2-canvas-height);max-height:none;display:flex;align-items:center;justify-content:center;overflow:hidden!important}.rule-figure-section--figure-2 .rule-transform-content{width:auto!important;height:100%!important;display:flex;align-items:center;justify-content:center}.rule-figure-section--figure-2 .rule-figure-canvas{width:auto;height:100%;max-width:100%;flex:0 0 auto}.rule-figure-section--figure-2 .rule-figure-explanations{height:calc(var(--figure-2-canvas-height) + var(--rule-zoom-toolbar-height));max-height:none;overflow-y:auto;overscroll-behavior:contain}}.rule-figure-canvas{position:relative;width:100%;min-width:0;overflow:visible;background:#fff}.rule-figure-canvas img,.rule-hotspot-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.rule-figure-canvas img{object-fit:contain;-webkit-user-select:none;user-select:none}.rule-hotspot-overlay polygon{fill:#c8203214;stroke:#97182794;stroke-width:.003;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .15s ease}.rule-hotspot-overlay polygon:hover,.rule-hotspot-overlay polygon.active{fill:#ffd33a52;stroke:var(--rules-red)}.rule-hotspot-marker{position:absolute;width:27px;min-height:27px;display:inline-flex;align-items:center;justify-content:center;gap:1px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;padding:0;color:#fff;background:var(--rules-red-dark);box-shadow:0 1px 5px #0000005c;font-size:10px;font-weight:900;z-index:3}.rule-hotspot-marker svg{width:11px}.rule-hotspot-marker.active{color:var(--rules-ink);background:#ffd43b}.rule-figure-explanations{max-height:min(74vh,770px);overflow-y:auto;border-top:3px solid var(--rules-red);border-bottom:1px solid var(--rules-line)}.rule-explanation{position:relative;padding:11px 8px 12px;border-bottom:1px solid var(--rules-line);transition:background .16s ease,box-shadow .16s ease}.rule-explanation>button:first-child{display:flex;align-items:center;gap:7px;border:0;padding:0;text-align:left;font-size:var(--rules-font-body);line-height:1.35}.rule-explanation>button:first-child span{width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--rules-red);font-size:12px}.rule-explanation p{margin-top:7px}.rule-target-highlight{background:#fff8cf!important;box-shadow:inset 4px 0 #e0ad00}.score-area-grid{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:10px;margin-bottom:24px}.score-area{min-width:0;border:1px solid var(--rules-line);border-radius:4px;background:#fff}.score-area>header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:2px solid var(--rules-red)}.score-area h3{margin:0;font-size:18px;line-height:1.3}.score-area header button{min-height:28px;border:0;color:var(--rules-red-dark);font-size:var(--rules-font-meta);font-weight:800}.score-area table{width:100%;border-collapse:collapse;font-size:var(--rules-font-control);line-height:1.45}.score-area th,.score-area td{padding:6px 8px;border-bottom:1px solid #eceef1;text-align:left}.score-area th:last-child,.score-area td:last-child{width:56px;text-align:right;font-variant-numeric:tabular-nums;font-weight:800}.score-multipliers{display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--rules-soft);color:var(--rules-muted);font-size:var(--rules-font-meta);line-height:1.45}.rules-loading,.rules-error{padding:18px;border:1px solid var(--rules-line);color:var(--rules-muted);text-align:center}.rules-error{color:var(--rules-red-dark);background:#fff4f5}@media(max-width:1120px){.score-area-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}.rule-figure-layout{grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr)}}@media(max-width:760px){.rules-page{padding:8px 8px 30px}.rules-workspace{gap:9px}.rules-title-row{align-items:center}.rules-title-row h1{font-size:26px;line-height:1.15}.rules-language>svg{display:none}.rules-language button{min-width:38px}.rules-query{grid-template-columns:auto minmax(0,1fr) 42px}.rules-query button{width:38px;padding:0;justify-content:center;font-size:0}.rules-source-notice{align-items:flex-start;flex-direction:column;gap:2px}.rules-source-notice span{text-align:left}.rules-tabs button{min-height:37px;padding:0 3px;font-size:13px}.rules-result-list article>button:first-child span{display:-webkit-box;overflow:hidden;text-overflow:initial;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.rule-block-list article{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px 6px}.rule-block-list article>p{grid-column:1 / -1;grid-row:2}.rule-block-list article>button{grid-column:2;grid-row:1}.rule-figure-heading,.rules-section-heading{align-items:flex-start}.rule-figure-heading h2,.rules-section-heading h2{font-size:21px}.rule-figure-layout{grid-template-columns:minmax(0,1fr)}.rule-transform-viewport{max-height:64vh}.rule-figure-explanations{max-height:none;overflow-y:visible}.rule-hotspot-marker{width:25px;min-height:25px}.score-area-grid{grid-template-columns:minmax(0,1fr)}.rules-overview-figure figcaption{align-items:flex-start;flex-direction:column}}@media(max-width:390px){.rules-title-row h1{font-size:24px}.rules-language button{min-width:34px;padding:0 6px}.rules-tabs button{font-size:13px}}:root{--botball-red: #c82032;--botball-red-dark: #9f1726;--ink: #171717;--muted: #626a73;--line: #d8dde3;--line-strong: #b8c0ca;--panel: #ffffff;--panel-soft: #f7f8fa;--success: #dff1e4;--watch: #fff0c4;--danger: #ffd9dc;--stripe-yellow: #ffd941;--stripe-red: #e5484d;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;background:#fff}button,input,select{font:inherit}button{min-height:36px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);cursor:pointer}button:hover{border-color:var(--botball-red);background:#fff6f7}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--botball-red);outline-offset:2px}.app-shell{min-height:100vh;display:block;padding:14px;background:#fff}.workspace-brand-row{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;min-height:38px}.home-button{width:68px;min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:0;border-radius:4px;color:var(--botball-red);font-size:12px;font-weight:700;background:#fff}.home-button:hover{background:#fff1f3}.home-mark{width:18px;height:16px;position:relative;display:inline-block}.home-mark:before{content:"";position:absolute;left:3px;top:1px;width:11px;height:11px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}.home-mark span{position:absolute;left:4px;bottom:1px;width:10px;height:8px;border:2px solid currentColor;border-top:0}.brand-lockup{display:flex;align-items:center;gap:8px;min-width:0}.brand-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--botball-red);color:var(--botball-red);background:#fff;font-size:12px;font-weight:800;letter-spacing:0}.brand-copy{min-width:0;display:flex;flex-direction:column;line-height:1.1;font-size:12px;color:var(--muted)}.brand-copy strong{color:var(--ink);font-size:14px}.workspace{min-width:0;display:flex;flex-direction:column;gap:10px;background:#fff}.profile-bar{order:1}.workspace-brand-row{order:2}.search-row{order:3}.tab-strip{order:4}.content-grid{order:5}.profile-bar,.search-row,.tab-strip{display:flex;align-items:center;gap:8px}.profile-bar{justify-content:flex-end;flex-wrap:wrap}.profile-name input,.profile-bar select,.search-box input{height:38px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:0 10px}.profile-name input{width:min(260px,38vw);font-size:16px;text-align:center}.profile-bar select{max-width:260px}.profile-bar button{padding:0 12px;text-transform:uppercase;font-size:12px;font-weight:800}.profile-bar .danger,.confirm-modal .danger{border-color:#efb5bb;color:var(--botball-red-dark);background:#fff3f4}.profile-meta{min-width:86px;color:var(--muted);font-size:12px}.search-row{justify-content:space-between}.search-box{flex:1;max-width:580px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:4px;padding-left:12px;color:var(--muted);font-size:13px;font-weight:700}.search-box input{flex:1;min-width:0;border:0;text-align:right;font-size:16px}.summary-button{min-width:96px;color:#fff;border-color:var(--botball-red);background:var(--botball-red);font-weight:800}.summary-button:hover{color:#fff;background:var(--botball-red-dark)}.notice,.error{padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:13px}.error{border-color:#ef9aa4;background:#fff3f4}.tab-strip{overflow:visible;border-bottom:2px solid var(--line)}.tab-strip button{flex:1 1 0;min-width:0;min-height:42px;border:0;border-radius:0;border-bottom:3px solid transparent;font-size:15px;font-weight:800;color:var(--muted);background:#fff}.tab-strip button.active{color:var(--botball-red);border-bottom-color:var(--botball-red);background:#fff}.tab-label-short{display:none}.content-grid{min-height:0;height:calc(100vh - 228px);display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px}.part-list{position:relative;min-width:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px 18px;padding:6px 14px 6px 6px;background:#fff}.part-list:before{content:"";position:absolute;top:6px;bottom:6px;left:calc(50% + 4px);width:1px;background:var(--line);pointer-events:none}.part-row{display:grid;grid-template-columns:minmax(82px,1fr) 96px 34px 58px 38px 34px;align-items:center;gap:6px;min-height:92px;padding:6px;border:1px solid transparent;border-radius:6px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.part-row.highlighted{border-color:var(--botball-red);box-shadow:0 0 0 3px #c8203229;background:#fff9fa}.part-row.highlighted .part-name{border-color:var(--botball-red);background:#fff1f3}.part-name{min-width:0;padding:5px 6px;border:1px solid transparent;border-radius:4px;color:var(--ink);font-size:15px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.part-row img{width:96px;height:72px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:4px}.stepper{width:34px;height:34px;min-height:34px;border-radius:4px;color:var(--botball-red);font-size:18px;font-weight:900}.count-input{width:58px;height:42px;border:0;border-radius:5px 0 0 5px;text-align:right;font-size:19px;font-weight:800;padding:0 4px}.count-limit{height:42px;display:grid;place-items:center;border-radius:0 5px 5px 0;font-size:14px;font-weight:800;padding-right:4px}.count-input.low,.count-limit.low{background:var(--success)}.count-input.watch,.count-limit.watch{background:var(--watch)}.count-input.warning,.count-limit.warning{background:var(--danger)}.count-input.over_limit,.count-limit.over_limit,.summary-item.over_limit{background:repeating-linear-gradient(135deg,var(--stripe-yellow) 0 8px,var(--stripe-red) 8px 16px)}.count-input.unknown,.count-limit.unknown{background:#e9ecef}.row-note{grid-column:4 / span 2;color:var(--muted);font-size:12px}.summary-panel{overflow:auto;padding:10px;border-left:2px solid var(--botball-red);background:#fff}.summary-list{display:flex;flex-direction:column;gap:7px}.summary-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;width:100%;min-height:48px;padding:7px;text-align:left;border-radius:4px}.summary-item.low{background:#f0f8f2}.summary-item.watch{background:#fff7df}.summary-item.warning{background:#ffe9eb}.summary-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-count{font-weight:800}.summary-rate{color:var(--muted)}.empty-state{padding:28px;color:var(--muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#1717176b;z-index:20}.modal{width:min(720px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px;box-shadow:0 18px 54px #17171733}.modal-header,.modal-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.confirm-modal{max-width:520px}.module-switcher{max-width:440px}.module-switcher h2{margin:0;font-size:20px;letter-spacing:0}.module-switcher-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.module-switcher-list button{min-height:78px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:12px;text-align:left;border-left:4px solid var(--line-strong)}.module-switcher-list button.active{border-left-color:var(--botball-red);background:#fff6f7}.module-switcher-list button span{color:var(--muted);font-size:12px}.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}@media(min-width:821px){.summary-button{display:none}}@media(max-width:1180px)and (min-width:821px){.content-grid{grid-template-columns:minmax(0,1fr) 270px}.part-row{grid-template-columns:minmax(62px,1fr) 82px 30px 52px 34px 30px;gap:5px}.part-row img{width:82px;height:64px}.stepper{width:30px;height:32px;min-height:32px}.count-input{width:52px;height:40px;font-size:18px}.count-limit{height:40px;font-size:13px}}@media(max-width:820px){.app-shell{padding:8px}.workspace-brand-row{justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 0 6px;min-height:32px}.home-button{width:auto;min-height:30px;padding:3px 6px;font-size:11px}.home-mark{width:16px;height:14px}.brand-avatar{width:30px;height:30px;font-size:10px}.brand-copy{font-size:11px}.brand-copy strong{font-size:13px}.workspace{gap:7px}.workspace-brand-row{order:1}.profile-bar{order:2}.search-row{order:3}.tab-strip{order:4}.content-grid{order:5}.profile-bar{display:grid;grid-template-columns:minmax(0,1fr) 48px 48px 48px;gap:6px;align-items:center}.profile-name{grid-column:1 / -1}.profile-name input{width:100%;height:36px;text-align:left;font-size:15px}.profile-bar select{width:100%;max-width:none;height:34px;min-width:0;padding:0 6px;font-size:12px}.profile-bar button{min-height:34px;padding:0 4px;font-size:11px}.profile-meta{grid-column:1 / -1;display:none}.search-row{gap:6px}.search-box{min-width:0;padding-left:8px;gap:6px;font-size:11px}.search-box input{height:34px;text-align:right;font-size:14px}.summary-button{min-width:78px;min-height:34px;padding:0 6px;font-size:12px}.tab-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.tab-strip button{min-height:36px;padding:0 2px;font-size:12px}.tab-label-full{display:none}.tab-label-short{display:inline}.content-grid{height:calc(100vh - 228px);min-height:430px;grid-template-columns:1fr}.summary-panel{display:none}.part-list{grid-template-columns:1fr;gap:7px;padding:2px}.part-list:before{display:none}.part-row{grid-template-columns:minmax(54px,1fr) 88px 32px 54px 36px 32px;gap:5px;min-height:84px;padding:4px}.part-row img{width:88px;height:64px}.part-name{font-size:13px;padding:4px}.stepper{width:32px;height:34px;min-height:34px}.count-input{width:54px;height:38px;font-size:18px}.count-limit{height:38px;font-size:13px}.row-note{font-size:11px}}@media(max-width:430px){.app-shell{padding:6px}.profile-bar{grid-template-columns:minmax(0,1fr) 44px 44px 44px}.profile-bar button{font-size:10px}.tab-strip button{font-size:11px}.content-grid{height:calc(100vh - 227px)}.part-row{grid-template-columns:minmax(44px,1fr) 74px 30px 50px 33px 30px;gap:4px}.part-row img{width:74px;height:58px}.count-input{width:50px;font-size:17px}.count-limit{font-size:12px}.module-switcher-list{grid-template-columns:1fr}}.app-wordmark{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--ink)}.app-wordmark-mark{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:2px solid var(--botball-red);border-radius:50%;color:var(--botball-red);background:#fff;font-size:13px;font-weight:900;letter-spacing:0}.app-wordmark>span:last-child{display:flex;flex-direction:column;line-height:1.05}.app-wordmark strong{font-size:17px}.app-wordmark small{color:var(--muted);font-size:12px}.language-control{display:inline-grid;grid-template-columns:repeat(2,44px);min-height:44px;overflow:hidden;border:1px solid var(--line);border-radius:4px;background:#fff}.language-control button{min-height:44px;padding:0;border:0;border-radius:0;color:var(--muted);font-size:12px;font-weight:800}.language-control button+button{border-left:1px solid var(--line)}.language-control button.active{color:#fff;background:var(--botball-red)}.auth-page,.home-page{min-height:100vh;background:#fff}.auth-topbar,.home-header{width:100%;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(18px,4vw,56px);border-top:5px solid var(--botball-red);border-bottom:1px solid var(--line)}.auth-page{display:grid;grid-template-rows:auto 1fr}.auth-tool{width:min(430px,calc(100% - 32px));align-self:center;justify-self:center;margin:28px 0 48px;padding:28px;border:1px solid var(--line);border-top:4px solid var(--botball-red);border-radius:6px;background:#fff;box-shadow:0 14px 40px #1717171a}.auth-heading{margin-bottom:22px}.auth-kicker,.module-switcher-kicker{color:var(--botball-red);font-size:11px;font-weight:900}.auth-heading h1{margin:5px 0 6px;font-size:28px;line-height:1.15;letter-spacing:0}.auth-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:22px;border-bottom:2px solid var(--line)}.auth-mode-tabs button{min-height:44px;border:0;border-radius:0;border-bottom:3px solid transparent;color:var(--muted);font-weight:800;background:#fff}.auth-mode-tabs button.active{color:var(--botball-red);border-bottom-color:var(--botball-red)}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-form label>span{display:block;margin-bottom:7px;color:var(--ink);font-size:13px;font-weight:800}.auth-input{height:48px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--line-strong);border-radius:4px;color:var(--muted);background:#fff}.auth-input:focus-within{border-color:var(--botball-red);box-shadow:0 0 0 2px #c820321f}.auth-input.invalid{border-color:var(--botball-red);background:#fff8f8}.auth-input input{min-width:0;height:44px;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:16px}.password-toggle,.icon-button{width:38px;min-height:38px;display:grid;place-items:center;padding:0;border:0;color:var(--muted);background:transparent}.field-error{display:block;margin-top:6px;color:var(--botball-red-dark);font-size:12px}.auth-request-message{min-height:18px;color:var(--botball-red-dark);font-size:13px}.auth-submit{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-color:var(--botball-red);color:#fff;background:var(--botball-red);font-weight:850}.auth-submit:hover:not(:disabled){border-color:var(--botball-red-dark);color:#fff;background:var(--botball-red-dark)}.auth-submit:disabled{cursor:wait;opacity:.72}.spin{animation:app-spin .8s linear infinite}.home-header{position:relative;z-index:5}.home-account-tools{display:flex;align-items:center;gap:10px;min-width:0}.account-menu{position:relative}.account-menu summary{min-height:44px;max-width:min(330px,42vw);display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:#fff;cursor:pointer;list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.account-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(310px,calc(100vw - 24px));display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 14px 34px #17171724}.account-popover small{color:var(--muted)}.account-popover strong{overflow-wrap:anywhere;font-size:13px}.account-popover button,.module-switcher-home{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--botball-red-dark);font-weight:800}.home-content{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:clamp(34px,6vh,72px) 0 50px}.home-heading{display:flex;align-items:stretch;gap:16px;margin-bottom:26px}.home-heading-rule{width:5px;flex:0 0 5px;background:var(--botball-red)}.home-heading h1{margin:0 0 5px;font-size:clamp(25px,3vw,34px);line-height:1.15;letter-spacing:0}.home-heading p{margin:0;color:var(--muted);font-size:15px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{position:relative;min-width:0;min-height:188px;display:grid;grid-template-columns:88px minmax(0,1fr) 24px;align-items:center;gap:15px;padding:20px;border:1px solid var(--line);border-left:5px solid var(--botball-red);border-radius:6px;text-align:left;background:#fff;box-shadow:0 8px 24px #1717170f;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.module-card:hover:not(:disabled){border-color:var(--botball-red);background:#fff;box-shadow:0 12px 30px #1717171c;transform:translateY(-2px)}.module-card-icon{width:88px;height:88px;display:grid;place-items:center}.module-card-icon img{width:82px;height:82px;object-fit:contain}.module-card-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.module-card-copy strong{color:var(--ink);font-size:18px;line-height:1.25;overflow-wrap:anywhere}.module-card-copy small{min-height:38px;color:var(--muted);font-size:13px;line-height:1.45}.module-status{display:inline-flex;align-items:center;min-height:26px;padding:0 8px;border:1px solid #efb5bb;border-radius:4px;color:var(--botball-red-dark);background:#fff6f7;font-size:11px;font-weight:850}.module-card-arrow{color:var(--botball-red)}.module-card.pending{border-left-color:var(--line-strong);cursor:not-allowed;box-shadow:none;opacity:.76}.module-card.pending .module-card-icon img{filter:grayscale(1);opacity:.64}.module-card.pending .module-status{border-color:var(--line-strong);color:#4e5660;background:#f2f3f5}.module-header-actions{display:inline-flex;align-items:center;gap:2px}.home-button,.module-nav-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 7px;border:0;color:var(--botball-red);background:#fff;font-size:11px;font-weight:800}.module-nav-button{width:34px}.module-switcher .modal-header h2{margin:3px 0 0}.module-switcher-home{width:100%;margin-top:16px}.module-switcher-list button{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px}.module-switcher-list button img{width:42px;height:42px;object-fit:contain}.module-switcher-list button>span{min-width:0;display:flex;flex-direction:column;gap:3px}.module-switcher-list button:disabled img{filter:grayscale(1);opacity:.55}.module-switcher-list button:disabled{cursor:not-allowed;opacity:.72}.app-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:22px;background:#fff}.loading-line{width:140px;height:4px;overflow:hidden;background:var(--line)}.loading-line:after{content:"";width:48px;height:100%;display:block;background:var(--botball-red);animation:loading-slide 1s ease-in-out infinite alternate}@keyframes app-spin{to{transform:rotate(360deg)}}@keyframes loading-slide{to{transform:translate(92px)}}@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.auth-topbar,.home-header{min-height:62px;padding:9px 12px}.app-wordmark-mark{width:36px;height:36px;flex-basis:36px;font-size:11px}.app-wordmark strong{font-size:15px}.app-wordmark small{font-size:10px}.auth-tool{width:min(430px,calc(100% - 20px));margin:18px 0 34px;padding:22px 18px}.auth-heading h1{font-size:25px}.home-account-tools{gap:6px}.account-menu summary{width:44px;padding:0;justify-content:center}.account-menu summary span{display:none}.home-content{width:calc(100% - 20px);padding:30px 0 36px}.home-heading{margin-bottom:18px}.home-heading h1{font-size:25px}.home-heading p{font-size:13px}.module-grid{gap:10px}.module-card{min-height:198px;grid-template-columns:1fr;grid-template-rows:72px auto;align-content:start;gap:8px;padding:14px 12px;border-left-width:4px}.module-card-icon{width:72px;height:72px;justify-self:center}.module-card-icon img{width:68px;height:68px}.module-card-copy{align-items:center;text-align:center}.module-card-copy strong{font-size:14px}.module-card-copy small{min-height:48px;font-size:11px}.module-card-arrow{display:none}}@media(max-width:359px){.module-grid{grid-template-columns:1fr}.module-card{min-height:142px;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto;align-items:center}.module-card-copy{align-items:flex-start;text-align:left}.module-card-copy small{min-height:0}}@media(prefers-reduced-motion:reduce){.module-card,.spin,.loading-line:after{transition:none;animation:none}}
