:root{font-family:"Segoe UI",Arial,sans-serif;color:#19323e;background:#f4f7f8;font-synthesis:none;--ink:#19323e;--muted:#657984;--green:#087f75;--mint:#e7f4f0;--line:#dfe8eb;--red:#c3423f;--blue:#3975b7;--radius:14px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #45b6ac;outline-offset:3px}button{color:inherit}svg{vertical-align:middle}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.boot{padding:18vh 20px;text-align:center;color:var(--muted)}.skip-link{position:fixed;left:16px;top:-80px;padding:12px;background:white;z-index:100}.skip-link:focus{top:8px}
.topbar{background:#fff;border-bottom:1px solid var(--line);height:86px;display:flex;align-items:center;gap:28px;padding:0 32px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--ink);flex-shrink:0}.brand img{width:162px;height:51px;object-fit:cover}.brand-sub{border-left:1px solid var(--line);padding-left:17px;font-size:12px;line-height:1.5;letter-spacing:.13em;font-weight:700;color:var(--green)}.nav{display:flex;align-self:stretch;gap:22px;margin-left:12px}.nav button{background:none;border:0;border-bottom:3px solid transparent;padding:0 3px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted)}.nav button.active{color:var(--green);border-bottom-color:var(--green)}.account{margin-left:auto;display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:var(--green);font-size:13px;font-weight:700}.account-name{font-size:13px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-role{display:block;font-size:11px;color:var(--muted);margin-top:3px}.icon-button{background:none;border:1px solid var(--line);border-radius:9px;padding:8px;display:inline-flex;align-items:center;justify-content:center}.counter{background:#deede9;color:var(--green);border-radius:20px;font-size:11px;padding:2px 6px;min-width:21px;text-align:center}
.page{max-width:1700px;margin:auto;padding:29px 32px 36px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.17em;font-weight:700;color:var(--green);margin:0 0 7px}h1{font-size:26px;letter-spacing:-.7px;margin:0;font-weight:650}h2{font-size:17px;letter-spacing:-.25px;margin:0;font-weight:650}h3{font-size:14px;margin:0;font-weight:650}p{line-height:1.6}.subtext{color:var(--muted);font-size:12px;margin:6px 0 0}.sync{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.sync-dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;margin-right:5px}.button{border:1px solid var(--line);border-radius:9px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;font-size:12px;font-weight:600;text-decoration:none}.button.primary{background:var(--green);border-color:var(--green);color:white}.button:hover{background:#eff5f4}.button.primary:hover{background:#05695f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:17px 20px;display:flex;align-items:center;gap:15px}.stat-icon{width:41px;height:41px;border-radius:11px;background:#eef4f6;display:grid;place-items:center;color:#557782}.stat-icon.green{background:var(--mint);color:var(--green)}.stat-icon.amber{background:#fcf1e2;color:#a46e23}.stat-icon.red{background:#faeeee;color:var(--red)}.stat b{display:block;font-size:26px;line-height:1.1;font-weight:650}.stat span{display:block;font-size:11px;color:var(--muted);margin-top:6px}
.workspace{display:grid;grid-template-columns:285px minmax(0,1fr);gap:22px;align-items:start}.tank-sidebar{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px}.sidebar-heading span{font-size:11px;color:var(--muted)}.search-wrap{position:relative;margin:0 14px 10px}.search-wrap .icon{position:absolute;left:11px;top:11px;color:#8799a0;width:16px}.search-wrap input{width:100%;padding:10px 10px 10px 34px;background:#f6f8f9;border:1px solid var(--line);border-radius:8px;font-size:12px}.filter-select{width:calc(100% - 28px);margin:0 14px 14px;padding:8px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:white;font-size:11px}.tank-list{border-top:1px solid var(--line);max-height:740px;overflow:auto;padding:7px}.tank-item{width:100%;text-align:left;background:white;border:1px solid transparent;border-radius:10px;padding:15px 12px;margin-bottom:4px;display:block}.tank-item:hover{background:#f5f9f8}.tank-item.selected{background:#edf7f4;border-color:#b5dcd4;box-shadow:inset 3px 0 var(--green)}.tank-item-top{display:flex;justify-content:space-between;align-items:center;gap:5px}.tank-serial{font-size:13px;font-weight:650;word-break:break-word}.tank-location{font-size:10px;color:var(--muted);margin:5px 0 11px}.tank-item-bottom{display:flex;justify-content:space-between;align-items:center;gap:4px}.tank-value{font-size:15px;font-weight:650;letter-spacing:-.3px}.tank-value small{font-size:10px;font-weight:400;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:4px 7px;border-radius:5px;background:#f0f3f5;color:var(--muted);white-space:nowrap}.badge.pump{background:#e4f2ec;color:#117855}.badge.observation{background:#eef0fb;color:#6573a7}.badge.alert{background:#fae9e7;color:var(--red)}.badge.heater{background:#fcf1e2;color:#a46e23}.badge .dot{height:5px;width:5px;border-radius:50%;background:currentColor}.side-note{padding:14px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.7}
.tank-detail{min-width:0}.tank-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:3px 0 21px}.tank-heading h2{font-size:24px;letter-spacing:-.6px;overflow-wrap:anywhere}.tank-location-line{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:8px}.tank-location-line .icon{width:14px;height:14px}.tank-actions{display:flex;gap:7px;flex-shrink:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:21px}.metric{border-left:2px solid var(--line);padding-left:13px}.metric label{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.metric strong{display:block;font-size:19px;line-height:1.35;letter-spacing:-.35px;font-weight:650}.metric strong small{font-weight:400;font-size:11px;color:var(--muted);letter-spacing:0}.metric .metric-note{font-size:10px;color:var(--muted);margin-top:5px}.metric:first-child{border-left-color:var(--green)}.metric:first-child strong{color:var(--green)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px;overflow:hidden}.panel-top{padding:18px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.range-group{display:inline-flex;background:#f2f5f6;border:1px solid #e8eef0;padding:3px;border-radius:8px}.range-group button{padding:6px 9px;border:0;background:none;border-radius:5px;font-size:10px;color:var(--muted)}.range-group button.active{background:#fff;box-shadow:0 1px 3px #18333b15;color:var(--green);font-weight:650}.unit-label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.unit-label select{border:1px solid var(--line);border-radius:7px;padding:7px;background:white;font-size:11px;color:var(--ink)}.graph-wrap{padding:0 13px}.graph{display:block;width:100%;height:auto;max-height:390px;min-height:230px}.chart-grid{stroke:#e4ecef;stroke-dasharray:4 6;stroke-width:1}.chart-axis{fill:#879aa3;font-size:11px}.chart-axis.pressure{fill:var(--green)}.chart-axis.temperature{fill:var(--blue)}.pressure-line{fill:none;stroke:var(--green);stroke-width:2.3;stroke-linejoin:round;stroke-linecap:round}.temperature-line{fill:none;stroke:var(--blue);stroke-width:1.8;stroke-dasharray:5 5}.chart-point{cursor:pointer}.point-base{stroke:#fff;stroke-width:1.5}.point-pump{fill:var(--green)}.point-observation{fill:#7660a9}.point-connected{fill:#fff;stroke:var(--green);stroke-width:2}.point-muted{fill:#78868d}.point-heater{fill:#fff;stroke:#c77b10;stroke-width:2.4}.point-warning-badge{fill:var(--red);stroke:#fff;stroke-width:1.3}.point-warning-text{fill:#fff;stroke:none;font:bold 9px Arial,sans-serif;text-anchor:middle;pointer-events:none}.point-focus{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-dasharray:2 2;opacity:0;pointer-events:none}.chart-point.is-picked .point-focus,.chart-point:hover .point-focus,.chart-point:focus .point-focus{opacity:1}.chart-point:focus{outline:none}.point-hit{fill:transparent;stroke:none;pointer-events:all}.chart-legend{font-size:10px;color:var(--muted);padding:3px 18px 13px}.legend-row{display:flex;align-items:center;justify-content:center;gap:10px 20px;flex-wrap:wrap;margin:3px 0}.legend-row>strong{font-size:9px;letter-spacing:.04em;color:#526a77;min-width:49px}.legend-item{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.legend-symbol{width:23px;height:23px;flex-shrink:0}.legend-note{margin:5px 0 0;text-align:center;font-size:10px;line-height:1.6;color:var(--muted)}.legend-line{display:inline-block;width:20px;height:2px;background:var(--green);vertical-align:middle;margin-right:6px}.legend-line.blue{background:none;border-top:2px dashed var(--blue);height:0}.chart-bottom{border-top:1px solid var(--line);padding:11px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfcfc}.chart-bottom p{font-size:10px;color:var(--muted);margin:0}.threshold{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:var(--muted)}.threshold input{width:51px;padding:5px;border:1px solid var(--line);border-radius:5px;font-size:10px}.point-detail{background:#eef7f4;padding:12px 20px;font-size:11px;display:flex;flex-wrap:wrap;gap:10px 20px;border-top:1px solid #cce3dc}.point-detail b{color:var(--green)}
.table-heading{border-bottom:1px solid var(--line)}.tabs{display:flex;gap:24px}.tabs button{background:none;padding:0 0 3px;border:0;color:var(--muted);font-size:12px;font-weight:600}.tabs button.active{color:var(--green)}.table-meta{font-size:10px;color:var(--muted)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:9px;background:#fafcfc;padding:12px 15px;border-bottom:1px solid var(--line)}td{padding:12px 15px;border-bottom:1px solid #edf1f3;line-height:1.5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafdfc}tbody tr.picked{background:#edf7f4}.pressure-cell{font-weight:650;color:var(--green)}.pressure-cell.changed{color:var(--red)}.weather-cell{color:var(--blue)}.day-cell{color:#607781}.entry-source{display:block;font-size:9px;color:#8da0a7}.table-note{font-size:9px;color:var(--muted);padding:12px 20px;margin:0;border-top:1px solid var(--line)}.table-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.table-pagination div{display:flex;gap:7px}.table-pagination .button{padding:6px 10px;font-size:10px}.chronology{padding:8px 22px}.timeline-row{position:relative;padding:16px 0 16px 25px;border-left:1px solid #dbe7e7;margin-left:5px;font-size:11px}.timeline-row::before{content:"";position:absolute;left:-4px;top:22px;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #fff}.timeline-row.legacy::before{background:#93a6ae}.timeline-row time{font-size:10px;color:var(--muted)}.timeline-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:5px 0}.timeline-title b{font-size:13px}.timeline-row p{font-size:10px;color:var(--muted);margin:4px 0;overflow-wrap:anywhere;white-space:pre-wrap}.empty{padding:45px 24px;text-align:center;color:var(--muted);font-size:12px}.empty .icon{display:block;width:30px;height:30px;margin:0 auto 14px;color:#92b0b4}.empty h3{color:var(--ink);margin-bottom:8px}.banner{padding:12px 16px;border:1px solid #e7d7b9;background:#fcf6e9;color:#846025;border-radius:9px;font-size:12px;margin-bottom:18px;line-height:1.6}.banner.error{border-color:#edc4c1;background:#fff1ef;color:#ab3f38}.app-footer{font-size:10px;color:#8a9ca5;display:flex;justify-content:space-between;gap:15px;margin:23px 0 0;line-height:1.7}.notifications-panel{max-width:1100px;margin:0 auto}.notification{padding:21px 25px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:14px}.notification:last-child{border:0}.notification p{font-size:12px;margin:6px 0;color:#4e6874}.notification time{font-size:10px;color:var(--muted)}.notification button{background:none;border:0;padding:0;color:var(--green);font-size:12px;font-weight:650;text-align:left}.notification .stat-icon{width:34px;height:34px;flex-shrink:0}
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{background:#0f3b40;padding:60px 60px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;color:#fff}.login-story::before{content:"";width:550px;height:550px;border:1px solid #ffffff10;border-radius:50%;position:absolute;right:-300px;bottom:-150px;box-shadow:0 0 0 90px #ffffff03,0 0 0 180px #ffffff02;pointer-events:none}.login-story .eyebrow{color:#8ed8c8;margin-bottom:20px}.login-story h1{font-size:44px;max-width:480px;line-height:1.17;font-weight:550;letter-spacing:-1.6px}.login-story>p{font-size:14px;color:#bad0d0;max-width:390px;margin-top:22px;line-height:1.9}.login-features{margin-top:36px;display:grid;gap:20px}.login-feature{display:flex;align-items:center;gap:13px;color:#d9e9e5;font-size:12px}.login-feature .icon{color:#8ed8c8;stroke-width:1.4}.login-story .story-footer{font-size:10px;color:#83a5a8;margin-top:65px;letter-spacing:.06em}.login-form-side{display:flex;align-items:center;justify-content:center;padding:50px 30px}.login-card{width:360px}.login-logo{width:218px;height:86px;object-fit:cover;display:block;margin-bottom:33px}.login-card h2{font-size:23px;margin-bottom:6px;letter-spacing:-.5px}.login-card .subtext{font-size:12px;margin-bottom:27px;line-height:1.8}.field{display:block;margin-bottom:18px;font-size:12px;font-weight:600}.field input{display:block;width:100%;border:1px solid #d5e0e3;background:#fafcfc;border-radius:8px;padding:13px;font-size:13px;margin-top:8px;font-weight:400}.login-submit{width:100%;padding:13px;margin-top:5px;font-size:13px}.login-help{font-size:10px;color:var(--muted);line-height:1.9;margin-top:22px}.login-tag{display:inline-flex;align-items:center;gap:7px;font-size:10px;background:#e9f4f1;color:var(--green);padding:6px 9px;border-radius:5px;margin-bottom:20px}.login-error{color:#a1322e;font-size:12px;background:#fff0ed;border:1px solid #f0d1cd;padding:11px;border-radius:8px;margin:0 0 17px;line-height:1.6}.text-button{padding:0;background:none;border:0;color:var(--green);font-size:11px;text-decoration:underline;margin-top: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}#print-report{display:none}
@media(min-width:1450px){.workspace{grid-template-columns:310px minmax(0,1fr)}.page{padding-left:40px;padding-right:40px}.metric strong{font-size:22px}.graph{max-height:430px}}
@media(max-width:1050px){.topbar{padding:0 20px;gap:15px}.brand-sub{display:none}.page{padding:24px 20px}.workspace{grid-template-columns:235px minmax(0,1fr);gap:16px}.panel-top{flex-wrap:wrap}.metric strong{font-size:16px}.metrics{gap:9px}.metric{padding-left:9px}.tank-heading{flex-wrap:wrap}.stats{gap:10px}.stat{padding:15px 13px;gap:10px}.stat-icon{width:33px;height:33px}.stat span{font-size:10px}.stat b{font-size:24px}.login-story{padding:40px}.login-story h1{font-size:36px}}
@media(max-width:740px){.topbar{height:72px;padding:0 15px;gap:12px;flex-wrap:nowrap}.brand img{width:122px;height:42px}.nav{gap:12px;margin-left:0}.nav button{font-size:11px;gap:4px}.nav button .icon{display:none}.account{gap:7px}.account-name{display:none}.account .avatar{width:29px;height:29px;font-size:10px}.icon-button{padding:6px}.page{padding:21px 14px}.page-intro{align-items:flex-start}.page-intro h1{font-size:23px}.sync{font-size:10px;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:155px}.sync .button{padding:7px;font-size:10px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px}.stat{padding:13px}.workspace{grid-template-columns:1fr}.tank-sidebar{max-height:none}.tank-list{display:flex;overflow:auto;max-height:165px;padding:6px;gap:5px}.tank-item{min-width:205px;width:205px;margin:0}.tank-item.selected{box-shadow:inset 0 -3px var(--green)}.sidebar-heading{padding:13px 16px 10px}.search-wrap{display:inline-block;width:calc(60% - 20px);margin:0 6px 10px 14px}.filter-select{display:inline-block;width:calc(40% - 15px);margin:0 10px 10px 0}.side-note{display:none}.tank-heading{margin-top:10px;gap:14px}.tank-heading h2{font-size:23px}.tank-actions .button{font-size:10px;padding:9px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:5px 0 22px}.metric strong{font-size:20px}.panel-top{padding:16px}.chart-controls{gap:8px;width:100%;justify-content:space-between}.graph-wrap{padding:0 4px}.graph{min-height:220px}.chart-bottom{padding:12px;align-items:flex-start;flex-wrap:wrap}.table-meta{font-size:9px}.app-footer{flex-direction:column;gap:0}.login-page{display:block}.login-story{display:none}.login-form-side{min-height:100vh;padding:35px 24px}.login-card{max-width:380px;width:100%}.login-logo{margin-bottom:25px}.notifications-panel .panel-top{gap:15px}.notification{padding:18px 16px}.notification p{font-size:11px}}
.tank-project{display:block;font-size:10px;color:var(--green);margin:6px 0 3px;overflow-wrap:anywhere}
.android-download{display:inline-flex;gap:6px;align-items:center;font-size:11px;font-weight:600;text-decoration:none;color:var(--green);padding:7px 0}
.temperature-point{fill:var(--blue);stroke:white;stroke-width:.7}
@page{size:A4 landscape;margin:8mm}
@media print{body{background:white;color:#17323d;-webkit-print-color-adjust:exact;print-color-adjust:exact}#app,.skip-link,noscript{display:none!important}#print-report{display:block}.report-page{break-after:page;position:relative;min-height:185mm;padding-bottom:15mm}.report-page:last-child{break-after:auto}.report-header{display:flex;gap:16px;align-items:center;border-bottom:1px solid #d6e2e5;padding-bottom:10px;margin-bottom:12px}.report-header img{width:155px;height:52px;object-fit:cover}.report-title{flex:1;min-width:0}.report-title h1{font-size:23px;overflow-wrap:anywhere}.report-title p{font-size:10px;margin:5px 0 0}.report-form{text-align:right;font-size:10px;line-height:1.8;flex-shrink:0}.report-form b{color:#087f75}.report-summary{display:flex;justify-content:space-between;gap:15px;font-size:11px;background:#f0f6f5;padding:12px;margin:10px 0 14px;border-radius:6px}.report-graph .graph{height:auto;max-height:100mm;min-height:0}.report-graph .chart-legend{padding:3px}.report-note{font-size:9px;color:#5a717d;margin:8px 0;line-height:1.7}.report-table{font-size:8.5px;table-layout:auto}.report-table th{font-size:8px;padding:8px;background:#f0f5f6}.report-table td{padding:6px 8px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.report-table tbody tr:nth-child(even){background:#f7f9fa}.report-table td:first-child{width:22px}.report-footer{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #d6e2e5;padding-top:6px;font-size:8px;color:#506a77;line-height:1.8;display:flex;justify-content:space-between;gap:15px}.report-page .chart-point{cursor:default}.report-page .point-focus,.report-page .point-hit{display:none}.report-graph .legend-row{gap:5px 17px}.report-graph .legend-note{font-size:8px;margin-top:3px}.report-table thead{display:table-header-group}}
