@font-face{font-family:"Source Sans 3";font-weight:100 900;font-style:normal;src:url('/fonts/source-sans.woff2') format('woff2');font-display:swap}@font-face{font-family:"Material Symbols Rounded";font-weight:100 700;src:url('/fonts/material-symbols.woff2') format('woff2');font-display:block}.material-icon{font-family:"Material Symbols Rounded";font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';vertical-align:middle}
:root{font-family:"Source Sans 3",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17324d;background:#f5f7fa;font-size:16px;--rms-control-height-compact:34px}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit;color:inherit}button,select,.menu>summary,#year{background:#fff;border:1px solid #ccd5e0;border-radius:9px;padding:7px 12px;min-height:34px;box-shadow:0 2px 3px #1634500a;font-size:13px}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #316bf4;outline-offset:2px}#sidebar{position:fixed;inset:0 auto 0 0;width:160px;padding:16px 5px;background:#f5f7fa;display:flex;flex-direction:column;gap:12px}#sidebar header{font-size:9px;color:#64748b;min-height:36px}header span{display:block}#sidebar select{width:100%;height:40px;font-size:12px}nav{display:flex;flex-direction:column;gap:6px}nav button{text-align:left;min-height:40px;font-size:14px}nav .active{background:#316bf4;color:white;border-color:#316bf4}nav button:disabled{opacity:1;color:#17324d;cursor:default}#sidebar small{margin-top:auto;font-size:11px;line-height:1.5;color:#64748b}main{margin-left:178px;margin-right:18px;padding-top:19px;min-width:0}section.daily,details.surface{margin:14px 0;padding:10px 20px 16px;background:#fff;border:1px solid #dbe2ec;border-left:3px solid #8255e6;border-radius:15px;box-shadow:0 2px 5px #1634500a}details.analyses{border-left-color:#009b93}details.sales{border-left-color:#6865fc}h2,details.surface>summary{font-size:14px;font-weight:750;margin:0 0 9px;display:flex;align-items:center;gap:10px;min-height:24px}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}details.surface>summary:before,details.pricing>summary:before{content:'⌄';font-size:16px;margin-right:6px}details:not([open])>summary:before{content:'›'}.section-icon{display:inline-flex;align-items:center;justify-content:center;background:#8255e6;color:#fff;border-radius:7px;width:26px;height:26px;font-size:20px}.sales .section-icon{background:#6865fc}.analyses .section-icon{background:#009b93}.toolbar,.section-toolbar{display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:8px}.toolbar-spacer{flex:1}#month{min-width:190px}#year{min-width:112px}#refresh{min-width:170px}#rms-only{min-width:144px}.menu{position:relative;border:0;padding:0;margin:0}.menu>summary{white-space:nowrap}.checkbox-menu{position:absolute;top:100%;right:0;min-width:310px;z-index:200;background:#fff;padding:16px;box-shadow:0 6px 24px #17324d26;border:1px solid #e4e7ec;border-radius:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkbox-menu label{display:flex;gap:8px;align-items:center;font-size:14px;white-space:nowrap}.checkbox-menu input[type=checkbox]{accent-color:#ff4b4b;width:18px;height:18px}iframe{border:0;width:100%;height:250px;display:block}.pricing{border:1px solid #dfe5ee;border-radius:11px;margin-top:12px;overflow:visible}.pricing>summary{display:flex;align-items:center;gap:5px;min-height:38px;background:#f7f8fb;border-radius:11px 11px 0 0;padding:5px 12px;font-size:14px;font-weight:700}.pricing>summary #manual_intro{margin-left:auto}.pricing .rms-manual-context-row{margin:0}.daily>.ready{margin-top:18px}.daily>.ready h2{font-size:17px;font-weight:650;margin-bottom:15px}#candidate-actions{min-height:0;margin:16px 8px}.context-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 12px}.context-card{border:1px solid #dbe2ec;border-left:3px solid #009b93;border-radius:12px;background:#fff;padding:12px 15px;font-size:11px;min-width:0}.context-card summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}#alerts .context-card{border-left-color:#ff9100}#notifications .context-card{border-left-color:#316bf4}.room-detail{margin:10px 0;border:1px solid #dfe5ee;border-radius:10px}.room-detail>summary{display:flex;align-items:center;gap:5px;min-height:28px;padding:4px 10px;font-size:14px;line-height:20px;font-weight:700;background:#f7f8fb}.room-matrix{overflow:auto}#horizon,#comparative{min-width:0}.rms-kpi .value{margin-top:0}footer{font-size:12px;color:#64748b;margin:18px 0}form{max-width:360px;margin:60px auto;padding:20px}form label{display:block;margin:15px 0}form input{display:block;width:100%;padding:9px;border:1px solid #ccd5e0;border-radius:8px;margin-top:6px}[hidden]{display:none!important}
@media(max-width:900px){#sidebar{position:static;width:auto;flex-direction:row;align-items:center;padding:10px}#sidebar header{min-height:0}#sidebar select{max-width:240px}#sidebar nav,#sidebar small{display:none}main{margin:0 10px;padding-top:0}.rms-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.context-row{grid-template-columns:1fr;gap:6px}.toolbar{flex-wrap:wrap}#month{min-width:130px;flex:1}#year{min-width:65px}#refresh,#rms-only{min-width:100px}.toolbar-spacer{display:none}.daily,.surface{min-width:0}section.daily,details.surface{padding:10px}.pricing>summary{flex-wrap:wrap}.pricing>summary #manual_intro{width:100%;margin:0}.checkbox-menu{position:fixed;left:12px;right:12px;top:20vh;min-width:0;max-height:60vh;overflow:auto}.rms-kpi-info:focus{outline:2px solid #316bf4}.rms-sales-position-scroll,.rms-comparative-scroll{overflow:auto}#candidate-actions{overflow:auto;margin:10px 0}.rms-kpi .label{white-space:normal}}

dialog{width:600px;max-width:calc(100vw - 32px);border:1px solid #dbe2ec;border-radius:16px;padding:20px;color:#344054;background:#fff}dialog::backdrop{background:#0005}dialog .close{float:right;padding:3px 9px;font-size:22px}dialog h2{padding-right:35px;font-size:14px}dialog .dialog-body{margin-top:15px}

#bulk-form{max-width:none;margin:10px 0;padding:0;display:flex;align-items:end;flex-wrap:wrap;gap:12px}#bulk-form label{margin:0}#bulk-form select{display:block}#bulk-range,#bulk-dows{display:flex;gap:10px}#bulk-dows input{width:auto}#bulk-status{width:100%}.section-toolbar{flex-wrap:wrap}.section-toolbar select{max-width:100%}

/* Match the oracle's section rhythm while retaining native local controls. */
main{padding-top:19px}.context-row{margin:20px 0 13px}.context-card{min-height:47px;display:flex;align-items:center;position:relative;padding-left:48px}.context-card:before{font-family:"Material Symbols Rounded";position:absolute;left:20px;border-radius:5px;color:white;background:#009b93;padding:3px;font-size:18px}#alerts .context-card:before{content:'warning';background:#ff9100}#notifications .context-card:before{content:'notifications';background:#316bf4}#events .context-card:before{content:'calendar_month';background:#009b93}.context-card[open]{display:block}.context-card[open]>summary{margin-bottom:14px}.context-card>summary:before{content:none}#candidate-actions{margin:16px 0 18px}.pricing iframe{margin-top:12px}.pricing:has(iframe[data-mode="price_calendar"]) iframe{margin-top:0}#sidebar nav button{white-space:nowrap;font-size:14px;padding:7px}#sidebar nav button .material-icon{font-size:16px}.section-toolbar>.menu:first-child{flex:0 1 250px}.section-toolbar>.menu:first-child>summary{text-align:center}.section-toolbar>select[aria-label^="Miesiąc"]{flex:0 1 190px}.room-detail:has(summary[hidden]){border:0}
@media(max-width:900px){main{padding-top:0}.context-card{padding-left:42px}.context-card:before{left:12px}.section-toolbar>.menu:first-child{flex:0 0 100%}.section-toolbar select{min-width:0;flex:1}#candidate-actions{margin-top:16px;margin-bottom:18px}}
.context-row>div{min-width:0}.context-card summary{min-width:0;max-width:100%}
@media(max-width:900px){.context-row{grid-template-columns:minmax(0,1fr)}.room-matrix{container-type:inline-size}.room-matrix col.metric-col{width:105.6px!important}.room-matrix col.day-col,.room-matrix col.summary-col{width:38px!important}#candidate-actions .toolbar{display:flex;flex-wrap:wrap}#candidate-actions button{min-width:130px!important;width:auto!important}}

.toolbar>.menu>.checkbox-menu{width:540px;max-width:calc(100vw - 30px);max-height:75vh;overflow:auto}.toolbar>.menu>.checkbox-menu>label{white-space:normal;flex-direction:column;align-items:stretch}.toolbar>.menu>.checkbox-menu>label:has(input[type=checkbox]){flex-direction:row;align-items:center}.toolbar>.menu>.checkbox-menu>details{grid-column:1/-1}.toolbar>.menu>.checkbox-menu>details>summary{padding:10px;border-top:1px solid #dbe2ec}.toolbar>.menu>.checkbox-menu>details>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toolbar>.menu>.checkbox-menu>details label{white-space:normal}.toolbar>.menu>.checkbox-menu select{min-width:0;width:100%}@media(max-width:600px){.toolbar>.menu>.checkbox-menu{width:auto}.toolbar>.menu>.checkbox-menu>details>div{grid-template-columns:1fr}}
details.menu>summary::before,details.context-card>summary::before{content:none}
@media(max-width:900px){#candidate-actions .rms-dashboard-price-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0}#candidate-actions .rms-dashboard-price-actions button{flex:1 1 140px;min-width:130px!important;max-width:100%;width:auto!important}}
#prev,#next{width:44px;min-width:44px}#today{min-width:49px}#refresh{min-width:232px}#pickup{min-width:78px}.toolbar>.menu>summary{min-width:80px;text-align:center}.rooms .section-toolbar>.menu{flex:1}.rooms .section-toolbar>.menu>summary{text-align:center}.layout-control{width:144px;flex-shrink:0}.layout-control>summary{text-align:center}.layout-panel{position:absolute;top:calc(100% + 7px);right:0;z-index:220;width:270px;padding:16px;background:#fff;border:1px solid #e3e8ef;border-radius:11px;box-shadow:0 6px 24px #17324d26;display:grid;gap:14px}.layout-panel label{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer}.layout-panel input{accent-color:#ff4b4b;width:16px;height:16px;margin:0}
@media(max-width:900px){#refresh{min-width:120px}.layout-control{width:95px;flex:1}.rooms .section-toolbar>.menu{flex:1 1 100%}}

#update-info>summary{min-width:232px;text-align:center}.update-panel{position:absolute;z-index:200;right:0;top:100%;width:430px;max-width:calc(100vw - 30px);padding:18px;background:#fff;border:1px solid #dbe2ec;border-radius:12px;box-shadow:0 6px 24px #17324d26;font-size:14px}.update-panel dl{margin:0}.update-panel dt{font-weight:700;display:inline}.update-panel dt:after{content:': '}.update-panel dd{display:inline;margin:0;overflow-wrap:anywhere}.update-panel dd:after{content:'';display:block;margin-bottom:7px}.update-panel p{font-size:12px;color:#64748b}.update-panel #refresh{min-width:0;width:100%}@media(max-width:900px){#update-info>summary{min-width:120px}.update-panel{position:fixed;left:12px;right:12px;top:20vh;width:auto;max-height:70vh;overflow:auto}}

/* PU uses the same seven local radio choices as the oracle popover. */
#pickup-menu>summary{min-width:78px;text-align:center}.pickup-panel{position:absolute;right:0;top:calc(100% + 7px);z-index:220;width:370px;padding:16px;background:#fff;border:1px solid #e3e8ef;border-radius:11px;box-shadow:0 6px 24px #17324d26}.pickup-panel p{font-size:14px;margin:0 0 12px}#pickup-options{display:flex;gap:12px;flex-wrap:wrap}#pickup-options label{display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer}#pickup-options input{margin:0;accent-color:#ff4b4b;width:16px;height:16px}button:hover:not(:disabled),select:hover,details.menu>summary:hover{border-color:#94a3b8}#rms-only[aria-pressed=true]{border-color:#2f6df0;background:#edf4ff;color:#1f5fe8}@media(max-width:600px){.pickup-panel{position:fixed;left:12px;right:12px;top:20vh;width:auto}}

@media(max-width:600px){.layout-panel{position:fixed;left:12px;right:12px;top:20vh;width:auto}}

/* Oracle view controls; independent persistent HTML state. */
.view-panel{position:absolute;right:0;top:calc(100% + 7px);width:540px;max-width:calc(100vw - 24px);max-height:75vh;overflow:auto;z-index:220;padding:26px;background:white;border-radius:14px;box-shadow:0 6px 24px #17324d26;color:#344054}
.view-panel [role=tablist]{display:flex;border-bottom:2px solid #e5e7eb;margin-bottom:18px;gap:16px}
.view-panel [role=tab]{border:0;border-radius:0;box-shadow:none;padding:10px 0;background:none;font-size:14px;position:relative}
.view-panel [role=tab][aria-selected=true]:after{content:'';position:absolute;height:2px;background:#2478ed;bottom:-2px;left:0;right:0}
.view-field{padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid #d0d5dd}.view-field>label{display:block;font-weight:650;font-size:14px}.view-field select,.view-field input[type=text]{display:block;width:100%;height:38px;margin-top:6px;border:1px solid #d0d5dd;border-radius:10px;padding:7px 12px;background:white}.view-help{font-size:12px;color:#98a2b3;line-height:1.7;margin:9px 0 0}
.segmented{display:flex;margin-top:0}.segmented button{flex:1;min-width:0;border-radius:0;font-size:14px;font-weight:400;height:36px}.segmented button:first-child{border-radius:10px 0 0 10px}.segmented button:last-child{border-radius:0 10px 10px 0}.segmented button[aria-pressed=true]{background:#316bf4;border-color:#316bf4;color:#fff}
.view-checks{display:grid;grid-template-columns:1fr 1fr;gap:14px}.view-checks label{display:flex;gap:8px;align-items:center;font-size:14px}.view-checks input{accent-color:#ff4b4b;width:18px;height:18px}
#horizon-controls>.layout-control,#comparative-controls>.layout-control{margin-left:auto;width:110px}#horizon-controls>select[aria-label^="Zakres"],#comparative-controls>select[aria-label^="Zakres"]{width:145px}.section-toolbar>button{width:44px;flex-shrink:0}
details.surface:not([open]){padding-bottom:10px}details.surface:not([open])>summary{margin-bottom:0}details.rooms{border-left-color:#009b93}.rooms .section-icon{background:#009b93}details.analyses{border-left-color:#00b3e6}.analyses .section-icon{background:#00b3e6}details.bulk{border-left-color:#e82598}.bulk .section-icon{background:#e82598}details.surface>summary:before{order:0}details.surface>summary .section-icon{order:-1}details.surface>summary{font-weight:700}
@media(min-width:901px){main{width:calc(100% - 160px);max-width:1480px;margin-left:calc(160px + max(0px, (100% - 160px - 1480px)/2));margin-right:auto;padding-inline:clamp(.75rem,1.25vw,1.5rem)}body[data-width=narrow] main{max-width:none;margin-left:160px}}
@media(max-width:900px){.view-panel{position:fixed;left:12px;right:12px;top:12vh;width:auto;max-height:76vh;padding:20px}#horizon-controls>.menu:first-child,#comparative-controls>.menu:first-child{flex:1 1 100%}.section-toolbar>select[aria-label^="Miesiąc"]{flex:1;min-width:0}.view-checks{grid-template-columns:1fr}}

/* One chevron geometry for shell controls, independent of font glyph baselines. */
:root{--rms-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
details.surface>summary::before,details.pricing>summary::before,.room-detail>summary::before{content:'';display:inline-block;width:18px;height:18px;flex:0 0 18px;margin:0;background:currentColor;mask:var(--rms-chevron) center/contain no-repeat;transform:rotate(0deg);align-self:center}
details.surface[open]>summary::before,details.pricing[open]>summary::before,.room-detail[open]>summary::before{transform:rotate(90deg)}
details.menu>summary{display:flex;align-items:center;justify-content:center;gap:8px}
details.menu>summary::after{content:'';display:block;width:18px;height:18px;flex:0 0 18px;background:currentColor;mask:var(--rms-chevron) center/contain no-repeat;transform:rotate(90deg)}
details.menu[open]>summary::after{transform:rotate(-90deg)}
main select,#sidebar select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2317324d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:38px}
#prev,#next,.section-toolbar>button{font-size:0;display:inline-flex;align-items:center;justify-content:center;padding:0}
#prev:before,#next:before,.section-toolbar>button:before{content:'';width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5m7-7-7 7 7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
#next:before,.section-toolbar>button[aria-label^="Następny"]:before{transform:rotate(180deg)}
#bulk-form{display:block;margin:14px 0 0;padding:0}#bulk-form label,.bulk-label{font-size:14px;font-weight:400;display:block}#bulk-form label{margin:0}#bulk-form .bulk-scope-field{margin-bottom:14px}.radio-options{display:flex;flex-wrap:wrap;gap:18px;margin-top:8px}#bulk-form .radio-options label{display:flex;align-items:center;gap:7px}#bulk-form .radio-options input{width:16px;height:16px;margin:0;accent-color:#ff4b4b}
.bulk-body{border:1px solid #e3e7ee;border-radius:12px;padding:16px}.bulk-columns{display:grid;grid-template-columns:1.5fr 1fr .8fr;gap:16px}.bulk-columns>label>select,.bulk-columns>label>input{width:100%;height:38px;margin-top:6px}.bulk-conflict-field{margin:18px 0}.bulk-body>button[type=submit]{background:#316bf4;border-color:#316bf4;color:white;font-size:14px}
#bulk-range{display:block}.date-range{display:flex;align-items:center;border:1px solid #ccd5e0;border-radius:9px;margin-top:6px;height:38px;overflow:hidden}.date-range input{min-width:0;width:50%;margin:0;border:0;border-radius:0;padding:7px;font-size:13px;height:36px}.date-range>span{color:#98a2b3}#bulk-dows{flex-wrap:wrap}#bulk-dows label{display:flex;align-items:center;gap:5px}.bulk-period{min-width:0}#bulk-status:empty{display:none}
@media(max-width:700px){.bulk-columns{grid-template-columns:1fr}.radio-options{gap:12px}.bulk-body{padding:12px}}

details.surface>summary{margin-left:-8px;gap:8px}details.bulk{padding-inline:16px}details.bulk>summary{margin-left:-4px}#bulk-form .bulk-label,#bulk-form .bulk-columns>label{font-size:13px;font-weight:650}#bulk-form .radio-options label{font-size:13px;font-weight:400}

.date-range{position:relative;overflow:visible;border:0}.date-range>#bulk-date-toggle{width:100%;height:38px;text-align:left;font-size:13px;font-weight:400}#bulk-date-popover{position:absolute;left:0;top:calc(100% + 6px);width:100%;min-width:260px;z-index:220;display:flex;gap:12px;padding:12px;border:1px solid #dbe2ec;border-radius:10px;box-shadow:0 6px 24px #17324d26;background:white}#bulk-date-popover label{flex:1;min-width:0}#bulk-date-popover input{width:100%;border:1px solid #ccd5e0;border-radius:6px;margin-top:6px}

/* Status overlays stay transparent to the grid; their explicit actions remain usable. */


.context-shell{min-width:0;position:relative;cursor:pointer;border-radius:12px}.context-shell:focus-visible{outline:2px solid #316bf4;outline-offset:2px}.context-shell .context-card{height:100%;padding-right:15px;cursor:pointer}.context-controls-dialog{width:min(760px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #dbe2ec;border-radius:14px;padding:24px;color:#17324d;background:white}.context-controls-dialog::backdrop{background:#10243a55}.context-controls-dialog article{padding:14px 0;border-bottom:1px solid #e4e7ec}.context-controls-dialog button{margin:4px}.context-controls-dialog label{display:block;margin:10px 0}.context-controls-dialog select,.context-controls-dialog input[type=date]{display:block;max-width:100%;margin-top:6px}.context-controls-dialog input[type=checkbox]{width:auto;display:inline;margin-right:8px}.context-controls-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.context-controls-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.context-settings{max-width:none;margin:0;padding:0}.context-actions{display:flex;flex-wrap:wrap;gap:4px}
.context-shell .context-card[open]{display:flex}.context-shell .context-card>summary{margin-bottom:0!important}.context-shell .context-card>summary~*{display:none!important}

#notice-toast,#notice-error{position:fixed;z-index:2147483400;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid;border-radius:12px;box-shadow:0 10px 30px #10243a26;background:#fff;font-size:16px;line-height:1.4;max-height:40vh;overflow:auto}
#notice-toast{top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:min(420px,calc(100vw - 32px));border-color:#b9dec8;color:#195d38}
#notice-toast[data-tone=info]{border-color:#ccd5e0;color:#17324d}
#notice{min-width:0;flex:1;white-space:pre-wrap;overflow-wrap:anywhere}#notice-icon{font-size:21px;font-weight:700;line-height:1.2}
#notice-error{bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(980px,calc(100vw - 32px));border-color:#fecdca;background:#fef3f2;color:#b42318}
.notice-error-content{flex:1;min-width:0;overflow-wrap:anywhere}#notice-error-body{white-space:pre-wrap}#notice-error-code{display:block;margin-top:4px;font-size:13px}#notice-error>span{border:1.5px solid;border-radius:50%;width:22px;text-align:center;font-weight:700;flex-shrink:0}
#notice-close,#notice-error-close{border:0;background:transparent;box-shadow:none;min-width:32px;min-height:32px;padding:0;font-size:24px;line-height:1;color:inherit;flex-shrink:0}#notice-error-body button{display:block;margin-top:8px}

#reset-matrix,#reset-details{margin-top:12px}

/* Oracle sidebar geometry: rms_ui.py + rms_sidebar_controller.py. */
:root{--rms-sidebar-width:10rem;--rms-sidebar-side-gap:.25rem;--rms-sidebar-control-size:2.5rem}
html[data-rms-sidebar-mode="compact"]{--rms-sidebar-width:64px;--rms-sidebar-side-gap:10px}
body:not(.analysis-page) #sidebar{position:fixed;inset:0 auto 0 0;z-index:220;width:var(--rms-sidebar-width);padding:.75rem var(--rms-sidebar-side-gap) .25rem;display:flex;flex-direction:column;align-items:stretch;gap:.38rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;transition:width .18s ease}
body:not(.analysis-page) #sidebar-context{display:flex;flex-direction:column;gap:.38rem;padding-bottom:.3rem}
body:not(.analysis-page) #sidebar header{font-size:.62rem;font-weight:650;line-height:1.2;color:#101828;min-height:0;white-space:nowrap}
body:not(.analysis-page) #sidebar-toggle{margin-left:auto;width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:0;border:0;box-shadow:none;background:transparent;color:#667085}
body:not(.analysis-page) #sidebar-toggle:hover{background:#eef1f5}body:not(.analysis-page) #sidebar-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar-toggle svg{transform:rotate(180deg)}
body:not(.analysis-page) #sidebar-hotel{position:relative;min-height:var(--rms-sidebar-control-size)}body:not(.analysis-page) #sidebar-hotel>.material-icon{display:none;pointer-events:none}
body:not(.analysis-page) #sidebar #hotel{height:var(--rms-sidebar-control-size);min-height:0;font-size:.8rem;padding-left:.4rem;border-radius:10px;max-width:none}
body:not(.analysis-page) #sidebar nav{display:flex;flex-direction:column;gap:.38rem}
body:not(.analysis-page) #sidebar>nav,body:not(.analysis-page) #sidebar-footer{flex-shrink:0}
body:not(.analysis-page) #sidebar nav button,body:not(.analysis-page) #sidebar .sidebar-popover>summary{display:flex;align-items:center;justify-content:flex-start;gap:.45rem;min-height:var(--rms-sidebar-control-size);height:var(--rms-sidebar-control-size);width:100%;padding:0 .4rem;border:1px solid #dfe3e8;border-radius:10px;background:#fff;box-shadow:0 1px 3px #10182814;font-size:14px;overflow:hidden;white-space:nowrap;color:#1d2939}
body:not(.analysis-page) #sidebar nav .active{background:#316bf4;border-color:#316bf4;color:#fff}
body:not(.analysis-page) #sidebar .material-icon,body:not(.analysis-page) #sidebar nav button .material-icon{font-size:1.15rem;flex:0 0 auto}
body:not(.analysis-page) #sidebar .sidebar-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not(.analysis-page) #sidebar-footer{display:flex;flex-direction:column;gap:.38rem;margin-top:auto;padding-top:.55rem;border-top:1px solid #e1e6ee}
body:not(.analysis-page) #sidebar .sidebar-popover{margin:0}body:not(.analysis-page) #sidebar .sidebar-popover>summary:before{content:none}
body:not(.analysis-page) #sidebar .sidebar-popover>summary:after{content:'';width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-left:auto;margin-right:4px;flex:0 0 auto}
body:not(.analysis-page) #sidebar .sidebar-panel{position:fixed;left:calc(var(--rms-sidebar-width) + 8px);bottom:8px;width:300px;max-width:calc(100vw - var(--rms-sidebar-width) - 16px);max-height:calc(100dvh - 16px);overflow:auto;background:white;border:1px solid #dfe3e8;border-radius:12px;padding:16px;box-shadow:0 8px 28px #10182824;display:grid;gap:12px;white-space:normal}
body:not(.analysis-page) #sidebar-user{font-size:14px;overflow-wrap:anywhere}body:not(.analysis-page) #sidebar .sidebar-panel small{display:block;font-size:11px;margin:0}body:not(.analysis-page) #sidebar-environments{flex-direction:row!important;gap:8px!important}body:not(.analysis-page) #sidebar-environments a{padding:7px;text-decoration:none;color:inherit;border:1px solid #dfe3e8;border-radius:8px}body:not(.analysis-page) #sidebar-environments [aria-current]{background:#316bf4;color:white}
body:not(.analysis-page) main{margin-left:calc(var(--rms-sidebar-width) + 18px);transition:margin-left 260ms cubic-bezier(.2,.8,.2,1)}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar header{font-size:13px;text-align:left}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar>nav .sidebar-label,html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar-footer>nav .sidebar-label,html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar .sidebar-popover>summary .sidebar-label{visibility:hidden}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar>nav button,html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar-footer>nav button,html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar .sidebar-popover>summary{justify-content:flex-start;padding:0 10px}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar .sidebar-popover>summary:after{display:none}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar #hotel{font-size:0;background-image:none;padding:0}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar #hotel option{font-size:14px}
html[data-rms-sidebar-mode="compact"] body:not(.analysis-page) #sidebar-hotel>.material-icon{display:block;position:absolute;top:50%;left:10px;transform:translateY(-50%)}
@media(max-height:780px){:root{--rms-sidebar-control-size:2.35rem}body:not(.analysis-page) #sidebar{padding-top:.35rem;padding-bottom:.15rem;gap:.25rem}body:not(.analysis-page) #sidebar nav,body:not(.analysis-page) #sidebar-context,body:not(.analysis-page) #sidebar-footer{gap:.25rem}}
@media(max-width:900px){body:not(.analysis-page) main{margin-left:calc(var(--rms-sidebar-width) + 10px)}body:not(.analysis-page) #sidebar .sidebar-panel nav{display:flex}body:not(.analysis-page) #sidebar .sidebar-panel select{max-width:none}}

/* One context owner: anchored top-layer popover, never an inline expansion. */
.context-controls-dialog{position:fixed;inset:auto;margin:0;padding:18px;width:min(560px,calc(100vw - 20px));box-shadow:0 8px 28px #17324d30;background:var(--rmsm-surface,#fff);color:var(--rmsm-text,#17324d)}
.context-controls-dialog h2{margin:0 34px 12px 0;font-size:16px}.context-controls-dialog .context-close{position:absolute;right:8px;top:6px;margin:0;padding:0 7px;font-size:22px;line-height:26px;min-height:28px}
#add-note-floating{position:fixed;right:20px;bottom:20px;z-index:10000;background:#316bf4;color:white;border-color:#316bf4;border-radius:12px;padding:12px 20px;font-weight:700;box-shadow:0 6px 18px #316bf440}
@media(max-width:767px){#add-note-floating{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));padding:8px 13px;min-height:38px}.mobile-context-heading h2{min-width:0}.mobile-context-heading>button{flex-shrink:0}}

#pickup-options{display:grid;gap:10px}#pickup-options .pickup-choice-row{display:grid;grid-template-columns:68px repeat(7,30px);align-items:center;gap:2px}#pickup-options .pickup-choice-row label{display:flex;align-items:center;justify-content:center;gap:3px;font-size:12px}#pickup-options .pickup-choice-row label:first-child{justify-content:flex-start;font-weight:700}#pickup-options .pickup-choice-row input[type=radio]{position:absolute;opacity:0}#pickup-options .pickup-choice-row label:has(input[type=radio]){padding:6px 0;border-radius:5px;cursor:pointer}#pickup-options .pickup-choice-row label:has(input:checked){background:#e8efff}#pickup-options .pickup-choice-row label:focus-within{outline:2px solid #2f6df0}

/* Stable outer viewport when module content gains or loses its scrollbar. */
html{scrollbar-gutter:stable}

/* Sidebar A; B supplies its dark palette without changing routes or geometry. */
@media(min-width:901px){
 :root{--rms-sidebar-width:208px;--rms-sidebar-side-gap:10px}
 body:not(.analysis-page) #sidebar{background:oklch(99.2% .002 250);border-right:1px solid oklch(91% .006 250);gap:4px;padding:14px 10px 10px;transition:width 260ms cubic-bezier(.2,.8,.2,1)}
 body:not(.analysis-page) #sidebar header{font-size:13px;min-height:24px;font-weight:700;padding:2px 8px}
 body:not(.analysis-page) #sidebar nav button,body:not(.analysis-page) #sidebar .sidebar-popover>summary{border:0;background:transparent;box-shadow:none;border-radius:8px;color:#475467;gap:10px;padding:0 10px;font-size:13.5px;transition:background 140ms,color 140ms}
 body:not(.analysis-page) #sidebar nav button:hover,body:not(.analysis-page) #sidebar .sidebar-popover>summary:hover{background:oklch(95.5% .006 250)}
 body:not(.analysis-page) #sidebar nav .active{background:oklch(95% .035 260);color:#316bf4;box-shadow:inset 3px 0 0 #316bf4;font-weight:650}
 body:not(.analysis-page) #sidebar nav{gap:2px}body:not(.analysis-page) #sidebar #hotel{background:#fff;border:1px solid #e4e7ec}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar{background:oklch(23% .025 262);border-color:oklch(31% .025 262);color:#d4dbea}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar header,html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar nav button,html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar .sidebar-popover>summary{color:oklch(82% .015 262)}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar nav button:hover,html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar .sidebar-popover>summary:hover{background:oklch(29% .03 262)}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar nav .active{background:oklch(58% .19 260);color:#fff;box-shadow:0 6px 16px oklch(55% .2 260 / .4)}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar #hotel,html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar .sidebar-panel{background:oklch(27% .028 262);color:#edf0f7;border-color:oklch(34% .03 262);color-scheme:dark}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar #sidebar-footer{border-color:oklch(31% .025 262)}
 html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar #sidebar-toggle{color:#c4cddd}
}
#rms-transition-chrome{position:fixed;top:0;left:var(--rms-sidebar-width,208px);right:0;z-index:210;padding:10px 24px;background:#f5f7fa;box-shadow:0 1px 0 #e4e7ec;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
#rms-transition-title{font-size:16px;font-weight:700;color:#344054}
#rms-transition-status{font-size:12px;color:#667085}
#rms-transition-progress{position:absolute;top:0;left:0;height:2px;background:#316bf4;box-shadow:0 0 8px #316bf466;width:0;transition:width 220ms ease-out}
#module-wait{background:#f5f7fa}
@media(max-width:900px){#rms-transition-chrome{left:0}}
@media(prefers-reduced-motion:reduce){#sidebar,#sidebar *{transition:none!important}#rms-transition-progress{transition:none}}

/* Fixed icon rail: only the label viewport changes width. */
body:not(.analysis-page) #sidebar{--rms-sidebar-control-size:44px;padding:14px 10px 10px;gap:6px}
body:not(.analysis-page) #sidebar header{display:flex;align-items:center;gap:12px;min-height:42px;padding:0;font-size:16px;text-align:left}
.sidebar-brand-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:#2168e9;color:white;border-radius:12px}
.sidebar-brand-label{white-space:nowrap;overflow:hidden}.sidebar-brand-label small{display:block;color:#7c828c;font-size:12px;font-weight:400}
body:not(.analysis-page) #sidebar-toggle{margin:0;width:42px;height:28px;min-height:28px}
body:not(.analysis-page) #sidebar nav button,body:not(.analysis-page) #sidebar .sidebar-popover>summary{padding:0 10px;gap:12px;justify-content:flex-start;flex-shrink:0}
body:not(.analysis-page) #sidebar .material-icon{width:24px;min-width:24px;flex:0 0 24px;text-align:center}
body:not(.analysis-page) #sidebar-hotel>.material-icon{display:block;position:absolute;left:10px;top:50%;transform:translateY(-50%);z-index:1;color:#08777b}
body:not(.analysis-page) #sidebar #hotel{padding-left:44px;height:48px}
html[data-rms-sidebar-mode=compact] body:not(.analysis-page) #sidebar #hotel{padding-left:44px}
html[data-rms-sidebar-mode=compact] .sidebar-brand-label{visibility:hidden}
body:not(.analysis-page) #sidebar nav{gap:4px}
/* A single loading surface. The top line indicates activity, not measured percent. */
#rms-transition-chrome[data-loading=true]{bottom:0;background:var(--rmsm-page,#f5f7fa);display:grid;place-content:center;justify-items:center;gap:14px}
#rms-transition-chrome[data-loading=true] #rms-transition-status::before{content:'';display:block;width:26px;height:26px;margin:0 auto 16px;border:3px solid #dce6fa;border-top-color:#2168e9;border-radius:50%;animation:rms-loading-spin .9s linear infinite}
#rms-transition-chrome[hidden]{display:none}
body:has(#rms-transition-chrome[data-loading=true]) #module-wait{visibility:hidden}
@keyframes rms-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#rms-transition-status::before{animation:none!important}body:not(.analysis-page) main{transition:none}}
/* Compact view settings, preserving native controls and keyboard interactions. */
#view-menu .view-panel{width:570px;max-width:calc(100vw - 32px);padding:18px 24px;border-radius:18px;box-shadow:0 18px 44px #182c4222}
#view-menu [role=tablist]{display:flex;gap:24px;border-bottom:1px solid #e0e5ec;margin:-2px 0 18px}
#view-menu [role=tab]{padding:8px 0 14px;border:0;border-radius:0;background:none;box-shadow:none;color:#667085;font-size:16px}
#view-menu [role=tab][aria-selected=true]{color:#101828;border-bottom:3px solid #2478ed;font-weight:700}
.view-section-title{font-size:11px;letter-spacing:1px;color:#7b828d;text-transform:uppercase;margin:16px 0 8px}
#view-menu .view-layout .view-field{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:12px;padding:6px 0;border-bottom:1px solid #edf0f4;margin:0}
#view-menu .view-layout .view-field>label{display:contents;font-size:14px}
#view-menu .view-layout .view-field:has(.segmented)>label{display:block}
#view-menu .segmented{display:flex;gap:0;border:1px solid #d0d5dd;border-radius:10px;overflow:hidden;margin:0;width:100%}
#view-menu .segmented button{flex:1;min-width:0;border:0;border-radius:0;background:#fff;color:#101828;padding:10px 5px;box-shadow:none;font-size:13px;white-space:nowrap}
#view-menu .segmented button[aria-pressed=true]{background:#2175ed;color:#fff;font-weight:700}
#view-menu .view-help{display:none}
#view-menu input#view-weather{appearance:none;width:44px;height:26px;border:0;border-radius:20px;background:#98a2b3;position:relative;cursor:pointer;margin:0}
#view-menu input#view-weather:checked{background:#2175ed}
#view-menu input#view-weather::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}
#view-menu input#view-weather:checked::after{transform:translateX(18px)}
#view-menu input#view-adr{width:140px;border:1px solid #d0d5dd;border-radius:10px;padding:10px}
#view-menu .view-appearance{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
#view-menu .view-appearance .view-field{margin:0;padding:0;border:0}
#view-menu .view-appearance label{display:grid;gap:6px;color:#667085;font-size:13px}
#view-menu .view-appearance select{width:100%;max-width:none;min-height:40px;border-radius:10px}
/* Existing price action portal; handlers and source controls remain untouched. */
.daily>.pricing{background:var(--rmsm-surface,#fff);border:1px solid #e0e5ec;border-radius:16px;overflow:hidden;margin-top:16px;box-shadow:0 1px 2px #10182808}
.daily>.pricing>summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;min-height:60px;font-size:14px}
.daily>.pricing #manual_intro{margin-right:auto;font-size:12px;font-weight:400}
.daily>.pricing #manual_intro :is(.rms-manual-intro,.rms-manual-context-row){border:0;padding:0;margin:0;background:none}
#manual-header-actions .rms-dashboard-price-actions{display:flex;flex-wrap:wrap;padding:0;width:auto;background:none;gap:8px}
#manual-header-actions .rms-dashboard-price-actions button{width:140px;min-width:140px;max-width:140px;flex:0 0 140px;position:relative;font-size:12px;font-weight:500;box-shadow:none}
@media(max-width:620px){#view-menu .view-panel{padding:14px;width:calc(100vw - 24px)}#view-menu .view-layout .view-field{grid-template-columns:125px minmax(0,1fr);gap:8px}#view-menu [role=tablist]{gap:16px}#view-menu [role=tab]{font-size:14px}.daily>.pricing>summary{gap:8px}}


/* Compact manual header; acceptance is a persistent visual state, including disabled buttons. */
.daily>.pricing>summary{min-height:38px;padding:5px 12px;gap:8px}
.daily>.pricing #manual_intro{margin-left:4px;line-height:1.2}
#manual-header-actions .rms-dashboard-price-actions button{height:32px;min-height:32px;max-height:32px}
#manual-header-actions .rms-dashboard-price-actions button:is([data-rms-source-action=acceptAll],[data-rms-source-action=acceptRms],[data-rms-source-action=acceptManual]){background:#fff;color:#344054;border-color:#d0d5dd}
#manual-header-actions .rms-dashboard-price-actions button.accepted-choice,#manual-header-actions .rms-dashboard-price-actions button.accepted-choice:disabled{background:#16a34a;color:#fff;border-color:#15803d;opacity:1}
body:not(.analysis-page) #sidebar nav button,body:not(.analysis-page) #sidebar .sidebar-popover>summary{font-weight:650;font-size:14.5px;color:#273444}
body:not(.analysis-page) #sidebar nav .active{font-weight:750;color:#2168e9}
html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar nav button,html[data-rms-shell-theme=dark] body:not(.analysis-page) #sidebar .sidebar-popover>summary{color:#e3e9f2}

@media(min-width:901px){
 body:not(.analysis-page) main{width:calc(100% - var(--rms-sidebar-width) - 36px);max-width:1480px;margin-left:calc(var(--rms-sidebar-width) + 18px + max(0px,(100% - var(--rms-sidebar-width) - 36px - 1480px)/2))}
 body[data-width=narrow]:not(.analysis-page) main{max-width:none;margin-left:calc(var(--rms-sidebar-width) + 18px)}
}

#manual-header-actions button.accepted-choice::before{content:"✓";position:absolute;left:8px}

.pricing.unified-price{margin:0;border:0;padding:0;border-radius:0 0 12px 12px;box-shadow:none}

.pricing.unified-price iframe{margin-top:0}

/* Unified pricing keeps canonical actions below the matrix, above room prices. */
#candidate-actions .rms-dashboard-price-actions{display:flex;justify-content:flex-start!important;flex-wrap:wrap;gap:8px;padding:0;background:none}
#candidate-actions .rms-dashboard-price-actions button{position:relative;width:140px;min-width:140px;max-width:140px;flex:0 0 140px;height:32px;min-height:32px;max-height:32px;font-size:12px;font-weight:500;box-shadow:none}
#candidate-actions button.accepted-choice::before{content:"✓";position:absolute;left:8px}

#candidate-actions .acceptance-caption{order:1;font-size:14.4px;font-weight:700;line-height:1.2}
#candidate-actions .rms-dashboard-price-actions button.accepted-choice,#candidate-actions .rms-dashboard-price-actions button.accepted-choice:disabled{background:#16a34a;color:#fff;border-color:#15803d;opacity:1}

/* Compact separation between acceptance and the existing copy toolbar. */
.daily>#candidate-actions{margin-bottom:0}
.daily>.ready{margin-top:10px;padding-top:6px;border-top:1px solid #edf0f4}

/* Keep the daily title beside the existing controls; their styles are unchanged. */
.daily>.daily-toolbar{flex-wrap:wrap;row-gap:6px;margin-bottom:6px}
.daily>.daily-toolbar>h2{flex:0 0 auto;margin:0 10px 0 0;white-space:nowrap}

/* The context cards have the same gap to the KPI cards and the daily section. */
.context-row{margin-top:20px;margin-bottom:20px}
.context-row+section.daily{margin-top:20px}

/* Dashboard context panels: the accepted cards remain narrow; full content lives here. */
.context-controls-dialog{padding:0;overflow:hidden;border:1px solid #e4e7ec;border-radius:14px;background:#fff;color:#172b4d;box-shadow:0 16px 44px #172b4d29}
.context-controls-dialog::backdrop{background:transparent}
.context-panel-header{display:flex;align-items:center;gap:10px;min-height:60px;padding:12px 16px;border-bottom:1px solid #edf0f4;background:#fff}
.context-panel-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#fff4e5;color:#e47700;font-size:21px}
.context-controls-dialog[data-kind=notifications] .context-panel-icon{background:#edf4ff;color:#2168e9}
.context-controls-dialog[data-kind=events] .context-panel-icon{background:#eaf8f1;color:#087a5b}
.context-panel-heading{display:flex;align-items:center;gap:8px;min-width:0}
.context-controls-dialog .context-panel-heading h2{margin:0;font-size:16px;line-height:22px;font-weight:750}
.context-panel-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:750}
.context-panel-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto}
.context-controls-dialog .context-close{position:static;width:30px;height:30px;min-height:30px;margin:0 0 0 2px;padding:0;border-color:transparent;background:transparent;box-shadow:none;color:#667085;font-size:22px;line-height:26px}
.context-panel-body{max-height:calc(85vh - 92px);overflow:auto;overscroll-behavior:contain;padding:0 16px 12px}
.context-panel-message{min-height:0;margin:0;padding:0 16px 10px;color:#667085;font-size:12px}
.context-panel-message:empty{display:none}
.context-controls-dialog button{margin:0;box-shadow:none}
.context-controls-dialog .button-primary{border-color:#2f6df0;background:#2f6df0;color:#fff;font-weight:650}
.context-controls-dialog .button-link{border-color:transparent;background:transparent;color:#2168e9;font-weight:650}
.context-controls-dialog .button-quiet{background:#fff;color:#475467}
.context-controls-dialog .button-danger{color:#b42318}
.context-actions{display:flex;flex-direction:row;flex-wrap:nowrap;gap:18px;overflow-x:auto;margin:0 -16px 4px;padding:0 16px;border-bottom:1px solid #edf0f4}
.context-actions button{flex:0 0 auto;min-height:39px;padding:7px 1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#667085;font-size:12px}
.context-actions button[data-active=true]{border-bottom-color:#2f6df0;color:#2168e9;font-weight:750}
.context-panel-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:11px 0;border-bottom:1px solid #edf0f4}
.context-panel-row:last-child{border-bottom:0}
.context-date-chip{display:grid;place-items:center;align-content:center;width:56px;min-height:54px;padding:5px;border-radius:10px;background:#fff7ed;color:#b54708;text-align:center}
.context-date-chip strong{font-size:17px;line-height:20px;letter-spacing:-.4px}
.context-date-chip span{font-size:10px;line-height:14px;font-weight:750}
.context-panel-row.notification .context-date-chip{background:#eff6ff;color:#175cd3}
.context-panel-row.event .context-date-chip{background:#ecfdf3;color:#027a48}
.context-panel-row.history .context-date-chip{background:#f2f4f7;color:#475467}
.context-row-content{min-width:0}
.context-row-content>strong{display:block;margin-bottom:3px;color:#172b4d;font-size:13px;line-height:18px;font-weight:720}
.context-row-content>p{display:-webkit-box;overflow:hidden;margin:2px 0;color:#475467;font-size:12px;line-height:17px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.context-row-content>small{display:block;margin-top:3px;color:#667085;font-size:11px;line-height:15px}
.context-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}
.context-row-actions>.button-link{padding:6px 7px}
.context-controls-dialog .context-go{min-height:36px;padding:7px 12px;background:#2f6df0;color:#fff;border-color:#2f6df0;border-radius:9px}
.context-controls-dialog .context-go:hover{background:#1f5fe8;border-color:#1f5fe8}
.context-row-menu-trigger{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border-color:transparent;background:transparent;color:#667085;font-size:20px;font-weight:700;line-height:20px}
.context-row-menu-trigger:hover,.context-row-menu-trigger:focus-visible{background:#f2f4f7}
.context-action-popover{position:fixed;inset:auto;margin:0;padding:5px;overflow:visible;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#344054;box-shadow:0 12px 30px #172b4d2b}
.context-action-popover::backdrop{background:transparent}
.context-action-popover>button,.context-action-popover>.context-reminder-editor{display:block;width:100%;min-height:36px;margin:0;padding:7px 10px;border:0;border-radius:7px;background:#fff;color:#344054;box-shadow:none;text-align:left}
.context-action-popover>button:hover,.context-action-popover>button:focus-visible,.context-action-popover>.context-reminder-editor>summary:hover,.context-action-popover>.context-reminder-editor>summary:focus-visible{background:#edf4ff;color:#175cd3}
.context-action-popover>button.context-menu-primary{background:#2f6df0;color:#fff;font-weight:700}
.context-action-popover>button.context-menu-primary:hover,.context-action-popover>button.context-menu-primary:focus-visible{background:#1f5fe8;color:#fff}
.context-action-popover>.context-reminder-editor{padding:0}
.context-action-popover>.context-reminder-editor>summary{display:block;padding:8px 10px;border-radius:7px;cursor:pointer}
.context-action-popover>.context-reminder-editor>summary::before{content:none!important;display:none!important}
.context-action-popover>.context-reminder-editor[open]>summary{background:#edf4ff;color:#175cd3}
.context-delete-icon{width:34px;min-width:34px;height:34px;min-height:34px;padding:0!important;border-color:transparent!important;background:transparent!important;color:#d92d20!important;font-size:20px!important;box-shadow:none!important}
.context-delete-icon:hover{background:#fef3f2!important}
.context-confirm-dialog{width:min(360px,calc(100vw - 28px));padding:20px;border:1px solid #d0d5dd;border-radius:14px;background:#fff;color:#172b4d;box-shadow:0 20px 60px #10182840}
.context-confirm-dialog::backdrop{background:#10182866}
.context-confirm-dialog strong{display:block;font-size:15px;line-height:21px}.context-confirm-dialog p{margin:8px 0 18px;color:#667085;font-size:12px}
.context-confirm-dialog>div{display:flex;justify-content:flex-end;gap:8px}.context-confirm-dialog button{min-width:72px}.context-confirm-dialog [data-yes]{background:#d92d20;color:#fff;border-color:#d92d20}
.context-empty{display:flex;align-items:center;justify-content:center;gap:10px;min-height:120px;color:#667085;font-size:13px;text-align:center}
.context-empty>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ecfdf3;color:#027a48;font-weight:750}
.context-settings{max-width:none;margin:0;padding:16px 0 4px}
.context-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.context-field{display:block;margin:0;color:#344054;font-size:12px;font-weight:650}
.context-field select,.context-field input{display:block;width:100%;height:36px;margin-top:5px;border:1px solid #d0d5dd;border-radius:8px;background:#fff}
.context-settings-title{margin:18px 0 8px;font-size:12px}
.context-switches{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}
.context-toggle{position:relative;display:flex!important;align-items:center;gap:8px;margin:0!important;color:#475467!important;font-size:12px}
.context-toggle input{position:absolute;opacity:0;pointer-events:none}
.context-toggle-visual{position:relative;width:30px;height:18px;flex:0 0 30px;border-radius:10px;background:#d0d5dd}
.context-toggle-visual::after{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #10182833;transition:.12s}
.context-toggle input:checked+.context-toggle-visual{background:#2f6df0}
.context-toggle input:checked+.context-toggle-visual::after{transform:translateX(12px)}
.context-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:12px;border-top:1px solid #edf0f4}
.context-history-range{max-width:190px;margin:12px 0}
.context-reminder-editor{padding:8px;border:1px solid #e4e7ec}
.context-reminder-editor>summary{font-size:12px}
