:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#273b3c;background:#f0f2ed;font-synthesis:none;--line:#dce2db;--green:#244f48}*{box-sizing:border-box}body{margin:0;display:flex;height:100dvh;overflow:hidden}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #76b9a8;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}.sidebar{width:306px;flex:none;background:#fbfcf7;border-right:1px solid var(--line);padding:30px 25px 18px;display:flex;flex-direction:column;z-index:5;overflow:auto}.brand{display:flex;gap:12px;align-items:center;font-size:13px;font-weight:750;letter-spacing:2px}.brandmark{display:grid;place-items:center;width:38px;height:38px;background:var(--green);color:#e2e9d4;border-radius:10px;font-size:26px;letter-spacing:0}.brand small{display:block;font-size:7px;letter-spacing:1.3px;font-weight:500;margin-top:7px}.section-label{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#8a9790;margin-top:44px}h1{font-size:27px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:16px 0 13px}.intro{font-size:12px;line-height:1.7;color:#84908a;margin:0 0 27px}nav{display:grid;gap:8px}nav button{display:flex;text-align:left;align-items:center;gap:12px;border:1px solid transparent;background:transparent;border-radius:9px;padding:13px 10px;font-size:12px;font-weight:550}nav button:hover{background:#eef2e8}nav button.active{background:#e8eee3;border-color:#d4dfce}nav small{display:block;font-size:10px;font-weight:400;color:#8b968c;margin-top:5px}nav b{margin-left:auto;color:#8c9a8f;font-size:16px;font-weight:400}.num{width:29px;font-size:18px;font-weight:450;color:#426154}.amber{color:#b18a4f}.teal{color:#408e8d}.purple{color:#8076b7}.settings-label{margin-top:30px;margin-bottom:10px}.toggle{display:flex;align-items:center;justify-content:space-between;padding:10px 2px;font-size:11px;cursor:pointer;position:relative}.toggle input{position:absolute;right:0;width:29px;height:18px;opacity:0}.toggle i{display:block;width:29px;height:17px;background:#d9dfd4;border-radius:20px;pointer-events:none}.toggle i:after{content:'';display:block;width:11px;height:11px;background:#fff;border-radius:50%;margin:3px;transition:transform .2s}.toggle input:checked+i{background:#4d7162}.toggle input:checked+i:after{transform:translateX(12px)}.toggle input:focus-visible+i{outline:2px solid #79a796}.toggle input:disabled+i{opacity:.35}.sidebar-footer{margin-top:auto;padding-top:28px;font-size:9px;color:#8b978d;display:grid;gap:16px}.sidebar-footer button{text-align:left;padding:0;border:0;background:none;font-size:10px}.sidebar-footer>span{font-size:8px;letter-spacing:.5px}.statusdot{display:inline-block;width:6px;height:6px;background:#7ba581;border-radius:50%;margin-right:6px}main{flex:1;min-width:0;position:relative;background:radial-gradient(ellipse at 55% 42%,#f7f8f2 0,#e9ede5 85%)}#canvas-wrap,#labels-layer{position:absolute;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}#labels-layer{pointer-events:none;overflow:hidden}.world-label{position:absolute;white-space:nowrap;font-size:9px;padding:5px 8px;background:#fbfcf3e8;border:1px solid #d6ded2;border-radius:4px;transform:translate(-50%,-100%);color:#3f5350;box-shadow:0 2px 8px #26382e0a}.world-label.floor-label{background:#315b50;color:#fff;border:0;font-size:11px;padding:7px 12px}.world-label.room-label{font-size:8px;color:#778477;background:#fafbf2ad}.topbar{position:absolute;top:27px;left:33px;right:28px;display:flex;align-items:center;justify-content:space-between;z-index:3;pointer-events:none}.topbar>*{pointer-events:auto}.eyebrow{font-size:8px;letter-spacing:1.8px;color:#859284;font-weight:600}h2{font-size:24px;font-weight:500;letter-spacing:-.7px;margin:8px 0}.top-actions{display:flex;gap:8px}.top-actions button,.top-actions a,.viewtools button{font-size:10px;background:#fbfcf5e0;border:1px solid #d6dfd0;border-radius:6px;padding:11px 13px}.top-actions a{background:#2e594c;color:#edf2df;border-color:#2e594c}.viewtools{position:absolute;right:28px;top:104px;display:flex;gap:4px;z-index:3}.viewtools button{padding:9px 12px}.viewtools .selected{background:#dce6d7;border-color:#b6c8ad}.scene-caption{position:absolute;bottom:85px;left:34px;color:#7c8c7b;font-size:10px}.model-stat{position:absolute;bottom:101px;right:30px;text-align:right}.model-stat strong{font-size:28px;font-weight:400;letter-spacing:-1px}.model-stat strong span{font-size:15px;color:#8d9b8e}.model-stat small{display:block;font-size:7px;letter-spacing:1.5px;color:#89968a;margin-top:5px}.help{position:absolute;bottom:20px;left:33px;right:25px;font-size:9px;color:#859182;border-top:1px solid #d4ddcf;padding-top:15px}.help span{padding:0 9px;color:#acb6a6}.legend{position:absolute;bottom:54px;left:34px;display:flex;gap:18px;color:#7e8a7b;font-size:8px}.legend i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:2px}.amber-bg{background:#d69c51}.teal-bg{background:#4caeaa}.purple-bg{background:#8b8bd4}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#edf1e8;z-index:4;font-size:15px}#details{position:absolute;right:28px;top:160px;width:280px;padding:25px;background:#fcfdf8f5;box-shadow:0 15px 50px #2f483c1a;border:1px solid #d5dfd0;border-radius:10px;z-index:4}h3{font-size:23px;font-weight:500;margin:10px 0 22px;line-height:1.2;letter-spacing:-.5px}.close{position:absolute;right:12px;top:9px;border:0;background:none;font-size:24px;color:#81907c}.close:hover{color:#244f48}dl{margin:0}dl div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #e0e6d9;font-size:11px}dt{color:#8b9786}dd{margin:0}#detail-note{font-size:10px;line-height:1.7;color:#87927f;margin-top:18px}dialog{border:1px solid #d7e0d0;border-radius:14px;background:#fbfcf7;color:#2e4540;padding:35px;max-width:760px;width:90vw;max-height:85dvh;overflow:auto;box-shadow:0 30px 130px #1e382f40}dialog::backdrop{background:#203d345c;backdrop-filter:blur(4px)}dialog h2{margin-bottom:23px}#assumptions p{font-size:12px;line-height:1.7;color:#6e7d6c}.source-links{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;color:#356c5c;margin:24px 0}.photos{display:flex;gap:12px}.photos img{width:calc(50% - 6px);height:200px;object-fit:cover;border-radius:7px}#plan-dialog{max-width:1200px}#plan-image{width:100%;display:block}#plan-dialog p{font-size:11px;color:#84917d}@media(max-height:800px){.sidebar{padding-top:20px}.section-label{margin-top:25px}h1{font-size:24px}.intro{margin-bottom:18px}nav button{padding:10px}.settings-label{margin-top:20px}.toggle{padding:8px 2px}.sidebar-footer{padding-top:16px}}@media(max-width:900px){.sidebar{width:245px;padding:24px 17px}.brand{font-size:10px;letter-spacing:1.5px}h1{font-size:23px}.topbar{left:20px;right:15px}.topbar h2{font-size:19px}.top-actions button{display:none}.top-actions a{font-size:9px;padding:10px}.help{font-size:8px}.help span{padding:0 4px}}@media(max-width:640px){body{display:block}.sidebar{width:100%;height:166px;padding:14px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{font-size:11px}.brandmark{width:28px;height:28px;font-size:20px}.brand small{font-size:6px;margin-top:4px}.sidebar h1,.sidebar .intro,.sidebar>.section-label,.sidebar-footer{display:none}nav{display:flex;gap:4px;margin-top:14px}nav button{flex:1;justify-content:center;padding:9px 3px;font-size:9px;gap:4px}nav small,nav b{display:none}.num{font-size:12px;width:auto}nav button span:not(.num){max-width:80px}.toggle{position:absolute;top:116px;padding:5px 0;font-size:8px;gap:6px}.toggle:nth-of-type(1){left:14px}.toggle:nth-of-type(2){left:28%}.toggle:nth-of-type(3){left:60%}.toggle:nth-of-type(4){left:79%}main{height:calc(100dvh - 166px)}.topbar{top:16px;left:15px;right:15px}.topbar h2{font-size:18px}.eyebrow{font-size:6px}.viewtools{top:78px;right:15px}.help{left:15px;font-size:7px;bottom:14px;line-height:1.8}.model-stat{right:15px;bottom:95px}.model-stat strong{font-size:22px}.scene-caption{left:15px;font-size:8px;bottom:88px}.legend{left:15px;bottom:65px;gap:10px}#details{right:15px;top:120px;width:240px;padding:20px}.world-label{font-size:7px;padding:3px 5px}.world-label.floor-label{font-size:9px}dialog{padding:25px}.photos img{height:140px}}
#equipment-picker{margin-top:15px;width:100%;font:inherit;font-size:10px;padding:9px 6px;color:#526b5c;background:#f1f4eb;border:1px solid #d5dfce;border-radius:5px}@media(max-width:640px){#equipment-picker{display:none}}
#details{max-height:calc(100% - 205px);overflow:auto}#reference-photo{display:block;width:100%;height:auto;border:1px solid #e0e5db;border-radius:5px;background:white}#reference-link{display:inline-block;font-size:10px;color:#477463;margin:8px 0 12px}#focus-machine{display:block;width:100%;padding:10px;border:0;border-radius:5px;background:#315e50;color:#f5f7eb;font-size:11px}
/* Sunrise interface palette, based on sunrisecom.ru. Machine finishes retain their reference colours. */
:root{color:#12335b;background:#f5f5f5;--line:#e0e0e0;--green:#113866;--sunrise-blue:#113866;--sunrise-dark:#0d2d52;--sunrise-yellow:#7e8eb2}
.sidebar{background:#fff;border-color:#e0e0e0}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;letter-spacing:2px;flex-shrink:0}.brand-title{font-size:10px;color:#12335b;font-weight:650;letter-spacing:2.8px}.brand-logo{display:block;width:174px;height:83px;object-fit:cover;object-position:center 65%;margin-top:-3px}.brandmark{display:none}.section-label,.eyebrow{color:#8c919a}.intro{color:#80858e}h1,h2,h3{color:#12335b}nav button:hover{background:#f2f5fc}nav button.active{background:#edf2ff;border-color:#c6d4f5;box-shadow:inset 3px 0 #113866}nav button.active b{color:#113866}nav small,nav b{color:#8b929e}.num{color:#113866}.amber{color:#ad9900}.teal{color:#113866}.purple{color:#626c80}.toggle i{background:#dce0e7}.toggle input:checked+i{background:#113866}.toggle input:focus-visible+i{outline-color:#113866}.sidebar-footer,.sidebar-footer>span{color:#9096a0}.sidebar-footer button{color:#53627f}.statusdot{background:#113866}main{background:radial-gradient(ellipse at 55% 42%,#fff 0,#f0f2f7 85%)}.top-actions button,.viewtools button{background:#ffffffed;color:#404958;border-color:#d9dfeb}.top-actions a{background:#113866;color:#fff;border-color:#113866}.top-actions a:hover,#focus-machine:hover{background:#0d2d52}.viewtools .selected{background:#e9efff;border-color:#b6c8f3;color:#0d2d52}.topbar:before{content:'';position:absolute;width:27px;height:3px;background:#7e8eb2;left:0;top:-9px}.world-label{background:#fffffff0;border-color:#d5dceb;color:#3d4657;box-shadow:0 2px 8px #2738650a}.world-label.floor-label{background:#113866;color:#fff}.world-label.room-label{color:#727c8f;background:#ffffffd4}.scene-caption,.help,.legend,.model-stat strong span,.model-stat small{color:#8c94a2}.help{border-color:#d8dee9}.help span{color:#b0b7c2}.amber-bg{background:#c4b300}.teal-bg{background:#113866}.purple-bg{background:#626c80}#loading{background:#f4f6fa;color:#113866}#details{background:#fffffffa;border-color:#d6dfee;box-shadow:0 15px 50px #243d771a}.close{color:#8e98a9}.close:hover{color:#113866}dl div{border-color:#e3e7ef}dt,#detail-note{color:#818a99}dialog{background:#fff;color:#12335b;border-color:#d6dfee;box-shadow:0 30px 130px #1f367240}dialog::backdrop{background:#172a535c}#assumptions p{color:#6f7888}.source-links,#reference-link{color:#113866}#plan-dialog p{color:#848e9f}#equipment-picker{background:#f5f7fc;border-color:#d6dfee;color:#445779}#reference-photo{border-color:#e1e5ed}#focus-machine{background:#113866;color:#fff}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#113866}
@media(max-height:800px) and (min-width:641px){.brand-logo{width:155px;height:66px;object-position:center 65%}.section-label{margin-top:20px}.brand-title{font-size:9px}}
@media(max-width:640px){.brand{flex-direction:row;align-items:center;gap:8px;height:28px}.brand-title{font-size:9px;letter-spacing:1.5px}.brand-logo{width:112px;height:42px;margin-top:0;object-position:center 65%}}
@media(min-width:641px){.brand-logo{margin-top:5px}}

/* Source of truth: Рассчеты/logo-sunrise2.jpg and styles.css. */
.brand{justify-content:center;min-height:106px}.brand-logo{width:100%;max-width:235px;height:auto;object-fit:contain;object-position:center;margin:0}.topbar:before{background:#7e8eb2}:root{--sunrise-blue:#113866;--sunrise-dark:#0d2d52;--sunrise-yellow:#7e8eb2;background:#e9eff7;color:#12335b}.intro{color:#5f7394}.brand-title{display:none}main{background:radial-gradient(ellipse at 55% 42%,#fff 0,#e9eff7 85%)}
@media(max-height:800px) and (min-width:641px){.brand{min-height:88px}.brand-logo{width:100%;max-width:185px;height:auto;margin:0}}
@media(max-width:640px){.brand{min-height:28px;height:28px;justify-content:flex-start}.brand-logo{width:125px;max-width:125px;height:50px;margin:0}}
/* Slightly smaller Sunrise mark, retaining its complete original proportions. */
@media(min-width:641px){.brand-logo{width:88%;max-width:207px}}
@media(max-height:800px) and (min-width:641px){.brand-logo{width:88%;max-width:163px}}
@media(max-width:640px){.brand-logo{width:110px;max-width:110px;height:auto}}
#reference-link[hidden]{display:none}
