.tool-fairtime{--ft-gap:16px;--ft-today:color-mix(in srgb, var(--accent) 12%, transparent);--ft-weekend:color-mix(in srgb, var(--muted) 7%, transparent);max-width:1240px}.tool-fairtime h3{margin:0 0 12px;font-size:1.1rem}.tool-fairtime h4{margin:12px 0 6px;font-size:.95rem}.tool-fairtime .card{margin-bottom:var(--ft-gap)}.tool-fairtime .ft-panel{outline:none;min-height:320px}.tool-fairtime .ft-panel-title{margin:4px 0 16px;font-size:1.35rem}.tool-fairtime .ft-inline{vertical-align:middle;margin:0 6px;display:inline}.tool-fairtime .ft-muted{color:var(--muted)}.tool-fairtime .ft-small{margin:2px 0 0;font-size:.85rem}.tool-fairtime .ft-block{display:block}.tool-fairtime .ft-strong{font-weight:600}.tool-fairtime .ft-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tool-fairtime .ft-hint{color:var(--muted);margin-top:4px;font-size:.82rem;display:block}.tool-fairtime .ft-error{color:var(--danger);min-height:1px;margin:8px 0 0}.tool-fairtime .ft-error:empty{display:none}.tool-fairtime .ft-empty{color:var(--muted);padding:12px 0}.tool-fairtime .ft-num{text-align:right;font-variant-numeric:tabular-nums}.tool-fairtime .btn:disabled{opacity:.5;cursor:not-allowed}.tool-fairtime .ft-btn-sm{padding:4px 10px;font-size:.875rem}.tool-fairtime .btn-danger{border-color:color-mix(in srgb, var(--danger) 40%, var(--border))}.tool-fairtime .ft-tabs{border-bottom:1px solid var(--border);scrollbar-width:thin;gap:4px;margin-bottom:20px;display:flex;overflow-x:auto}.tool-fairtime .ft-tabs [role=tab]{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:6px 6px 0 0;flex:none;padding:10px 14px}.tool-fairtime .ft-tabs [role=tab]:hover{color:var(--text);background:var(--surface-2)}.tool-fairtime .ft-tabs [role=tab][aria-selected=true]{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.tool-fairtime .ft-timerbar{z-index:20;background:var(--accent-soft);border:1px solid var(--accent);border-radius:var(--radius);align-items:center;gap:12px;margin-bottom:12px;padding:8px 14px;display:flex;position:sticky;top:0}.tool-fairtime .ft-timerbar[hidden]{display:none}.tool-fairtime .ft-timerbar-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tool-fairtime .ft-clock{font-family:var(--mono);font-variant-numeric:tabular-nums;font-weight:700}.tool-fairtime .ft-pulse{background:var(--danger);border-radius:50%;flex:none;width:10px;height:10px;animation:1.4s ease-in-out infinite ft-pulse}@keyframes ft-pulse{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.tool-fairtime .ft-pulse{animation:none}}.tool-fairtime .ft-two-col{gap:var(--ft-gap);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.tool-fairtime .ft-stack>*+*{margin-top:var(--ft-gap)}.tool-fairtime .ft-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px 14px;display:grid}.tool-fairtime .ft-span-2{grid-column:span 2}.tool-fairtime .ft-span-all{grid-column:1/-1}.tool-fairtime .ft-field{flex-direction:column;gap:4px;min-width:0;display:flex}.tool-fairtime .ft-field>label,.tool-fairtime .ft-label{font-size:.85rem;font-weight:600}.tool-fairtime .ft-field input,.tool-fairtime .ft-field select,.tool-fairtime .ft-field textarea{width:100%}.tool-fairtime .ft-check-field{justify-content:flex-end}.tool-fairtime .ft-check{cursor:pointer;align-items:center;gap:6px;padding:6px 0;font-weight:400;display:inline-flex}.tool-fairtime .ft-check input{width:18px;height:18px;accent-color:var(--accent)}.tool-fairtime .ft-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.tool-fairtime .ft-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:12px;display:flex}.tool-fairtime .ft-toolbar h3,.tool-fairtime .ft-toolbar .ft-panel-title{margin:0}.tool-fairtime .ft-toolbar-right{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tool-fairtime .ft-inline-pair{gap:6px;display:flex}.tool-fairtime .ft-inline-pair input{flex:1;min-width:0}.tool-fairtime .ft-inline-pair select{width:auto}.tool-fairtime textarea{resize:vertical}.tool-fairtime .ft-timer-running{border-color:var(--accent)}.tool-fairtime .ft-timer-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.tool-fairtime .ft-timer-head p{margin:0}.tool-fairtime .ft-big-clock{font:700 2.2rem/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--accent)}.tool-fairtime .ft-entries{margin:0;padding:0;list-style:none}.tool-fairtime .ft-entry{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:10px;padding:10px 0;display:grid}.tool-fairtime .ft-entry-title{overflow-wrap:anywhere}.tool-fairtime .ft-entry-notes{color:var(--muted);white-space:pre-line;overflow-wrap:anywhere;font-size:.9rem}.tool-fairtime .ft-entry-meta{flex-wrap:wrap;gap:4px 10px;margin-top:2px;font-size:.8rem;display:flex}.tool-fairtime .ft-entry-hours{font:600 1.05rem var(--mono);font-variant-numeric:tabular-nums}.tool-fairtime .ft-entry-actions{gap:4px;display:flex}.tool-fairtime .ft-day-total{margin:10px 0 0;font-weight:600}.tool-fairtime .ft-chip{background:var(--surface-2);border:1px solid var(--border);vertical-align:middle;border-radius:999px;margin-left:6px;padding:1px 8px;font-size:.75rem;font-weight:500;display:inline-block}.tool-fairtime .ft-badge{background:var(--surface-2);color:var(--muted);vertical-align:middle;border-radius:999px;margin-left:6px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-block}.tool-fairtime .ft-badge-sent{background:var(--accent-soft);color:var(--text)}.tool-fairtime .ft-badge-paid{background:color-mix(in srgb, var(--success) 18%, transparent);color:var(--text)}.tool-fairtime .ft-badge-overdue{background:color-mix(in srgb, var(--danger) 18%, transparent);color:var(--text)}.tool-fairtime .ft-badge-draft{background:var(--surface-2);color:var(--muted)}.tool-fairtime .ft-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.tool-fairtime .ft-table th,.tool-fairtime .ft-table td{vertical-align:top;padding:8px 10px}.tool-fairtime .ft-table thead th{color:var(--muted);white-space:nowrap;font-size:.8rem;font-weight:600}.tool-fairtime .ft-row-actions{white-space:nowrap;text-align:right}.tool-fairtime .ft-row-actions .btn+.btn{margin-left:4px}.tool-fairtime .ft-archived{opacity:.6}.tool-fairtime .ft-group-row th,.tool-fairtime .ft-group-row td{background:var(--surface-2);font-weight:600}.tool-fairtime .ft-indent{font-weight:400;padding-left:24px!important}.tool-fairtime .ft-bar-track{background:var(--surface-2);border-radius:2px;max-width:220px;height:4px;margin-top:4px;display:block}.tool-fairtime .ft-bar{background:var(--accent);border-radius:2px;height:4px;display:block}.tool-fairtime .ft-sheet{min-width:760px}.tool-fairtime .ft-sheet th,.tool-fairtime .ft-sheet td{padding:6px}.tool-fairtime .ft-sheet thead th{color:var(--muted);font-size:.8rem}.tool-fairtime .ft-sheet .ft-dow{color:var(--text);font-weight:700;display:block}.tool-fairtime .ft-sheet .ft-dom{font-weight:400;display:block}.tool-fairtime .ft-sheet-label{min-width:180px;font-weight:400}.tool-fairtime .ft-cell{text-align:right;font-variant-numeric:tabular-nums;width:64px;padding:6px 8px}.tool-fairtime .ft-cell-locked{border-style:dotted;border-color:var(--muted)}.tool-fairtime .ft-today{background:var(--ft-today)}.tool-fairtime .ft-weekend{background:var(--ft-weekend)}.tool-fairtime .ft-sheet tfoot th,.tool-fairtime .ft-sheet tfoot td{border-top:2px solid var(--border)}.tool-fairtime .ft-addrow{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:16px;display:flex}.tool-fairtime .ft-addrow .ft-field{flex:180px;min-width:180px}.tool-fairtime .ft-tiles{margin:0 0 var(--ft-gap);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0;list-style:none;display:grid}.tool-fairtime .ft-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:2px;padding:12px 14px;display:flex}.tool-fairtime .ft-tile-label{color:var(--muted);font-size:.8rem}.tool-fairtime .ft-tile-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.3rem;font-weight:700}.tool-fairtime .ft-tile-sub{color:var(--muted);font-size:.8rem}.tool-fairtime .ft-tile-warn{border-color:var(--danger)}.tool-fairtime .ft-tile-info{border-color:var(--accent)}.tool-fairtime .ft-drop{border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface-2);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:28px 16px;font-size:1rem;display:flex}.tool-fairtime .ft-drop:hover,.tool-fairtime .ft-drop-active{border-color:var(--accent);background:var(--accent-soft)}.tool-fairtime .ft-drop .ft-file{max-width:100%}.tool-fairtime .ft-steps{padding-left:20px}.tool-fairtime .ft-steps li{margin:4px 0}.tool-fairtime .ft-preview-card{border:2px solid var(--accent)}.tool-fairtime .ft-list-inline{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tool-fairtime .ft-list-inline li{background:var(--surface-2);border-radius:999px;padding:3px 10px;font-size:.85rem}.tool-fairtime .ft-errors summary,.tool-fairtime .ft-team summary,.tool-fairtime .ft-linked summary,.tool-fairtime .ft-details summary{cursor:pointer;font-weight:600}.tool-fairtime .ft-errors{color:var(--danger);margin-top:12px}.tool-fairtime .ft-team,.tool-fairtime .ft-linked{margin-top:16px}.tool-fairtime .ft-danger-zone{border-color:color-mix(in srgb, var(--danger) 45%, var(--border))}.tool-fairtime .ft-onboard ol{padding-left:20px}.tool-fairtime .ft-onboard li{margin:6px 0}.tool-fairtime .ft-logo-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.tool-fairtime .ft-logo-preview{border:1px solid var(--border);background:#fff;border-radius:6px;max-width:180px;max-height:64px;padding:4px}.tool-fairtime .ft-editor{gap:var(--ft-gap);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.tool-fairtime .ft-lines input,.tool-fairtime .ft-lines textarea{width:100%}.tool-fairtime .ft-lines th,.tool-fairtime .ft-lines td{padding:6px 4px}.tool-fairtime .ft-lines td.ft-num{white-space:nowrap;padding-top:12px}.tool-fairtime .ft-line-desc{min-width:120px}.tool-fairtime .ft-line-num{text-align:right;width:68px!important;padding:7px 6px!important}.tool-fairtime .ft-line-unit{width:50px!important;padding:7px 6px!important}.tool-fairtime .ft-preview{position:sticky;top:12px}.tool-fairtime .ft-linked ul{max-height:240px;padding-left:18px;font-size:.875rem;overflow:auto}.tool-fairtime .ft-paper{color:#1b1f1e;border:1px solid var(--border);box-shadow:var(--shadow);color-scheme:light;background:#fff;border-radius:6px;padding:36px 36px 28px;font-size:13.5px;line-height:1.45;position:relative;overflow:hidden}.tool-fairtime .ft-paper a{color:#0f5f58;overflow-wrap:anywhere}.tool-fairtime .ft-p-head{flex-wrap:wrap;justify-content:space-between;gap:24px;margin-bottom:26px;display:flex}.tool-fairtime .ft-p-logo{max-width:200px;max-height:64px;margin-bottom:10px;display:block}.tool-fairtime .ft-p-bizname{font-size:15px;font-weight:700}.tool-fairtime .ft-p-meta{text-align:right}.tool-fairtime .ft-p-title{letter-spacing:.08em;color:#0f5f58;margin-bottom:8px;font-size:26px;font-weight:800}.tool-fairtime .ft-p-meta dl{grid-template-columns:auto auto;justify-content:end;gap:2px 14px;margin:0;display:grid}.tool-fairtime .ft-p-meta dt{color:#5b6662}.tool-fairtime .ft-p-meta dd{margin:0;font-weight:600}.tool-fairtime .ft-p-to{margin-bottom:22px}.tool-fairtime .ft-p-label{text-transform:uppercase;letter-spacing:.08em;color:#5b6662;margin-bottom:2px;font-size:11px}.tool-fairtime .ft-p-lines{width:100%;margin-bottom:12px}.tool-fairtime .ft-p-lines th{text-transform:uppercase;letter-spacing:.05em;color:#5b6662;border-bottom:2px solid #1b1f1e;padding:6px 8px;font-size:11px}.tool-fairtime .ft-p-lines td{vertical-align:top;border-bottom:1px solid #dde3e1;padding:8px}.tool-fairtime .ft-p-lines td.ft-num,.tool-fairtime .ft-p-lines th.ft-num{white-space:nowrap}.tool-fairtime .ft-p-totals{width:auto;min-width:260px;margin-bottom:20px;margin-left:auto}.tool-fairtime .ft-p-totals th{color:#5b6662;text-align:left;border:0;padding:4px 8px;font-weight:400}.tool-fairtime .ft-p-totals td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;border:0;padding:4px 8px}.tool-fairtime .ft-p-total th,.tool-fairtime .ft-p-total td{color:#1b1f1e;border-top:2px solid #1b1f1e;padding-top:8px;font-size:16px;font-weight:800}.tool-fairtime .ft-p-pay{border-top:1px solid #dde3e1;margin-bottom:14px;padding-top:12px}.tool-fairtime .ft-p-pay h4{text-transform:uppercase;letter-spacing:.05em;color:#5b6662;margin:0 0 6px;font-size:13px}.tool-fairtime .ft-p-pay p{margin:4px 0}.tool-fairtime .ft-p-upi{align-items:center;gap:14px;margin-top:8px;display:flex}.tool-fairtime .ft-qr-box{flex:none;width:120px;height:120px}.tool-fairtime .ft-qr{width:120px;height:120px;display:block}.tool-fairtime .ft-p-notes{color:#3c4643;border-top:1px solid #dde3e1;padding-top:12px}.tool-fairtime .ft-stamp{color:#fff;letter-spacing:.2em;background:#1a7f37;padding:4px 48px;font-size:13px;font-weight:800;position:absolute;top:34px;right:-38px;transform:rotate(35deg)}.tool-fairtime .ft-dialog{border:1px solid var(--border);background:var(--surface);width:min(640px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--text);border-radius:14px;padding:20px;box-shadow:0 10px 40px #00000040}.tool-fairtime .ft-dialog::backdrop{background:#00000073}.tool-fairtime .ft-dialog .ft-dialog-title{margin:0 0 14px;font-size:1.2rem}.tool-fairtime .ft-dialog .ft-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.tool-fairtime .ft-dialog .ft-dialog-actions .btn-danger{margin-right:auto}.tool-fairtime .ft-toast{z-index:60;pointer-events:none;flex-direction:column;gap:8px;width:min(520px,100vw - 32px);display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.tool-fairtime .ft-toast-item{pointer-events:auto;border-radius:var(--radius);background:var(--text);color:var(--bg);box-shadow:var(--shadow);padding:10px 14px;font-size:.92rem}.tool-fairtime .ft-toast-item.ft-toast-error{background:var(--danger);color:#fff}.tool-fairtime .ft-toast-item.ft-toast-success{background:var(--success);color:#fff}@media (prefers-color-scheme:dark){.tool-fairtime .ft-toast-item.ft-toast-error,.tool-fairtime .ft-toast-item.ft-toast-success{color:#0b0f0e}}.tool-fairtime .ft-static ul{padding-left:20px}.tool-fairtime[data-ready=true] .ft-static{display:none}@media (width<=900px){.tool-fairtime .ft-two-col,.tool-fairtime .ft-editor{grid-template-columns:minmax(0,1fr)}.tool-fairtime .ft-preview{position:static}}@media (width<=560px){.tool-fairtime .ft-span-2{grid-column:1/-1}.tool-fairtime .ft-paper{padding:20px 16px}.tool-fairtime .ft-p-meta{text-align:left}.tool-fairtime .ft-p-meta dl{justify-content:start}.tool-fairtime .ft-entry{grid-template-columns:minmax(0,1fr) auto}.tool-fairtime .ft-entry-actions{grid-column:1/-1}.tool-fairtime .ft-big-clock{font-size:1.7rem}}@media print{@page{margin:14mm}.tool-fairtime{max-width:none;padding:0}.tool-fairtime .ft-tabs,.tool-fairtime .ft-timerbar,.tool-fairtime .ft-toast,.tool-fairtime .ft-static{display:none!important}.tool-fairtime .ft-editor{display:block}.tool-fairtime .ft-preview{position:static}.tool-fairtime .ft-paper{box-shadow:none;border:0;border-radius:0;padding:0;font-size:12pt}.tool-fairtime .ft-p-lines tr{break-inside:avoid}.tool-fairtime .ft-stamp{-webkit-print-color-adjust:exact;print-color-adjust:exact}.tool-fairtime .card{box-shadow:none}}.tool-fairtime .ft-inv-form h3{margin-top:20px}
