/* Local growth-guide layout; typography and surface colours keep shared owners. */
#growthGuide{margin:28px 0;min-width:0;scroll-margin-top:130px;color:var(--maple-ink,#493b2d)}
#growthGuide [hidden]{display:none!important}
#growthGuide :is(h2,h3,h4,p,figure){margin:0}
#growthGuide .gg-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
#growthGuide .gg-heading>img{width:38px;height:38px;flex:0 0 38px;object-fit:contain}
#growthGuide .gg-heading p{margin-top:5px;color:#75634e}
#growthGuide .gg-draft{display:inline-block;margin-left:8px;padding:3px 8px;border:1px solid #cbb38a;border-radius:6px;background:#fff1d5;color:#765228;vertical-align:middle;font-size:var(--ui-type-note-size)}
#growthGuide .gg-input-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
#growthGuide .gg-panel{padding:20px;min-width:0}
#growthGuide .gg-panel>h3{margin-bottom:12px}
#growthGuide .gg-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#growthGuide .gg-button{min-height:42px;padding:9px 14px;border:1px solid #bb9566;border-radius:9px;background:#fffaf0;color:#60462c;font-size:var(--ui-type-l4-size);font-weight:700;line-height:1.4;cursor:pointer;box-shadow:0 2px 0 #b9a28033}
#growthGuide .gg-button:hover:not(:disabled){background:#f8ecd4;border-color:#926438}
#growthGuide .gg-button:disabled{opacity:.5;cursor:default;box-shadow:none}
#growthGuide .gg-primary{background:#876338;color:#fffdf7;border-color:#745029}
#growthGuide .gg-primary:hover:not(:disabled){background:#6f4c29}
#growthGuide .gg-generate{width:100%;margin-top:16px;min-height:48px}
#growthGuide :is(button,input,select,summary,[role=button]):focus-visible{outline:3px solid #b67930;outline-offset:3px}
#growthGuide .gg-drop{display:flex;min-height:112px;flex-direction:column;justify-content:center;gap:5px;padding:16px;text-align:center;border:2px dashed #cdb990;border-radius:12px;background:#fff9e9;cursor:pointer}
#growthGuide .gg-drop.is-armed,#growthGuide .gg-drop.is-dragging{border-style:solid;border-color:#997038;background:#fff1cf;box-shadow:0 0 0 3px #c2944233}
#growthGuide .gg-drop span{font-size:var(--ui-type-note-size);color:#75634e}
#growthGuide .gg-photo{margin-top:12px;text-align:center}
#growthGuide .gg-photo img{display:block;width:auto;max-width:100%;height:280px;object-fit:contain;margin:0 auto;border:1px solid #d8c6a7;border-radius:8px}
#growthGuide .gg-photo figcaption{margin-top:5px;overflow-wrap:anywhere;color:#75634e;font-size:var(--ui-type-note-size)}
#growthGuide .gg-sample{margin-top:12px;padding:10px 12px}
#growthGuide .gg-sample summary{cursor:pointer;font-size:var(--ui-type-l4-size);font-weight:700}
#growthGuide .gg-sample img{display:block;width:auto;max-width:100%;height:240px;object-fit:contain;margin:12px auto;border-radius:8px}
#growthGuide .gg-sample p{font-size:var(--ui-type-note-size);color:#665947}
#growthGuide .gg-progress{display:block;width:100%;height:8px;margin-top:15px;accent-color:#8a6b3a}
#growthGuide .gg-progress-label{margin-top:6px;min-height:22px;font-size:var(--ui-type-note-size);color:#75634e}
#growthGuide .gg-budget-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#growthGuide .gg-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-field>span:first-child{font-weight:700}
#growthGuide .gg-value{display:flex;align-items:center;min-width:0;border:1px solid #c4a675;border-radius:9px;background:#fffefb;overflow:hidden}
#growthGuide :is(input:not([type=checkbox]),select){min-width:0;max-width:100%;min-height:42px;padding:9px 10px;border:1px solid #c4a675;border-radius:8px;background:#fffefb;color:#493b2d;font-size:var(--ui-type-input-size);line-height:1.4;font-variant-numeric:tabular-nums}
#growthGuide .gg-value input{width:100%;border:0;border-radius:0;text-align:right}
#growthGuide .gg-value>span{flex-shrink:0;padding:0 10px;color:#766248}
#growthGuide .gg-value select{width:95px;flex:0 0 95px;border:0;border-left:1px solid #e3d1b3;border-radius:0;padding:8px 4px;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-field small{min-height:20px;font-size:var(--ui-type-note-size);color:#75634e}
#growthGuide .gg-field.has-error .gg-value,#growthGuide :is(input,select)[aria-invalid=true]{border:2px solid #b33d32;background:#fff0ec!important}
#growthGuide .gg-field.has-error small{color:#a52d24;font-weight:700}
#growthGuide .gg-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr);gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #dfcaab}
#growthGuide .gg-note{margin-top:14px;padding:12px 14px;font-size:var(--ui-type-l4-size);line-height:1.7}
#growthGuide .gg-notice{margin-top:14px;padding:12px 14px;border:1px solid #cdb990;border-radius:9px;background:#fff7e6;color:#745328;overflow-wrap:anywhere}
#growthGuide .gg-notice[data-state=error]{border:2px solid #b23d31;background:#fff0eb;color:#96281f}
#growthGuide .gg-notice[data-state=success]{border-color:#8ea76c;background:#edf4e3;color:#3c592b}
#growthGuide .gg-review-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
#growthGuide .gg-review-head p{color:#75634e;font-size:var(--ui-type-note-size)}
#growthGuide .gg-gear-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px;padding:10px 12px;border:1px solid #dfcaab;border-radius:9px;background:#fff9ed;font-size:var(--ui-type-note-size)}
#growthGuide .gg-gear-bulk>label{font-weight:700}
#growthGuide .gg-gear-bulk>select{max-width:200px;min-height:36px;padding:6px 8px}
#growthGuide .gg-gear-bulk>p{flex:1 1 280px;color:#75634e;line-height:1.6}
#growthGuide .gg-equip-source{display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,.65fr);gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #e3d1b3}
#growthGuide .gg-equip-source>label{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--ui-type-note-size)}
#growthGuide .gg-equip-source>label>span{flex-shrink:0;color:#75634e}
#growthGuide .gg-equip-source :is(input,select){width:100%;min-height:34px;height:34px;padding:5px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-equip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#growthGuide .gg-equip{padding:9px;border:1px solid #d6c19e;border-radius:9px;background:#fffcf5;min-width:0}
#growthGuide .gg-equip.has-issue{border-color:#c16b3b;background:#fff7e8}
#growthGuide .gg-equip.has-error{border:2px solid #b33d32;background:#fff1ed}
#growthGuide .gg-equip.is-locked{background:#f1eee7;color:#776b5c}
#growthGuide .gg-equip-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr);gap:6px}
#growthGuide .gg-equip-fields>label,#growthGuide .gg-equipment-cell{display:grid;grid-template-rows:20px 36px;gap:4px;font-size:var(--ui-type-note-size);min-width:0}
#growthGuide .gg-equip-fields>label>span{white-space:nowrap}
#growthGuide .gg-equip-fields :is(input:not([type=checkbox]),select){width:100%;padding:5px;min-height:36px;height:36px;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-column-heading{display:flex;align-items:center;justify-content:space-between;gap:3px;white-space:nowrap}
#growthGuide .gg-equip-toggle{display:flex;align-items:center;gap:2px;color:#786650;cursor:pointer}
#growthGuide .gg-equip-toggle input{width:12px;height:12px;flex-basis:12px;margin:0}
#growthGuide .gg-equip-name{display:flex;align-items:center;gap:5px;min-width:0}
#growthGuide .gg-equip-name img{width:26px;height:26px;object-fit:contain;border-radius:4px;flex-shrink:0}
#growthGuide .gg-equip-name strong{font-size:var(--ui-type-l4-size);line-height:1.2;overflow-wrap:anywhere}
#growthGuide .gg-equip small{display:block;margin-top:6px;font-size:var(--ui-type-note-size);color:#8b572e;line-height:1.5}
#growthGuide .gg-equip.has-error small{color:#a02b23}
#growthGuide .gg-chip{display:inline-block;width:11px;height:11px;border:1px solid #786d5b;border-radius:3px;vertical-align:middle;margin:0 3px}
#growthGuide input[type=checkbox]{width:18px;height:18px;accent-color:#826339;flex:0 0 18px;margin:2px 0}
#growthGuide .gg-equip-toggle input[type=checkbox]{width:12px;height:12px;flex-basis:12px;margin:0}
#growthGuide .gg-short-label{display:none}
#growthGuide .gg-result{margin-top:16px}
#growthGuide .gg-result-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#growthGuide .gg-result-intro p{margin-top:5px;color:#5f6b4d}
#growthGuide .gg-empty{padding:20px;border:1px dashed #afbd9c;border-radius:10px;color:#5b684b;line-height:1.8}
#growthGuide .gg-wallets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 18px}
#growthGuide .gg-wallet{padding:10px 12px;border:1px solid #b8c5a9;border-radius:9px;background:#fafcf6;min-width:0}
#growthGuide .gg-wallet dt{font-size:var(--ui-type-note-size);color:#62724f}
#growthGuide .gg-wallet dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}
#growthGuide .gg-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#growthGuide .gg-step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #b5c5a2;border-radius:12px;background:#fffdf6}
#growthGuide .gg-step-number{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#55713a;color:white;font-size:var(--ui-type-l3-size);font-weight:700}
#growthGuide .gg-step-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
#growthGuide .gg-step-tag{display:inline-block;border-radius:5px;padding:3px 7px;background:#f3ead7;color:#715633;font-size:var(--ui-type-note-size)}
#growthGuide .gg-step p{margin-top:7px;color:#655941}
#growthGuide .gg-step-dependency{padding:8px 10px;background:#fff3d9;border:1px dashed #c4a06a;border-radius:7px}
#growthGuide .gg-step-estimates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#growthGuide .gg-step-estimates section{padding:12px;background:#f4f7ed;border:1px solid #ced9bd;border-radius:8px;min-width:0}
#growthGuide .gg-step h5{margin:0;font-size:var(--ui-type-l4-size);color:#465d33}
#growthGuide .gg-step .gg-allocation-title{margin-top:12px}
#growthGuide .gg-growth-values{margin:9px 0 0;display:grid;gap:5px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-growth-values>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
#growthGuide .gg-growth-values dt{color:#6b705b}
#growthGuide .gg-growth-values dd{margin:0;font-weight:700;color:#425b30;font-variant-numeric:tabular-nums}
#growthGuide .gg-preset-growth{padding:9px 10px;background:#e5eed8;border-radius:6px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-step-stop{padding:8px 10px;margin-top:10px;background:#eff3e5;border-radius:7px;color:#3c552d!important}
#growthGuide .gg-step-cost{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-step-cost span{padding:4px 8px;border:1px solid #d6c7ab;border-radius:5px;background:#fff9eb;color:#71522d}
#growthGuide .gg-held{margin-top:16px;padding:14px;border:1px solid #d1b67e;border-radius:10px;background:#fff6e2}
#growthGuide .gg-held h4{color:#785528}
#growthGuide .gg-held ul{margin:8px 0 0;padding-left:20px}
#growthGuide .gg-method{margin-top:16px;padding:12px 14px}
#growthGuide .gg-method summary{cursor:pointer;font-weight:700}
#growthGuide .gg-method ul{margin:8px 0 0;padding-left:20px}
#growthGuide .gg-route{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 18px;list-style:none;margin:0 0 18px;padding:12px 3px 4px}
#growthGuide .gg-route>li{min-width:0;position:relative}
#growthGuide .gg-route>li:not(:last-child)::after{content:'→';position:absolute;right:-16px;top:50%;width:14px;transform:translateY(-50%);text-align:center;font-size:16px;line-height:1;color:#8e9c77;pointer-events:none}
#growthGuide .gg-route-card{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;min-height:130px;padding:18px 5px 8px;gap:4px;border:2px solid #bccbaa;border-radius:9px;background:#fffdf6;color:#493b2d;cursor:pointer;font-size:var(--ui-type-note-size);line-height:1.35}
#growthGuide .gg-route-card:hover{background:#f7f7e9;border-color:#759053}
#growthGuide .gg-route-card[aria-pressed=true]{border:2px solid #54733b;background:#edf4e1;box-shadow:0 0 0 3px #78954e22}
#growthGuide .gg-route-card.is-conditional{border-style:dashed;background:#fff8e8}
#growthGuide .gg-route-card.is-conditional[aria-pressed=true]{border-color:#9e702f}
#growthGuide .gg-route-top{position:absolute;top:-12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;max-width:calc(100% + 8px);min-height:23px;padding:2px 5px 2px 3px;border:1px solid #ceb88f;border-radius:7px;background:#f5e6c6;color:#755018;white-space:nowrap;font-size:var(--ui-type-note-size);font-weight:700;line-height:1.2;box-shadow:0 1px 2px #59442819}
#growthGuide .gg-route-top[data-resource=miracle]{background:#fce6e8;color:#973a45;border-color:#d7aab1}
#growthGuide .gg-route-top[data-resource=additional]{background:#e6eefc;color:#375d94;border-color:#acc1de}
#growthGuide .gg-route-order{display:grid;place-items:center;min-width:17px;height:17px;padding:0 2px;border-radius:4px;background:#fffdf5;color:#493b2d;font-variant-numeric:tabular-nums;font-size:11px;line-height:1}
#growthGuide .gg-route-kind{min-width:0;white-space:nowrap}
#growthGuide .gg-route-card img{display:block;width:56px;height:56px;object-fit:contain;border-radius:5px;flex-shrink:0}
#growthGuide .gg-route-card strong{font-size:var(--ui-type-l4-size);line-height:1.3;overflow-wrap:anywhere}
#growthGuide .gg-route-placeholder{display:grid;place-items:center;width:56px;height:56px;font-size:28px;color:#96764b}
#growthGuide .gg-route-target{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:3px;max-width:100%;font-variant-numeric:tabular-nums;font-weight:700;line-height:1.3}
#growthGuide .gg-route-target>span{white-space:nowrap}
#growthGuide .gg-route-condition{position:absolute;right:4px;bottom:3px;color:#895818;font-size:11px;line-height:1}
#growthGuide .gg-plan-basis{color:#526342;margin-bottom:6px;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-step-navigation{display:flex;align-items:center;gap:12px;margin-top:14px}
#growthGuide .gg-step-navigation>span{margin-left:auto;font-variant-numeric:tabular-nums}
#growthGuide .gg-step-notes{margin-top:10px;color:#6c5e49}
#growthGuide .gg-step-notes summary{cursor:pointer;font-size:var(--ui-type-note-size)}
#growthGuide .gg-step-notes ul{padding-left:18px;font-size:var(--ui-type-note-size);margin:6px 0}
#growthGuide #ggResultTitle{scroll-margin-top:140px}
#growthGuide .gg-review{scroll-margin-top:135px}
@media(min-width:1100px){#growthGuide .gg-route{grid-template-columns:repeat(10,minmax(0,1fr))}#growthGuide .gg-route>li:nth-child(10n)::after{display:none}}
@media(min-width:1100px) and (max-width:1279px){#growthGuide .gg-route-top{font-size:11px;gap:3px;padding-inline:3px}#growthGuide .gg-route-order{min-width:15px;font-size:10px}}
@media(min-width:800px) and (max-width:1099px){#growthGuide .gg-route>li:nth-child(5n)::after{display:none}}
@media(max-width:1199px){#growthGuide .gg-equip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:799px){#growthGuide .gg-budget-grid,#growthGuide .gg-options{grid-template-columns:repeat(2,minmax(0,1fr))}#growthGuide .gg-goal-field{grid-column:1/-1}#growthGuide .gg-panel{padding:16px}#growthGuide .gg-equip-grid{grid-template-columns:1fr}#growthGuide .gg-wallets{grid-template-columns:repeat(2,minmax(0,1fr))}#growthGuide .gg-sample img{height:230px}#growthGuide .gg-step{padding:12px;gap:8px;grid-template-columns:30px minmax(0,1fr)}#growthGuide .gg-step-number{width:29px;height:29px}#growthGuide .gg-photo img{height:300px}#growthGuide .gg-route{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:14px 6px 12px;gap:18px}#growthGuide .gg-route>li{flex:0 0 104px;scroll-snap-align:start}}
@media(max-width:399px){#growthGuide .gg-budget-grid,#growthGuide .gg-options{grid-template-columns:1fr}#growthGuide .gg-panel{padding:12px}#growthGuide .gg-equip{padding:7px}#growthGuide .gg-equip-fields{grid-template-columns:minmax(0,1fr) minmax(0,.65fr) minmax(0,1fr) minmax(0,1fr);gap:4px}#growthGuide .gg-equip-fields :is(input:not([type=checkbox]),select){padding-inline:2px;font-size:var(--ui-type-note-size)}#growthGuide .gg-equip-name img{display:none}#growthGuide .gg-equip-name strong{font-size:var(--ui-type-note-size)}#growthGuide .gg-heading{align-items:flex-start}#growthGuide .gg-draft{margin-left:0}#growthGuide .gg-route-card{padding-inline:4px}}
@media(prefers-reduced-motion:reduce){#growthGuide *{scroll-behavior:auto}}
@media(max-width:599px){#growthGuide .gg-step-estimates{grid-template-columns:1fr}}
@media(max-width:399px){#growthGuide .gg-equip-toggle{font-size:0}#growthGuide .gg-wide-label{display:none}#growthGuide .gg-short-label{display:inline}#growthGuide .gg-equip-fields select{appearance:none;text-align:center}}

/* Growth conclusions and the single, viewport-sized detail dialog. */
body.gg-detail-open{overflow:hidden}
#growthGuide .gg-dialog{position:fixed;inset:0;transform:none;box-sizing:border-box;width:min(980px,calc(100% - 32px));max-width:none;height:fit-content;max-height:min(780px,calc(100dvh - 40px));margin:auto;padding:0;border:1px solid #baa17c;border-radius:16px;background:#fffaf0;color:#493b2d;box-shadow:0 18px 60px #49351f40;overflow:hidden}
#growthGuide .gg-dialog:not([open]){display:none}
#growthGuide .gg-dialog[open]{display:flex;flex-direction:column}
#growthGuide .gg-dialog::backdrop{background:#29201488}
#growthGuide .gg-dialog-toolbar,#growthGuide .gg-dialog-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#f3ead8}
#growthGuide .gg-dialog-toolbar{border-bottom:1px solid #d7c3a2;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-dialog-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #c6af8e;border-radius:8px;background:#fffaf0;color:#614b33;cursor:pointer;font-size:26px;line-height:1}
#growthGuide .gg-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:auto}
#growthGuide .gg-dialog-footer{border-top:1px solid #d7c3a2;font-size:var(--ui-type-note-size);font-variant-numeric:tabular-nums}
#growthGuide .gg-dialog .gg-step{display:block;border:0;border-radius:0;padding:20px;background:transparent}
#growthGuide .gg-dialog .gg-step-number{display:none}
#growthGuide .gg-dialog .gg-step-head h4{min-width:0;flex:1 1 220px;line-height:1.45}
#growthGuide .gg-economics{margin:14px 0}
#growthGuide .gg-step .gg-verdict{margin:0 0 12px;font-weight:700;font-size:var(--ui-type-l4-size);line-height:1.65;color:#453924}
#growthGuide .gg-key-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
#growthGuide .gg-key-metrics>div{min-width:0;padding:14px 12px;border:1px solid #c6d2b4;border-radius:10px;background:#edf3e3}
#growthGuide .gg-key-metrics>div:first-child{background:#fff0d4;border-color:#d6b575}
#growthGuide .gg-key-metrics dt{font-size:var(--ui-type-note-size);font-weight:700;color:#5f6147}
#growthGuide .gg-key-metrics dd{margin:7px 0;color:#3d592b;font-size:var(--ui-type-l2-size);font-weight:700;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#growthGuide .gg-key-metrics>div:first-child dd{color:#895324}
#growthGuide .gg-key-metrics small{display:block;margin-top:7px;color:#665b48;font-size:var(--ui-type-note-size);line-height:1.5}
#growthGuide .gg-price-basis{margin-top:10px;font-size:var(--ui-type-note-size);color:#766247}
#growthGuide .gg-price-basis summary{cursor:pointer}
#growthGuide .gg-price-basis p{line-height:1.7}
#growthGuide .gg-step-breakdown{margin-top:16px;padding-top:14px;border-top:1px solid #d9c9ae}
#growthGuide .gg-step-breakdown>summary{cursor:pointer;color:#624d33;font-weight:700;font-size:var(--ui-type-l4-size)}
#growthGuide .gg-step-estimates{align-items:start}
#growthGuide .gg-value-pick{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:16px;border:1px solid #aabd8c;border-left:5px solid #71884d;border-radius:10px;background:#fafcf5}
#growthGuide .gg-value-pick>div{min-width:0}
#growthGuide .gg-value-pick .gg-value-eyebrow{display:block;margin-bottom:7px;color:#63714e;font-size:var(--ui-type-note-size)}
#growthGuide .gg-value-pick p{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:var(--ui-type-l4-size);color:#3e572c}
#growthGuide .gg-value-pick small{display:block;margin-top:7px;color:#6a634f;font-size:var(--ui-type-note-size)}
#growthGuide .gg-value-pick button{flex-shrink:0}
#growthGuide .gg-route-depletion{display:block;max-width:100%;padding:2px 4px;border-radius:4px;background:#f9e2d4;color:#934526;font-size:11px;line-height:1.4;font-weight:700}
#growthGuide .gg-budget-end{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 18px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-budget-end>span{padding:5px 9px;border:1px solid #d9b48c;border-radius:6px;background:#fff0dc;color:#855127;font-weight:700}
#growthGuide .gg-budget-end small{flex-basis:100%;color:#71614d;font-size:inherit;line-height:1.6}
#growthGuide .gg-route-limit{margin:0 0 18px;color:#80512d;font-size:var(--ui-type-note-size);line-height:1.6}
#growthGuide .gg-step .gg-step-depleted{margin-top:10px;padding:9px 11px;border-left:3px solid #b8753e;background:#fff0dc;color:#80512d;font-size:var(--ui-type-note-size)}
@media(max-width:599px){
  #growthGuide .gg-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:12px}
  #growthGuide .gg-dialog .gg-step{padding:14px}
  #growthGuide .gg-dialog-toolbar,#growthGuide .gg-dialog-footer{padding:8px 12px;gap:8px}
  #growthGuide .gg-key-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  #growthGuide .gg-key-metrics>div:first-child{grid-column:1/-1}
  #growthGuide .gg-key-metrics>div{padding:10px}
  #growthGuide .gg-key-metrics dd{font-size:var(--ui-type-l3-size)}
  #growthGuide .gg-value-pick{flex-direction:column;align-items:stretch;padding:12px}
}

/* A missing value stays visibly actionable until the individual field is corrected. */
#growthGuide .gg-field>select{width:100%}
#growthGuide .gg-equip.has-issue{border:2px solid #bb302a;background:#fff1ed}
#growthGuide .gg-equip :is(input,select)[aria-invalid=true]{border:2px solid #bb302a;box-shadow:0 0 0 2px #bb302a22;color:#8f211c;background:#fff0ed!important}
#growthGuide .gg-review-errors{display:block;padding:5px 7px;border-radius:5px;background:#fbe0db;color:#98231e!important;font-weight:700;line-height:1.5}
#growthGuide .gg-field.has-error .gg-value{box-shadow:0 0 0 2px #bb302a22}

#growthGuide .gg-potential-field{display:flex;flex-direction:column;min-width:0;gap:5px}
#growthGuide .gg-potential-heading{display:flex;align-items:center;justify-content:space-between;gap:2px;min-height:18px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-complete{display:inline-flex;align-items:center;gap:2px;white-space:nowrap;color:#65553f;font-size:10px;cursor:pointer}
#growthGuide .gg-complete input{width:12px;height:12px;margin:0;accent-color:#607d3a}
#growthGuide .gg-potential-field:has(.gg-complete input:checked)>select{background:#edf3e3;opacity:.7}
@media(max-width:399px){#growthGuide .gg-potential-heading{flex-wrap:wrap;justify-content:flex-start;gap:1px 3px}#growthGuide .gg-potential-field{gap:4px}}

#growthGuide .gg-empty-slot{min-height:22px;padding:1px 4px;border:1px solid #ba9b71;border-radius:4px;background:#fff8e8;color:#75562f;font-size:10px;cursor:pointer}

#growthGuide .gg-save-state{margin:12px 0 18px;padding:12px 14px;border:1px solid #aabe91;border-radius:10px;background:#f5f8ee;color:#445c30}
#growthGuide .gg-save-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0}
#growthGuide #ggSavedCode{font-size:var(--ui-type-l3-size);font-weight:700;letter-spacing:.04em;overflow-wrap:anywhere;user-select:all}

#growthGuide .gg-equip-fields{align-items:end}

/* Original client sprites, with a compact optional equipment-window preview. */
#growthGuide .gg-art-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0}
#growthGuide .gg-art-controls>label{display:flex;flex-direction:column;gap:4px;font-size:var(--ui-type-note-size);min-width:0;flex:1 1 160px}
#growthGuide .gg-art-controls>p{flex-basis:100%;font-size:var(--ui-type-note-size);color:#78654d}
#growthGuide .gg-identity-fields{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
#growthGuide .gg-identity-fields label{display:flex;align-items:center;gap:5px;font-size:var(--ui-type-note-size);min-width:0;flex:1}
#growthGuide .gg-identity-fields select{height:30px;min-height:30px;flex:1;padding:3px 5px;font-size:var(--ui-type-note-size)}
#growthGuide .gg-gear-art{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;border:2px solid #969ca4;border-radius:7px;background:#f0f1f3;color:#6b4937}
#growthGuide .gg-gear-sprite{display:block;flex:none;background-repeat:no-repeat;image-rendering:pixelated}
#growthGuide .gg-gear-art[data-gear-grade=Grade2]{border-color:#4d82d0;background:linear-gradient(135deg,#dfeaff,#a9c7ff)}
#growthGuide .gg-gear-art[data-gear-grade=Grade3]{border-color:#985ad2;background:linear-gradient(135deg,#ede0ff,#c49ceb)}
#growthGuide .gg-gear-art[data-gear-grade=Grade4]{border-color:#d99824;background:linear-gradient(135deg,#fff1c6,#f1c361)}
#growthGuide .gg-gear-art[data-gear-grade=Grade5]{border-color:#32b581;background:linear-gradient(135deg,#dcf9eb,#fff 75%)}
#growthGuide .gg-gear-art[data-gear-grade=Grade5_1]{border-color:#32b581;background:linear-gradient(135deg,#a3f1b9,#fff7a8 78%)}
#growthGuide .gg-gear-art[data-gear-grade=Grade6]{border-color:#e9485e;background:linear-gradient(135deg,#f69cac,#fff0ec)}
#growthGuide .gg-gear-art[data-gear-grade=Grade6_1]{border-color:#e9485e;background:linear-gradient(135deg,#f395a5,#ffe094)}
#growthGuide .gg-art-check{position:absolute;right:1px;top:1px;min-width:13px;height:14px;padding:0 2px;border-radius:3px;color:#fff;background:#b92f27;font-size:11px;font-weight:700;line-height:14px}
#growthGuide .gg-gear-empty{display:grid;place-items:center;min-width:30px;min-height:30px;color:#8d8c87}
#growthGuide .gg-route-card>.gg-gear-art{margin:1px auto 3px}
#growthGuide .gg-gear-dialog{position:fixed;inset:0;transform:none;width:min(470px,calc(100% - 20px));box-sizing:border-box;max-height:calc(100dvh - 24px);margin:auto;border:1px solid #bea783;border-radius:14px;padding:14px;background:#fffaf0;overflow:auto;overscroll-behavior:contain}
#growthGuide .gg-gear-dialog:not([open]){display:none}
#growthGuide .gg-gear-dialog::backdrop{background:#25221a88}
#growthGuide .gg-gear-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
#growthGuide .gg-native-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,108px);gap:8px;padding:8px;border-radius:9px;background:linear-gradient(155deg,#d5edfb,#adddf1 60%,#dfefda)}
#growthGuide .gg-native-card{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:space-between;min-width:0;padding:3px;border:1px solid #88b2b0;border-radius:7px;background:#ffffffdd;cursor:pointer;color:#344339}
#growthGuide .gg-native-card.has-error{outline:2px solid #b92f27;outline-offset:0}
#growthGuide .gg-native-level,#growthGuide .gg-native-grade{width:100%;font-size:9px;line-height:1.2;white-space:nowrap;text-align:center}
#growthGuide .gg-native-grade{font-weight:700}
#growthGuide .gg-native-stars{display:flex;align-items:center;gap:2px;justify-content:space-between;width:100%;font-size:12px;line-height:1.2}
#growthGuide .gg-native-stars i{display:inline-block;width:11px;height:11px;background:#ccc;border:1px solid #fff;border-radius:2px}
#growthGuide .gg-native-stars i[data-potential-grade=Grade2]{background:#639bfa}
#growthGuide .gg-native-stars i[data-potential-grade=Grade3]{background:#a571ef}
#growthGuide .gg-native-stars i[data-potential-grade=Grade4]{background:#ffc75f}
#growthGuide .gg-native-stars i[data-potential-grade=Grade5]{background:#69edb5}
#growthGuide .gg-native-stars i[data-potential-grade=Grade6]{background:#ef3e51}
#growthGuide .gg-native-stars b{margin-left:auto}
#growthGuide .gg-native-center{grid-column:2/4;grid-row:2/5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;color:#386577}
#growthGuide .gg-native-center small{font-size:11px}
@media(max-width:399px){#growthGuide .gg-native-board{gap:5px;padding:5px;grid-template-rows:repeat(6,103px)}#growthGuide .gg-native-level,#growthGuide .gg-native-grade{font-size:8px}#growthGuide .gg-equip-name>.gg-gear-art{display:none}}

body:has(#ggGearDialog[open]){overflow:hidden}

@media(max-width:399px){#growthGuide .gg-native-card{padding:1px}#growthGuide .gg-identity-fields label{font-size:11px}}
.gg-feedback{margin-top:18px;padding:18px;border:1px solid #c7d5b7;border-radius:12px;background:#f4f7ef;color:#465a36;overflow-wrap:anywhere}
.gg-feedback .gg-feedback-consent{display:flex;align-items:center;gap:9px;font-weight:800;font-size:16px;cursor:pointer}
.gg-feedback input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#557238}
#growthGuide .gg-feedback p{margin:10px 0;font-size:13px;line-height:1.7}
.gg-feedback .gg-feedback-retention{color:#675e51;font-size:12px}
#growthGuide .gg-feedback #ggFeedbackStatus{margin:12px 0 0;font-weight:700}
.gg-feedback #ggFeedbackStatus[data-state=error]{padding:8px;border:2px solid #bd372d;border-radius:8px;background:#fff0ed;color:#a82b23}
.gg-feedback #ggFeedbackStatus[data-state=success]{color:#365d24}
@media(max-width:520px){.gg-feedback{padding:13px}.gg-feedback .gg-button{width:100%}}
