html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}body{margin:0;background:#f3f5f9}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#12324a,#1d4f91)}.header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;padding:0 16px}.field{display:block;font-size:12px;color:#4b5563;margin-bottom:2px}.page{background:#fff;padding:16px;border-radius:8px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 2px 8px;font-size:12px;color:#374151}.legend-item{display:inline-flex;align-items:center;gap:6px;font-weight:600}.legend-swatch{width:14px;height:14px;border-radius:3px;border:1px solid;border-left-width:4px}.legend-note{color:#6b7280}.weekend-alert{margin-bottom:8px}.grid{display:grid;background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:auto;max-height:max(440px,calc(100vh - 330px))}.grid .head{position:sticky;top:0;z-index:2;background:#f9fafb;padding:8px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;border-left:1px solid #eef0f3}.grid .head.corner{left:0;z-index:3;border-left:none;display:flex;align-items:center}.grid .head.today{background:#eaf1fb;box-shadow:inset 0 3px #1d4f91}.head-day{font-size:14px;color:#111827;display:flex;align-items:center;gap:8px}.today-tag{font-size:11px;font-weight:600;color:#fff;background:#1d4f91;border-radius:10px;padding:0 8px;line-height:18px}.team-occ{font-weight:500;font-size:12px;margin-top:2px}.tech{position:sticky;left:0;z-index:1;background:#fff;padding:10px 12px;border-bottom:1px solid #eef0f3}.tech-name{font-weight:600;color:#111827}.tech-group{font-size:12px;color:#6b7280}.cell{min-height:104px;padding:8px;border-bottom:1px solid #eef0f3;border-left:1px solid #eef0f3;cursor:pointer;display:flex;flex-direction:column;gap:6px;min-width:0}.cell:hover{background:#f8fafc}.cell.today{background:#f7faff}.cell.today:hover{background:#eef4fd}.cell.unavailable{background:repeating-linear-gradient(135deg,#f6f7f9 0,#f6f7f9 8px,#eef0f3 8px,#eef0f3 16px)}.cell.drop-target{background:#e0ecff;outline:2px dashed #1d4f91;outline-offset:-2px}.occ{border-radius:6px;padding:3px 8px 4px;font-size:12px;line-height:18px;font-weight:600}.occ-line{display:flex;justify-content:space-between;align-items:center;gap:6px}.occ-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.occ-off{font-size:11px;font-weight:500;opacity:.85;margin-left:auto;flex:none}.occ-off+.occ-oncall{margin-left:0}.occ-oncall{font-size:11px;font-weight:600;color:#6d3fc9;background:#fff;border:1px solid #d9ccf5;border-radius:9px;padding:0 6px;line-height:16px;flex:none}.occ-track{height:4px;border-radius:2px;background:#00000012;margin-top:3px;overflow:hidden}.occ-bar{height:100%;border-radius:2px}.chips{display:flex;flex-direction:column;gap:6px}.grid-day .occ{max-width:380px}.grid-day .chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.chip{border:1px solid rgba(0,0,0,.06);border-left:4px solid #1d4f91;border-radius:6px;padding:5px 8px;font-size:12px;line-height:17px;cursor:grab;min-width:0}.chip:hover{box-shadow:0 1px 4px #0f172a1f}.chip.cancelled{opacity:.55;text-decoration:line-through;cursor:pointer}.chip-top{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}.chip-kind{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.02em}.chip-time{color:#374151;font-variant-numeric:tabular-nums}.chip-ticket{color:#1d4f91;font-weight:600}.chip-flag{margin:0;font-size:11px;line-height:16px}.chip-client{color:#111827;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip-subject{color:#1f2937;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.chip-tip{font-size:12px;line-height:18px;max-width:320px}.chip-tip-desc{opacity:.85;white-space:pre-wrap;margin-top:2px}.weekend-marker{align-self:flex-start;font:inherit;font-size:12px;font-weight:600;color:#6d3fc9;background:#f2edfc;border:1px dashed #b9a3ea;border-radius:12px;padding:1px 10px;cursor:pointer}.weekend-marker:hover{background:#e9e0fb}.weekend-list{display:flex;flex-direction:column;gap:6px;width:260px}.pending{background:#fff;margin-top:12px;padding:12px;border-radius:8px;border:1px solid #e5e7eb}.pending-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:220px;overflow:auto}.ticket{border:1px solid #d1d5db;border-radius:6px;padding:6px 8px;background:#fefce8;cursor:grab;font-size:12px}.ticket-number{font-weight:700;color:#1d4f91}.ticket-client{color:#374151}.ticket-subject{color:#111827}
