:root{font-family:Arial,sans-serif;color:#23364a;background:#f2f4f7;font-size:14px;--navy:#20384e;--red:#a92e39;--line:#dce2e8}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #d4dce5;background:white;color:#253d53;border-radius:5px;padding:9px 13px;white-space:nowrap}button:hover{background:#eaf0f5}button.primary{background:var(--navy);color:white;border-color:var(--navy)}input,select,textarea{border:1px solid #cdd6df;border-radius:4px;background:white;color:#21364c;padding:9px;max-width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #8db9d8;outline-offset:1px}textarea{resize:vertical;min-height:66px}label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#51677c}header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 32px;background:white;border-top:4px solid var(--red);border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:1px;text-decoration:none;color:var(--red);font-size:19px}.brand span{font-size:12px;color:var(--navy);margin-left:10px}.top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#save-status{font-size:12px;color:#5d6d7d;margin-right:12px}main{padding:24px 32px;max-width:2000px;margin:auto}.workspace{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}h1{font-size:27px;margin:6px 0;font-weight:600;letter-spacing:-.5px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#758391;margin:0}.project-switch{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.project-switch label{align-self:center}.project-card{background:white;border:1px solid var(--line);padding:20px;border-radius:7px}.meta{display:grid;grid-template-columns:2fr 1.6fr 1fr 1fr;gap:16px}.meta input{width:100%}.general{margin-top:15px}.general textarea{min-height:45px}.tabs{display:flex;gap:22px;margin:20px 0 0;border-bottom:1px solid #ccd5df}.tabs button{border:0;border-radius:0;background:transparent;padding:12px 2px}.tabs button[aria-selected=true]{border-bottom:3px solid var(--red);font-weight:bold;color:var(--red)}.section-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:20px 0 14px}.section-head h2{font-size:18px;margin:0 0 6px}.section-head p{font-size:13px;color:#677b8d;margin:0}.table-scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:6px}table{border-collapse:collapse;width:100%;min-width:1200px;table-layout:fixed}th{background:var(--navy);color:white;text-align:left;font-size:12px;font-weight:600;padding:12px}th:nth-child(1){width:13%}th:nth-child(2){width:25%}th:nth-child(3){width:17%}th:nth-child(4){width:23%}th:nth-child(5){width:15%}th:nth-child(6){width:7%}td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line)}td input,td select,td textarea{width:100%;margin:0 0 7px}td textarea{min-height:95px}td small{color:#61788c;font-size:11px}.cell-stack{display:flex;flex-direction:column;gap:2px}.row-actions{display:flex;flex-direction:column;gap:6px}.row-actions button{font-size:11px;padding:7px}.danger{color:#a52e39!important}details{margin:5px 0;font-size:12px}summary{cursor:pointer;color:#315e7e;padding:5px 0;font-weight:600}details textarea{min-height:75px}.role-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.role-grid label{font-size:10px}.role-grid input{margin:0}.error-row{box-shadow:inset 3px 0 #b83c45}.bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;margin-top:20px}.gantt-card,#checks{background:white;border:1px solid var(--line);border-radius:6px;padding:18px}.gantt-card .section-head{margin-top:0}.gantt-scroll{overflow:auto}.legend{display:flex;gap:18px;font-size:11px;color:#5a7083;margin:12px 0}.legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:2px;background:#2465a6}.legend .orange:before{background:#985619}.legend .green:before{background:#23754d}.legend .red:before{background:#b73744}#checks h3{margin:0 0 10px;font-size:15px}#checks ul{padding-left:18px;font-size:12px;line-height:1.5}#checks li{margin-bottom:8px}#checks p{font-size:12px;color:#63788c;line-height:1.5}.empty{padding:26px;color:#65788a;text-align:center}.muted{color:#64788a;font-size:12px;line-height:1.5}.panel{padding:20px;background:white;border:1px solid var(--line);border-radius:6px;margin-bottom:18px}.panel h2{font-size:18px;margin-top:0}.panel h3{font-size:16px}.row{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}.row label{min-width:155px;flex:1}.row input,.row select{width:100%}.ok{background:#edf3f6;padding:14px;line-height:1.6;border-left:3px solid #7197ac}.alert{background:#fff0d7;padding:12px}footer{display:flex;justify-content:space-between;gap:20px;margin-top:24px;color:#82909d;font-size:11px}[hidden]{display:none!important}@media(max-width:1000px){header{padding:15px;flex-wrap:wrap}main{padding:16px}.workspace{align-items:start;flex-direction:column}.meta{grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr}.brand span{display:block;margin:6px 0 0}h1{font-size:23px}footer{flex-direction:column}}@media(max-width:550px){.meta{grid-template-columns:1fr}.top-actions button{font-size:12px}.project-switch label{width:100%}}@media print{header,.workspace,.tabs,#materials,footer,.row-actions,.top-actions{display:none!important}body{background:white}.project-card{border:0}main{padding:0}.table-scroll{overflow:visible}.bottom-grid{display:block}#checks{break-before:page}table{min-width:0}input,textarea,select{border:0;padding:0}button{display:none}textarea{overflow:visible} @page{size:A3 landscape;margin:12mm}}

body:not(.authenticated)>header,body:not(.authenticated)>main{display:none}.access-overlay{position:fixed;inset:0;background:#edf2f7;display:grid;place-items:center;padding:20px;z-index:100}.access-card{box-sizing:border-box;width:min(420px,100%);padding:32px;background:white;border:1px solid #dce3ed;border-radius:18px;box-shadow:0 20px 70px #17314a20}.access-card label{display:block;margin:18px 0}.access-card input{display:block;width:100%;box-sizing:border-box;margin-top:8px}.access-card button{margin:5px 5px 0 0}.access-error{color:#a32232}dialog::backdrop{background:#17314a88}

.schedule-days{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.schedule-days label{display:flex;align-items:center;gap:3px;font-size:11px;margin:0}.schedule-days input[type=checkbox]{width:auto;min-width:0;margin:0}.schedule-days~small{display:block;margin:6px 0;line-height:1.4}

.tabs{flex-wrap:wrap}.dispo-table{min-width:1100px;width:100%;background:#fff}.dispo-table th,.dispo-table td{padding:12px;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.dispo-table th{white-space:normal}.dispo-table th:nth-child(1){width:6%}.dispo-table th:nth-child(2){width:15%}.dispo-table th:nth-child(3){width:15%}.dispo-table th:nth-child(4){width:21%}.dispo-table th:nth-child(5),.dispo-table th:nth-child(6){width:13%}.dispo-table th:nth-child(7){width:17%}.dispo-table td div{margin-top:5px}#dispo .section-head{flex-wrap:wrap}#dispo-print,#dispo-csv{margin:4px}
