:root{--navy:#102a56;--blue:#155da8;--gold:#f2c94c;--bg:#eef3f8;--red:#b42318;--green:#117a4b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#172b42;font:16px system-ui,-apple-system,Segoe UI,sans-serif}.top{min-height:82px;padding:10px clamp(14px,4vw,46px);display:flex;align-items:center;gap:15px;background:var(--navy);color:#fff}.top img{width:62px;height:62px;object-fit:contain;background:#fff;border-radius:10px}.top strong,.top span{display:block}.top strong{font-size:clamp(17px,2vw,23px)}.top span{color:#d9e9ff}.who{margin-left:auto;text-align:right}.who a{display:inline-block;margin-left:10px;color:#172b42;background:var(--gold);padding:9px 14px;border-radius:8px;text-decoration:none;font-weight:800}.notice{max-width:1200px;margin:14px auto;padding:13px 18px;background:#fff8d7;border-left:5px solid var(--gold);border-radius:8px}.auth{max-width:1050px;margin:34px auto;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 18px 55px #102a5620}.auth section{padding:clamp(22px,4vw,46px)}.auth section+section{background:#f8fbff;border-left:1px solid #dae4ef}h1,h2,h3{color:var(--navy)}label{display:block;font-weight:700;margin:12px 0 5px}input,select,textarea{width:100%;min-height:45px;padding:10px 12px;border:1px solid #9eb4ca;border-radius:8px;background:#fff;font:inherit}textarea{min-height:90px}input:focus,select:focus,textarea:focus,button:focus{outline:3px solid #75aff0;outline-offset:2px}button{min-height:44px;border:0;border-radius:8px;padding:10px 17px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer;margin-top:12px}.danger{background:var(--red)}.password,.signature{padding:13px;margin-top:14px;border-radius:8px;background:#ddf7e8;color:#075c35}.tabs{position:sticky;top:0;z-index:3;padding:10px;display:flex;gap:8px;justify-content:center;background:#fff;box-shadow:0 3px 12px #102a5615}.tabs button{margin:0}.app{max-width:1200px;margin:22px auto;padding:0 15px}.panel{display:none;background:#fff;padding:clamp(18px,3vw,32px);border-radius:15px;box-shadow:0 8px 30px #102a5612}.panel.active{display:block}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px}.wide{grid-column:1/-1}.grid button{justify-self:start}.check{display:inline-flex;align-items:center;margin-right:18px}.check input{width:22px;margin-right:6px}.inline{display:inline-flex;align-items:center;gap:6px}.inline input{width:auto}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%}td,th{padding:9px;border:1px solid #b8c5d2;text-align:left}.report-actions{display:flex;gap:20px;align-items:end;flex-wrap:wrap}.report-actions form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.sheet{margin-top:25px;background:#fff;color:#000;font-family:Arial,sans-serif}.sheet-title{text-align:center;font-size:17px;padding:6px}.point-table td{padding:3px}.point-table small,.point-table b{display:block}.point-table small{font-size:7px}.point-table b{font-size:9px;margin-top:3px}.material{text-align:center!important}.daily{table-layout:fixed;font-size:6px}.daily th,.daily td{text-align:center;padding:1px;height:19px;border:1px solid #111}.daily th:nth-child(1){width:4%}.daily th:nth-child(2){width:7%}.daily th:nth-child(3){width:38%}.daily th:nth-child(n+4):nth-child(-n+8){width:5%}.daily th:nth-child(9){width:7%}.daily th:nth-child(10),.daily th:nth-child(11){width:7%}.weekend{background:#eee;font-weight:bold}.director,.obs{border:1px solid #111;padding:7px;font-size:9px}.summary{display:grid;grid-template-columns:1fr repeat(4,1fr);border:1px solid #111;padding:6px;font-size:8px}.summary span{text-align:center}
@media(max-width:760px){.auth{grid-template-columns:1fr;margin:15px}.auth section+section{border-left:0;border-top:1px solid #dae4ef}.grid{grid-template-columns:1fr}.top{align-items:flex-start;flex-wrap:wrap}.who{width:100%;margin-left:0}.tabs{justify-content:flex-start;overflow:auto}.tabs button{white-space:nowrap}.inline{flex-wrap:wrap}.sheet{overflow:auto}.daily{min-width:850px}}
@media print{body{background:#fff}.top,.tabs,.notice,.report-actions,.panel>h2{display:none!important}.app,.panel{display:block!important;margin:0;padding:0;box-shadow:none}.panel:not(#reports){display:none!important}.sheet{margin:0}@page{size:A4 portrait;margin:6mm}.daily th,.daily td{height:18px}.director,.obs{min-height:34px}}
