#stSheep{--sg-card:#fff;--sg-field:#fcfdff;--sg-ink:#10234d;--sg-muted:#57729b;--sg-line:#d2e5f6;--sg-soft:#edf7ff;--sg-mint:#e9f7ed;--sg-green:#086e3e;--sg-blue:#087cff;--sg-warn:#fff6e4;color:var(--sg-ink);font:14px/1.5 Arial,Helvetica,sans-serif;margin:18px 0;isolation:isolate}
#stSheep *{box-sizing:border-box}#stSheep [hidden]{display:none!important}#stSheep h2{font-size:22px;line-height:1.3;margin:0 0 14px;color:var(--sg-ink);font-weight:800}#stSheep h3{font-size:16px;margin:22px 0 14px;font-weight:700}#stSheep p{margin:0}#stSheep .sg-caption{font-size:11px;color:var(--sg-muted);line-height:1.6}#stSheep .sg-help{font-size:11px;color:var(--sg-muted);margin:8px 0;line-height:1.6}#stSheep .sg-art{display:block;flex-shrink:0}#stSheep .sg-art svg{display:block;width:100%;height:100%;overflow:hidden}#stSheep .sg-icon{display:block;width:30px;height:30px;flex-shrink:0;color:var(--sg-blue)}#stSheep button,#stSheep input,#stSheep select{font:inherit}#stSheep button{appearance:none;cursor:pointer;border:1px solid var(--sg-line);border-radius:7px;color:var(--sg-ink);background:var(--sg-card);line-height:1.35}#stSheep button:hover{border-color:var(--sg-blue)}#stSheep button:focus-visible,#stSheep input:focus-visible,#stSheep select:focus-visible,#stSheep summary:focus-visible,#stSheep a:focus-visible{outline:3px solid #78b9ff;outline-offset:3px}#stSheep button:disabled{opacity:.5;cursor:default}#stSheep button[aria-pressed=true]{background:var(--sg-soft);border-color:var(--sg-blue);box-shadow:inset 0 0 0 1px var(--sg-blue)}#stSheep .sg-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 8px}#stSheep .sg-presets button{display:flex;align-items:flex-start;position:relative;text-align:left;padding:15px 14px;min-height:128px;min-width:0;gap:10px;overflow:hidden}#stSheep .sg-radio{width:19px;height:19px;border:1px solid #91a9c4;border-radius:50%;display:block;flex:0 0 19px;background:var(--sg-card)}#stSheep [aria-pressed=true] .sg-radio{border-color:var(--sg-blue);background:radial-gradient(circle,var(--sg-blue) 0 5px,var(--sg-card) 6px)}#stSheep .sg-presets b{font-size:14px;display:block;position:relative;z-index:1}#stSheep .sg-presets small{font-size:12px;display:block;position:relative;z-index:1;color:var(--sg-muted);margin-top:3px}#stSheep .sg-presets .sg-art{position:absolute;bottom:5px;right:8px;width:145px;height:93px;max-width:45%;z-index:0}#stSheep .sg-presets button>span:nth-child(2){max-width:80%;min-width:0}#stSheep .sg-assumptions{text-align:center;margin:6px 0 14px}#stSheep .sg-main{display:grid;grid-template-columns:1fr 1.12fr;gap:14px;align-items:stretch}#stSheep .sg-panel{background:var(--sg-card);border:1px solid var(--sg-line);border-radius:10px;box-shadow:0 5px 20px #3495c507;padding:18px;min-width:0}#stSheep .sg-label{display:block;font-weight:700;margin:18px 0 7px}#stSheep input,#stSheep select{width:100%;min-width:0;height:40px;padding:8px 12px;border:1px solid #b8cce3;border-radius:6px;background:var(--sg-field);color:var(--sg-ink);box-shadow:inset 0 1px 2px #031d4006}#stSheep input[aria-invalid=true],#stSheep select[aria-invalid=true]{border-color:#d06b37;outline:1px solid #d06b37}#stSheep .sg-daysrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#stSheep .sg-daysrow>.sg-unit{max-width:145px}#stSheep .sg-unit{display:flex;gap:10px;align-items:center;min-width:0}#stSheep .sg-unit input{width:90px;flex:0 1 90px}#stSheep .sg-unit span{font-size:12px;color:var(--sg-muted);line-height:1.4}#stSheep .sg-chips{display:flex;gap:7px;flex-wrap:wrap}#stSheep .sg-chips button{padding:7px 12px;font-size:12px;min-height:36px;background:var(--sg-field)}#stSheep .sg-chips button[aria-pressed=true]{background:var(--sg-blue);color:white;box-shadow:none}#stSheep #sgForm>h3{border-top:1px solid var(--sg-line);padding-top:15px}#stSheep .sg-field{display:grid;grid-template-columns:1fr 1.75fr;gap:12px;align-items:start;margin:21px 0}#stSheep .sg-field label{font-size:13px;font-weight:700;padding-top:9px}#stSheep .sg-field .sg-help{margin-bottom:0}#stSheep .sg-field select{font-size:12px;padding:8px}#stSheep .sg-info{display:flex;gap:12px;align-items:center;background:var(--sg-soft);border:1px solid #b7dcff;border-radius:7px;padding:12px;margin-top:26px}#stSheep .sg-info>span{display:grid;place-items:center;background:var(--sg-blue);color:#fff;font-size:14px;font-weight:800;border-radius:50%;width:22px;height:22px;flex-shrink:0}#stSheep .sg-info p{font-size:12px;line-height:1.6}#stSheep .sg-actions{display:flex;gap:12px;margin-top:18px}#stSheep .sg-actions button{flex:1;padding:12px;font-weight:700;border-color:var(--sg-blue);color:var(--sg-blue);min-height:46px}#stSheep .sg-actions .sg-primary{flex:1.55;background:linear-gradient(#1787ff,#0069f6);color:white}#stSheep .sg-error{margin-top:12px;padding:10px;background:var(--sg-warn);color:#a04a20;border:1px solid #dfac80;border-radius:6px;font-size:12px}#stSheep .sg-hero{display:flex;gap:14px;align-items:center;background:var(--sg-mint);border:1px solid #dfefdf;border-radius:10px;padding:16px 18px;color:var(--sg-green);min-height:104px}#stSheep .sg-hero>.sg-icon{color:var(--sg-green);width:43px;height:43px}#stSheep .sg-hero b{font-size:12px;color:var(--sg-ink);display:block}#stSheep .sg-hero strong{display:block;font-size:30px;letter-spacing:-.6px;white-space:nowrap;font-weight:800;line-height:1.5}#stSheep .sg-hero small{display:block;font-size:11px;color:var(--sg-muted)}#stSheep .sg-countdown{font-size:11px;font-weight:700;background:#dcf4e4;border:1px solid #b1e4c6;border-radius:30px;padding:9px 12px;margin-left:auto;white-space:nowrap}#stSheep .sg-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 18px}#stSheep .sg-metric{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--sg-line);border-radius:9px;padding:13px 12px;min-width:0;min-height:94px}#stSheep .sg-metric .sg-icon{width:30px;height:30px;margin-top:2px}#stSheep .sg-metric:nth-child(3)>.sg-icon{color:#3ba440}#stSheep .sg-metric b{display:block;font-size:12px;line-height:1.4}#stSheep .sg-metric strong{display:block;font-size:19px;white-space:nowrap;line-height:1.7;letter-spacing:-.3px}#stSheep .sg-metric small{display:block;font-size:11px;color:var(--sg-muted);line-height:1.5}#stSheep .sg-progresshead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}#stSheep .sg-progresshead h3{font-size:14px;margin:0}#stSheep .sg-progresshead small{font-size:11px;color:var(--sg-muted);text-align:right}#stSheep .sg-progress{position:relative;height:14px;background:var(--sg-line);border-radius:30px;margin:10px 0 0}#stSheep #sgFill{height:100%;background:var(--sg-blue);border-radius:30px;width:0}#stSheep #sgPointer{position:absolute;top:0;transform:translateX(-50%);width:16px;height:16px;border-radius:50%;background:var(--sg-blue);border:1px solid var(--sg-card)}#stSheep .sg-scene{width:100%;height:270px;margin:9px 0 0}#stSheep .sg-scenecaption{text-align:center;margin:2px 0 10px}#stSheep .sg-exports{display:flex;gap:10px}#stSheep .sg-exports button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;color:var(--sg-blue);font-weight:700;border-color:#6aa6ff;padding:9px;font-size:13px;min-width:0}#stSheep .sg-exports .sg-icon{width:19px;height:19px}#stSheep .sg-notice{min-height:0;margin-top:4px;text-align:center}#stSheep .sg-notice:empty{display:none}#stSheep .sg-timelinepanel{margin-top:14px;padding:16px 18px}#stSheep .sg-timeline{list-style:none;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:12px 0;position:relative;gap:12px}#stSheep .sg-timeline:before{content:'';position:absolute;top:26px;left:8%;right:8%;height:1px;background:#6faaff}#stSheep .sg-event{text-align:center;position:relative;min-width:0}#stSheep .sg-event>span{display:grid;place-items:center;width:53px;height:53px;border:1px solid #91c5ff;border-radius:50%;background:var(--sg-field);margin:0 auto 8px;color:var(--sg-blue)}#stSheep .sg-event:first-child>span{background:var(--sg-soft)}#stSheep .sg-event:last-child>span{background:var(--sg-mint)}#stSheep .sg-event .sg-icon{width:28px;height:28px}#stSheep .sg-event b{display:block;font-size:12px;line-height:1.4}#stSheep .sg-event time{font-size:11px;color:var(--sg-muted);display:block;line-height:1.7}#stSheep .sg-event small{font-size:10px;color:var(--sg-muted);display:block}#stSheep .sg-timelinepanel>.sg-caption{text-align:center;margin:4px 0 0}#stSheep .sg-warning{display:flex;align-items:center;gap:12px;padding:12px 18px;border:1px solid #f3c367;background:var(--sg-warn);border-radius:9px;margin:14px 0}#stSheep .sg-warning>span{background:#db7000;color:white;font-weight:800;font-size:21px;border-radius:50%;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}#stSheep .sg-warning b{font-size:14px;color:#a65500}#stSheep .sg-warning p{font-size:12px;margin-top:2px;color:var(--sg-ink)}#stSheep .sg-lower{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}#stSheep .sg-lower h2{font-size:17px}#stSheep .sg-formula{display:flex;gap:12px;align-items:center;padding:10px 12px;background:var(--sg-field);border:1px solid var(--sg-line);border-radius:6px;margin:8px 0;font-size:12px}#stSheep .sg-formula b{min-width:38%}#stSheep details{border:1px solid var(--sg-line);border-radius:6px;margin:5px 0}#stSheep summary{cursor:pointer;list-style:none;padding:7px 10px;display:flex;justify-content:space-between;gap:10px;font-size:12px}#stSheep summary::-webkit-details-marker{display:none}#stSheep summary:after{content:'⌄';color:var(--sg-muted)}#stSheep details[open] summary:after{content:'⌃'}#stSheep details p{padding:0 12px 12px;font-size:12px;color:var(--sg-muted);line-height:1.6}#stSheep .sg-sources{display:flex;align-items:center;gap:18px;margin-top:14px;padding:12px 18px}#stSheep .sg-sources h2{display:flex;gap:10px;align-items:center;margin:0;font-size:14px;white-space:nowrap}#stSheep .sg-sources .sg-icon{width:25px;height:25px}#stSheep .sg-sources a{font-size:11px;line-height:1.6;color:var(--sg-blue)}#stSheep .sg-sources a+a{border-left:1px solid var(--sg-line);padding-left:18px}
:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep{--sg-card:#102136;--sg-field:#0c1d31;--sg-ink:#e8f0ff;--sg-muted:#a1bbd7;--sg-line:#294762;--sg-soft:#163750;--sg-mint:#163b30;--sg-green:#9eedbb;--sg-blue:#3499ff;--sg-warn:#30291b}
:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep input,:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep select{border-color:#466580;color-scheme:dark}:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep .sg-hero{border-color:#2f624b}:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep .sg-countdown{background:#20503a;border-color:#397454}:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep .sg-warning b{color:#ffc677}:is(html.st-master-dark,html.dark,body.dark,[data-theme="dark"]) #stSheep .sg-error{color:#ffd1ad}
@media(max-width:1050px){#stSheep .sg-hero{padding:13px 12px;gap:10px;flex-wrap:wrap}#stSheep .sg-hero strong{font-size:28px}#stSheep .sg-hero>.sg-icon{width:34px;height:34px}#stSheep .sg-countdown{padding:7px 9px}#stSheep .sg-metric{padding:11px 9px;gap:8px}#stSheep .sg-metric strong{font-size:17px}#stSheep .sg-metric .sg-icon{width:24px;height:24px}#stSheep .sg-presets b{font-size:13px}#stSheep .sg-presets small{font-size:11px}#stSheep .sg-presets .sg-art{width:126px;height:85px;max-width:44%}#stSheep .sg-chips button{padding:7px 10px}#stSheep .sg-field{grid-template-columns:1fr 1.65fr;gap:10px}#stSheep .sg-field label{font-size:12px}#stSheep .sg-sources{gap:12px;flex-wrap:wrap}}
@media(max-width:760px){#stSheep .sg-main{grid-template-columns:1fr}#stSheep .sg-presets{margin:0;gap:8px}#stSheep .sg-presets button{padding:12px 8px 90px;min-height:145px;gap:7px}#stSheep .sg-presets b{font-size:12px}#stSheep .sg-presets small{font-size:10px}#stSheep .sg-presets .sg-art{max-width:90%;width:120px;height:78px;right:50%;transform:translateX(50%);bottom:7px}#stSheep .sg-presets button>span:nth-child(2){max-width:none}#stSheep .sg-radio{width:16px;height:16px;flex-basis:16px}#stSheep .sg-hero{flex-wrap:nowrap}#stSheep .sg-hero strong{font-size:30px}#stSheep .sg-scene{height:auto;aspect-ratio:1536/610;min-height:190px}#stSheep .sg-field{grid-template-columns:1fr 1.65fr}#stSheep .sg-field label{font-size:13px}#stSheep .sg-lower{grid-template-columns:1fr}#stSheep .sg-timeline{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}#stSheep .sg-timeline:before{display:none}#stSheep .sg-event:nth-child(3n+2):before,#stSheep .sg-event:nth-child(3n+3):before{content:'';position:absolute;top:26px;right:70%;width:60%;height:1px;background:#6faaff;z-index:0}#stSheep .sg-event>span{position:relative;z-index:1}#stSheep .sg-sources a+a{padding-left:0;border:0}#stSheep .sg-sources h2{width:100%}}
@media(max-width:440px){#stSheep{font-size:13px}#stSheep .sg-panel{padding:14px}#stSheep h2{font-size:19px}#stSheep .sg-presets button{flex-direction:column;gap:6px;padding:10px 8px 72px;min-height:154px}#stSheep .sg-presets b{font-size:11px}#stSheep .sg-presets .sg-art{height:67px;max-width:95%}#stSheep .sg-label{margin:16px 0 6px}#stSheep .sg-field{gap:8px;grid-template-columns:1fr 1.7fr}#stSheep .sg-field label{font-size:12px}#stSheep .sg-field select{padding:7px;font-size:11px}#stSheep .sg-unit{gap:7px}#stSheep .sg-unit input{width:70px;flex-basis:70px;padding:8px}#stSheep .sg-unit span{font-size:11px}#stSheep .sg-daysrow{gap:8px}#stSheep .sg-chips{gap:5px}#stSheep .sg-chips button{padding:7px 8px;min-height:34px}#stSheep .sg-hero{flex-wrap:wrap;padding:12px;gap:8px}#stSheep .sg-hero strong{font-size:27px}#stSheep .sg-hero>.sg-icon{width:31px;height:31px}#stSheep .sg-countdown{margin-left:auto;font-size:10px}#stSheep .sg-metrics{gap:8px}#stSheep .sg-metric{padding:10px 8px;flex-direction:column;gap:6px}#stSheep .sg-metric b{font-size:11px}#stSheep .sg-metric strong{font-size:17px}#stSheep .sg-metric small{font-size:10px}#stSheep .sg-progresshead{align-items:flex-start}#stSheep .sg-progresshead h3{font-size:12px}#stSheep .sg-progresshead small{font-size:10px}#stSheep .sg-scene{min-height:160px}#stSheep .sg-exports{gap:8px}#stSheep .sg-exports button{font-size:12px;padding:9px 6px;gap:6px}#stSheep .sg-warning{padding:12px}#stSheep .sg-warning b{font-size:13px}#stSheep .sg-warning p{font-size:11px}#stSheep .sg-formula{font-size:11px;gap:10px}#stSheep .sg-formula b{min-width:32%}#stSheep .sg-event b{font-size:11px}#stSheep .sg-event time{font-size:10px}#stSheep .sg-sources h2{font-size:13px;white-space:normal}}
