:root{--navy:#183444;--navy-deep:#112a38;--navy-light:#284c60;--gold:#ddb963;--gold-pale:#fff6d7;--gold-hover:#ffedb4;--ink:#1d303c;--muted:#6f7c85;--line:#dfe5e8;--background:#f5f7f8;--white:#fff;--green:#2b7763;--red:#af3839;--shadow:0 12px 40px #132f4014;--name-width:205px;--trade-width:133px}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--background);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}[hidden]{display:none!important}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.9px;font-weight:650;margin-bottom:10px}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:18px}p{line-height:1.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c19b3e;outline-offset:3px}input,select,textarea{min-width:0;border:1px solid #ced8dd;border-radius:7px;background:white;color:var(--ink);padding:11px 12px}input[type=checkbox],input[type=radio]{accent-color:var(--navy);width:17px;height:17px;padding:0}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}label small{font-weight:400;line-height:1.45;color:var(--muted)}small{font-size:11px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{display:block;color:#7b704e;letter-spacing:1.8px;font-size:10px;font-weight:700;margin-bottom:10px}.eyebrow.light{color:#d9c99f}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:10px 16px;border-radius:7px;border:1px solid transparent;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap}.button.primary{background:var(--navy);color:#fff}.button.primary:hover{background:var(--navy-light)}.button.secondary{background:#fff;border-color:#ced8dd;color:var(--navy)}.button.secondary:hover{background:#f3f6f7}.button.danger{background:#fff4f3;color:var(--red);border-color:#edc9c5}.button.wide{width:100%}.button.small-button{min-height:32px;padding:7px 10px;font-size:11px}.icon-button{background:transparent;border:0;border-radius:6px;min-width:32px;min-height:32px;font-size:21px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#e8eef0;color:var(--navy)}.icon-button.outlined{border:1px solid var(--line);background:#fff;font-size:27px;width:34px;height:36px}.text-button{background:none;border:0;color:var(--navy);font-size:11px;padding:5px;font-weight:600}.text-button:hover{text-decoration:underline}.startup{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.brand-mark{display:grid;place-items:center;background:var(--navy);color:var(--gold);width:58px;height:58px;font-size:34px;margin-bottom:18px}.wordmark{font-size:34px;font-weight:800;letter-spacing:1px;line-height:.9;text-decoration:none;display:block;color:#fff}.wordmark span{font-size:8px;font-weight:500;display:block;letter-spacing:4px;line-height:2.7}.app-shell{display:flex;min-height:100vh}.sidebar{width:200px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:var(--navy);color:#f7fafb;padding:35px 20px 23px;z-index:25}.sidebar .wordmark{padding-left:12px;margin-bottom:55px}.sidebar-label{font-size:9px;color:#9eb1bb;letter-spacing:2px;margin:0 0 16px 13px}.nav-item{width:100%;background:none;color:#c8d5db;border:0;text-align:left;border-radius:7px;display:flex;align-items:center;gap:12px;padding:13px 12px;margin-bottom:5px;font-size:12px}.nav-item.active{background:#ffffff12;color:#fff;box-shadow:inset 3px 0 0 var(--gold)}.nav-item:hover{background:#ffffff0b;color:#fff}.nav-icon{width:18px;font-size:19px;font-weight:400;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1d;padding:22px 12px 0}.sidebar-bottom .small-label{color:var(--gold);font-size:8px;letter-spacing:1.8px}.sidebar-bottom p{font-size:11px;color:#b3c3cb;margin:11px 0 0;line-height:1.7}.workspace{margin-left:200px;min-width:0;width:calc(100% - 200px)}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;background:#fff}.breadcrumb{font-size:11px;color:var(--muted);display:flex;gap:13px;align-items:center}.breadcrumb span{color:#bfc9ce}.breadcrumb strong{color:var(--navy);font-weight:600}.user-area{display:flex;align-items:center;gap:11px}.avatar{border-radius:50%;background:#f0e9d8;color:#7f6c37;width:34px;height:34px;display:grid;place-items:center;font-size:11px;font-weight:600}.user-area strong{display:block;font-size:11px;font-weight:600}.user-area small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.user-area .icon-button{margin-left:4px}.page{padding:32px 34px 35px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.page-heading p{font-size:12px;margin-bottom:0}.heading-actions{display:flex;gap:10px;align-items:center}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;color:var(--green);font-size:10px;font-weight:600;white-space:nowrap}.status-pill>span{width:6px;height:6px;border-radius:50%;background:var(--green)}.status-pill.saving{color:#9c7627}.status-pill.saving>span{background:#ba8b2b}.status-pill.failed{color:var(--red)}.status-pill.failed>span{background:var(--red)}.card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 4px #162e3e03}.week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 19px;margin-bottom:20px}.week-switcher{display:flex;align-items:center;gap:20px}.week-switcher>div{min-width:190px;text-align:center}.week-switcher strong{font-size:18px;color:var(--navy);font-weight:600;display:block;letter-spacing:-.3px}.week-switcher small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.week-form{display:flex;align-items:flex-end;gap:10px}.week-form label{font-size:9px;color:var(--muted);gap:5px;letter-spacing:.5px;text-transform:uppercase}.week-form input{padding:8px 10px;width:83px;font-size:12px;height:35px}.week-form label:nth-child(2) input{width:66px}.week-form .button{min-height:35px;padding:8px 14px}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px;gap:20px}.filter-left{display:flex;align-items:center;gap:10px}.search-field{display:flex;flex-direction:row;align-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;padding-left:11px;gap:0;font-weight:400}.search-field>span{font-size:23px;color:#8a9ba6;line-height:1}.search-field input{border:0;background:transparent;font-size:11px;padding:10px 10px;width:220px}.trade-filter{position:relative;z-index:30}.trade-filter summary{list-style:none;display:flex;gap:10px;align-items:center;min-height:38px;background:white;border:1px solid var(--line);border-radius:7px;padding:9px 12px;font-size:11px;cursor:pointer}.trade-filter summary::-webkit-details-marker{display:none}.filter-count{background:var(--navy);border-radius:8px;min-width:17px;padding:2px 5px;text-align:center;font-size:9px;color:#fff}.filter-popover{position:absolute;top:45px;left:0;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:14px;width:275px;max-height:390px;overflow:auto}.filter-popover-top{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px;font-size:11px}.filter-choice{display:flex;flex-direction:row;align-items:center;gap:9px;padding:8px 2px;font-size:11px;font-weight:500}.planning-wrap{overflow:auto;max-height:calc(100vh - 338px);min-height:275px;border-radius:9px}.planning-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1150px;font-size:11px}.planning-table col.name-col{width:var(--name-width)}.planning-table col.trade-col{width:var(--trade-width)}.planning-table col.half-col{width:82px}.planning-table th,.planning-table td{border-right:1px solid #dfe4e5;border-bottom:1px solid #dfe4e5;padding:0}.planning-table thead th{color:#fff;background:var(--navy);font-weight:500;position:sticky;top:0;z-index:12;text-align:center}.planning-table thead .day-heading{height:42px;font-weight:600;font-size:11px;border-right-color:#ffffff26}.planning-table thead .day-heading .day-date{font-weight:400;display:block;font-size:10px;color:#c2d1d8;margin-top:4px}.planning-table thead tr:nth-child(2) th{height:27px;top:42px;background:#284757;color:#dce6eb;font-size:9px;border-right-color:#ffffff1f}.planning-table thead th.name-head,.planning-table thead th.trade-head{top:0;height:69px;padding:0 16px;text-align:left;background:var(--navy);z-index:18}.planning-table .name-head,.planning-table .employee-name{position:sticky;left:0}.planning-table .trade-head,.planning-table .employee-trade{position:sticky;left:var(--name-width)}.planning-table tbody th.employee-name{background:#fff;padding:14px 16px;height:52px;text-align:left;font-weight:600;font-size:11px;z-index:8}.planning-table td.employee-trade{padding:10px 12px;background:#fafbfc;color:#71818a;font-size:9px;letter-spacing:.2px;z-index:8;box-shadow:3px 0 5px #122d3805}.planning-table tbody tr:hover th.employee-name,.planning-table tbody tr:hover td.employee-trade{background:#f0f4f6}.planning-table td.assignment{background:var(--gold-pale);text-align:center;height:52px}.planning-table td.assignment.readonly{background:#f8f6ed}.assignment-button{width:100%;height:100%;min-height:51px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;padding:5px 4px;color:var(--navy);font-size:11px}.assignment-button:hover{background:var(--gold-hover)}.assignment-button:disabled{opacity:1;cursor:default}.assignment-button:disabled:hover{background:transparent}.assignment-button .task-code{font-weight:700;font-size:11px}.assignment-button .boat-name{font-size:9px;color:#6e705f;line-height:1.2;overflow-wrap:anywhere}.assignment-button .empty-cell{color:#c4b679;font-size:17px;font-weight:400;opacity:0;transition:opacity .1s}.assignment-button:hover .empty-cell{opacity:1}.assignment-button .full-day-tag{font-size:7px;letter-spacing:.7px;text-transform:uppercase;color:#9a874c}.assignment.absence{background:#e9eff1}.assignment.absence .task-code{font-weight:500;color:#7c8c93}.grid-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px}.grid-footer p{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin:0}.grid-footer>span{font-size:10px}.legend-swatch{display:inline-block;width:11px;height:11px;border:1px solid #e6d69e;background:var(--gold-pale);border-radius:2px}.notice{font-size:12px;line-height:1.6;padding:13px 16px;border-radius:7px;margin-bottom:18px}.notice.danger{background:#fff0ed;border:1px solid #edcbc5;color:#9f3c34}.notice.soft{background:#edf2f5;color:#5b717f;border:1px solid #dce7ed}.empty-state{padding:50px 25px;text-align:center;color:var(--muted);line-height:1.6}.empty-state h3{color:var(--navy);margin:15px 0 8px;font-weight:500}.empty-state p{font-size:12px;margin-bottom:0}.empty-icon{font-size:32px;color:#aabac3}.table-wrap{overflow:auto}.admin-table{border-collapse:collapse;width:100%;font-size:12px}.admin-table th{text-align:left;background:#f8fafb;color:#7d8b93;text-transform:uppercase;letter-spacing:.8px;font-size:9px;padding:14px 17px;font-weight:600;border-bottom:1px solid var(--line)}.admin-table td{padding:15px 17px;border-bottom:1px solid #e9eef0;vertical-align:middle}.admin-table tr:last-child td{border-bottom:0}.admin-table .row-actions{text-align:right;white-space:nowrap}.admin-table .main-cell{font-weight:600;color:var(--navy)}.admin-table .sub-cell{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:5px}.badge{font-size:9px;border-radius:4px;background:#eef3f5;color:#557184;padding:5px 7px;display:inline-block}.badge.active{background:#edf6f0;color:#36755a}.badge.inactive{background:#f0f0f0;color:#8c9397}.badge.owner{background:#faf1d9;color:#9a7d31}.tabs{display:flex;border-bottom:1px solid var(--line);gap:26px;margin:0 0 23px}.tab{border:0;background:none;font-size:12px;padding:0 2px 14px;color:var(--muted);position:relative}.tab.active{color:var(--navy);font-weight:600}.tab.active:after{position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--navy);content:""}.settings-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.role-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:23px}.role-cards>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px}.role-cards strong{font-size:11px;color:var(--navy)}.role-cards p{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.6}.admin-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.admin-footer p{margin:0}.print-controls{display:flex;align-items:flex-start;gap:15px;padding:20px;margin-bottom:24px}.print-controls input{height:39px;font-size:12px}.print-controls label:first-child{width:90px}.print-controls .weeks-field{width:240px}.print-controls .button{margin-top:23px}.print-filter-note{margin-top:26px;flex:1;max-width:270px;font-size:11px}.print-filter-note strong{display:block;color:var(--navy);margin-bottom:6px}.print-filter-note small{display:block;line-height:1.5;color:var(--muted)}.print-sheet{background:#fff;padding:25px;margin:0 auto 24px;border:1px solid var(--line);border-radius:8px;max-width:1600px;overflow:auto}.print-sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.print-sheet-header h2{font-size:20px;margin:0 0 6px}.print-sheet-header p{font-size:10px;color:var(--muted);margin:0}.print-brand{font-size:24px;font-weight:800;color:var(--navy);letter-spacing:2px}.print-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:850px;font-size:9px}.print-table th,.print-table td{border:1px solid #ccd6dc;padding:7px 4px;text-align:center;overflow-wrap:anywhere}.print-table thead th{background:var(--navy);color:#fff;font-weight:500}.print-table .print-person{width:135px;text-align:left;font-weight:600}.print-table .print-trade{width:85px;text-align:left;color:#617785;font-size:8px}.print-table .print-assignment{background:#fff9e5;white-space:pre-line;font-weight:500}.print-table thead tr:nth-child(2) th{font-size:8px;background:#345464}.print-legend{margin-top:20px;break-inside:avoid}.print-legend h3{font-size:11px;margin:0 0 10px;text-transform:uppercase;letter-spacing:1px}.legend-list{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 20px}.legend-entry{font-size:9px;line-height:1.5;border-top:1px solid #e5e9eb;padding-top:6px;display:flex;gap:8px}.legend-entry strong{color:var(--navy);flex:0 0 46px}.legend-entry small{display:block;font-size:8px;color:var(--muted)}.print-empty{font-size:11px;color:var(--muted);padding:20px;text-align:center}.print-sheet-footer{font-size:8px;color:#89969d;margin-top:15px;display:flex;justify-content:space-between}.editor-dialog{width:min(760px,calc(100% - 30px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:12px;color:var(--ink);box-shadow:0 25px 100px #0e293955;overflow:auto}.editor-dialog::backdrop{background:#0c243a66;backdrop-filter:blur(2px)}.dialog-heading{padding:25px 28px 19px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);gap:15px}.dialog-heading .eyebrow{margin-bottom:7px;font-size:9px}.dialog-heading h2{font-size:22px;margin:0 0 7px}.dialog-heading p{font-size:11px;margin:0}.dialog-heading .icon-button{font-size:28px;margin-top:-8px}.dialog-form{padding:23px 28px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .full-width{grid-column:1/-1}.form-grid label{font-size:11px}.form-grid input,.form-grid select{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:18px 28px;margin:24px -28px 0;background:#fafcfc;border-radius:0 0 12px 12px}.dialog-actions .button.first-action{margin-right:auto}.inline-error{color:#a23c34;font-size:12px;background:#fff0ed;padding:11px 13px;line-height:1.55;border-radius:6px;margin:18px 0 0}.day-choice{background:#f5f7f8;border-radius:8px;padding:15px;margin:20px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.day-choice>span{font-size:12px;font-weight:600;color:var(--navy)}.radio-options{display:flex;gap:16px}.radio-options label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px}.task-period-heading{font-size:11px;color:var(--navy);font-weight:700;display:flex;align-items:center;gap:8px;margin:0 0 15px}.task-period-heading span{background:#edf2f4;color:#6a818f;border-radius:4px;padding:5px 8px;font-size:9px;font-weight:500}.task-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.task-fields .task-select-label{grid-column:1/-1}.task-fields label{font-size:10px}.task-fields select{font-size:11px}.period-panel+.period-panel{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.task-detail{font-size:10px;line-height:1.55;color:var(--muted);margin:8px 0 0;min-height:16px}.clear-assignment{margin-top:10px;text-align:left}.dialog-note{font-size:10px;color:var(--muted);line-height:1.6;margin:17px 0 0}.checkbox-label{flex-direction:row;align-items:center;gap:9px;font-weight:500}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);z-index:100;background:var(--navy);color:#fff;border-radius:8px;box-shadow:var(--shadow);padding:14px 20px;font-size:12px;max-width:min(600px,90vw);line-height:1.5}.toast.error{background:#913c37}.auth-screen{min-height:100vh;display:grid;grid-template-columns:45% 55%}.auth-presentation{background:var(--navy);padding:55px 60px 38px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-presentation:after{content:"";position:absolute;border:1px solid #d9bf7633;width:600px;height:600px;border-radius:50%;right:-280px;bottom:-240px;pointer-events:none}.auth-presentation h1{font-size:44px;line-height:1.2;font-weight:500;letter-spacing:-1.6px;margin:0 0 25px}.auth-presentation p{font-size:14px;line-height:1.8;color:#b5c5ce;margin:0}.auth-footnote{font-size:9px;letter-spacing:3px;color:#98adb9}.auth-form-area{display:flex;align-items:center;justify-content:center;padding:50px}.auth-card{width:100%;max-width:370px}.auth-card h2{font-size:29px;margin-bottom:12px}.auth-card>p{font-size:12px;margin-bottom:29px}.auth-card form{display:grid;gap:18px}.auth-card label{font-size:11px}.auth-card input{padding:13px 12px;font-size:13px}.auth-card .button{margin-top:7px;justify-content:space-between;min-height:44px;padding:12px 16px}.auth-card .auth-help{font-size:10px;color:var(--muted);margin:24px 0 0;line-height:1.7}.auth-card .inline-error{margin:0}.audit-details{max-width:600px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;color:var(--muted)}
@media(min-width:1700px){.page{padding:38px 42px}.topbar{padding:0 42px}.planning-table col.half-col{width:auto}.planning-table tbody th.employee-name,.planning-table td.assignment{height:52px}.assignment-button{min-height:51px}.planning-wrap{max-height:calc(100vh - 350px)}}
@media(max-width:1250px){.sidebar{width:170px;padding-left:15px;padding-right:15px}.workspace{margin-left:170px;width:calc(100% - 170px)}.page{padding:25px 23px}.topbar{padding:0 23px}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.heading-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.status-pill{width:100%;justify-content:flex-end;padding-top:0}.week-toolbar{gap:15px}.week-switcher{gap:10px}.week-switcher>div{min-width:170px}.print-controls{flex-wrap:wrap}.print-filter-note{max-width:none;flex:1}.toast{left:calc(50% + 85px)}}
@media(min-width:1000px) and (max-width:1450px){:root{--name-width:190px;--trade-width:115px}.planning-table{min-width:1045px}.planning-table col.half-col{width:74px}}
@media(max-width:900px){.sidebar{position:static;width:100%;padding:17px 20px 0;display:block}.sidebar .wordmark{font-size:27px;padding:0;margin:0 0 15px;display:inline-block}.sidebar .wordmark span{font-size:6px;line-height:2}.sidebar-label,.sidebar-bottom{display:none}#main-nav{display:flex;gap:4px;overflow:auto}.nav-item{width:auto;white-space:nowrap;font-size:10px;padding:11px;margin:0;border-radius:6px 6px 0 0;gap:6px}.nav-item.active{box-shadow:inset 0 -3px 0 var(--gold)}.nav-icon{font-size:15px;width:16px}.app-shell{display:block}.workspace{width:100%;margin:0}.topbar{height:62px}.planning-wrap{max-height:65vh}.page-heading h1{font-size:27px}.grid-footer{align-items:flex-start}.grid-footer>span{text-align:right}.role-cards{grid-template-columns:repeat(2,1fr)}.toast{left:50%}.auth-screen{grid-template-columns:40% 60%}.auth-presentation{padding:35px 30px}.auth-presentation h1{font-size:32px}.auth-form-area{padding:40px}.week-toolbar{align-items:flex-start;gap:18px}.week-switcher{margin-top:15px}.week-form{gap:7px}.week-switcher>div{min-width:150px}.week-switcher strong{font-size:16px}}
@media(max-width:650px){.page{padding:23px 16px}.topbar{padding:0 16px}.breadcrumb{font-size:10px;gap:8px}.user-area{gap:7px}.user-area strong{max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-area .avatar{display:none}.user-area .icon-button{font-size:19px;margin:0;min-width:27px}.page-heading{display:block;margin-bottom:22px}.heading-actions{justify-content:flex-start;margin-top:16px}.status-pill{width:auto;order:3;margin-left:auto}.page-heading h1{font-size:27px;margin-bottom:8px}.page-heading p{font-size:11px}.page-heading>.button{margin-top:15px}.week-toolbar{display:block;padding:15px}.week-switcher{margin:0;justify-content:space-between}.week-switcher>div{text-align:center}.week-form{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);justify-content:center}.week-form label{flex:1}.week-form input,.week-form label:nth-child(2) input{width:100%}.week-form .button{min-width:90px}.filter-toolbar{align-items:flex-start;gap:10px;flex-wrap:wrap}.filter-left{flex:1;gap:7px;flex-wrap:wrap}.search-field{flex:1;min-width:165px}.search-field input{width:100%;min-width:0}.trade-filter summary{font-size:10px;padding:9px}.filter-toolbar>span{font-size:10px;width:100%}.filter-popover{left:auto;right:0;width:255px}.grid-footer{display:block}.grid-footer>span{display:block;text-align:left;margin-top:8px;font-size:9px}.grid-footer p{font-size:9px;line-height:1.5}:root{--name-width:155px;--trade-width:101px}.planning-table col.half-col{width:76px}.planning-table tbody th.employee-name{font-size:10px;padding:11px 10px}.planning-table td.employee-trade{font-size:8px;padding:9px}.planning-table thead th.name-head,.planning-table thead th.trade-head{padding:0 10px}.planning-wrap{max-height:62vh}.role-cards{gap:9px}.role-cards>div{padding:13px}.admin-footer{display:block}.admin-footer .button{margin-top:15px}.settings-toolbar{gap:12px}.settings-toolbar .button{font-size:10px;padding:10px}.settings-toolbar .search-field{min-width:100px}.settings-toolbar .search-field input{min-width:70px}.tabs{gap:22px}.print-controls{padding:15px;gap:14px}.print-controls .weeks-field{flex:1;min-width:150px}.print-filter-note{margin-top:0;flex-basis:100%}.print-controls .button{margin-top:0;flex:1}.print-sheet{padding:15px}.print-sheet-header h2{font-size:17px}.legend-list{grid-template-columns:1fr 1fr}.editor-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px)}.dialog-heading{padding:21px 20px 17px}.dialog-form{padding:20px 20px 0}.dialog-actions{margin:22px -20px 0;padding:16px 20px;flex-wrap:wrap}.dialog-actions .button{font-size:11px}.form-grid{grid-template-columns:1fr}.form-grid .full-width{grid-column:auto}.task-fields{gap:12px}.day-choice{display:block}.radio-options{margin-top:13px}.auth-screen{display:block;background:var(--background)}.auth-presentation{padding:26px 28px}.auth-presentation .wordmark{font-size:29px;margin-bottom:22px}.auth-presentation h1{font-size:29px;margin:0 0 10px}.auth-presentation p,.auth-footnote,.auth-presentation .eyebrow{display:none}.auth-form-area{padding:30px 25px}.auth-card{max-width:400px}.auth-card h2{font-size:26px}.auth-card>p{margin-bottom:23px}.admin-table td{padding:13px 12px}.admin-table th{padding:12px}.page-heading .eyebrow{font-size:9px}}
@media print{@page{size:A3 landscape;margin:12mm}body{background:#fff;font-size:10px}.no-print,.sidebar,.topbar,.page-heading,.print-controls,#toast,dialog,#startup,#auth-screen{display:none!important}.app-shell,.workspace,#main-content,#page-print{display:block!important;width:100%;margin:0;padding:0}.page:not(#page-print){display:none!important}.print-sheet{border:0;box-shadow:none;border-radius:0;margin:0;padding:0;max-width:none;overflow:visible;break-after:page}.print-sheet:last-child{break-after:auto}.print-table{min-width:0;width:100%;font-size:9px;page-break-inside:auto}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid}.print-table th,.print-table td{padding:7px 4px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-table thead th{background:#183444!important;color:#fff!important}.print-table .print-assignment{background:#fff9e5!important}.print-sheet-header{margin:0 0 15px}.print-sheet-header h2{font-size:19px}.print-brand{font-size:25px}.legend-list{grid-template-columns:repeat(3,1fr)}.print-legend{break-inside:avoid}.print-sheet-footer{margin-top:14px}.print-sheet-header,.print-legend,.print-sheet-footer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.date-range-panel{border:1px solid #dde6ea;background:#f7fafb;border-radius:8px;padding:14px 15px;margin:0 0 22px}.date-range-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.date-range-fields label{font-size:10px}.date-range-fields select{font-size:11px;padding:9px 10px}.whole-week-choice{margin-top:13px;font-size:11px;font-weight:500}.range-summary{font-size:10px;line-height:1.55;color:#71818b;margin:12px 0 0}.range-summary.range-warning{color:#8c6b29;border-top:1px solid #e7dfcd;padding-top:10px}
.propose-code{align-self:flex-start;padding-left:0}.code-suggestion-hint{font-size:10px;line-height:1.5}
/* Suggestions de noms : au-dessus des en-tetes fixes du planning. */
.employee-combobox{position:relative;width:280px;max-width:100%;z-index:32;flex-shrink:1}.employee-combobox .search-field{width:100%;padding-right:33px}.employee-combobox .search-field input{width:100%;min-width:0}.employee-toggle{position:absolute;right:4px;top:4px;width:29px;height:31px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:17px}.employee-toggle:hover{background:#edf1f3}.employee-suggestions{position:absolute;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-width:min(390px,85vw);max-height:310px;overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:5px;z-index:40}.employee-suggestion{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 10px;border-radius:5px;cursor:pointer;font-size:12px}.employee-suggestion strong{font-weight:500}.employee-suggestion small{color:var(--muted);font-size:9px}.employee-suggestion:hover,.employee-suggestion[aria-selected=true]{background:var(--gold-pale)}.employee-suggestion-empty{padding:13px 10px;color:var(--muted);font-size:12px;max-width:300px;line-height:1.5}.search-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.employee-combobox{flex:1;min-width:170px}.employee-suggestions{max-width:calc(100vw - 32px)}}

.register-switch{margin-top:16px!important;justify-content:center!important}.auth-card .register-back{font-size:11px;justify-self:center}.register-note{font-size:11px;line-height:1.6;color:#6f7c85;margin:0}.registration-sent{background:#edf6f0;border:1px solid #d2e7da;color:#32694e;margin:5px 0 20px}.registration-sent strong{display:block;margin-bottom:9px}.registration-sent p{font-size:12px;line-height:1.65;margin:0}.badge.pending{background:#fff1ce;color:#95711e}.pending-user-row td{background:#fffdf6}.reject-account{color:#af3839;margin-left:10px}.approval-reserved{font-size:10px;white-space:normal;display:inline-block;max-width:180px;line-height:1.5}.approval-identity{background:#f2f6f8;border:1px solid #dfe7eb;border-radius:7px;padding:14px;margin-bottom:20px}.approval-identity strong{display:block;font-size:13px;color:#183444}.approval-identity span{display:block;font-size:11px;margin-top:6px;color:#6f7c85}.pending-users-help{margin-top:4px}
/* Original fourni par NEEL : fichier intact, marges transparentes cadrees par CSS. */
.sidebar .brand-home{display:block;width:100%;padding:6px;margin-bottom:40px;border-radius:5px;background:#fff;line-height:0}.brand-home .brand-logo{display:block;width:100%;height:54px;object-fit:cover;object-position:50% 53%}.auth-presentation .brand-auth{display:block;width:190px;max-width:100%;height:78px;padding:8px;background:#fff;border-radius:6px;line-height:0}.brand-auth .brand-logo{display:block;width:100%;height:62px;object-fit:cover;object-position:50% 53%}
