.resource-dashboard{--res-paper:#fff;--res-gold-bg:#faf5e8;--res-line:#dfe6dc;--res-ink:#263c32;--res-muted:#68786c;--res-green:#345d48;--res-gold:#b18b43;--res-gold-light:#d7bb78;--res-warn:#815a26;color:var(--res-ink);margin:0 0 28px;min-width:0}.resource-dashboard *{box-sizing:border-box}.resource-dashboard h3,.resource-dashboard h4,.resource-dashboard p,.resource-dashboard figure{margin:0}.resource-dashboard .resource-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.resource-heading h3{font-size:23px;font-weight:500}.resource-heading p{font-size:12px;color:var(--res-muted);margin-top:5px}.resource-heading label{font-size:11px;color:var(--res-muted);display:flex;gap:8px;align-items:center}.resource-heading select{width:110px;padding:8px;border:1px solid var(--res-line);border-radius:6px;background:var(--res-paper);color:var(--res-ink);font:inherit}.resource-gold{border:1px solid #e4d6af;border-radius:12px;background:var(--res-gold-bg);padding:24px}.resource-title-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:15px}.resource-title-row h4,.resource-money h4{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}.resource-title-row h4>svg{color:var(--res-gold)}.resource-state{display:inline-flex;gap:4px;align-items:center;border-radius:5px;padding:4px 8px;background:#eaf0e7;color:var(--res-green);font-size:11px}.resource-state.is-warning{background:#f5e7ce;color:var(--res-warn)}.resource-overview{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:center}.resource-gold-value{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap}.resource-gold-value strong{font-size:40px;font-weight:500;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;line-height:1.2}.resource-gold-value>span,.resource-gold-numbers>p{font-size:12px;color:var(--res-muted)}.resource-gold-numbers>p{margin-top:6px}.resource-advice{margin-top:22px}.resource-advice small{font-size:11px;color:var(--res-muted);display:block;margin-bottom:6px}.resource-advice p{font:400 19px/1.4 Georgia,'Times New Roman',serif;max-width:440px}.resource-scribe{position:relative;width:220px;max-width:100%;aspect-ratio:304/284;align-self:end}.resource-scribe .resource-portrait{width:100%;height:100%;display:block;object-fit:contain}.resource-book{position:absolute;left:12%;top:60%;width:33%;text-align:center;transform:rotate(3deg);font:500 21px/1.1 Georgia,'Times New Roman',serif;font-variant-numeric:tabular-nums;display:grid;gap:3px;pointer-events:none;color:#503718}.resource-book-symbol{display:flex;gap:5px;align-items:center;justify-content:center;color:#573b16}.resource-book-symbol>svg{width:17px;height:17px}.resource-book-symbol>img{width:25px;height:13px;object-fit:contain}.resource-book-ruble{font-size:19px;line-height:1}.resource-book-gold{color:#37651d;white-space:nowrap}.resource-book-money{color:#37651d;font-size:12px;white-space:nowrap}.resource-book .is-low{color:#9b3d24}.resource-uncovered{font-size:12px;color:var(--res-warn);margin:12px 0!important;line-height:1.5}.resource-gold-scale{position:relative;margin-top:16px}.resource-gold-track{height:21px;position:relative;border-radius:4px;overflow:hidden;background:#e7dfc9}.resource-gold-track>span{display:block;height:100%;background:linear-gradient(90deg,var(--res-gold),var(--res-gold-light));transition:width .3s}.resource-gold-track:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(5% - 2px),var(--res-gold-bg) calc(5% - 2px),var(--res-gold-bg) 5%);pointer-events:none}.resource-min-marker{position:absolute;top:-5px;width:2px;height:31px;background:var(--res-ink);transform:translateX(-1px)}.resource-scale-labels{position:relative;display:flex;justify-content:space-between;gap:8px;color:var(--res-muted);font-size:11px;margin-top:10px}.resource-scale-labels>span:nth-child(2){position:absolute;transform:translateX(-50%);color:var(--res-ink)}.resource-gold-footer{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:20px}.resource-gold-footer strong{font-size:13px;font-weight:500;color:var(--res-green)}.resource-gold-footer small{font-size:11px;color:var(--res-muted);display:block;margin-top:4px}.resource-dashboard .is-warning{color:var(--res-warn)}.resource-composition{min-width:150px;max-width:100%;font-size:12px}.resource-composition summary{display:flex;gap:8px;align-items:center;justify-content:flex-end;color:var(--res-green);cursor:pointer;padding:4px 0}.resource-composition dl{min-width:260px;max-width:100%;margin:10px 0 0}.resource-composition dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e5dcc7;padding:8px 0}.resource-composition dt{color:var(--res-muted)}.resource-composition dd{margin:0;white-space:nowrap}.resource-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.resource-money{min-width:0;border:1px solid var(--res-line);border-radius:11px;padding:18px;background:var(--res-paper)}.resource-money h4{font-size:13px;margin-bottom:17px}.resource-money h4>svg{color:var(--res-green);flex-shrink:0}.resource-money-value{display:block;font-size:25px;letter-spacing:-.5px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.resource-money-caption{font-size:11px;color:var(--res-muted);min-height:32px;margin-top:6px!important}.resource-meter,.resource-tax-meter{height:7px;border-radius:4px;background:#eaf0e7;overflow:hidden;margin:14px 0 10px;display:flex}.resource-meter>span,.resource-tax-meter>span{display:block;height:100%;background:var(--res-green);transition:width .3s}.resource-tax-meter>.is-paid{background:#afc8a7}.resource-money-status{font-size:11px;color:var(--res-muted);min-height:17px}.resource-money>small{font-size:11px;line-height:1.5;color:var(--res-muted);display:block;margin-top:9px}.resource-text-button{border:0;background:none;padding:8px 0 0;font:inherit;font-size:12px;color:var(--res-green);display:inline-flex;gap:6px;align-items:center;cursor:pointer}.resource-text-button:hover{text-decoration:underline}.resource-other{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 2px;font-size:12px;color:var(--res-muted);border-bottom:1px solid var(--res-line)}.resource-other strong{font-weight:500;color:var(--res-ink)}.resource-purchase-details{margin-top:14px;font-size:12px}.resource-purchase-details>summary{cursor:pointer;padding:8px 0;color:var(--res-green)}.resource-purchase-details>.gold-bank{margin-top:15px}.resource-note{font-size:11px;color:var(--res-muted);line-height:1.5;margin-top:10px!important}
@media(max-width:800px){.resource-overview{grid-template-columns:minmax(0,1fr) 190px;gap:16px}.resource-scribe{width:190px}.resource-book{font-size:18px;gap:2px;top:59%}.resource-book-money{font-size:11px}.resource-book-symbol>svg{width:14px;height:14px}.resource-book-ruble{font-size:16px}.resource-advice p{font-size:17px}.resource-money-grid{gap:8px}.resource-money{padding:14px}.resource-money-value{font-size:21px}}
@media(max-width:560px){.resource-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.resource-heading h3{font-size:21px}.resource-heading label{margin-left:auto}.resource-gold{padding:16px}.resource-overview{grid-template-columns:minmax(0,1fr) 140px;gap:8px}.resource-scribe{width:140px;align-self:center}.resource-gold-value strong{font-size:32px}.resource-gold-value>span,.resource-gold-numbers>p{font-size:11px}.resource-advice{margin-top:14px}.resource-advice p{font-size:15px}.resource-book{top:56%;font-size:14px;gap:0}.resource-book-symbol>svg{width:12px;height:12px}.resource-book-symbol>img{width:20px;height:11px}.resource-book-ruble{font-size:13px}.resource-book-money{font-size:11px}.resource-money-grid{grid-template-columns:1fr}.resource-money-caption{min-height:0}.resource-money h4{margin-bottom:10px}.resource-money-value{font-size:25px}.resource-composition{width:100%}.resource-composition summary{justify-content:flex-start;min-height:36px}.resource-composition dl{min-width:0}.resource-scale-labels{font-size:11px;gap:5px}.resource-other{font-size:11px}.resource-text-button{min-height:36px}}
@media(max-width:380px){.resource-overview{grid-template-columns:1fr}.resource-scribe{justify-self:center;width:185px}.resource-book{top:58%;font-size:18px;gap:1px}.resource-book-symbol>svg{width:14px;height:14px}.resource-book-symbol>img{width:23px;height:12px}.resource-book-ruble{font-size:15px}.resource-gold-value strong{font-size:34px}}
.resource-dashboard .resource-watch-button{display:inline-flex;align-items:center;gap:8px;min-height:32px;max-width:100%;border:0;border-radius:5px;background:transparent;color:inherit;padding:5px 6px;margin:-5px -6px;font:inherit;text-align:left;cursor:pointer}.resource-watch-button>svg{flex-shrink:0;color:var(--res-green)}.resource-title-row .resource-watch-button>svg:first-child{color:var(--res-gold)}.resource-watch-button>.resource-watch-check{color:var(--res-green)}.resource-dashboard .resource-watch-button:hover{background:#345d480d}.resource-dashboard .resource-watch-button:focus-visible{outline:2px solid var(--res-green);outline-offset:3px}.resource-money.is-watched{border-color:var(--res-green);box-shadow:0 0 0 1px #345d4820}.resource-gold.is-watched{border-color:var(--res-gold);box-shadow:0 0 0 1px #b18b4320}
.resource-watch-button>span{white-space:nowrap}
@media(prefers-reduced-motion:reduce){.resource-gold-track>span,.resource-meter>span,.resource-tax-meter>span{transition:none}}
