:root{font-family:"Segoe UI",system-ui,sans-serif;color:#142136;background:#f3f6fa;font-synthesis:none;--nav:#142136;--blue:#245cef;--line:#e2e8f1;--muted:#52647c;--white:#fff}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
:focus-visible{outline:3px solid #6f9fff;outline-offset:3px}
[hidden]{display:none!important}
h1,h2,p{margin:0}
h1{font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.13;letter-spacing:-.045em}
h2{font-size:1.12rem;letter-spacing:-.02em}
small{font-size:.77rem}
.brand{display:flex;align-items:center;gap:11px;padding:0 12px;color:#fff;font-size:1.38rem;letter-spacing:-.05em}
.brand b span{color:#8aaaff}
.brand-mark{width:34px;height:34px;display:flex;align-items:end;justify-content:center;gap:3px;padding-bottom:8px;background:#1f58ee;border-radius:10px;box-shadow:0 4px 12px #11204c50}
.brand-mark i{display:block;width:4px;background:#fff;border-radius:3px;height:8px;transform:skewY(-13deg)}
.brand-mark i:nth-child(2){height:13px}.brand-mark i:nth-child(3){height:19px}
.feed small{display:block;margin-top:4px;color:#aab8cf}
.avatar{width:32px;height:32px;border-radius:9px;background:#395179;color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.avatar.light{color:#1e49b2;background:#e9f0ff}
.environment{display:flex;align-items:center;gap:7px;background:#edf2ff;color:#254896;padding:7px 10px;border-radius:20px;font-size:.75rem;white-space:nowrap}
.environment i,.status i{width:7px;height:7px;background:currentColor;border-radius:50%;display:inline-block;flex:none}
.content{padding:32px;max-width:1640px;margin:0 auto}
.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}
.page-title p{margin-top:8px;color:var(--muted);font-size:.91rem;line-height:1.5}
.button{border:1px solid transparent;border-radius:9px;padding:9px 14px;min-height:42px;font-weight:650;line-height:1.28;white-space:nowrap}
.button.primary{color:#fff;background:var(--blue);box-shadow:0 2px 6px #245cef27}.button.primary:hover{background:#194bd5}
.button.secondary{color:#263d5a;background:#fff;border-color:#dbe4f0}.button.secondary:hover{background:#f1f5fb}
.button.small{font-size:.79rem;min-height:36px;padding:7px 11px}
.icon-btn{min-width:36px;min-height:36px;border:1px solid var(--line);background:#fff;color:#354f71;border-radius:8px;display:inline-grid;place-items:center;font-size:1.12rem}
.icon-btn:hover{background:#eaf1fd}
.tile{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:1.05rem;flex:none}
.blue{color:#234dad;background:#eaf1ff}.violet{color:#6543b8;background:#f0ebff}.teal{color:#126959;background:#e4f6ef}.amber{color:#88510d;background:#fff2dc}
.panel{background:#fff;border-radius:13px;border:1px solid var(--line);box-shadow:0 2px 7px #14213606;overflow:hidden}
.search{display:flex;align-items:center;gap:7px;min-width:min(225px,100%);flex:1;background:#f7f9fc;padding:0 11px;border:1px solid #dfe7f1;border-radius:8px;color:#516685}
.search input{padding:0;min-width:0;width:100%;height:39px;border:0;background:transparent;color:#142136}.search input:focus{outline:none}.search:focus-within{outline:2px solid #6d97ff}.search span{font-size:1.24rem}
input,select{color:#142136}
.field input,.field select{background:#fff;border:1px solid #dce5f0;border-radius:8px;min-height:40px;padding:7px 9px;width:100%}
input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);vertical-align:middle;flex:none}
.status{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;border:1px solid transparent;white-space:nowrap;font-size:.71rem;font-weight:650}
.status{color:#52647c}.status.active{color:#0b7054}.status.error,.status.blocked{color:#a02134}.status.position,.status.schedule,.status.queued,.status.review{color:#87510c}.status.preview,.status.verifying{color:#244ea3}
.feed article{display:flex;align-items:center;gap:12px;padding:16px 19px;border-bottom:1px solid #e9eef5}.feed article:last-child{border-bottom:0}.feed b{font-size:.9rem}.feed p{font-size:.81rem;margin:5px 0 0;color:#52647c}.feed article>time,.feed article>button{margin-left:auto;font-size:.75rem;color:#52647c}.feed-dot{width:8px;height:8px;border-radius:50%;background:#738ba9;flex:none}.feed-dot.applied{background:#178461}.feed-dot.error{background:#bd3144}.feed-dot.position{background:#345ee8}
.info,.empty{padding:20px;color:#52647c}.info h2{color:#142136}.info p + p,.info h2 + p{margin-top:10px}
dialog{border:1px solid var(--line);border-radius:16px;width:min(596px,calc(100vw - 26px));max-height:calc(100dvh - 28px);padding:0;color:#142136;background:#fff;box-shadow:0 20px 70px #11234450;overflow:auto}dialog::backdrop{background:#111c32a4}
.dialog-head,.dialog-foot{display:flex;justify-content:space-between;align-items:center;padding:15px 19px;gap:12px}.dialog-head{border-bottom:1px solid #e8edf5}.dialog-foot{justify-content:flex-end;border-top:1px solid #e8edf5}
.dialog-body{padding:17px 19px;display:grid;gap:12px}.dialog-body h2{font-size:1.15rem}.dialog-body p,.dialog-body legend{font-size:.86rem;line-height:1.5}
.detail{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:9px 10px;border-radius:8px;background:#f3f6fb;color:#4b617e;font-size:.77rem}.detail b{color:#182d4e}
.observed-details{display:grid;gap:6px}
.stop-notice{display:grid;gap:4px;padding:10px 12px;border:1px solid #f0d7b6;border-radius:8px;background:#fff7eb;color:#71430c}
.stop-notice strong{font-size:.87rem}
.field{display:grid;gap:5px;margin:0 0 8px;min-width:0}.field>span{font-size:.79rem;font-weight:650}.field input,.field select{font-size:.87rem}
.subpanel,fieldset{min-width:0;background:#f7f9fd;border:1px solid #e2eaf5;border-radius:9px;padding:10px 12px;margin:0}.subpanel>button{margin-top:7px}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.week{display:flex;gap:10px;flex-wrap:wrap;margin:2px 0 9px}.week>label,.check-label{display:flex;align-items:center;gap:5px;font-size:.8rem;min-height:30px}.week input,.check-label input{margin:0}
.helper{color:var(--muted)}.alert,.form-error:not(:empty){background:#fff0ee;color:#8f2d2e;border-radius:8px;padding:8px 10px}.form-error:empty{display:none}
.toolbar{display:flex;gap:8px;flex-wrap:wrap}.catalog{max-height:240px;overflow:auto;border:1px solid #e5ecf4;border-radius:8px}.pick{display:flex;gap:9px;align-items:center;min-height:44px;padding:7px 10px;border-bottom:1px solid #ecf1f7;font-size:.85rem}.pick:last-child{border-bottom:0}.pick small{display:block;color:#546a86;margin-top:2px}
.result-list{padding:0;margin:0;list-style:none}.result-list li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.83rem}.result-list li>span{text-align:right;color:#4d627e}
.result-list small{display:block;color:#52647c;margin-top:3px}.result-list .needs-check{color:#87510c}.result-value{text-align:right}
.auth-shell{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 20% 5%,#2d4d80,#182941 51%,#111d31 100%);padding:18px}.auth-card{width:min(410px,100%);background:#fff;border-radius:16px;padding:30px;box-shadow:0 16px 60px #09142760}.auth-card .brand{color:#142136;padding:0;margin-bottom:23px}.auth-card h1{font-size:1.8rem}.auth-card>p{margin:9px 0 17px;color:#52647c;font-size:.9rem;line-height:1.5}.auth-card form{display:grid;gap:7px}.auth-card .button{width:100%}
#notice{display:none;position:fixed;bottom:15px;right:15px;z-index:5;max-width:calc(100vw - 30px);padding:12px 15px;border-radius:9px;background:#183353;color:#fff;box-shadow:0 3px 14px #18283a45;font-size:.88rem}#notice.show{display:block}#notice.error{background:#922a3b}
.loading{padding:20px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:550px){.page-title{align-items:flex-start;flex-direction:column;gap:12px}.field-grid,.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.button{white-space:normal}}
.segment-nav{display:flex;gap:4px;padding:0 18px 12px;overflow:auto;scrollbar-width:thin}
.segment-nav button{flex:none;padding:7px 12px;min-height:34px;border:1px solid transparent;border-radius:7px;background:#f3f6fa;color:#506481;font-size:.81rem;font-weight:650}
.segment-nav button[aria-pressed=true]{background:#e8efff;border-color:#dbe6ff;color:#254896}
.dialog-segments{padding:0;flex-wrap:wrap}
.table-sort{background:none;border:0;color:inherit;padding:0;font:inherit;white-space:nowrap}
.table-sort:hover{color:#2451ba;text-decoration:underline}
.manage-switch{display:inline-flex;align-items:center;width:34px;height:20px;padding:2px;border:1px solid #cbd6e5;border-radius:12px;background:#dce5f0}
.manage-switch i{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #16234225}
.manage-switch[aria-checked=true]{justify-content:flex-end;background:#245cef;border-color:#245cef}
.manage-switch:disabled{opacity:.55;cursor:not-allowed}
.status.max,.status.metrics,.status.metricLimit,.status.moneyLimit{color:#87510c}
.status.stop-pending{color:#71430c}
.spark-button{display:block;min-height:31px;padding:0;border:0;background:transparent;color:#4f647f}
.column-settings,.batch-fields{display:grid;gap:6px}.column-row{display:flex;align-items:center;justify-content:space-between;background:#f3f6fc;border:1px solid #e1e9f4;border-radius:8px;padding:3px 8px;cursor:grab}
.column-row>div{display:flex;gap:4px}.column-row .icon-btn{min-width:30px;min-height:30px}
.thresholds,.batch-field{margin:8px 0;background:#f6f9ff;border:1px solid #e2eaf5;border-radius:8px;padding:8px 10px}.batch-field{margin:0}
.thresholds summary,.batch-field summary,.schedule-fields summary{cursor:pointer;color:#304e76;font-size:.84rem;font-weight:650;margin-bottom:4px}
.thresholds[open] summary,.batch-field[open] summary{margin-bottom:8px}.batch-field select{border:1px solid #dce5f0;border-radius:7px;background:#fff;min-height:34px;padding:3px 8px;margin-bottom:5px}
.hour-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:6px 0}.hour-grid label{display:flex;gap:3px;align-items:center;font-size:.76rem}.hour-grid input{margin:0}
textarea{width:100%;border:1px solid #dce5f0;border-radius:8px;padding:8px 9px;color:#142136;font:inherit;resize:vertical}
.strategy-results small{display:block;margin:3px 0}.strategy-results li>div{text-align:right}
dialog.insights-dialog{width:min(980px,calc(100vw - 26px))}
@media(max-width:550px){.content{padding:13px}.segment-nav{padding-inline:10px}.dialog-segments{padding-inline:0}.hour-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Workspaces */
.portal{--portal-accent:#075e50;--portal-hover:#084d44;--portal-soft:#e9f4f1;--portal-ink:#182a36;--portal-line:#dce5e6;--portal-muted:#516568;min-height:100dvh;background:#f4f7f6;color:var(--portal-ink)}
.portal-header{display:flex;align-items:center;gap:26px;min-height:63px;padding:0 clamp(16px,2.4vw,36px);background:#172a2c;color:#fff}
.portal-header .brand{gap:9px;padding:0;flex:none;font-size:1.26rem}.portal-header .brand-mark{background:#087868;box-shadow:none;width:29px;height:29px;padding-bottom:5px;border-radius:7px}.portal-header .brand b span{color:#8edfcf}
.portal-header nav{display:flex;align-self:stretch;gap:3px;min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#556663 transparent}
.portal-link{border:0;border-bottom:3px solid transparent;padding:8px 12px 5px;background:transparent;color:#d4e3df;min-height:46px;font-size:.81rem;font-weight:650;white-space:nowrap;flex:none}
.portal-link:hover,.portal-link.current{color:#fff;background:#22403c}.portal-link.current{border-bottom-color:#82dfc9}
.portal-account{display:flex;align-items:center;gap:8px;margin-left:auto}.portal-account .avatar{background:#365653}.portal-account button{border:0;border-radius:7px;color:#c4d7d2;background:transparent;padding:7px}.portal-account button:hover{background:#385450;color:#fff}
.portal .content{max-width:1730px;padding:27px clamp(13px,2.4vw,35px) 28px}.portal h1{font-size:clamp(1.42rem,2.4vw,2.05rem);font-weight:750;letter-spacing:-.043em}
.portal .primary{background:var(--portal-accent);box-shadow:none}.portal .primary:hover{background:var(--portal-hover)}.portal .secondary{border-color:var(--portal-line);color:#284840}.portal .secondary:hover{background:var(--portal-soft)}
.button.quiet{background:transparent;border-color:transparent;color:#35575a}.button.quiet:hover{background:#e8f1ef;color:#075e50}
.work-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.work-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.work-heading .environment{padding:4px 8px;color:#315b52;background:#e8f2ef;font-size:.71rem}
.work-tabs{display:flex;align-items:center;gap:19px;border-bottom:1px solid var(--portal-line);margin-bottom:13px}.work-tabs button{min-height:37px;padding:3px 1px 9px;border:0;border-bottom:3px solid transparent;background:none;color:#4d6265;white-space:nowrap;font-size:.9rem;font-weight:650}.work-tabs button[aria-pressed=true]{border-bottom-color:#087868;color:#075e50}
.work-report{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,5.1fr);margin:0 0 12px;border:1px solid var(--portal-line);border-radius:8px;background:#fff;overflow:hidden}
.work-report section{min-width:0;padding:10px 12px 11px}.work-report section+section{border-left:1px solid var(--portal-line)}.work-report h2{color:#354e4f;font-size:.74rem;line-height:1.4;margin-bottom:7px}
.report-values{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}.report-value{min-width:0;border-left:1px solid #e8eeed;padding-left:9px}.report-value:first-child{border:0;padding-left:0}.report-value span,.report-value small{display:block;color:#546969;line-height:1.1;font-size:.68rem}.report-value strong{display:block;margin:4px 0 2px;color:#173732;font-size:clamp(.85rem,1.35vw,1.28rem);font-weight:750;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}.report-value small{color:#28685a;font-variant-numeric:tabular-nums}
.sheet-panel{min-width:0;border:1px solid var(--portal-line);background:#fff;border-radius:8px;overflow:clip}.sheet-toolbar,.sheet-filters,.sheet-tools{display:flex;align-items:center;gap:8px;padding:8px 11px}.sheet-toolbar{justify-content:space-between;gap:13px}.sheet-toolbar .search{max-width:470px;border-color:var(--portal-line);background:#f9fbfa}.sheet-toolbar .search input{height:34px}.sheet-toolbar .toolbar{justify-content:flex-end}.sheet-toolbar .button{min-height:35px}
.sheet-filters{padding-top:0;flex-wrap:wrap}.sheet-filters select,.sheet-period select{padding:4px 8px;min-height:32px;border:1px solid var(--portal-line);border-radius:6px;background:#fff;color:#254140;font-size:.8rem;max-width:100%}.sheet-filters select{min-width:145px}.sheet-tools{justify-content:space-between;padding-top:3px;padding-bottom:5px}.column-jumps{display:flex;flex-wrap:wrap;gap:1px}.column-jumps .button{min-height:29px;padding:3px 8px;font-size:.74rem}.sheet-period{display:flex;align-items:center;gap:6px;min-width:0;font-size:.75rem;color:#425a5a}
.sheet-scroll{width:100%;overflow:auto;container-type:inline-size;scrollbar-width:auto;border-block:1px solid var(--portal-line);max-height:calc(100dvh - 300px)}
.sheet-scroll thead th{position:sticky;top:0;z-index:2;background:var(--portal-paper,#fff);box-shadow:0 1px 0 var(--portal-line)}
.info-tip{display:inline-grid;place-items:center;width:17px;height:17px;margin-left:5px;border:1px solid #8aa6a2;border-radius:50%;color:#0a5d50;background:#eef7f4;font-size:.66rem;font-weight:800;line-height:1;cursor:help;position:relative;vertical-align:middle}
.info-tip:hover::after,.info-tip:focus::after{content:attr(data-tip);position:absolute;z-index:20;left:50%;top:calc(100% + 7px);transform:translateX(-50%);width:min(330px,70vw);padding:8px 10px;border-radius:8px;background:#12251f;color:#fff;font-size:.74rem;font-weight:400;text-align:left;white-space:normal;box-shadow:0 10px 28px #10241d55;pointer-events:none}
.col-hint{display:inline-grid;place-items:center;width:14px;height:14px;margin-left:3px;border-radius:50%;background:#dfe7f1;color:#52647c;font-size:.58rem;font-weight:700;line-height:1;vertical-align:middle;cursor:help}
.th .col-hint{background:#cfd9ea}
.settings-help,.help-copy{margin-top:10px;border-top:1px solid #e6edec;padding-top:9px;font-size:.82rem;color:#3c5350;line-height:1.45}
.settings-help summary,.help-copy summary{cursor:pointer;color:#075e50;font-weight:700}
.settings-help dl,.help-list{margin:8px 0 0;display:grid;grid-template-columns:minmax(110px,180px) 1fr;gap:4px 10px;font-size:.78rem}
.settings-help dt,.help-list dt{color:#173732;font-weight:700}
.settings-help dd,.help-list dd{margin:0;color:#52647c}
.help-copy h3{margin:14px 0 6px;font-size:.92rem;color:#173732}
.help-copy h3:first-child{margin-top:0}.help-copy ol{margin:6px 0 0;padding-left:18px}.help-copy li{margin:4px 0}
.catalog-link{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #ecf1f7}
.catalog-link:last-child{border-bottom:0}.catalog-link b a{color:#0a5d50;text-decoration:none;word-break:break-all}.catalog-link p{margin:3px 0 0;color:#546a86;font-size:.78rem}
.catalog-status{font-weight:700}.catalog-status.ok{color:#0c7a45}.catalog-status.captcha{color:#a06a00}.catalog-status.error{color:#b42318}
.view-switch{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--portal-line);border-radius:8px;background:#f2f7f5}
.view-switch button{min-height:28px;padding:3px 10px;border:0;border-radius:6px;background:transparent;color:#425a5a;font:inherit;font-size:.76rem;cursor:pointer}
.view-switch button[aria-pressed=true]{background:#fff;color:#075e50;box-shadow:0 1px 3px #10241d2e;font-weight:700}
.draft-notice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:9px 12px;border:1px solid #ecd9a7;border-radius:8px;background:#fffaf0;color:#5c470f;font-size:.8rem}
.draft-notice .button{margin-left:auto}
.work-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.78rem;text-align:left}.work-table th,.work-table td{height:48px;padding:5px 6px;border-block-start:0;border-block-end:1px solid #e6edec;white-space:nowrap}.work-table th{height:35px;font-size:.72rem;color:#385153;background:#edf4f2}.work-table th:first-child,.work-table td:first-child{padding-left:9px}.work-table .listing-row:hover td{background:#f5faf9}.work-table tr:last-child td{border-block-end:0}.work-table .selected-row td{background:#f0f8f6}.work-table .actions-cell{min-width:62px}
.work-table .pick-cell,.work-table .expand-cell{min-width:29px;width:29px}.work-table .pick-cell input{margin:0;accent-color:#086958}.work-table td{max-width:260px;overflow:hidden;text-overflow:ellipsis}.work-table td>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-table .position-time{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:.64rem;color:#7a8c8a;line-height:1.15}.work-table [data-column-key=enabled]{min-width:64px}.work-table [data-column-key=state]{min-width:105px}.work-table [data-column-key=sparkline]{min-width:69px}.work-table [data-column-key=title]{min-width:148px;max-width:170px}.work-table [data-column-key=searchUrl]{min-width:127px;max-width:141px}.work-table [data-column-key=item]{font-variant-numeric:tabular-nums;color:#4b6061}.work-table [data-column-key=top],.work-table [data-column-key=target]{min-width:56px}.work-table [data-column-key=min],.work-table [data-column-key=max]{min-width:70px}.work-table :is([data-column-key=top],[data-column-key=target]) input[type=number]{width:32px}
.work-table [data-column-key=actual],.work-table [data-column-key=bid]{font-variant-numeric:tabular-nums;font-weight:700}.work-table [data-column-key=searchUrl] .sheet-value,.work-table .title-link,.work-table .search-link{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-table .title-link{color:#0a5d50;text-align:left;font-weight:700}.work-table .search-link{color:#0a5d50}
.work-table .status{padding:4px 6px;font-size:.7rem}.work-table .status.active{color:#075e50;background:#e3f3eb}.work-table .status.error{background:#fcebf0}.work-table .status.position,.work-table .status.schedule,.work-table .status.max,.work-table .status.metrics,.work-table .status.moneyLimit,.work-table .status.metricLimit{background:#f9f0de}.work-table .status.off{background:#eef1f1}.work-table .manage-switch[aria-checked=true]{background:#087868;border-color:#087868}
.work-table .spark-button{min-width:0;width:67px}.work-table .insight-sparkline-canvas{width:66px;height:26px}.sheet-value-wrap,.sheet-cell-editor{display:flex;align-items:center;gap:4px}.sheet-value,.sheet-icon,.sheet-cell-editor input{min-height:28px;border:1px solid #d5e0df;border-radius:5px;background:#fff;color:#254341}.sheet-value{width:100%;min-width:38px;text-align:left;padding:3px 7px;font:inherit;font-variant-numeric:tabular-nums}.sheet-value.compact{width:auto}.sheet-value:hover,.sheet-icon:hover{background:#eaf5f2;color:#075e50;border-color:#89bcb3}.sheet-value.unset{color:#526566;background:#f8fbfa}.sheet-icon{display:inline-grid;place-items:center;flex:none;min-width:25px;padding:1px 4px;font-weight:700;text-decoration:none}.sheet-icon.search-arrow{color:#075e50}.sheet-cell-editor input{min-width:0;width:100%;max-width:145px;padding:4px;color:#075e50;border-color:#2b7d70}.sheet-cell-editor input[type=number]{width:53px;appearance:textfield}.sheet-cell-editor input[type=number]::-webkit-inner-spin-button{appearance:none}.sheet-cell-editor button{background:#075e50;color:#fff}.sheet-no-rows{height:88px!important;color:#58696b}
.sheet-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;color:#506569;font-size:.73rem}.selection-bar{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:8px;background:#e4f3ef;border-top:1px solid #bccfc9;padding:7px 10px}.selection-bar b{margin-right:auto;white-space:nowrap}
.work-table .expanded-row td{height:auto;padding:0!important;background:#f1f7f5;white-space:normal}.row-insights{position:sticky;left:0;width:100cqw;max-width:1110px;padding:12px;overflow:hidden}.row-insights-head{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:9px}.row-insights-head h2{font-size:1rem}
.groups-toolbar,.group-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.groups-toolbar{margin:0 0 9px}.group-list{display:grid;gap:9px}.group-block{border:1px solid var(--portal-line);border-radius:8px;background:#fff;overflow:hidden}.group-heading{padding:6px 12px;border-bottom:1px solid #eef2f1}.group-toggle{display:flex;min-height:33px;gap:7px;align-items:center;border:0;background:none;color:#0b5b4e;font-size:1rem;font-weight:700}.group-count{display:flex;gap:12px;color:#4d6665;font-size:.78rem}.group-count b{color:#173732}.group-report{margin:0;border:0;border-radius:0}.group-body{padding:8px;background:#f4f8f7}.group-actions{margin-bottom:7px}
.portal-focused .portal-header,.portal-focused #summary{display:none}.portal-focused .content{max-width:none;padding:10px 8px}
#modal.settings-drawer{width:min(490px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0 0 0 auto;border-radius:0;border-block:0;border-right:0}
#modal.settings-drawer form{min-height:100%;display:grid;grid-template-rows:auto 1fr auto}.settings-drawer .dialog-head,.settings-drawer .dialog-foot{position:sticky;background:#fff;z-index:3}.settings-drawer .dialog-head{top:0}.settings-drawer .dialog-foot{bottom:0}.settings-title{margin:0}.core-settings{border:1px solid #dce5e6;border-radius:8px;padding:8px}.core-settings summary{font-weight:650;margin-bottom:6px;cursor:pointer}.strategy-panel-controls{display:grid;gap:5px}.settings-subtitle{color:#455d5e;font-weight:650}
#modal.settings-popover{width:min(475px,calc(100vw - 24px))}#modal.bulk-dialog{width:min(690px,calc(100vw - 24px))}#modal .primary{background:#075e50;box-shadow:none}#modal .primary:hover{background:#084d44}
.batch-column-headings,.batch-line{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(82px,.85fr) minmax(0,1fr);gap:7px;align-items:center}.batch-column-headings{color:#516568;font-weight:650;font-size:.74rem;padding:5px}.batch-line{padding:6px 5px;border-top:1px solid #edf1f0;font-size:.79rem}.batch-line select,.batch-line-value input{width:100%;min-width:0;border:1px solid #dce5e6;border-radius:6px;min-height:33px;padding:4px}.batch-line-label{align-items:flex-start}.batch-line-schedule[open]{grid-column:1/-1}.batch-line-schedule summary{cursor:pointer;color:#075e50}.batch-heading{margin:0;font-size:1rem}
.sheet-panel{overflow:visible}.sheet-scroll{border-radius:0}.sheet-filter{position:relative}.sheet-filter summary{min-width:125px;min-height:32px;border:1px solid var(--portal-line);border-radius:6px;padding:5px 8px;cursor:pointer;background:#fff;color:#254140;font-size:.8rem}.sheet-filter-options{position:absolute;z-index:5;top:calc(100% + 4px);left:0;width:min(220px,70vw);background:#fff;border:1px solid var(--portal-line);box-shadow:0 6px 16px #173a3030;border-radius:8px;padding:7px}.sheet-filter-options>div{max-height:180px;overflow:auto}.sheet-filter-options input[type=search]{width:100%;min-height:30px;border:1px solid var(--portal-line);border-radius:5px;padding:4px 6px}.sheet-filter-options label{padding:2px 3px}.sheet-filter-options label:hover{background:#e8f4f0}.work-table button.status:hover{border-color:#9bb6af}.report-value small.report-change{margin-top:3px;color:#516568}.selection-bar{flex-wrap:wrap}
#modal.import-dialog{width:min(720px,calc(100vw - 24px))}.catalog-filters .field:first-child{grid-column:1/-1}.catalog-errors{margin:0;padding-inline-start:25px}.catalog-accounts{display:flex;flex-wrap:wrap;gap:6px 16px}.catalog .pick a{color:#075e50;text-decoration-color:#8bb9af}.catalog .pick a:hover{text-decoration-color:#075e50}

@media(max-width:960px){.portal-header{gap:15px}.portal-link{padding-inline:8px}.sheet-toolbar{flex-wrap:wrap}.sheet-toolbar .search{max-width:none;flex-basis:240px}}
@media(max-width:690px){.portal-header{flex-wrap:wrap;gap:0;min-height:56px;padding-top:9px}.portal-header nav{order:3;flex:0 0 100%;min-width:0}.portal-account{order:2}.portal-header .brand{padding-bottom:7px}.portal .content{padding-top:14px}.work-report{grid-template-columns:minmax(0,1fr)}.work-report section+section{border-left:0;border-top:1px solid var(--portal-line)}.sheet-tools{flex-wrap:wrap}.sheet-toolbar .toolbar{width:100%;justify-content:flex-start}.sheet-toolbar .search{flex-basis:100%}.sheet-filters select{min-width:125px}.work-report .report-value strong{font-size:.92rem}}
@media(max-width:390px){.report-economy .report-values{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}.sheet-filters select{min-width:112px}.batch-column-headings,.batch-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.batch-line-label,.batch-column-headings span:first-child{grid-column:1/-1}.selection-bar .button.small{font-size:.73rem;padding-inline:6px}}
