@font-face{font-family:Pontano;src:url('fonts/pontano.ttf') format('truetype');font-weight:400 700;font-display:swap}
:root{--ink:#16232b;--muted:#4b6069;--green:#107c41;--green-dark:#0c6033;--sage:#eef5f0;--selected:#e8f3e9;--line:#bbcdcc;--surface:#f6f9f8;--error:#a32d2d}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Pontano,Aptos,system-ui,sans-serif;font-size:18px;line-height:1.4;font-variant-numeric:tabular-nums}a{color:var(--green-dark);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}input,select{background:#fff;border:1px solid var(--line);border-radius:3px;padding:10px 14px;min-width:0;width:100%;height:50px;caret-color:var(--green)}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}input[type=radio]{width:23px;height:23px;padding:0;accent-color:var(--green);margin:0 8px 0 0}input::placeholder{color:var(--muted)}::selection{background:#c7e6d2;color:#12261a}[hidden]{display:none!important}h1,h2,p{margin:0}h1{font-size:30px;font-weight:700;margin-bottom:24px}h2{font-size:26px;line-height:1.2;font-weight:700}small{display:block;font-size:16px;color:var(--muted);font-weight:400}label{display:flex;flex-direction:column;gap:5px;font-size:17px}fieldset{border:0;padding:0;margin:0}.app-header{height:68px;display:flex;align-items:stretch;border-bottom:1px solid #d0dcdd;padding:0 38px;gap:56px;background:#fafcfb}.brand{align-self:center;font-size:35px;line-height:1;font-weight:700;color:var(--green);text-decoration:none}.app-header nav{display:flex;align-items:stretch;gap:28px}.app-header nav a{display:flex;align-items:center;padding:0 12px;border-bottom:5px solid transparent;padding-top:5px;color:var(--ink);text-decoration:none;font-size:21px}.app-header nav a[aria-current]{color:var(--green-dark);border-bottom-color:var(--green);font-weight:700}.app-header nav a:hover{background:var(--sage)}.logout{margin-left:auto;display:flex;align-items:center}.text-button{background:none;border:0;padding:8px 0;font-size:19px}.text-button:hover{color:var(--green)}main{padding:30px 38px 32px;max-width:1680px;margin:auto}.button,.icon-button,button.primary,button.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 22px;border:1px solid var(--line);border-radius:3px;background:var(--surface);text-decoration:none;color:var(--ink);min-height:50px;white-space:nowrap}.button:hover,.icon-button:hover{background:#eaf1ed}.icon-button{width:50px;padding:12px}.icon-button img{width:24px;height:24px}button.primary{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}button.primary:hover{background:var(--green-dark)}button.danger{background:var(--error);border-color:var(--error);color:#fff}.week-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:22px;min-height:52px}.week-toolbar h2{font-size:24px;padding:9px 22px;background:var(--surface);border:1px solid var(--line);border-radius:3px;white-space:nowrap}.week-range{margin-left:6px;font-size:21px}.weekend-link{margin-left:auto;font-size:16px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th{text-align:left;font-weight:700}td,th{overflow-wrap:anywhere}.matrix{table-layout:fixed;border:1px solid var(--line)}.matrix th,.matrix td{border:1px solid var(--line)}.matrix th:first-child{width:190px;padding:8px 22px}.matrix thead{background:var(--sage)}.matrix .letters td{height:42px;text-align:center;font-size:16px;padding:4px}.matrix thead th{height:78px;font-size:23px}.matrix .sum-heading{text-align:center;font-size:21px;text-transform:uppercase}.day-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;height:76px;border:0;background:none;font-size:22px;line-height:1.25}.day-button strong{font-size:22px;font-weight:700}.matrix tbody th{font-size:25px;line-height:1.25}.matrix tbody th small{font-size:20px;margin-top:4px}.matrix tbody td{text-align:center;font-size:26px;height:75px}.matrix tbody tr:not(.total-row) td:not(.sum){background:#f0f6ee}.cell-button{display:block;width:100%;height:73px;background:transparent;border:0;font-size:26px}.day-button:hover,.cell-button:hover{background:#deebdf}.matrix .selected{background:var(--selected)!important;box-shadow:inset 2px 0 var(--green),inset -2px 0 var(--green)}.matrix .letters .selected{border-top:2px solid var(--green)}.matrix .total-row .selected{border-bottom:2px solid var(--green)}.matrix .total-row{background:var(--surface);font-weight:700}.matrix .total-row td,.matrix .total-row th{height:54px}.entry-form{background:var(--surface);border:1px solid #c8dadd;border-radius:3px;margin-top:24px;padding:20px 24px 14px}.form-heading{display:flex;align-items:center;gap:48px;margin-bottom:18px}.form-heading h2{font-size:28px}.mode{display:flex;gap:36px}.mode label{display:flex;flex-direction:row;align-items:center;gap:0;font-size:21px}.entry-fields{display:grid;grid-template-columns:1.2fr 1.3fr .93fr .93fr .61fr .85fr;gap:28px;align-items:end}.entry-fields label{font-size:18px}.entry-fields input,.entry-fields select{font-size:21px}.entry-fields .primary{font-size:21px;padding-inline:14px}.entry-fields .hours-field{grid-column:span 3}.note{margin-top:8px;font-size:14px;color:var(--muted)}.note summary{cursor:pointer;width:fit-content}.note input{margin-top:8px;font-size:17px}.daily{margin-top:28px}.daily h2{font-size:26px;margin-bottom:12px}.session-table th{font-size:18px;font-weight:400;padding:10px 18px;border-bottom:1px solid #c8dadd}.session-table td{padding:9px 18px;border-bottom:1px solid #d5e1e2;font-size:21px}.session-table th:first-child{width:22%}.session-table .numeric{text-align:right}.session-table .actions{white-space:nowrap;width:205px;font-size:18px}.actions a+a{margin-left:20px}.session-table tr:hover{background:#fafcfb}.empty{color:var(--muted);font-size:18px!important;padding:26px 18px!important}.week-footer{display:flex;justify-content:space-between;gap:24px;margin-top:38px;color:var(--muted);font-size:18px}.week-footer span:last-child{font-size:15px}.errors{color:var(--error);background:#fff2f0;padding:12px 16px;margin:0 0 16px;border:1px solid #e2b8b0}.errors p+p{margin-top:4px}.simple-page{max-width:440px;margin:76px auto}.simple-page p{margin-bottom:24px}.stack{display:grid;gap:24px}.inline-actions{display:flex;gap:12px}.settings-section{margin-top:32px;max-width:1300px}.settings-section+.settings-section{border-top:1px solid var(--line);padding-top:32px}.settings-section h2{margin-bottom:14px}.settings-section p{color:var(--muted);margin-bottom:22px;font-size:17px}.settings-form,.leave-form{display:grid;grid-template-columns:1fr 1fr 220px auto;gap:24px;align-items:end}.settings-form+.muted{margin-top:12px}.leave-form{grid-template-columns:190px 150px auto 1fr auto}.leave-table{margin-top:30px}.muted{color:var(--muted);font-size:16px;margin-top:18px}.report-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.report-heading h1{margin:0}.year-form{display:flex;align-items:center;gap:12px}.year-form select{width:110px}.summary-table{border:1px solid var(--line)}.summary-table th,.summary-table td{padding:14px 22px;border-bottom:1px solid var(--line);text-align:right}.summary-table th:first-child{text-align:left}.summary-table thead{background:var(--sage)}.summary-table tbody{font-size:24px}.summary-table .total-row{background:var(--surface);font-size:20px}.chart-section{margin-top:32px}.chart-legend{display:flex;justify-content:space-between;margin-top:12px;color:var(--green-dark)}.chart-legend span:last-child{color:var(--muted)}.report-chart{width:100%;height:160px;overflow:visible;margin-top:12px}.target-line{stroke:var(--muted);stroke-dasharray:5 5;stroke-width:1}.data-line{stroke:var(--green);stroke-width:3;fill:none}.report-chart text{font-size:12px;fill:var(--muted)}.report-subheading{margin:32px 0 16px}.report-table{font-size:17px}.report-table th,.report-table td{border:1px solid var(--line);padding:10px 12px;text-align:right}.report-table thead{background:var(--sage)}.report-table th:first-child{text-align:left}.report-table tbody th{font-weight:400}.report-table small{font-size:14px}.report-table tbody tr:hover{background:var(--surface)}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:absolute;z-index:10;top:8px;left:8px;padding:12px;background:white}
@media(max-width:1280px){main{padding-inline:28px}.app-header{padding-inline:28px;gap:36px}.app-header nav{gap:16px}.entry-fields{gap:16px;grid-template-columns:1.2fr 1.25fr .9fr .9fr .65fr 1fr}.matrix th:first-child{width:165px;padding-inline:18px}.matrix tbody th{font-size:23px}.week-range{font-size:19px}.settings-form{grid-template-columns:1fr 1fr 190px auto}.leave-form{gap:16px}.week-toolbar h2{font-size:21px}.session-table .actions{font-size:17px}}
@media(max-width:1000px){.app-header{gap:20px}.app-header nav{gap:0}.app-header nav a{font-size:18px}.brand{font-size:30px}.entry-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.entry-fields .hours-field{grid-column:auto}.matrix{min-width:850px}.week-toolbar{flex-wrap:wrap}.settings-form,.leave-form{grid-template-columns:repeat(2,minmax(0,1fr))}.week-range{margin-left:0}.form-heading{gap:28px}.report-table{min-width:1050px}}
.day-button{font-weight:400}
.chart-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:14px}
.week-toolbar{margin-bottom:20px}.matrix .letters td:first-child{width:190px}.matrix tbody th{line-height:1.15}.cell-button{font-weight:400}.entry-form{padding-bottom:20px}.session-table{table-layout:fixed}.session-table th:first-child{width:21%}.session-table th:nth-child(2){width:25%}.session-table th:nth-child(3){width:19%}.session-table th:nth-child(4){width:17%}.session-table th:nth-child(5){width:18%}.session-table .numeric{text-align:left}.session-table .actions{width:auto}
@media(max-width:1280px){.matrix .letters td:first-child{width:165px}}

.stopwatch-controls{display:flex;align-items:stretch;gap:16px;flex-wrap:wrap}.timer-project{display:flex;align-items:center;justify-content:space-between;gap:28px;flex:1;min-width:220px;padding:12px 18px;border:1px solid var(--line);border-radius:3px;background:#fff;text-align:left}.timer-project:hover{background:var(--sage)}.timer-project[aria-pressed=true]{border-color:var(--green);background:var(--selected);outline:1px solid var(--green)}.timer-value{font-size:25px;font-weight:700;white-space:nowrap}#timer-status{margin-top:14px;font-weight:700}.timer-help{font-size:16px;color:var(--muted);margin-top:3px}#timer-error{margin:14px 0 0}.form-heading{flex-wrap:wrap;gap:16px 36px}.mode{flex-wrap:wrap;gap:24px}.stopwatch-controls button:disabled{cursor:default}
#timer-mode-status{font-size:16px;color:var(--muted);margin-left:5px}
