:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182e3e;background:#f5f7f9;font-synthesis:none;--navy:#142636;--muted:#788793;--line:#e5ebef;--teal:#167e79;--orange:#e48a58;--red:#b54848}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--teal)}button{border:0;border-radius:8px;padding:11px 17px;font-weight:600;background:var(--teal);color:white;transition:background .15s}button:hover{background:#116c67}button.secondary{background:white;color:#314b5b;border:1px solid #dce4e9}button.secondary:hover{background:#f3f6f8}button.danger{color:var(--red);background:#fcf0f0}button.icon{background:transparent;color:var(--muted);padding:7px 10px}button.icon:hover{background:#eef3f5;color:var(--navy)}input,select,textarea{width:100%;background:white;color:#203747;border:1px solid #d8e1e7;border-radius:7px;padding:11px 12px;min-height:43px}input:focus,select:focus,textarea:focus{border-color:var(--teal)}label{display:block;font-size:12px;font-weight:600;color:#536777}label>input,label>select,label>textarea{margin-top:7px}input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--teal);margin:0}input[type=month]{max-width:180px}textarea{resize:vertical;min-height:80px}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;margin-bottom:8px;font-weight:650}h2{font-size:16px;letter-spacing:-.3px;margin-bottom:6px}h3{font-size:14px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;color:var(--muted);font-size:10px;font-weight:700}.loading{padding:50px;font-size:26px;font-weight:750;letter-spacing:3px}.loading span{display:block;font-size:14px;letter-spacing:0;font-weight:400;margin-top:15px}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--navy);color:#d2dce3;display:flex;flex-direction:column;padding:33px 20px 22px;z-index:10}.brand{font-size:27px;letter-spacing:4px;font-weight:800;color:white;display:flex;align-items:center;gap:12px}.brand-mark{display:inline-grid;place-items:center;background:var(--orange);color:var(--navy);width:31px;height:35px;font-size:23px;letter-spacing:-2px;transform:skewY(-7deg);border-radius:3px}.brand-subtitle{font-size:10px;letter-spacing:1.7px;color:#8a9ca9;margin:12px 0 45px 43px;text-transform:uppercase}.nav-title{font-size:9px;letter-spacing:1.7px;color:#6f8799;padding:0 13px;margin:0 0 12px}.nav-item{width:100%;text-align:left;display:flex;gap:12px;align-items:center;background:transparent;color:#a4b4c1;padding:12px 13px;font-size:13px;margin-bottom:5px;font-weight:450;border-radius:7px}.nav-item:hover{background:#203848}.nav-item.active{background:#29424f;color:#fff}.nav-item.active .nav-symbol{color:#e9a27c}.nav-symbol{font-size:17px;width:20px;line-height:1;text-align:center}.sidebar-bottom{margin-top:auto}.side-note{padding:18px 12px;font-size:11px;line-height:1.7;border-bottom:1px solid #304353;margin-bottom:18px;color:#8ea1af}.side-note strong{color:#e1e8ec;font-weight:500}.account{display:flex;align-items:center;gap:10px;padding:4px 8px;min-width:0}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#36515f;color:white;font-weight:650;font-size:12px;flex-shrink:0}.account-info{min-width:0}.account-info b{display:block;font-size:12px;color:#e3ebf0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-info span{font-size:10px;color:#94a7b5}.sidebar .logout{width:100%;margin-top:12px;font-size:11px;color:#96aab9;background:transparent;text-align:left;padding-left:12px}.main{margin-left:226px;padding:32px 42px 50px;max-width:1550px}.topbar{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:30px;gap:16px}.breadcrumb{font-size:11px;color:var(--muted);display:flex;gap:9px;align-items:center}.breadcrumb b{color:#476173;font-weight:500}.top-right{display:flex;align-items:center;gap:16px}.today-label{font-size:11px;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#38a591;margin-right:6px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:26px}.page-heading p{font-size:13px;color:var(--muted);margin-bottom:0}.heading-actions{display:flex;align-items:center;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 22px;min-height:126px}.stat-top{display:flex;justify-content:space-between;gap:6px;align-items:center}.stat-label{font-size:11px;color:#6f8190}.stat-symbol{color:#9baab5;background:#f3f6f8;padding:5px 7px;border-radius:6px;font-size:13px}.stat-value{font-size:30px;letter-spacing:-1.1px;font-weight:620;margin-top:12px;line-height:1}.stat-value small{font-size:14px;font-weight:400;color:#8da0ac;letter-spacing:0;margin-left:5px}.stat-detail{font-size:10px;color:#8b9ba7;margin-top:10px}.stat-detail.teal{color:var(--teal)}.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:23px;margin-bottom:22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-heading p{font-size:11px;color:var(--muted);margin-bottom:0}.timer-panel{border-left:3px solid var(--teal)}.timer-line{display:grid;grid-template-columns:1.5fr 1.8fr auto;gap:15px;align-items:end}.timer-buttons{display:flex;align-items:center;gap:22px}.clock{font-size:28px;font-variant-numeric:tabular-nums;font-weight:500;letter-spacing:-1px;white-space:nowrap;min-width:114px}.timer-running{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0}.timer-running .running-name{font-size:17px;font-weight:600}.timer-running p{font-size:12px;margin:5px 0 0;color:var(--muted)}.live-indicator{display:flex;align-items:center;color:var(--teal);font-size:11px;gap:6px}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px #e5f4ee}.tag-options{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:450;cursor:pointer}.check-label>input{margin:0}.badge{display:inline-block;border-radius:5px;padding:4px 7px;font-size:10px;line-height:1.2;white-space:nowrap;background:#edf5f3;color:#44817a;font-weight:500}.badge.orange{background:#fff2e8;color:#ad713f}.badge.grey{background:#f0f3f6;color:#718391}.badge.red{background:#fceeee;color:#b35d5d}.notice{border-radius:8px;padding:12px 15px;background:#fff6e9;color:#906b36;font-size:12px;line-height:1.6;margin-bottom:20px}.notice.info{background:#ecf4f8;color:#416e83}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar input.search{max-width:280px}.segmented{display:flex;background:#eef2f5;border-radius:7px;padding:3px;gap:2px}.segmented button{padding:7px 12px;font-size:11px;border-radius:5px;color:#7b8e9d;background:transparent;font-weight:500}.segmented button.selected{background:white;color:#254857;box-shadow:0 1px 4px #14263610}.table-wrap{overflow-x:auto;margin:0 -23px}.data-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap}.data-table thead{background:#f8fafb;color:#8a9aa6;font-size:10px;font-weight:500}.data-table th{font-weight:550;padding:12px 18px;border-bottom:1px solid var(--line)}.data-table th:first-child,.data-table td:first-child{padding-left:23px}.data-table td{padding:15px 18px;border-bottom:1px solid #edf1f4;vertical-align:middle}.data-table tbody tr:hover{background:#fbfcfd}.data-table tbody tr:last-child td{border-bottom:0}.data-table .name-cell strong{font-size:12px;font-weight:550;display:block;margin-bottom:4px}.data-table .name-cell small{color:#91a0ab;font-size:10px}.data-table .note-cell{color:#7c8f9d;white-space:normal;max-width:260px;line-height:1.5}.right{text-align:right}.duration{font-variant-numeric:tabular-nums;font-weight:600}.entry-day{display:block;font-weight:550}.entry-weekday{display:block;color:#8b9ba6;font-size:10px;margin-top:4px}.tag-list{display:flex;gap:5px;flex-wrap:wrap}.empty{text-align:center;padding:48px 20px;color:#8799a6;font-size:13px;white-space:normal}.empty b{display:block;color:#3d596b;font-size:15px;font-weight:550;margin-bottom:8px}.table-foot{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:16px 0 0;color:#90a0ac;font-size:10px}.table-foot strong{color:#476274;font-weight:550}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.budget-list{display:grid;gap:20px}.budget-row{font-size:12px}.budget-row .row-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:9px}.budget-row span{color:#8b9aa5;font-size:11px}.budget-row b{font-weight:500}.budget-row small{display:block;font-size:10px;color:#8c9ba6;margin-top:6px}progress{width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#edf2f5;display:block;appearance:none}progress::-webkit-progress-bar{background:#edf2f5;border-radius:10px}progress::-webkit-progress-value{background:var(--teal);border-radius:10px}progress::-moz-progress-bar{background:var(--teal)}progress.over::-webkit-progress-value{background:#cf7b58}progress.over::-moz-progress-bar{background:#cf7b58}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.cal-heading{text-align:center;font-size:10px;color:#8a9ba7;padding:6px}.cal-day{background:#f8fafb;border:1px solid #edf1f4;border-radius:7px;padding:10px;min-height:78px;font-size:11px;position:relative}.cal-day.weekend{background:#f1f4f6;color:#a2afb8}.cal-day.holiday{background:#fff5e8;border-color:#f3e9da;color:#9c7a45}.cal-day.today{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}.cal-day strong{display:block;font-size:15px;color:#446f78;margin-top:11px;font-weight:550}.cal-day small{display:block;margin-top:5px;font-size:9px;line-height:1.3}.cal-day .cal-date{font-size:10px;color:#7f919e}.calendar-legend{display:flex;gap:16px;font-size:10px;color:#8b9aa6;margin-top:16px}.legend-square{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:2px;background:#fff0d9}.legend-square.grey{background:#e9eef2}.page-footer{font-size:10px;color:#9aa8b2;display:flex;justify-content:space-between;gap:15px;padding:12px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.form-error{color:#b24f4f;font-size:12px;min-height:18px;margin-top:12px;margin-bottom:0}.report-head{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:15px}.export-link{text-decoration:none;display:inline-block;background:var(--teal);color:white;font-size:12px;font-weight:600;padding:12px 17px;border-radius:7px;white-space:nowrap}.export-link:hover{background:#106e68}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;width:min(560px,calc(100% - 30px));max-height:90vh;color:var(--navy);box-shadow:0 25px 80px #14263630}dialog::backdrop{background:#10273866;backdrop-filter:blur(2px)}dialog h2{font-size:21px;margin-bottom:8px}dialog>.muted{font-size:12px;margin-bottom:23px}.activation-result{overflow-wrap:anywhere;background:#eef7f4;border:1px solid #d0e6df;padding:15px;font-size:12px;border-radius:8px}.activation-result input{font-size:11px;margin:10px 0}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-aside{background:var(--navy);padding:60px 70px;display:flex;flex-direction:column;color:white;position:relative;overflow:hidden}.auth-aside::after{content:"";width:420px;height:420px;border:1px solid #2a4454;position:absolute;bottom:-100px;right:-120px;transform:rotate(28deg);box-shadow:0 0 0 65px #142636,0 0 0 66px #2a4454,0 0 0 130px #142636,0 0 0 131px #2a4454;pointer-events:none}.auth-copy{margin:auto 0;max-width:410px;z-index:1;padding:65px 0}.auth-copy h1{font-size:48px;font-weight:500;line-height:1.15;letter-spacing:-1.8px}.auth-copy h1 em{font-style:normal;color:#d6ab8c}.auth-copy p{font-size:14px;color:#94aaba;max-width:300px}.auth-aside footer{font-size:11px;color:#7d95a6;z-index:1}.auth-main{padding:40px;display:grid;place-items:center;background:#fafbfc}.auth-card{max-width:360px;width:100%}.auth-card h2{font-size:26px;margin-bottom:10px}.auth-card>p{font-size:13px;color:#8999a4;margin-bottom:32px}.auth-card label{margin-bottom:19px}.auth-card button{width:100%;padding:13px;margin-top:6px}.auth-bottom{font-size:11px!important;line-height:1.7;margin-top:25px;margin-bottom:0!important}.auth-accent{width:30px;height:3px;background:var(--orange);margin-bottom:25px}.auth-brand-mobile{display:none}#toast{position:fixed;bottom:24px;right:24px;z-index:100;max-width:420px;border-radius:9px;padding:15px 20px;background:#243f4d;color:white;font-size:13px;box-shadow:0 5px 25px #0002}#toast.error{background:#a44848}.stack{display:grid;gap:16px}.settings-card{max-width:600px}.audit-event{font-size:11px;line-height:1.6;padding:10px 0;border-bottom:1px solid var(--line)}.audit-event code{font-size:10px}.audit-event summary{cursor:pointer}.audit-event pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#6e8290}.user-status{display:flex;align-items:center;gap:6px}.mobile-title{display:none}.tag-hint{font-size:10px;color:#8f9eaa;margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){.main{margin-right:auto}}
@media(max-width:1150px){.main{padding:25px}.sidebar{width:200px;padding-left:16px;padding-right:16px}.main{margin-left:200px}.timer-line{grid-template-columns:1fr 1fr}.timer-buttons{grid-column:1/-1;justify-content:flex-end}.stats{gap:10px}.stat{padding:16px}.stat-value{font-size:26px}.today-label{display:none}.report-head{grid-template-columns:1fr 1fr}.summary-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:18px 18px 9px}.brand{font-size:22px}.brand-mark{width:25px;height:28px;font-size:19px}.brand-subtitle,.nav-title,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:4px;margin-top:15px;overflow-x:auto}.nav-item{width:auto;flex-shrink:0;margin:0;padding:10px;font-size:11px;gap:5px}.nav-symbol{font-size:14px;width:16px}.main{margin:0;padding:21px 15px}.topbar{padding-bottom:15px;margin-bottom:22px}.top-right{gap:7px}.topbar .small{font-size:10px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.heading-actions button{font-size:11px;padding:10px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:17px}.stat{padding:16px;min-height:112px}.stat-label{font-size:10px}.stat-value{font-size:26px}.panel{padding:18px;margin-bottom:17px}.table-wrap{margin:0 -18px}.data-table th:first-child,.data-table td:first-child{padding-left:18px}.data-table td{padding:13px 12px}.timer-line{grid-template-columns:1fr;gap:12px}.timer-buttons{grid-column:auto;justify-content:space-between;margin-top:5px}.timer-running{align-items:flex-start;flex-direction:column}.timer-running .timer-buttons{width:100%}.panel-heading{flex-wrap:wrap}.panel-heading h2{font-size:14px}.form-grid{gap:13px}.report-head{grid-template-columns:1fr}.auth{grid-template-columns:1fr}.auth-aside{display:none}.auth-main{padding:30px 25px;min-height:100vh}.auth-brand-mobile{display:block;color:var(--navy);font-size:26px;letter-spacing:4px;font-weight:800;margin-bottom:55px}.cal-day{padding:6px;min-height:63px}.cal-day small{font-size:8px}.cal-day strong{font-size:12px}.calendar{gap:4px}.page-footer{font-size:9px}.clock{font-size:26px}.table-foot{font-size:9px}.auth-card{max-width:350px}#toast{left:15px;right:15px;bottom:15px;max-width:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Operational text stays readable at desktop and mobile sizes. */
.brand-logo{position:relative;display:block;width:100%;aspect-ratio:2.5;overflow:hidden;mix-blend-mode:screen}
.brand-logo img{display:block;position:absolute;left:-28.667%;top:0;width:157.067%;height:auto;max-width:none;transform:translateY(-37.351%)}
.sidebar>.brand-logo{max-width:186px}
.auth-aside>.brand-logo{width:240px;flex-shrink:0}
.auth-brand-mobile{background:var(--navy);padding:15px 20px;border-radius:8px;max-width:250px}
.brand-subtitle{margin-left:0;margin-top:13px}
@media(max-width:760px){.sidebar>.brand-logo{width:150px;max-width:150px}.auth-brand-mobile .brand-logo{width:100%}}
body{font-size:1rem;line-height:1.5}
label,.nav-item,.data-table,.data-table .name-cell strong,.entry-day,.check-label,.panel-heading h2,.calendar-legend,.budget-row,.export-link,.segmented button{font-size:.875rem}
.muted.small,.small,.breadcrumb,.today-label,.badge,.stat-label,.stat-detail,.data-table thead,.data-table .name-cell small,.entry-weekday,.panel-heading p,.page-heading p,.tag-hint,.table-foot,.page-footer,.budget-row span,.budget-row small,.side-note,.account-info b,.account-info span,.sidebar .logout,.form-error,.auth-card>p,.auth-bottom,.auth-aside footer,.audit-event,.activation-result{font-size:.75rem}
.eyebrow,.nav-title,.brand-subtitle{font-size:.75rem}
.cal-heading,.cal-day .cal-date,.cal-day small{font-size:.75rem}
input,select,textarea{font-size:1rem}
.data-table th{font-size:.875rem}
.nav-item{padding-top:13px;padding-bottom:13px}
select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23546d7c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
@media(max-width:760px){.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:space-between}.nav-item{font-size:.875rem}.stat{min-height:135px}.timer-line{gap:15px}.cal-day{min-height:80px;padding:5px}.cal-day small{font-size:.75rem;overflow-wrap:anywhere}.auth-card h2{font-size:1.75rem}.page-heading h1{font-size:1.75rem}.panel-heading h2{font-size:1rem}}
