/* FRW 4 v1.5 · RD planning and shared kitchen list. No external fonts/assets. */
.rd-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;flex-wrap:wrap;margin:12px 0 18px}
.rd-month-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.rd-month-form label{min-width:190px}.rd-month-form input{min-height:46px}
.rd-toolbar-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rd-toolbar .btn{min-height:44px}
.rd-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px 1px 12px;margin-bottom:14px;scrollbar-width:thin}
.rd-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border-radius:10px;background:#fff;border:1px solid #dbe5ec;color:#3e6177;font-weight:750;white-space:nowrap;font-size:13px}
.rd-tabs a.active{background:#153b54;border-color:#153b54;color:#fff}
.rd-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.rd-stats>div{background:#fff;border:1px solid #dfe8ed;padding:17px 19px;border-radius:14px}.rd-stats b{font-size:27px;display:block;line-height:1.2;letter-spacing:-1px;color:#173e54}.rd-stats span{font-size:12px;color:#607b8d;display:block;margin-top:7px}.rd-stats .has-risk{background:#fff0f2;border-color:#f1bdc5}.rd-stats .has-risk b{color:#a52c3d}
.rd-propose-bar{display:flex;justify-content:space-between;gap:18px;align-items:center;border-left:4px solid #29727b}.rd-propose-bar p{font-size:13px;color:#61798a;margin:0;max-width:510px}.rd-propose-bar .action-inline{flex-shrink:0;max-width:45%}.rd-propose-bar .action-inline .btn{font-size:13px;min-height:46px}
.rd-plan-panel{padding:20px 14px;overflow:hidden}.rd-plan-wrap{overflow-x:auto}.rd-plan-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:990px;font-size:12px}
.rd-plan-table th,.rd-plan-table td{vertical-align:top;border-bottom:1px solid #dfe8ed;padding:9px 7px;text-align:left;overflow-wrap:anywhere}
.rd-plan-table thead th{background:#edf3f7;color:#365970;font-size:11px;padding:13px 8px;font-weight:800;line-height:1.5}
.rd-plan-table thead th:first-child{width:107px}.rd-plan-table thead th:last-child{width:145px}.rd-plan-table tbody .rd-date{background:#f6f9fb;font-size:12px}
.rd-date small{display:block;font-size:10px;color:#718897;font-weight:500;margin-top:4px}.rd-day-edit{display:inline-flex;min-height:35px;align-items:center;margin-top:5px;color:#225f7e;font-weight:750;font-size:11px}
.rd-slot-link{display:flex;flex-direction:column;min-height:74px;border-radius:9px;padding:9px 8px;color:#1d3b50;gap:4px;background:#f5f9fa;border:1px solid transparent}
a.rd-slot-link:hover{border-color:#638ba5;background:#e7f0f5}.rd-slot-link strong{line-height:1.4;font-size:12px;display:block}.rd-slot-link small{font-size:10px;color:#708797}
.rd-open .rd-slot-link{background:#fff5f5;border:1px dashed #e5bbc1;color:#aa4858}.rd-conflict .rd-slot-link{background:#fee8ec;border:1px solid #db8b9c}.rd-proposed .rd-slot-link{background:#e5f6f0;border:1px dashed #66a792}.rd-soft .rd-slot-link{background:#fff8e9;border-color:#f0ddac}
.rd-slot-note{font-size:10px;line-height:1.4;color:#996333;margin-top:3px}.rd-conflict .rd-slot-note{color:#a12e40}.rd-invalid-day .rd-date{background:#fce7eb;color:#a33445}
.rd-extra-chip{display:block;border-radius:7px;padding:7px;background:#eaf0ff;color:#395587;margin-bottom:5px;font-size:11px}.rd-extra-chip small{display:block;font-size:10px;margin-top:3px}.rd-chip-risk{background:#ffe8eb;color:#a1394d}
.rd-away summary{font-size:11px;color:#7e6b70;cursor:pointer;min-height:33px;display:list-item;padding:6px 0}.rd-away small{font-size:10px;display:block;margin:5px 0;color:#607d8c}
.rd-note p{font-size:13px}.rd-day-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.rd-day-heading h2{margin:0}.rd-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rd-edit-grid .panel{margin-bottom:0}.rd-edit-grid{margin-bottom:18px}.rd-slot-editor{scroll-margin-top:30px}.rd-slot-editor h3{font-size:17px;margin:6px 0 15px}.rd-slot-editor select{width:100%;min-height:48px}.rd-warning{background:#fff5de;border-radius:8px;padding:10px;color:#8d642c;font-size:12px;line-height:1.5}
.rd-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}.rd-hours-table,.rd-year-table{border-collapse:collapse;font-size:12px;min-width:100%;white-space:nowrap}.rd-hours-table td,.rd-hours-table th,.rd-year-table td,.rd-year-table th{padding:12px 13px;border-bottom:1px solid #dce7ed;text-align:right}.rd-hours-table thead th,.rd-year-table thead th{background:#eaf1f6;color:#365e75;font-size:11px}.rd-hours-table th:first-child,.rd-year-table th:first-child{text-align:left;position:sticky;left:0;background:#f8fafc;z-index:1;border-right:1px solid #e3ebef;max-width:210px;white-space:normal;min-width:150px}.rd-hours-table th small{display:block;font-size:10px;font-weight:500;color:#7c929e}.rd-hours-table .rd-total-cell{font-weight:800;background:#f1f7f8}.rd-summary-details summary{cursor:pointer;font-size:15px;font-weight:800;color:#234c66;min-height:35px}.rd-summary-details[open] summary{margin-bottom:12px}
.rd-proposal-notes{padding:12px;background:#fff7e8;border:1px solid #f0dfb9;border-radius:10px;margin:12px 0}.rd-proposal-notes summary{font-size:13px;font-weight:750;cursor:pointer}.rd-proposal-notes p{font-size:12px;margin:7px 0}.rd-proposal-summary .action-inline{align-items:flex-end;gap:12px;margin-top:20px}.rd-proposal-summary .action-inline .btn{font-size:13px;min-height:44px}.rd-proposal-summary .action-inline form{max-width:100%}
.personnel-edit-actions{display:flex;flex-direction:column;gap:14px;min-width:280px;max-width:100%}.personnel-edit-actions .settings-details{min-width:0}.page-members>.panel>.settings-details{border-top:1px solid #e4ecf0;padding:15px 0}.personnel-edit-actions summary{min-height:38px;display:flex;align-items:center}.personnel-edit-actions details[open]{width:min(640px,100%)}
.shopping-items{display:flex;flex-direction:column}.shopping-item{display:flex;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid #e5edf1}.shopping-item:last-child{border:0}.shopping-check{width:46px;height:46px;border:2px solid #cadbe2;color:#6f8a99;background:#f7fafc;border-radius:12px;font-size:20px}.shopping-check:hover{background:#e4f6ed;color:#16774b;border-color:#8bc0a7}.shopping-item>div{min-width:0;flex:1}.shopping-item strong{font-size:16px;display:inline;margin-right:9px;overflow-wrap:anywhere}.shopping-item p{font-size:13px;color:#5a7586;margin:4px 0}.shopping-item small{display:block;font-size:11px;color:#8497a3;margin-top:4px}.rd-empty{padding:25px 10px;text-align:center;color:#648390}.rd-empty b{font-size:18px;color:#1c6e5b}
@media(min-width:1600px){.page-rd{max-width:1600px}.rd-plan-table{min-width:1080px}.rd-slot-link strong{font-size:13px}.rd-plan-table th,.rd-plan-table td{padding:11px 8px}}
@media(max-width:900px){
 .rd-propose-bar{flex-direction:column;align-items:flex-start}.rd-propose-bar .action-inline{max-width:100%}
 .rd-plan-panel{padding:0;background:transparent;border:0;box-shadow:none}.rd-plan-panel>.panel-title{padding:5px 2px 10px}.rd-plan-panel>.panel-title h2{font-size:20px}
 .rd-plan-wrap{overflow:visible}.rd-plan-table{display:block;min-width:0;width:100%;table-layout:auto}.rd-plan-table thead{display:none}.rd-plan-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rd-plan-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:white;border:1px solid #dce6ed;border-radius:15px;overflow:hidden;box-shadow:0 4px 16px #16304406}.rd-plan-table tbody .rd-date{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:#173b53;color:white;padding:14px 15px;border:0}.rd-date small{color:#c3d6e2;margin:0;font-size:11px}.rd-date b{font-size:15px}.rd-date .rd-day-edit{margin:0;min-height:35px;background:#ffffff19;padding:4px 10px;color:white;border-radius:7px;font-size:12px}.rd-date .pill{color:#b22c46;background:#ffdbdf}.rd-plan-table td{display:block;padding:10px 8px;border:0}.rd-plan-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;font-weight:750;color:#668091;margin-bottom:6px}.rd-slot-link{min-height:64px;padding:10px}.rd-slot-link strong{font-size:13px}.rd-slot-link small{font-size:11px}.rd-slot-note{font-size:11px}.rd-plan-table td:nth-child(6),.rd-plan-table td:last-child{grid-column:1/-1}.rd-plan-table td:nth-child(6){padding-top:3px}.rd-plan-table td:nth-child(6) .rd-slot-link{min-height:54px}.rd-plan-table td:last-child{border-top:1px solid #e9eef1;background:#fcfdfe;padding:10px 14px}.rd-extra-chip{font-size:12px}.rd-away summary{font-size:12px}.rd-away small{font-size:12px}
 .rd-toolbar-links .pill{white-space:normal}.rd-edit-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .rd-plan-table tbody{grid-template-columns:1fr;gap:17px}.rd-stats{gap:7px}.rd-stats>div{padding:12px 10px}.rd-stats b{font-size:23px}.rd-stats span{font-size:10px;line-height:1.4}.rd-toolbar{gap:12px}.rd-toolbar-links{width:100%;justify-content:space-between}.rd-month-form{width:100%;flex-wrap:nowrap;gap:8px}.rd-month-form label{min-width:0;flex:1}.rd-month-form input{width:100%;font-size:16px}.rd-month-form button{flex-shrink:0}.rd-tabs{margin-right:-4px;margin-left:-4px;padding-left:4px;padding-right:4px}.rd-tabs a{font-size:12px;padding:10px 12px}
 .rd-edit-grid{grid-template-columns:1fr}.rd-day-heading{align-items:flex-start}.rd-day-heading h2{font-size:18px}.rd-plan-table td[data-label]:before{font-size:11px}.rd-slot-link strong{font-size:14px}.rd-slot-link{min-height:70px}.rd-propose-bar .action-inline{width:100%}.rd-propose-bar .action-inline form,.rd-propose-bar .action-inline .btn{width:100%}.rd-proposal-summary .action-inline .action-form{display:flex;flex-direction:column;gap:10px;width:100%}.rd-proposal-summary .action-inline .btn{width:100%}
 .personnel-edit-actions{min-width:0;width:100%}.memberrecord{flex-direction:column;align-items:stretch}.rd-scroll{margin-left:-8px;margin-right:-8px}.rd-hours-table th:first-child,.rd-year-table th:first-child{min-width:120px;max-width:150px}.shopping-item strong{font-size:15px}.shopping-item{gap:12px}.rd-toolbar a{min-height:44px}.rd-proposal-summary .checkline{font-size:13px}
}
@media print{
 .rd-toolbar,.rd-tabs,.rd-propose-bar,.rd-day-edit,.rd-note,.rd-edit-grid,.rd-proposal-summary .action-inline{display:none!important}.rd-plan-wrap,.rd-scroll{overflow:visible}.rd-plan-table{display:table;min-width:0;font-size:9px}.rd-plan-table thead{display:table-header-group}.rd-plan-table tbody{display:table-row-group}.rd-plan-table tr{display:table-row!important;break-inside:avoid}.rd-plan-table th,.rd-plan-table td{display:table-cell!important;padding:3px!important}.rd-plan-table td:before{display:none!important}.rd-slot-link{min-height:0;padding:3px}.rd-slot-link strong{font-size:9px}.rd-plan-table tbody .rd-date{background:#eee;color:#111}.rd-date small{color:#444}.rd-plan-table thead th:last-child{width:12%}.rd-plan-table thead th:first-child{width:10%}.rd-plan-table th{font-size:9px}.rd-plan-panel{overflow:visible}.rd-plan-table .rd-away{display:none}.panel{break-inside:auto}.rd-hours-table{font-size:9px}
}
