/* REX work overview and practical action forms. */
#rx-day-shortcut{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:15px 19px;margin:0 0 18px;border:1px solid #edb69630;border-radius:13px;background:linear-gradient(110deg,#45302d70,#23252c);color:#f1d4c6;text-align:left;cursor:pointer;font:inherit}#rx-day-shortcut small{display:block;color:#b5adaf;font-size:12px;margin-top:5px}#rx-day-shortcut>span:last-child{font-size:23px}#rx-day-shortcut[hidden]{display:none}
.ro-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 25px}.ro-heading h3{font-size:30px;letter-spacing:-1px;margin:10px 0;color:#fff1e9}.ro-heading p{color:#aeb4c1;font-size:14px;margin:0 0 10px}.ro-heading small{color:#9b9eaa;font-size:11px}.ro-heading>.btn{flex:none;font-size:12px}
.ro-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}.ro-stat{border:1px solid #ffffff12;border-radius:13px;padding:19px;background:#22242c}.ro-stat span{display:block;font-size:12px;color:#aeb4c2}.ro-stat strong{display:block;font-size:34px;line-height:1.2;letter-spacing:-1px;margin-top:9px;font-weight:650;color:#ebf0f1}.ro-stat.attention{background:linear-gradient(130deg,#412d2a88,#24232a);border-color:#f3a58025}.ro-stat.attention strong{color:#ffc4a8}
.ro-quick-actions,.ro-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ro-quick-actions{margin:20px 0 25px}.ro-quick-actions .btn{font-size:12px;min-height:42px}.ro-actions .btn{font-size:11px;min-height:40px}.ro-actions .rx-text-btn{min-height:35px}
.ro-template-section{padding:22px;border-radius:16px;background:linear-gradient(110deg,#36302b,#25262e);border:1px solid #cfaa8527;margin:0 0 25px}.ro-template-section h4{font-size:22px;letter-spacing:-.5px;margin:8px 0}.ro-template-section p{font-size:12px;color:#b8b2b1;line-height:1.6;margin:0 0 18px}.ro-tag{font-size:9px;font-weight:750;letter-spacing:1.3px;color:#d3ad98}.ro-templates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ro-templates button{padding:17px;background:#17191f60;border:1px solid #f0c39918;border-radius:11px;text-align:left;color:#f3e2d6;cursor:pointer;min-width:0}.ro-templates button:hover{border-color:#f2b08477;background:#392d29}.ro-templates button>span{display:block;font-size:10px;letter-spacing:1px;color:#b79077;margin-bottom:14px}.ro-templates strong{display:block;font-size:13px}.ro-templates small{display:block;font-size:11px;color:#b0a6a4;line-height:1.6;margin-top:7px}
.ro-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px}.ro-section{padding:22px;margin-bottom:20px;background:#1e2029;border:1px solid #ffffff13;border-radius:16px;min-width:0}.ro-section h3{font-size:17px;margin:0 0 16px;color:#e9e9ef}.ro-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.ro-section-title h3{margin:0}.ro-section-title>span{font-size:10px;color:#979fac;text-align:right}.ro-section p,.ro-section small{line-height:1.7}.ro-empty,.ro-hint{font-size:12px;color:#a4adbd;line-height:1.8;margin:8px 0 15px}.ro-hint{color:#b2adba}.ro-caution{border:1px solid #e5b06738;background:#dec09208;padding:13px;border-radius:9px;color:#ebc48f;font-size:12px;line-height:1.6}
.ro-task{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:15px 0;border-top:1px solid #ffffff0d}.ro-task:first-child{border-top:0}.ro-task-main{display:flex;gap:12px;align-items:flex-start;min-width:0}.ro-task-main>div{min-width:0}.ro-task strong{display:block;font-size:13px;font-weight:600;color:#e5e8ef;overflow-wrap:anywhere}.ro-task small{display:block;font-size:11px;color:#9ba5b6;margin-top:5px}.ro-task>.btn{font-size:11px;min-height:38px;flex:none;padding:7px 13px}.ro-mark{margin-top:5px;flex:none;width:8px;height:8px;border-radius:50%;background:#83a79b;box-shadow:0 0 0 4px #83a79b0d}.ro-mark.late{background:#ebad75}.ro-mark.blocked{background:#ff8a78}.ro-source{font-size:10px;color:#a6adbb}
.ro-conflict{padding:15px;background:#e6ab5e08;border:1px solid #e6ab5e25;border-radius:10px;margin-top:12px}.ro-conflict strong{font-size:12px;color:#e7be8c}.ro-conflict p{font-size:12px;color:#c6bfbb;overflow-wrap:anywhere}.ro-conflict small{font-size:11px;color:#a5a2a9}.ro-conflict button{display:block;margin-top:10px;text-align:left}
.ro-followups{border-color:#a7ceb323;background:linear-gradient(150deg,#28322f70,#1e2029)}.ro-reminder{padding:17px 0;border-top:1px solid #ffffff12}.ro-reminder h4{font-size:14px;margin:8px 0}.ro-reminder p{font-size:12px;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#bfc7ce}.ro-reminder small{font-size:11px;color:#9dacb5}.ro-reminder .ro-actions{margin-top:12px}.ro-reminder.due .ro-tag{color:#f7c992}.ro-reminder.due{border-left:2px solid #e8b070;padding-left:13px;margin-left:-13px}.ro-contact{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #ffffff0d}.ro-contact strong{font-size:11px;font-weight:500;min-width:0;overflow-wrap:anywhere}.ro-contact span{font-size:10px;color:#c5a999;text-align:right}.ro-section#ro-phone>p{font-size:12px;color:#aaaebc}
.ro-site-grid,.ro-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ro-site,.ro-plan{background:#242630;border:1px solid #ffffff0c;border-radius:12px;padding:18px;min-width:0;overflow-wrap:anywhere}.ro-site h4,.ro-plan h4{font-size:15px;margin:0 0 9px}.ro-site p{font-size:12px;color:#bfc2ce;margin:6px 0}.ro-site small,.ro-plan small{font-size:11px;color:#9da7b8}.ro-site .ro-actions{margin-top:15px}.ro-plan h4{margin-top:10px}.ro-plan ul{padding-left:18px;margin:13px 0}.ro-plan li{margin:9px 0;color:#aeb8c3}.ro-plan li button{text-align:left;white-space:normal;padding-left:0;font-size:12px}.ro-plan li small{display:block}.ro-search-form{display:flex;gap:8px;flex-wrap:wrap}.ro-search-form input{flex:1 1 200px;min-width:100px}.ro-search-form select{max-width:240px;flex:1 1 130px}.ro-search-form input,.ro-search-form select{background:#151720;color:#e0e4ed;border:1px solid #ffffff22;border-radius:8px;padding:11px;font-size:12px}.ro-search-form button{font-size:12px}#ro-search-results:not(:empty){margin-top:20px}.ro-search-report{padding:16px 0;border-top:1px solid #ffffff12}.ro-search-report p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.ro-search-report small{font-size:11px;color:#99a4b7}
#ro-dialog{color:#e8e9ee;background:#22242d;width:min(720px,calc(100vw - 30px));max-height:92dvh;border:1px solid #ffffff25;border-radius:18px;padding:0;overflow:auto;box-shadow:0 28px 100px #0008}#ro-dialog::backdrop{background:#0b0c13bb;backdrop-filter:blur(3px)}#ro-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 23px;border-bottom:1px solid #ffffff15;position:sticky;top:0;background:#24262f;z-index:3}#ro-title{font-size:17px;margin:0;overflow-wrap:anywhere}#ro-close{border:0;background:#ffffff0c;color:#ddd;font-size:24px;width:37px;height:37px;border-radius:8px;cursor:pointer}#ro-body{padding:22px}#ro-body label{display:block;color:#c6ccd7;font-size:12px;margin:13px 0 7px}#ro-body label>small{font-size:10px;color:#9da5b5}#ro-body input:not([type=checkbox]),#ro-body select,#ro-body textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:11px 12px;border-radius:8px;background:#181a23;color:#f1f1f6;border:1px solid #ffffff23;font:inherit;font-size:13px;min-height:43px}#ro-body textarea{resize:vertical;min-height:72px;line-height:1.6}.ro-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ro-plan-row{min-width:0;border:1px solid #ffffff1b;border-radius:12px;padding:8px 17px 15px;margin:25px 0 18px;background:#ffffff02}.ro-plan-row legend{color:#f2c7b0;font-size:12px;font-weight:650;padding:0 8px}.ro-form-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:25px -22px -22px;padding:18px 22px;background:#282a33;border-top:1px solid #ffffff12;position:sticky;bottom:0}.ro-form-footer>span{font-size:11px;color:#a9afbc}.ro-form-footer .btn{min-height:43px;font-size:12px}#ro-message{margin:14px 22px 0;padding:12px;background:#acdab410;border:1px solid #c9e7ca25;border-radius:8px;color:#c2e3cb;font-size:12px;line-height:1.7}#ro-message.is-error{color:#ffb6a1;background:#e0927010;border-color:#e8a88a33}.ro-pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.ro-task-detail>p{font-size:13px;color:#bbc2cf}.ro-checks{margin:20px 0}.ro-checks label{display:flex!important;align-items:flex-start;gap:10px;padding:11px;background:#ffffff03;border:1px solid #ffffff0c;border-radius:8px}.ro-checks input{accent-color:#f68b6c;width:18px;height:18px;flex:none;margin:1px 0}.ro-checks span{line-height:1.6;font-size:13px}
#rx-day-panel button:focus-visible,#ro-dialog button:focus-visible,#ro-body input:focus-visible,#ro-body select:focus-visible,#ro-body textarea:focus-visible{outline:2px solid #f4b991;outline-offset:3px}#ro-body button:disabled{opacity:.55;cursor:wait}.rx-tabs{scrollbar-width:thin;scrollbar-color:#7e5146 transparent;scroll-padding-inline:10px}
@media(max-width:1050px){.ro-templates{grid-template-columns:repeat(2,minmax(0,1fr))}.ro-columns{grid-template-columns:1fr}.ro-heading{align-items:flex-start;flex-wrap:wrap}.ro-heading>.btn{flex-basis:auto}.ro-section{padding:19px}.ro-summary{gap:9px}.ro-stat{padding:15px}}
@media(max-width:650px){.ro-heading h3{font-size:27px}.ro-heading>.btn{width:100%}.ro-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ro-stat strong{font-size:30px}.ro-template-section{padding:17px}.ro-templates button{padding:14px}.ro-templates small{font-size:10px}.ro-quick-actions .btn{flex:1 1 140px}.ro-site-grid,.ro-plan-grid{grid-template-columns:1fr}.ro-section-title{align-items:flex-start}.ro-section-title>span{max-width:110px;line-height:1.5}.ro-fields{grid-template-columns:1fr;gap:0}.ro-task{gap:9px}.ro-task strong{font-size:12px}.ro-task small{font-size:10px}.ro-task>.btn{padding:8px 10px}.ro-section{padding:17px}.ro-search-form select{max-width:none}.ro-search-form button{width:100%}#ro-body{padding:17px}#ro-dialog>header{padding:16px 17px}.ro-form-footer{margin:22px -17px -17px;padding:15px 17px;flex-wrap:wrap}.ro-form-footer>span{flex-basis:100%}.ro-form-footer .btn{width:100%}.ro-plan-row{padding:8px 12px 14px}.ro-reminder.due{margin-left:-8px;padding-left:8px}}

#ro-body input[type=date],#ro-body input[type=datetime-local]{color-scheme:dark}
