:root{font:14px/1.45 Arial,sans-serif;color:#1d3045;background:#f3f6f9}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:white;border:1px solid #cbd6e2;border-radius:5px;padding:8px 12px}button:hover{background:#edf3fa}button:disabled{opacity:.5;cursor:wait}input,select{padding:8px;border:1px solid #cbd6e2;border-radius:4px;background:#fff;max-width:100%;min-width:0}header{display:flex;gap:24px;align-items:center;background:white;padding:16px 24px;border-bottom:1px solid #dce4ed}h1{font-size:20px;margin:0}h1 small{font-size:12px;color:#6b7d8e;font-weight:normal}.brand{font-size:24px}.brand span{color:#168dbf}#logout{margin-left:auto}main{padding:20px}nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}nav #refresh{margin-left:auto}.primary,.selected,nav .selected{background:#185eaf;color:white;border-color:#185eaf}.primary:hover,.selected:hover{background:#144e92}.toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:14px}.toolbar .primary{margin-left:auto}label{display:flex;flex-direction:column;gap:4px;font-size:12px}.check,.checks label{flex-direction:row;align-items:center;font-size:13px}.subtle{color:#61738a;font-size:12px}#message{padding:10px 12px;background:#eaf2fa;border-radius:5px;min-height:40px}#message.error,#dialog-error:not(:empty){background:#fff0ed;color:#923b28;padding:10px;border-radius:5px}#message.success{background:#eaf6ed;color:#24683b}.table-scroll{overflow-x:auto;background:white;border-radius:6px;margin-top:12px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}thead th{background:#e9eef4;font-size:11px;color:#4b6075;font-weight:normal;padding:10px 8px;text-align:left}td{padding:8px;border-bottom:1px solid #e3e9ef;height:43px}.week-head td{background:#185eaf;color:white;border:2px solid #185eaf;font-weight:bold;height:34px}.day-head td{background:#eaf0f6;color:#36506b;height:28px;font-weight:bold}.week-item td:first-child,.day-head td{border-left:2px solid #185eaf}.week-item td:last-child,.day-head td{border-right:2px solid #185eaf}.week-end td{border-bottom:2px solid #185eaf}.free td{background:#edf8ef;color:#286840}.free button{background:transparent;color:#286840;border-color:#90bd9d;padding:4px 9px}.conflict td{background:#fff1de}.badge{padding:3px 6px;background:#fff1d6;color:#855800;border-radius:4px;font-size:11px}.muted{color:#728397}.icon{display:inline-flex;align-items:center;justify-content:center;background:#edf1f5;border-radius:4px;padding:4px;margin-right:3px}.icon svg,.legend svg{height:16px;width:16px}.legend{display:flex;flex-wrap:wrap;gap:15px;margin-top:16px;font-size:12px;color:#52697d}.legend span{display:flex;align-items:center;gap:5px}.edit{border:0;background:transparent;color:#185eaf;padding:4px}.note{max-width:280px;overflow:hidden;text-overflow:ellipsis}.two-columns{display:grid;grid-template-columns:1fr 1.3fr;gap:20px}.panel{background:white;border:1px solid #dce4ed;border-radius:7px;padding:20px}h2{font-size:18px;margin:0 0 12px}h3{font-size:16px}.weekday{display:flex;align-items:center;gap:10px;margin-bottom:8px}.weekday label{width:95px}.weekday input[type=time]{width:110px}.calendar-head,.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-head span{text-align:center;padding:6px;color:#62778d;font-size:12px}.calendar button{min-height:45px;padding:5px;background:#f0f3f7}.calendar button.available{background:#e5f5ea;color:#26653c}.calendar button.blocked{background:#fce9e6;color:#8b3e30}.calendar button.chosen{outline:3px solid #185eaf;outline-offset:-3px}.calendar button small{display:block;font-size:10px}.calendar button.has-work{border-bottom:3px solid #185eaf}.calendar button.empty{visibility:hidden}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.sync-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #dce4ed;padding:12px;background:white}.sync-row span{flex:1}.sync-row small{display:block;color:#61738a}dialog{width:min(1080px,96vw);max-height:92vh;border:1px solid #cbd6e2;border-radius:9px;padding:22px;color:#1d3045}dialog::backdrop{background:#15283f80}.dialog-head,.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.dialog-footer{margin-top:20px;margin-bottom:0}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.checks{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}fieldset{border:1px solid #dce4ed;margin:12px 0;padding:10px}legend{font-size:12px;color:#61738a}.moment{border:1px solid #dce4ed;padding:12px;border-radius:5px;margin-bottom:10px}.moment-top{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.moment-top label{flex:1;min-width:110px}.moment .checks{margin-bottom:0}[hidden]{display:none!important}@media(max-width:750px){header{padding:14px;gap:14px}h1{font-size:17px}main{padding:12px}.two-columns{grid-template-columns:1fr}.fields{grid-template-columns:1fr 1fr}.toolbar .primary{margin-left:0}.weekday input[type=time]{width:95px}}@media(max-width:400px){.fields{grid-template-columns:1fr}.brand{font-size:20px}header{flex-wrap:wrap}.calendar button{min-height:40px}}
:root .week-item td:last-child{position:sticky;right:0;background:#fff;border-left:1px solid #dce4ed}:root .free td:last-child{background:#edf8ef}:root .conflict td:last-child{background:#fff1de}
