:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f5;color:#18201e;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6f7f5;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}.loading-screen{display:grid;min-height:100vh;place-content:center;gap:14px;color:#24443d;text-align:center}.loading-screen button,.primary-button{border:0;border-radius:7px;background:#0f6d61;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 15px;font-size:13px;font-weight:700}.secondary-button{border:1px solid #cfd9d5;border-radius:7px;background:#fff;color:#173d36;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 12px;font-size:12px;font-weight:800}.secondary-button:disabled{opacity:.45;cursor:not-allowed}.app-shell{display:grid;grid-template-columns:68px minmax(0,1fr);min-height:100vh}.sidebar{background:#10201d;color:#f8fbf8;display:flex;flex-direction:column;align-items:center;padding:18px 10px;gap:28px}.brand-mark,.nav-item{width:40px;height:40px;border-radius:8px;display:grid;place-items:center}.brand-mark{background:#e8f4ef;color:#0f6d61}.sidebar nav{display:grid;gap:10px}.nav-item{border:1px solid transparent;background:transparent;color:#a9bbb7}.nav-item.active,.nav-item:hover{background:#1d3630;border-color:#2f5048;color:#fff}.workspace{padding:22px;display:grid;gap:18px;min-width:0}.topbar{display:flex;align-items:end;justify-content:space-between;gap:22px}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.16;font-weight:780;letter-spacing:0}.topbar p,.panel-header p{margin-top:4px;color:#64716d;font-size:13px;line-height:1.4}.controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;justify-content:end}.controls label{display:grid;gap:5px;color:#5d6965;font-size:11px;font-weight:700}.controls input{height:38px;border:1px solid #d8dfdc;border-radius:7px;background:#fff;color:#18201e;min-width:90px;padding:0 10px;font-size:13px}.controls input[type=date]{min-width:142px}.primary-button:disabled{opacity:.7}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-strip{border:1px solid #f1c3bd;background:#fff2ef;color:#9b2d20;border-radius:7px;padding:10px 12px;font-size:13px}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:12px}.kpi,.panel{border:1px solid #dde4e0;background:#fff;border-radius:8px;box-shadow:0 12px 28px #1724210d}.kpi{min-height:94px;padding:16px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;column-gap:12px;align-content:center}.kpi-icon{grid-row:span 2;width:32px;height:32px;border-radius:7px;display:grid;place-items:center;background:#edf6f2;color:#0f6d61}.kpi.warn .kpi-icon{background:#fff7df;color:#aa7412}.kpi.bad .kpi-icon{background:#fff0ed;color:#bd3f30}.kpi.good .kpi-icon{background:#eaf7ef;color:#168653}.kpi span{color:#64716d;font-size:12px;font-weight:700}.kpi strong{align-self:end;font-size:22px;line-height:1.1;font-weight:780;letter-spacing:0}.overbooking-breakdown{border:1px solid #dce4e0;background:#fbfcfb;border-radius:8px;padding:10px 14px;display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(150px,auto) auto minmax(150px,auto) auto minmax(120px,auto);gap:8px;align-items:center}.overbooking-breakdown span,.overbooking-breakdown small{color:#64716d;font-size:11px;font-weight:800}.overbooking-breakdown strong{color:#0f6d61;font-size:13px;white-space:nowrap}.overbooking-breakdown strong.negative{color:#aa3a2d}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;min-width:0}.comparison-strip{border:1px solid #dce4e0;background:#fbfcfb;border-radius:8px;padding:11px 14px;display:grid;grid-template-columns:minmax(190px,1fr) repeat(4,minmax(110px,auto));gap:10px;align-items:center}.comparison-strip>span{color:#64716d;font-size:12px;font-weight:800}.comparison-strip div{border-left:1px solid #e3e9e6;padding-left:12px;display:grid;gap:2px}.comparison-strip strong{color:#17231f;font-size:14px;line-height:1.1}.comparison-strip small{color:#64716d;font-size:11px;font-weight:750}.comparison-strip .positive strong{color:#0f7651}.comparison-strip .negative strong{color:#aa3a2d}.plan-center{border-color:#cfe0da}.triage-workbench{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.score-panel{min-height:260px}.risk-list{display:grid;gap:8px;max-height:320px;overflow:auto}.risk-list button{border:1px solid #e1e8e4;border-radius:7px;background:#fbfcfb;color:#17231f;padding:10px;display:grid;gap:5px;text-align:left}.risk-list button:hover{border-color:#0f6d61;background:#eef8f4}.risk-list strong{font-size:13px;line-height:1.2}.risk-list small{color:#64716d;font-size:11px;font-weight:750;line-height:1.3}.score-line{display:flex;flex-wrap:wrap;gap:5px}.score-line em{border-radius:5px;background:#eef3f1;color:#3f4c48;padding:3px 6px;font-style:normal;font-size:10px;font-weight:850}.plan-state{border:1px solid #d9e3df;border-radius:7px;background:#fbfcfb;min-width:170px;padding:9px 11px;display:grid;gap:2px;text-align:right}.plan-state strong{color:#17231f;font-size:13px;line-height:1.2}.plan-state span{color:#64716d;font-size:11px;font-weight:800}.plan-state.ready{border-color:#b9ddcf;background:#eef8f4}.plan-state.final{border-color:#0f6d61;background:#e4f5ef}.plan-state.open{border-color:#ecd8a7;background:#fffaf0}.plan-grid{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.manager-brief,.action-plan-list,.explain-panel{border:1px solid #edf1ef;border-radius:7px;background:#fbfcfb;padding:13px}.manager-brief,.explain-panel{display:grid;gap:12px}.manager-brief dl{gap:7px}.manager-brief dl div{padding-bottom:7px}.plan-actions{display:grid;gap:8px}.plan-actions button,.plan-step-controls button,.draft-actions article button{border:1px solid #d8dfdc;border-radius:6px;background:#fff;color:#173d36;min-height:31px;padding:0 9px;font-size:11px;font-weight:850}.plan-actions button:disabled{opacity:.45;cursor:not-allowed}.plan-actions .primary-button{border:0;background:#0f6d61;color:#fff}.action-plan-list{display:grid;gap:9px;max-height:410px;overflow:auto}.subheader{display:flex;align-items:center;justify-content:space-between;gap:10px}.subheader span{color:#64716d;font-size:11px;font-weight:850}.plan-step{border:1px solid #e1e8e4;border-radius:7px;background:#fff;padding:11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.plan-step.warn{border-color:#eadcb8}.plan-step.bad{border-color:#efcfc8}.plan-step.good{border-color:#cde7db}.plan-step.confirmed{background:#eef8f4;border-color:#b9ddcf}.plan-step.declined{background:#fffaf0;border-color:#ecd8a7}.plan-step span{color:#64716d;display:block;font-size:10px;font-weight:900;letter-spacing:0;text-transform:uppercase}.plan-step strong{display:block;margin-top:3px;color:#17231f;font-size:13px;line-height:1.2}.plan-step p{margin-top:4px;color:#5f6c68;font-size:12px;font-weight:650;line-height:1.35}.plan-step small{display:block;margin-top:5px;color:#17231f;font-size:11px;font-weight:850}.plan-step-controls{display:grid;grid-template-columns:1fr;gap:6px}.plan-step-controls button:last-child{border-color:#0f6d61;background:#0f6d61;color:#fff}.explain-panel p{color:#3f4c48;font-size:12px;font-weight:680;line-height:1.4}.pms-boundary{border-top:1px solid #e1e8e4;padding-top:11px;display:grid;gap:3px}.pms-boundary strong{font-size:12px}.pms-boundary span{color:#64716d;font-size:11px;font-weight:750;line-height:1.35}.scenarios-panel{padding-bottom:14px}.save-scenario{display:flex;align-items:center;gap:8px}.save-scenario input{width:150px;height:34px;border:1px solid #d8dfdc;border-radius:6px;background:#fff;padding:0 9px;color:#17231f;font-size:13px;font-weight:700}.save-scenario button{border:0;border-radius:6px;background:#0f6d61;color:#fff;min-height:34px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800}.save-scenario button:disabled{opacity:.45;cursor:not-allowed}.scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.scenario-button{border:1px solid #dfe7e3;background:#fbfcfb;border-radius:7px;min-height:70px;padding:12px;text-align:left;display:grid;align-content:center;gap:4px;color:#18201e}.scenario-button:hover,.scenario-button.active{border-color:#0f6d61;background:#eef8f4}.scenario-button strong{font-size:13px;line-height:1.15}.scenario-button span{color:#64716d;font-size:11px;font-weight:700;line-height:1.25}.scenario-button.saved{grid-template-columns:1fr 32px;padding:0;overflow:hidden}.scenario-button.saved>button:first-child{border:0;background:transparent;display:grid;align-content:center;gap:4px;min-height:68px;padding:12px;text-align:left}.delete-scenario{border:0;border-left:1px solid #dfe7e3;background:transparent;color:#8a4b43;display:grid;place-items:center}.scenario-comparison{display:grid;gap:12px}.scenario-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.scenario-comparison article{border:1px solid #dfe7e3;border-radius:7px;background:#fbfcfb;padding:12px;display:grid;gap:10px}.scenario-comparison article.active{border-color:#0f6d61;background:#eef8f4}.scenario-comparison article p{margin-top:4px;color:#64716d;font-size:12px;font-weight:700;line-height:1.35}.scenario-comparison dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.scenario-comparison dl div{display:grid;gap:2px}.scenario-comparison dt{color:#64716d;font-size:10px;font-weight:800}.scenario-comparison dd{font-size:13px;font-weight:850}.scenario-comparison button{border:0;border-radius:6px;background:#0f6d61;color:#fff;min-height:34px;font-weight:850}.rules-panel{padding-bottom:14px}.decision-center-grid{display:grid;grid-template-columns:280px minmax(0,1fr) 260px;gap:14px;align-items:start}.selected-guest-summary,.option-list,.draft-actions{border:1px solid #edf1ef;border-radius:7px;background:#fbfcfb;padding:13px}.selected-guest-summary{display:grid;gap:8px}.selected-guest-summary strong{font-size:16px;line-height:1.2}.selected-guest-summary small,.empty-options{color:#64716d;font-size:12px;font-weight:700;line-height:1.35}.selected-guest-summary p{color:#27322f;font-size:12px;font-weight:750;line-height:1.35}.option-list,.draft-actions{display:grid;gap:10px}.solution-option{border:1px solid #e1e8e4;border-radius:7px;background:#fff;padding:11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.solution-option.move{border-color:#d5e9df}.solution-option.replace{border-color:#f0d5ce}.solution-option.shift{border-color:#eadcb8}.solution-option strong{font-size:13px;line-height:1.2}.solution-option p{margin-top:4px;color:#5f6c68;font-size:12px;font-weight:650;line-height:1.35}.solution-option small{display:block;margin-top:5px;color:#17231f;font-size:11px;font-weight:850}.solution-option button,.draft-actions>div button{border:0;border-radius:6px;background:#0f6d61;color:#fff;min-height:30px;padding:0 10px;font-size:11px;font-weight:850}.draft-actions>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.draft-actions article{border:1px solid #e1e8e4;border-radius:7px;background:#fff;padding:10px;display:grid;gap:3px}.draft-actions article strong,.draft-actions article span{font-size:12px;line-height:1.25}.draft-actions article span{color:#5f6c68;font-weight:700}.draft-actions article small{color:#0f6d61;font-size:11px;font-weight:850}.draft-actions article button{margin-top:4px;justify-self:start;min-height:28px}.rules-grid{display:grid;grid-template-columns:190px 260px 220px minmax(0,1fr);gap:14px;align-items:stretch}.mode-rule,.strategy-rule,.event-rule,.category-rules,.hotel-parameters{border:1px solid #edf1ef;border-radius:7px;background:#fbfcfb}.mode-rule{display:grid;grid-template-columns:1fr;gap:8px;padding:12px}.mode-rule button{border:1px solid #d8dfdc;border-radius:6px;background:#fff;color:#5e6b67;min-height:34px;padding:0 10px;font-size:12px;font-weight:850}.mode-rule button.active{border-color:#0f6d61;background:#eef8f4;color:#0f6d61}.mode-rule button.active.danger{border-color:#b04437;background:#fff0ed;color:#a6382f}.strategy-rule{display:grid;gap:10px;padding:12px}.strategy-rule strong{display:block;color:#1d2b27;font-size:13px;font-weight:900}.strategy-rule span{display:block;color:#65736f;font-size:12px;font-weight:750;line-height:1.35;margin-top:4px}.compact-mode{grid-template-columns:1fr 1fr;padding:0;border:0;background:transparent}.event-rule{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.category-rules{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));overflow:hidden}.rule-row{display:grid;grid-template-columns:1fr 70px 86px 94px;gap:8px;align-items:end;padding:12px;border-right:1px solid #edf1ef}.hotel-parameters{grid-column:1 / -1;display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;padding:12px}.rule-row:last-child{border-right:0}.rule-row>div{display:grid;gap:2px}.rule-row strong{font-size:13px;line-height:1.1}.rule-row span{color:#65716d;font-size:11px;font-weight:700}.rules-panel label{display:grid;gap:5px;color:#64716d;font-size:11px;font-weight:800}.rules-panel input{width:100%;height:34px;border:1px solid #d8dfdc;border-radius:6px;background:#fff;color:#18201e;padding:0 8px;font-size:13px;font-weight:700}.panel{padding:17px;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:14px}.panel-header.compact{align-items:center}h2{font-size:16px;line-height:1.25;font-weight:760}h3{font-size:13px;font-weight:760}.legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#64716d;font-size:11px;font-weight:700}.legend span{display:inline-flex;align-items:center;gap:5px}.legend i{width:11px;height:11px;border-radius:3px;display:inline-block}.open{background:#dff3e8}.busy{background:#f8e7a8}.critical{background:#f2b875}.overbooked{background:#ec8173}.heatmap-wrap,.table-wrap{overflow:auto;max-height:540px;border:1px solid #edf1ef;border-radius:7px}.heatmap{display:grid;grid-template-columns:118px repeat(var(--day-count),minmax(54px,1fr));min-width:980px;border:1px solid #e2e8e5;border-radius:7px;overflow:hidden}.corner-cell,.date-cell,.category-cell,.heat-cell{min-height:46px;border-right:1px solid #e2e8e5;border-bottom:1px solid #e2e8e5}.corner-cell,.date-cell{background:#f8faf8;color:#63706c;font-size:11px;font-weight:760;display:grid;place-items:center}.category-cell{background:#fbfcfb;padding:8px 10px;display:grid;align-content:center;gap:1px}.category-cell strong{font-size:13px}.category-cell span{color:#65716d;font-size:11px;font-weight:650}.heat-cell{border-top:0;border-left:0;color:#17231f;display:grid;place-content:center;gap:1px;padding:4px}.heat-cell.open{background:#e6f5ec}.heat-cell.busy{background:#f7e5a5}.heat-cell.critical{background:#efb16f}.heat-cell.overbooked,.heat-cell.blocked{background:#e97767;color:#fff}.heat-cell.selected{outline:3px solid #123f38;outline-offset:-3px}.heat-cell span{font-size:14px;font-weight:800}.heat-cell small{font-size:10px;font-weight:700}.room-panel{margin-top:14px;border:1px solid #e1e8e4;border-radius:7px;overflow:hidden;background:#fbfcfb}.room-panel-toggle{width:100%;border:0;background:#f7faf8;color:#17231f;min-height:42px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.room-panel-toggle span{font-size:13px;font-weight:850}.room-panel-toggle strong{color:#0f6d61;font-size:13px}.room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;padding:10px;max-height:340px;overflow:auto}.room-tile{border:1px solid #dfe7e3;border-radius:7px;background:#fff;color:#17231f;min-height:86px;padding:10px;display:grid;gap:4px;text-align:left;align-content:start}.room-tile.occupied{background:#eef8f4;border-color:#bcded3}.room-tile.free{background:#fff;color:#65716d}.room-tile.overbooking-room{border-style:dashed;background:#fffaf0}.room-tile span{color:#64716d;font-size:11px;font-weight:850}.room-tile strong{font-size:12px;line-height:1.2}.room-tile small{color:#64716d;font-size:11px;font-weight:700;line-height:1.25}.room-tile:disabled{cursor:default}.detail-stack{display:grid;gap:14px}.status-card{border-radius:7px;padding:15px;display:grid;gap:5px;background:#e6f5ec;color:#143529}.status-card.busy{background:#fff5d0;color:#553b07}.status-card.critical{background:#fff0df;color:#763d08}.status-card.overbooked,.status-card.blocked{background:#fff0ed;color:#8b2d22}.status-card span{text-transform:uppercase;font-size:11px;font-weight:800}.status-card strong{font-size:34px;line-height:1;letter-spacing:0}.status-card small{font-size:12px;font-weight:650}dl{display:grid;gap:8px;margin:0}dl div{display:flex;justify-content:space-between;border-bottom:1px solid #edf1ef;padding-bottom:8px;gap:12px}dt{color:#64716d;font-size:12px;font-weight:700}dd{margin:0;font-size:13px;font-weight:800}.warnings{margin-top:18px;display:grid;gap:8px}.warnings p{color:#64716d;font-size:12px}.warnings button{border:1px solid #ead4b3;background:#fffaf0;color:#725114;border-radius:7px;padding:9px;display:grid;grid-template-columns:16px 38px 1fr;gap:7px;text-align:left;align-items:start}.warnings span{font-size:12px;font-weight:800}.warnings em{font-style:normal;font-size:11px;line-height:1.25}.booking-detail{margin-top:18px;border-top:1px solid #edf1ef;padding-top:14px;display:grid;gap:10px}.guest-action{border-radius:7px;padding:12px;display:grid;gap:3px}.guest-action.accepted{background:#eaf7ef;color:#116541}.guest-action.upgrade_suggested{background:#fff5d0;color:#725114}.guest-action.waitlist{background:#eef3ff;color:#33467d}.guest-action.rejected{background:#fff0ed;color:#8b2d22}.guest-action span{text-transform:uppercase;font-size:10px;font-weight:850}.guest-action strong{font-size:15px;line-height:1.2}.guest-action small,.booking-detail>small{font-size:11px;font-weight:700}.warning-line{color:#8a4b16}.tag-box ul{margin:4px 0 0;padding-left:17px;color:#4d5a56;font-size:11px;font-weight:750}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tag-row span{border-radius:999px;background:#eef3f0;color:#31403b;padding:4px 8px;font-size:10px;font-weight:850}.booking-detail p{color:#27322f;font-size:12px;font-weight:750;line-height:1.35}.communication-box{border:1px solid #e1e8e4;border-radius:7px;background:#fbfcfb;padding:10px;display:grid;gap:4px}.communication-box strong{font-size:12px}.communication-box p{color:#4d5a56;font-size:11px;font-weight:680}.objective-box dl{display:grid;gap:5px;margin:0}.objective-box dl div{background:transparent;border:0;border-bottom:1px solid #edf1ef;border-radius:0;display:flex;justify-content:space-between;min-height:24px;padding:0 0 5px}.objective-box dl div:last-child{border-bottom:0;padding-bottom:0}.rule-box ul{display:grid;gap:5px;list-style:none;margin:0;padding:0}.rule-box li{color:#4d5a56;font-size:11px;font-weight:680;line-height:1.35}.booking-detail>small{color:#65716d;line-height:1.35}.segmented{display:inline-flex;flex-wrap:wrap;border:1px solid #d9e0dd;background:#f8faf8;border-radius:7px;padding:3px}.segmented button{border:0;background:transparent;border-radius:5px;color:#5e6b67;min-height:30px;padding:0 10px;font-size:12px;font-weight:750}.segmented button.active{background:#fff;color:#143d36;box-shadow:0 1px 5px #1e2c281a}table{width:100%;min-width:980px;border-collapse:collapse}th,td{border-bottom:1px solid #edf1ef;padding:10px 9px;text-align:left;vertical-align:top;font-size:12px}th{color:#64716d;font-size:11px;font-weight:800;background:#f8faf8;position:sticky;top:0}td{color:#24302d;font-weight:650}tbody tr{cursor:pointer}tbody tr:hover,tbody tr.selected-row{background:#f2faf6}td strong{display:block;font-size:12px;line-height:1.2}td small{display:block;color:#64716d;font-size:11px;font-weight:700;line-height:1.25;margin-top:2px}.reason{color:#5f6c68;font-weight:560;line-height:1.35;max-width:440px}.decision{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.booking-status{display:inline-flex;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:850}.booking-status.confirmed{background:#eef8f4;color:#0f6d61}.booking-status.request,.booking-status.tentative{background:#f4f6f5;color:#5f6c68}.decision.accepted{background:#eaf7ef;color:#16774d}.decision.upgrade_suggested{background:#fff5d0;color:#8b5f0f}.decision.waitlist{background:#eef3ff;color:#33467d}.decision.rejected{background:#fff0ed;color:#a63628}@media(max-width:1050px){.app-shell{grid-template-columns:56px minmax(0,1fr)}.workspace{padding:16px}.topbar,.dashboard-grid,.rules-grid,.decision-center-grid,.plan-grid,.triage-workbench{grid-template-columns:1fr;display:grid}.plan-state{text-align:left}.category-rules{grid-template-columns:repeat(2,minmax(170px,1fr))}.hotel-parameters{grid-template-columns:repeat(2,minmax(150px,1fr))}.controls{justify-content:start}.kpi-grid,.comparison-strip,.overbooking-breakdown,.scenario-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.comparison-strip>span,.overbooking-breakdown>span{grid-column:1 / -1}.comparison-strip div{border-left:0;padding-left:0}}@media(max-width:640px){.app-shell{display:block}.sidebar{position:sticky;top:0;z-index:3;height:58px;flex-direction:row;justify-content:space-between;padding:9px 12px}.sidebar nav{display:flex}.workspace{padding:12px}.kpi-grid{grid-template-columns:1fr}.panel-header{display:grid}.segmented{width:100%}.segmented button{flex:1 1 92px}.save-scenario{display:grid;grid-template-columns:1fr}.save-scenario input,.save-scenario button{width:100%}.comparison-strip,.overbooking-breakdown,.scenario-grid,.plan-step,.event-rule,.mode-rule,.category-rules{grid-template-columns:1fr}.rule-row{grid-template-columns:1fr 74px 94px;border-right:0;border-bottom:1px solid #edf1ef}.rule-row:last-child{border-bottom:0}.controls label,.controls input,.primary-button{width:100%}}
