@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#121212;--surface:#141414;--surface2:#202020;--line:#2f2f2f;--text:#f5f5f5;--muted:#9a9a9a;--accent:#e0e0e0;--cyan:#bdbdbd;--amber:#c2c2c2;--red:#aeaeae;--money:#75ca96;--radius:18px;color-scheme:dark;font-family:'DM Sans',system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}svg{width:20px;height:20px;flex-shrink:0}button svg{vertical-align:middle}button{border:0}button:disabled{opacity:.5;cursor:not-allowed}.app{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:31px 21px;display:flex;flex-direction:column;background:#161616;z-index:20}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:22px;letter-spacing:-1px}.brand-icon{position:relative;display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:var(--accent);color:#202020;font-size:32px;font-weight:800;line-height:1}.brand-icon span{position:absolute;font-size:17px;right:2px;top:0}.pro{color:var(--accent);font-size:10px;letter-spacing:1px;font-weight:700;margin-left:5px;vertical-align:top;display:inline-block;margin-top:4px}.workspace{border:1px solid var(--line);border-radius:12px;display:flex;gap:11px;padding:13px 10px;margin-top:37px;align-items:center}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#3f3f3f;color:#e3e3e3;border-radius:10px;font-size:11px;font-weight:700;flex-shrink:0}.workspace strong{font-size:12px;font-weight:600}.workspace small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.nav-label{color:#777777;font-size:10px;font-weight:650;letter-spacing:1.7px;margin:32px 12px 14px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:13px 13px;border-radius:9px;background:transparent;color:var(--muted);font-weight:500;text-align:left;margin:4px 0}.nav-item:hover{background:#252525;color:var(--text)}.nav-item.active{background:#303030;color:var(--accent)}.nav-icon{display:flex}.sidebar-bottom{margin-top:auto;padding-top:50px}.local-note{font-size:11px;color:#c8c8c8;margin:0 12px 20px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:6px}.local-note p{font-size:10px;color:#818181;line-height:1.8}.profile-footer{display:flex;align-items:center;gap:9px;margin-top:25px;padding-top:23px;border-top:1px solid var(--line);font-size:10px;color:#b7b7b7}.profile-footer small{display:block;font-size:8px;letter-spacing:.6px;color:#6f6f6f;margin-top:5px}.small{width:29px;height:29px;background:#2a2a2a;color:#bababa}.main-wrap{margin-left:236px;width:calc(100% - 236px)}.topbar{height:83px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#5b5b5b}.breadcrumb strong{font-weight:500;color:#d4d4d4}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:11px;color:var(--muted)}.sample-badge{font-size:10px;border:1px solid #444444;border-radius:5px;color:#c8c8c8;padding:5px 8px}.icon-button{background:transparent;color:var(--muted);padding:7px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px}.icon-button:hover{background:var(--surface2);color:var(--text)}main{padding:35px 40px 30px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--muted);font-weight:600;text-transform:uppercase}h1,h2,h3,p{margin:0}h1{font-family:Manrope,system-ui,sans-serif;font-weight:650;font-size:30px;letter-spacing:-1.1px;margin-bottom:8px}h2{font-size:16px;font-weight:550;letter-spacing:-.3px}h3{font-size:14px;font-weight:550}.page-heading p{color:var(--muted);font-size:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:9px;padding:12px 16px;font-size:12px;font-weight:650;background:var(--accent);color:#202020;transition:background .15s;white-space:nowrap}.button:hover{background:#efefef}.button.secondary{background:var(--surface2);color:#d6d6d6;border:1px solid #3e3e3e}.button.secondary:hover{background:#363636}.button.ghost{background:transparent;border:1px solid var(--line);color:var(--muted)}.button.danger{background:#323232;color:#c3c3c3}.button svg{width:16px;height:16px}.heading-actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 23px;position:relative}.stat-title{color:#b1b1b1;font-size:11px;display:flex;align-items:center;gap:9px}.stat-title svg{width:16px;height:16px}.stat-value{font-family:Manrope,system-ui,sans-serif;font-size:29px;letter-spacing:-1px;font-weight:600;margin:16px 0 10px}.stat-foot{font-size:10px;color:#868686}.stat-foot b{font-weight:500;color:var(--accent)}.stat.highlight{background:linear-gradient(120deg,#333333,#242424);border-color:#484848}.stat.highlight .stat-value{color:var(--accent)}.stat-corner{position:absolute;right:20px;top:20px;color:#a1a1a1}.stat-corner svg{width:16px}.grid-main{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(310px,1fr);gap:22px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-header{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-header p{color:var(--muted);font-size:10px;margin-top:6px}.text-button{font-size:11px;color:var(--accent);background:transparent;padding:6px 0;display:flex;gap:6px;align-items:center}.text-button svg{width:14px;height:14px}.period{color:#b8b8b8;background:#292929;border:1px solid #3c3c3c;border-radius:7px;padding:7px 10px;font-size:10px}.chart{padding:0 24px 22px}.chart-area{height:183px;display:flex;align-items:flex-end;gap:13px;padding:10px 0 0 35px;position:relative}.chart-grid{position:absolute;inset:10px 0 0 35px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.chart-grid div{width:100%;height:1px;background:#353535;position:relative}.chart-grid span{position:absolute;right:calc(100% + 9px);top:-5px;font-size:9px;color:#747474}.bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;z-index:1;min-width:0}.bar{width:100%;max-width:43px;background:#444444;border-radius:5px 5px 1px 1px;min-height:2px}.bar.current{background:var(--accent)}.chart-labels{padding-left:35px;display:flex;gap:13px;margin-top:12px}.chart-labels span{flex:1;text-align:center;font-size:10px;color:#8e8e8e}.chart-labels span.current{color:var(--accent)}.chart-legend{display:flex;gap:17px;font-size:10px;color:var(--muted);margin:24px 0 0 35px}.chart-legend i{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:2px;margin-right:6px}.chart-legend span:last-child i{background:#4f4f4f}.recent-panel{margin-top:22px}.job-row{display:flex;align-items:center;gap:12px;padding:17px 24px;border-top:1px solid var(--line);width:100%;text-align:left;background:transparent}.job-row:hover{background:#252525}.job-icon{display:grid;place-items:center;width:36px;height:36px;background:#2e2e2e;color:#b7b7b7;border-radius:9px;flex-shrink:0}.job-icon.blue{background:#2f2f2f;color:var(--cyan)}.job-icon.amber{background:#2e2e2e;color:var(--amber)}.job-icon svg{width:17px;height:17px}.job-info{min-width:0;flex:1}.job-name{font-size:12px;font-weight:550;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.job-meta{font-size:10px;color:var(--muted);margin-top:5px}.job-money{text-align:right;font-size:13px;font-weight:550;white-space:nowrap}.job-money .badge{display:block;margin-top:5px}.badge{font-size:9px;font-weight:500;border-radius:5px;padding:4px 7px;display:inline-block;width:fit-content;color:#b7b7b7;background:#353535}.badge.active{color:#e0e0e0;background:#393939}.badge.completed{color:var(--cyan);background:#343434}.badge.upcoming{color:var(--amber);background:#343434}.badge.paid{color:var(--accent);background:#373737}.entry-panel .panel-header{border-bottom:1px solid var(--line);padding-bottom:18px}.entry-panel .panel-header svg{color:var(--accent)}.entry-form{padding:21px 24px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;min-width:0}.field label,.field-label{font-size:10px;font-weight:550;color:#b4b4b4}.field small{font-size:10px;color:var(--muted);line-height:1.5}input,select,textarea{width:100%;background:#161616;border:1px solid #3b3b3b;color:var(--text);border-radius:8px;padding:11px 12px;outline:none;min-height:40px;font-size:12px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px #e0e0e012}input::placeholder,textarea::placeholder{color:#707070}textarea{resize:vertical;min-height:70px}.segmented{background:#141414;border:1px solid #333333;border-radius:9px;padding:4px;display:flex;gap:4px;margin-bottom:20px}.segmented button{flex:1;font-size:11px;background:transparent;border-radius:6px;padding:9px 5px;color:var(--muted)}.segmented button.active{background:#373737;color:var(--accent)}.segmented svg{width:14px;height:14px;margin-right:5px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.input-affix{position:relative}.input-affix input{padding-right:45px}.input-affix span{position:absolute;right:13px;top:13px;color:#8c8c8c;font-size:10px}.rule-line{color:#999999;font-size:10px;line-height:1.7;padding:11px 12px;border:1px solid #373737;background:#262626;border-radius:8px;margin:1px 0 17px}.preview-total{border-top:1px dashed #424242;padding-top:17px;margin-top:7px}.breakdown-line{display:flex;justify-content:space-between;color:#a8a8a8;font-size:10px;padding-bottom:10px}.breakdown-line strong{color:#d1d1d1;font-weight:450}.preview-sum{display:flex;align-items:center;justify-content:space-between;margin:4px 0 19px;color:#d4d4d4;font-size:11px}.preview-sum strong{color:var(--accent);font-size:26px;font-family:Manrope,system-ui,sans-serif;font-weight:600;letter-spacing:-.7px}.full{width:100%}.error{font-size:11px;line-height:1.5;color:var(--red);margin:10px 0}.success-note{font-size:9px;color:#7c7c7c;text-align:center;margin-top:11px}.empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty h3{color:#d7d7d7;margin-bottom:8px}.empty button{margin-top:17px}.main-footer{display:flex;justify-content:space-between;margin:0 40px;padding:20px 0 25px;border-top:1px solid var(--line);font-size:9px;color:#6e6e6e}.section-heading{margin:23px 0 15px;display:flex;justify-content:space-between;align-items:center}.job-tools{display:flex;gap:12px;margin-bottom:20px}.job-tools input{max-width:340px}.filters{display:flex;gap:5px;flex-wrap:wrap}.filter{background:transparent;color:var(--muted);font-size:11px;padding:9px 12px;border-radius:8px;white-space:nowrap}.filter.active{background:#373737;color:var(--accent)}.jobs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.job-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:left;padding:22px;transition:border-color .15s}.job-card:hover{border-color:#7c7c7c}.job-card-top{display:flex;justify-content:space-between;margin-bottom:21px}.job-card h3{font-size:16px;margin-bottom:7px;letter-spacing:-.4px}.job-card p{font-size:11px;color:var(--muted)}.job-card-bottom{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.job-card-bottom strong{font-family:Manrope,system-ui,sans-serif;font-size:24px;font-weight:550;letter-spacing:-.6px}.job-card-bottom small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.back{color:var(--muted);display:flex;gap:7px;align-items:center;background:none;padding:0;margin-bottom:21px;font-size:11px}.job-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.job-summary .panel{padding:23px}.job-summary small{color:var(--muted);font-size:11px}.job-summary strong{display:block;font-size:25px;font-family:Manrope,system-ui,sans-serif;letter-spacing:-.6px;margin-top:13px}.entries-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.entries-table th{padding:12px 22px;color:#8d8d8d;font-weight:450;font-size:10px;border-bottom:1px solid var(--line);background:#222222}.entries-table td{padding:18px 22px;border-bottom:1px solid var(--line)}.entries-table small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.entries-table tr:last-child td{border:0}.table-scroll{overflow-x:auto}.entry-edit{background:transparent;padding:0;color:#e2e2e2;font-size:11px;text-decoration:underline;text-underline-offset:3px}.detail-note{padding:20px 24px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.6}.profiles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rate-card{padding:24px}.rate-card .card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.rate-card h3{font-size:15px}.rate-card .rate-price{font-size:33px;font-family:Manrope,system-ui,sans-serif;font-weight:550;letter-spacing:-1px}.rate-card .rate-price small{font-size:11px;color:var(--muted);font-family:'DM Sans',sans-serif;letter-spacing:0;font-weight:400}.rate-card .rate-detail{padding-top:19px;margin-top:21px;border-top:1px solid var(--line)}.rate-detail div{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:13px}.rate-detail b{font-weight:450;color:#dddddd}.info-banner{display:flex;gap:13px;border:1px solid #3f3f3f;background:#252525;border-radius:12px;padding:19px 23px;margin:22px 0;color:#bfbfbf;font-size:11px;line-height:1.8}.info-banner svg{color:var(--accent);margin-top:3px}.info-banner strong{display:block;color:#e0e0e0;font-weight:550}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-body{padding:0 24px 24px;color:var(--muted);font-size:12px;line-height:1.8}.settings-body .button{margin:18px 8px 0 0}.settings-body li{padding:4px 0}.income-splits{display:flex;gap:20px;padding:23px;flex-wrap:wrap}.income-splits div{flex:1;min-width:100px}.income-splits small{display:block;color:var(--muted);font-size:10px}.income-splits strong{display:block;font-size:22px;margin-top:9px;font-family:Manrope,system-ui,sans-serif;font-weight:500;letter-spacing:-.5px}.income-splits i{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:6px}.income-splits div:nth-child(2) i{background:var(--cyan)}.income-splits div:nth-child(3) i{background:var(--amber)}.income-splits div:nth-child(4) i{background:#9c9c9c}.stack-bar{height:8px;display:flex;background:#2f2f2f;border-radius:8px;margin:0 24px 24px;overflow:hidden}.stack-bar span{height:100%}.reports-list{margin-top:22px}.reports-list .job-row{cursor:default}.report-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.report-toolbar select{width:auto}.mobile-nav,.mobile-brand{display:none}dialog{color:var(--text);background:#1d1d1d;border:1px solid #424242;border-radius:20px;width:min(510px,calc(100vw - 24px));padding:0;max-height:92dvh;box-shadow:0 25px 100px #00000088}dialog::backdrop{background:#090909bd;backdrop-filter:blur(4px)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px;font-family:Manrope,system-ui,sans-serif}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:20px;margin-top:8px}.modal-footer .danger{margin-right:auto}.modal-desc{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:20px}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;transition:.2s;z-index:100;background:var(--accent);color:#202020;padding:13px 21px;border-radius:10px;box-shadow:0 5px 30px #00000066;font-size:12px;font-weight:550;pointer-events:none;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.nowrap{white-space:nowrap}.check-field{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin:0 0 18px}.check-field input{width:16px;height:16px;min-height:0;accent-color:var(--accent)}.mini-title{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:20px}.subtle{font-size:10px;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){main{padding-top:42px}.topbar{padding:0 55px}.stats{margin-bottom:28px}.chart-area{height:210px}.stat{padding:24px}.stat-value{font-size:34px}.grid-main{gap:26px}}
@media(max-width:1150px){.sidebar{width:200px;padding:26px 16px}.main-wrap{margin-left:200px;width:calc(100% - 200px)}main{padding:30px 25px}.topbar{padding:0 25px}.main-footer{margin:0 25px}.grid-main{grid-template-columns:1fr 320px;gap:16px}.stat{padding:19px 17px}.stat-value{font-size:25px}.profiles-grid{grid-template-columns:1fr 1fr}.job-row{padding:17px}.panel-header,.entry-form{padding-left:18px;padding-right:18px}.today{display:none}}
@media(max-width:950px){.sidebar{width:180px}.main-wrap{margin-left:180px;width:calc(100% - 180px)}.brand{font-size:19px}.brand-icon{width:29px;height:29px;font-size:28px}.workspace{padding:10px 8px}.workspace small{font-size:8px}.grid-main{grid-template-columns:1fr}.entry-panel{width:100%}.entry-form .entry-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.entry-form .entry-fields>.rule-line,.entry-form .entry-fields>#entry-inputs,.entry-form .entry-fields>#preview{grid-column:1/-1}.entry-form .preview-total{margin-top:0}.heading-actions .button{padding:11px 13px}.settings-grid{grid-template-columns:1fr}.job-tools{flex-direction:column}.job-tools input{max-width:none}.job-summary .panel{padding:18px}.profiles-grid{gap:14px}.page-heading{align-items:start}.page-heading h1{font-size:27px}.page-heading p{line-height:1.7}.heading-actions{flex-direction:column}.chart-area{height:190px}}
@media(max-width:650px){.sidebar{display:none}.main-wrap{margin-left:0;width:100%;padding-bottom:75px}.topbar{height:68px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:block;font-family:Manrope,system-ui,sans-serif;font-size:20px;letter-spacing:-.8px;font-weight:800}.top-actions{gap:8px}.top-actions .icon-button{display:none}.sample-badge{font-size:9px}main{padding:25px 18px}.page-heading{margin-bottom:23px;gap:10px}.page-heading h1{font-size:25px;letter-spacing:-.8px}.page-heading p{font-size:11px;max-width:225px}.page-heading .button{padding:10px 12px;font-size:11px}.heading-actions .button.secondary{display:none}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:19px}.stat.highlight{grid-column:1/-1;min-height:142px;padding:22px}.stat.highlight .stat-value{font-size:36px;margin:12px 0 9px}.stat{padding:17px 15px}.stat-value{font-size:24px;margin:12px 0 9px}.stat-title{font-size:10px}.stat-foot{font-size:9px;line-height:1.5}.stat-title svg{width:14px}.grid-main{gap:18px}.panel{border-radius:15px}.panel-header{padding:19px}.panel-header h2{font-size:15px}.chart{padding:0 17px 21px}.chart-area{height:160px;gap:10px}.chart-labels{gap:10px}.chart-legend{margin-top:20px}.recent-panel{margin-top:18px}.job-row{padding:17px}.job-name{font-size:11px}.job-meta{font-size:9px}.job-money{font-size:12px}.entry-form{padding:20px}.entry-form .entry-fields{display:block}.entry-panel .panel-header{padding:20px}.jobs-grid,.profiles-grid{grid-template-columns:1fr}.job-tools{gap:15px}.filters{gap:2px}.filter{font-size:10px;padding:8px 10px}.job-card{padding:20px}.job-summary{grid-template-columns:1fr 1fr;gap:11px}.job-summary .panel:first-child{grid-column:1/-1}.job-summary .panel{padding:19px}.job-summary strong{font-size:25px}.entries-table th,.entries-table td{padding:15px 16px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#1c1c1cf5;backdrop-filter:blur(12px);border-top:1px solid #3d3d3d;z-index:30;justify-content:space-around;padding:10px 8px max(10px,env(safe-area-inset-bottom))}.mobile-nav button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:transparent;color:#8c8c8c;min-width:60px;font-size:9px;padding:4px}.mobile-nav button.active{color:var(--accent)}.mobile-nav svg{width:20px;height:20px}.main-footer{margin:0 18px;font-size:8px}.toast{bottom:95px;width:max-content;max-width:90vw}.settings-grid{gap:18px}.info-banner{padding:17px;font-size:10px}.report-toolbar{flex-wrap:wrap}.report-toolbar .button{padding:11px 12px}.income-splits{gap:20px;padding:20px}.income-splits div{min-width:40%;flex:1}.stack-bar{margin:0 20px 20px}.modal-body,.modal-header{padding:20px}.modal-header h2{font-size:18px}dialog{max-height:88dvh}.entry-form #preview .preview-sum strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Backstage palette: neutral surfaces, with green reserved for currency and earnings. */
:root{--bg:#080808;--surface:#141414;--surface2:#202020;--line:#292929;--text:#f5f5f5;--muted:#929292;--accent:#eee;--money:#75ca96}
.sidebar{background:#0d0d0d}.topbar{background:#080808}.brand-icon{background:#ededed;color:#101010}.nav-item{font-size:12px}.nav-item.active,.nav-item.active:hover{background:#242424;color:#fff}.stat.highlight{background:#171717;border-color:#373737}.stat.highlight .stat-value,.money,.job-money,.job-card-bottom strong,.rate-price,.preview-sum strong,.breakdown-line strong,.income-splits strong{color:var(--money)}.stat:nth-child(2) .stat-value{color:var(--money)}.stat-corner{color:#a0a0a0}.stat-foot b{color:#bdbdbd}.stat.highlight .stat-title svg{color:var(--money)}.bar{background:#3c3c3c}.bar.current{background:var(--money)}.chart-labels span.current{color:#ddd}.chart-legend i{background:var(--money)}.chart-legend span:last-child i{background:#666}.rate-price small{color:var(--muted)}.rate-detail div:last-child b{color:var(--money)}.info-banner{background:#141414;border-color:#333;color:#aaa}.info-banner strong{color:#ddd}.info-banner svg,.entry-panel .panel-header svg{color:#aaa}.rule-line{color:#b1b1b1;background:#1c1c1c;border-color:#333}.button{background:#eee;color:#111}.button:hover{background:#fff}.button.secondary{background:#202020;color:#ddd;border-color:#3b3b3b}.button.secondary:hover{background:#292929}.button.danger{background:#252525;color:#eee;border:1px solid #555}.segmented button.active{background:#303030;color:#fff}.text-button,.entry-edit{color:#ddd}.toast{background:#e4e4e4;color:#111}.badge.active,.badge.upcoming,.badge.completed,.badge.paid{background:#2b2b2b;color:#bbb}.badge.paid{color:var(--money)}.job-icon,.job-icon.blue,.job-icon.amber{background:#242424;color:#bbb}.mobile-nav{background:#101010f5}.mobile-nav button.active{color:#fff}.sample-badge{border-color:#393939;color:#aaa}.status-dot{background:#aaa}.avatar{background:#292929;color:#ddd}.profile-footer,.profile-footer small,.workspace small,.local-note,.local-note p,.main-footer{color:#858585}.pro{color:#eee}.error{color:#eee}.position-caption{color:#d0d0d0!important;margin-top:7px;font-size:11px}.job-status-line{display:flex;align-items:center;gap:12px;margin:-9px 0 23px;flex-wrap:wrap}.job-status-line>.subtle{flex:1;line-height:1.7}.job-status-line .text-button{white-space:nowrap}.expenses-panel{margin-top:22px}.expense-row{display:flex;gap:12px;align-items:center;padding:18px 22px;border-top:1px solid var(--line)}.expense-row strong{font-size:12px;font-weight:500}.expense-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.7}.expense-row>.money{white-space:nowrap;font-size:13px}.expense-row .job-info{overflow-wrap:anywhere}.expense-footer{display:flex;justify-content:space-between;padding:18px 24px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.expense-footer strong{font-size:15px;font-weight:500}.expense-preview{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;color:#aaa;font-size:12px}.expense-preview strong{font-size:25px;font-family:Manrope,system-ui,sans-serif;font-weight:500}.invoice-details{padding:24px;margin-bottom:24px}.invoice-meta-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.invoice-sheet{background:#141414;border:1px solid #363636;border-radius:15px;padding:36px;max-width:1100px;margin:auto}.invoice-top{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:28px;border-bottom:1px solid #333}.invoice-top h2{font-size:25px;margin:12px 0 7px;font-family:Manrope,system-ui,sans-serif}.invoice-top p{font-size:11px;color:#999}.invoice-total{text-align:right;white-space:nowrap}.invoice-total small{display:block;color:#999;font-size:10px;margin-bottom:8px}.invoice-total strong{font-size:31px;font-family:Manrope,system-ui,sans-serif;font-weight:550;letter-spacing:-.8px}.invoice-parties{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:25px;padding:27px 0}.invoice-parties small,.invoice-notes small{display:block;font-size:9px;letter-spacing:1px;color:#888;margin-bottom:10px}.invoice-parties strong{font-size:11px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.invoice-project{display:flex;align-items:center;justify-content:space-between;background:#242424;padding:15px 18px;border-radius:7px;gap:18px;font-size:12px}.invoice-project span{font-size:10px;color:#aaa}.invoice-table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;margin-top:18px}.invoice-table th{padding:12px 8px;color:#888;font-size:10px;font-weight:400;border-bottom:1px solid #333}.invoice-table td{padding:15px 8px;border-bottom:1px solid #2b2b2b;vertical-align:top}.invoice-table td strong{font-weight:500;display:block}.invoice-table td small{display:block;color:#888;font-size:9px;line-height:1.7;max-width:370px;margin-top:5px}.invoice-table th:nth-last-child(-n+2),.invoice-table td:nth-last-child(-n+2){text-align:right}.invoice-bottom{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:30px}.invoice-notes p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#aaa}.invoice-totals div{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#aaa;padding-bottom:14px}.invoice-totals strong{font-weight:500;color:var(--money)}.invoice-totals .grand-total{border-top:1px solid #444;padding:20px 0 0;font-size:16px;color:#eee}.invoice-footnote{font-size:9px;color:#666;border-top:1px solid #333;margin-top:34px;padding-top:20px}.invoice-controls .heading-actions .button.secondary{display:flex}
@media(max-width:650px){.expense-row{padding:16px;gap:10px}.expense-row .job-icon{display:none}.expense-row .icon-button{padding:5px}.expenses-panel .panel-header{padding:17px}.expenses-panel .panel-header h2{font-size:13px}.expenses-panel .text-button{font-size:10px;white-space:nowrap}.expense-footer{padding:16px}.invoice-details{padding:20px}.invoice-meta-fields{grid-template-columns:1fr 1fr;gap:0 14px}.invoice-meta-fields .field:first-child{grid-column:1/-1}.invoice-sheet{padding:20px}.invoice-top{align-items:flex-start;gap:15px;flex-direction:column}.invoice-total{text-align:left}.invoice-total strong{font-size:28px}.invoice-parties{grid-template-columns:1fr 1fr;gap:22px 14px}.invoice-parties>div:last-child{grid-column:1/-1}.invoice-project{padding:14px;font-size:11px}.invoice-bottom{grid-template-columns:1fr;gap:24px}.invoice-totals{order:-1}.invoice-table{font-size:10px;min-width:490px}.invoice-sheet .table-scroll{margin:0 -7px}.invoice-controls .page-heading{flex-direction:column}.invoice-controls .heading-actions{flex-direction:row;align-self:flex-end;margin-top:6px}}
@media print{@page{margin:15mm;size:auto}html,body{background:#fff!important;color:#111!important;font-size:10pt}.sidebar,.topbar,.mobile-nav,.main-footer,.invoice-controls,.toast,dialog{display:none!important}.app,.main-wrap{display:block;width:100%;margin:0;padding:0;min-height:0}main{padding:0;max-width:none}.invoice-sheet{background:#fff;border:0;padding:0;color:#111;max-width:none}.invoice-sheet .money,.invoice-totals strong,.invoice-totals .grand-total{color:#111!important}.invoice-top,.invoice-table th,.invoice-table td,.invoice-footnote,.invoice-totals .grand-total{border-color:#ccc}.invoice-top p,.invoice-total small,.invoice-parties small,.invoice-notes small,.invoice-notes p,.invoice-table small,.invoice-footnote,.invoice-totals div{color:#555}.invoice-project{background:#f2f2f2;color:#111;print-color-adjust:exact}.invoice-project span{color:#555}.invoice-table{min-width:0;font-size:9pt}.invoice-table th{color:#555}.invoice-table td small{font-size:8pt}.invoice-sheet .table-scroll{overflow:visible}.invoice-table thead{display:table-header-group}.invoice-table tr{break-inside:avoid}.invoice-top,.invoice-parties,.invoice-bottom{break-inside:avoid}.invoice-bottom{grid-template-columns:1fr 1fr}.invoice-totals{order:0}.invoice-footnote{margin-top:20px}.invoice-parties{grid-template-columns:1.2fr .8fr 1fr}.invoice-parties>div:last-child{grid-column:auto}.invoice-top{flex-direction:row}.invoice-total{text-align:right}}
#entry-perdiem,#profile-rate,#profile-perdiem,#expense-amount,#expense-mileage-rate{color:var(--money)}.invoice-table td:nth-last-child(2){color:var(--money)}
@media print{.invoice-table td:nth-last-child(2){color:#111}}
@media screen{
:root{font-size:16px}main{max-width:1000px}.page-heading h1{font-size:28px;letter-spacing:-.7px}.page-heading p{font-size:15px;line-height:1.5}.page-heading{margin-bottom:22px}.button{font-size:15px;padding:13px 17px;min-height:48px}.button svg{width:18px;height:18px}.icon-button{min-width:44px;min-height:44px}.field{gap:9px;margin-bottom:20px}.field label,.field-label{font-size:14px;color:#c4c4c4}.field small,.subtle,.modal-desc,.help-text{font-size:14px;line-height:1.65}input,select,textarea{font-size:16px;min-height:50px;padding:13px 14px;border-radius:10px}textarea{min-height:90px}.input-affix input{padding-right:65px}.input-affix span{font-size:14px;top:17px;right:15px}.field-row{gap:14px}.segmented{margin:2px 0 22px}.segmented button{min-height:45px;font-size:15px;font-weight:500}.panel-header{padding:21px}.panel-header h2{font-size:18px}.panel-header p{font-size:14px;line-height:1.5}.entry-form{padding:0 21px 21px}.entry-panel .panel-header{border-bottom:0;padding:22px 21px}.home-entry{margin-bottom:20px}.home-balance{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px;padding:6px 0 22px;border-bottom:1px solid var(--line)}.home-balance div>span{display:block;color:#a6a6a6;font-size:14px;margin-bottom:10px}.home-balance strong{display:block;font-size:38px;font-family:Manrope,system-ui,sans-serif;letter-spacing:-1px;line-height:1.2;font-weight:600}.home-balance>span{color:#999;font-size:14px;text-align:right;padding-bottom:5px}.fold{border:1px solid #303030;background:#141414;border-radius:12px;margin:16px 0;overflow:hidden}.fold>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none;cursor:pointer;min-height:54px;padding:15px 18px;font-size:15px;font-weight:500;color:#d9d9d9}.fold>summary::-webkit-details-marker{display:none}.fold>summary:focus-visible{outline:2px solid #ddd;outline-offset:-4px}.fold-chevron{margin-left:auto;color:#999;font-size:22px;line-height:1;transition:transform .15s}.fold[open]>.fold-chevron,.fold[open]>summary>.fold-chevron{transform:rotate(180deg)}.fold-body{border-top:1px solid #303030;padding:18px}.fold-body>.fold{margin-bottom:0}.summary-count{font-size:14px;color:#999;font-weight:400}.summary-money{font-size:15px;color:var(--money);font-weight:500;margin-left:auto}.summary-money+.fold-chevron{margin-left:0}.entry-options{margin:5px 0 22px;background:#171717}.entry-options>summary{font-size:14px}.entry-options .rule-line{margin-bottom:0}.rule-line{font-size:14px;line-height:1.6}.entry-result{margin:20px 0 22px;padding-top:18px;border-top:1px solid #333}.hours-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hours-strip div{min-width:0}.hours-strip span{display:block;font-size:13px;color:#a0a0a0;margin-bottom:8px;white-space:nowrap}.hours-strip strong{display:block;font-size:23px;font-family:Manrope,system-ui,sans-serif;font-weight:550;color:#eee;letter-spacing:-.5px}.hours-strip strong small{font:400 14px 'DM Sans',system-ui,sans-serif;color:#a0a0a0}.preview-sum{font-size:16px;margin:24px 0 0;gap:15px}.preview-sum strong{font-size:31px}.entry-result>.fold{margin-bottom:0;background:transparent}.entry-result>.fold>summary{min-height:48px;font-size:14px}.breakdown-line{font-size:14px;line-height:1.5;gap:20px}.breakdown-line strong{white-space:nowrap}.error{font-size:14px;line-height:1.6}.modal-header h2{font-size:23px}.modal-header{padding:22px}.modal-body{padding:22px}.modal-footer{gap:10px;flex-wrap:wrap}.check-field{font-size:14px;line-height:1.6;align-items:flex-start}.check-field input{flex-shrink:0;margin-top:3px;width:20px;height:20px}.job-tools{flex-direction:column;gap:0}.job-tools input{max-width:none}.job-tools>.fold{margin:16px 0 0}.jobs-grid{grid-template-columns:1fr}.job-card{padding:22px}.job-card h3{font-size:19px;line-height:1.4}.job-card p{font-size:14px;line-height:1.6}.job-card-bottom small{font-size:14px}.job-card-bottom strong{font-size:29px}.job-card-bottom>.subtle{font-size:14px}.badge{font-size:12px;padding:5px 8px}.job-row{min-height:76px;padding:18px 0}.job-name{font-size:16px;white-space:normal;line-height:1.5;display:block}.job-meta{font-size:14px;line-height:1.5}.job-money{font-size:17px}.job-row .job-icon{display:none}.filter{font-size:14px;min-height:44px}.job-option-info p{font-size:14px;line-height:1.7;color:#bbb;margin-bottom:12px}.option-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:20px}.back{font-size:15px;min-height:44px;margin-bottom:15px}.timesheet-fold .fold-body{padding:0}.day-card{padding:18px;border-bottom:1px solid #333}.day-card:last-child{border-bottom:0}.day-card-top{display:flex;justify-content:space-between;gap:20px;width:100%;text-align:left;background:transparent;padding:0 0 18px;min-height:64px}.day-card-top>span:first-child{flex:1;min-width:0}.day-card-top>span:last-child{text-align:right;white-space:nowrap}.day-card-top strong{font-size:17px;font-weight:500}.day-card-top small{display:block;font-size:14px;color:#999;line-height:1.5;margin-top:6px}.day-card .hours-strip{border-top:1px solid #292929;padding-top:15px}.day-card .hours-strip strong{font-size:21px}.expenses-fold .fold-body{padding:0}.expenses-fold .expenses-panel{margin:0;border:0;border-radius:0}.expenses-panel .panel-header{flex-wrap:wrap}.expenses-panel .panel-header h2{font-size:17px}.expenses-panel .panel-header p{font-size:14px}.text-button{font-size:14px;min-height:44px}.expense-row strong{font-size:16px}.expense-row small{font-size:14px}.expense-row>.money{font-size:17px}.expense-footer{font-size:14px}.expense-footer strong{font-size:17px}.expense-preview{font-size:16px}.empty{font-size:15px;line-height:1.7}.empty h3{font-size:18px}.company-period-label{display:flex;justify-content:space-between;gap:20px;color:#c0c0c0;font-size:15px;margin-bottom:18px}.company-period-label span{color:#888}.company-overall{margin:22px 0;padding-bottom:22px}.company-overall .hours-strip{padding:0 22px}.company-list{display:grid;gap:18px;margin:22px 0}.company-card{padding:21px}.company-title{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px}.company-title h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere}.company-title p{font-size:14px;color:#999;margin-top:7px}.company-title>strong{font-size:24px;white-space:nowrap;font-family:Manrope,system-ui,sans-serif;font-weight:550}.company-title>strong small{font-size:14px;font-weight:400;color:#999}.company-card>.fold{margin:23px 0 0;background:transparent}.company-card>.fold>.fold-body{padding:17px 0 0}.company-card>.fold>summary{font-size:14px;padding:12px;min-height:48px}.company-money{padding:0 14px 16px}.company-money>div{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:1.6;margin-bottom:12px}.company-money>div strong{font-size:16px;font-weight:500}.company-card .job-row{padding:17px 12px;border-top:1px solid #333}.company-card .job-name{font-size:15px}.company-card .job-money{font-size:16px}.company-card .fold-body>.subtle{padding:0 14px 12px}.help-text{color:#aaa;margin:0 0 15px}.help-text:last-child{margin:0}.more-list{overflow:hidden}.more-item{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:transparent;padding:23px;border-bottom:1px solid #303030;min-height:92px}.more-item:last-child{border-bottom:0}.more-item:hover{background:#202020}.more-item>span:nth-child(2){flex:1;min-width:0}.more-item strong{font-size:17px;font-weight:500;display:block}.more-item small{display:block;font-size:14px;color:#999;margin-top:7px;line-height:1.5}.more-item>svg{color:#999}.rate-card h3{font-size:20px}.rate-card .subtle{font-size:14px;line-height:1.5}.rate-card .rate-price small{font-size:15px}.rate-detail div{font-size:14px;gap:16px;line-height:1.6}.rate-detail{margin:0!important;padding:0!important;border:0!important}.rate-detail b{white-space:nowrap}.rate-card>.fold{margin-bottom:0}.rate-card .button{white-space:normal}.profiles-grid{grid-template-columns:1fr 1fr}.info-banner{font-size:14px;line-height:1.6}.settings-body{font-size:15px;line-height:1.7}.period,.eyebrow{font-size:13px}.stat-title,.stat-foot{font-size:14px;line-height:1.5}.stat-value{font-size:30px}.income-splits small{font-size:14px}.report-toolbar .button,.report-toolbar select{font-size:15px}.chart-labels span,.chart-grid span,.chart-legend{font-size:12px}.chart-grid{left:43px}.chart-area,.chart-labels{padding-left:43px}.chart-legend{margin-left:43px}.toast{font-size:15px;line-height:1.5}.sample-badge{font-size:12px}.topbar{height:74px}.nav-item{font-size:15px;min-height:50px}.today{font-size:14px}.breadcrumb{font-size:14px}.profile-footer{display:none}.success-note{font-size:13px}.invoice-controls .field small{font-size:14px}.invoice-details .field label{font-size:14px}.invoice-controls .page-heading .heading-actions{flex-direction:row}.invoice-controls .heading-actions .button{font-size:14px}.invoice-parties strong{font-size:14px}.invoice-parties small,.invoice-notes small{font-size:12px}.invoice-top p{font-size:14px}.invoice-totals div,.invoice-notes p{font-size:14px}.invoice-footnote{font-size:12px}.invoice-table{font-size:14px;min-width:620px}.invoice-table th{font-size:13px}.invoice-table td small{font-size:12px}
}
@media screen and (max-width:900px){.sidebar{display:none}.main-wrap{margin:0;width:100%;padding-bottom:90px}.topbar{padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:block;font:800 23px Manrope,system-ui,sans-serif;letter-spacing:-.8px}.top-actions .icon-button,.today{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#101010f5;backdrop-filter:blur(12px);border-top:1px solid #333;z-index:30;justify-content:space-around;padding:7px 6px max(8px,env(safe-area-inset-bottom))}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:25%;min-height:52px;padding:5px;background:transparent;color:#999;font-size:12px}.mobile-nav button.active{color:#fff}.mobile-nav svg{width:22px;height:22px}.main-footer{display:none}main{padding:27px 20px;max-width:680px}.page-heading h1{font-size:25px}.page-heading p{font-size:15px;max-width:none}.page-heading .button{font-size:14px;min-height:48px;padding:12px 14px}.page-heading .button.secondary{display:flex}.page-heading .heading-actions{flex-direction:row}.grid-main{grid-template-columns:1fr}.entry-form .entry-fields{display:block}.profiles-grid{grid-template-columns:1fr}.job-summary{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.stat.highlight{grid-column:auto}.stat{padding:20px}.stat.highlight .stat-value{font-size:34px}.toast{bottom:100px}.invoice-sheet{padding:22px}.settings-grid{grid-template-columns:1fr}}
@media screen and (max-width:400px){main{padding:23px 16px}.topbar{padding:0 16px}.mobile-brand{font-size:21px}.sample-badge{font-size:11px}.page-heading{gap:10px}.page-heading h1{font-size:23px}.page-heading p{font-size:14px}.page-heading .button{font-size:14px;padding:12px}.home-balance strong{font-size:34px}.home-balance{gap:12px}.home-balance>span{font-size:13px}.entry-form{padding:0 17px 20px}.entry-panel .panel-header{padding:20px 17px}.company-card{padding:18px}.company-title h2{font-size:18px}.hours-strip{gap:8px}.hours-strip span{font-size:13px}.hours-strip strong{font-size:22px}.fold-body{padding:16px}.modal-body,.modal-header{padding:18px}.field-row{gap:10px}.field label{font-size:14px}.invoice-controls .heading-actions{flex-wrap:wrap}}
@media screen{[hidden]{display:none!important}.weekly-note{margin:15px 0 0;font-size:14px;line-height:1.65;color:#aaa}.entry-options .field-row{grid-template-columns:1fr}.job-tools .fold{width:100%}.company-card h2{font-weight:550}.fold-body .panel{max-width:100%}.fold-body .stat.highlight .stat-value{font-size:31px}.fold-body .chart{padding-top:15px}}

.work-summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:16px;color:#ddd}.day-summary{padding:0 0 18px;margin:0}.job-summary{margin:0 0 24px}.invoice-project{flex-wrap:wrap}.invoice-project .work-summary{font-size:14px;color:inherit;flex-basis:100%;margin:10px 0 0}

/* A fresh invoice: dark, tactile, and a little celebratory. */
.new-job-cta{position:relative;isolation:isolate;display:flex;align-items:center;gap:18px;width:100%;min-height:100px;padding:22px 24px;margin:0 0 24px;text-align:left;color:#fff;border:1px solid #666;border-radius:18px;background:linear-gradient(115deg,#333 0%,#1e1e1e 55%,#141414 100%);box-shadow:inset 0 1px 0 #ffffff1c,0 8px 24px #0003;overflow:hidden;touch-action:manipulation;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.new-job-cta::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 20%,#ffffff14 45%,transparent 70%);transform:translateX(-110%);pointer-events:none;transition:transform .55s ease}
.new-job-cta:hover{border-color:#aaa;box-shadow:inset 0 1px 0 #ffffff26,0 10px 28px #0005}.new-job-cta:hover::after{transform:translateX(110%)}
.new-job-cta:active{transform:scale(.975);border-color:#fff}.new-job-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
.new-job-icon{display:grid;place-items:center;width:54px;height:58px;flex:none;border-radius:12px;background:#ffffff09;border:1px solid #ffffff24;transform:rotate(-7deg)}
.new-job-icon>svg{width:34px;height:38px}.invoice-dollar{color:#79e2a0}
.new-job-copy{flex:1;min-width:0}.new-job-copy strong{display:block;font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.4px}.new-job-copy>span{display:block;font-size:15px;color:#c4c4c4;margin-top:6px;line-height:1.4}
.new-job-arrow{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #ffffff30;border-radius:50%;transition:transform .16s}.new-job-arrow>svg{width:20px;height:20px}.new-job-cta:active .new-job-arrow{transform:translate(2px,-2px)}
.celebrated-header{gap:12px}.invoice-celebration{display:block;width:35px;height:40px;flex:none}.invoice-celebration>svg{width:100%;height:100%}.invoice-launch .invoice-celebration{animation:invoice-pop .7s cubic-bezier(.2,.8,.2,1)}.invoice-launch .modal-header h2{animation:invoice-title .45s ease-out}
@keyframes invoice-pop{0%{opacity:0;transform:translateY(16px) rotate(-24deg) scale(.45)}45%{opacity:1;transform:translateY(-5px) rotate(10deg) scale(1.18)}70%{transform:translateY(1px) rotate(-5deg) scale(.96)}100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes invoice-title{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media screen and (max-width:400px){.new-job-cta{padding:19px 18px;gap:14px;min-height:94px}.new-job-copy strong{font-size:21px}.new-job-copy>span{font-size:14px}.new-job-icon{width:46px;height:52px}.new-job-arrow{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.new-job-cta,.new-job-cta::after,.new-job-arrow{transition:none!important}.new-job-cta:active{transform:none}.invoice-launch .invoice-celebration,.invoice-launch .modal-header h2{animation:none!important}}

.job-cheer{display:block;margin-top:6px;color:#ccc;font-size:15px;font-weight:450;line-height:1.45;letter-spacing:0}.celebrated-header h2{flex:1;min-width:0}.celebrated-header>.icon-button{flex:none}

.home-shortcut{display:flex;align-items:center;gap:16px;width:100%;min-height:100px;padding:22px 24px;text-align:left;background:#171717;color:#fff;border:1px solid #383838;border-radius:18px;transition:background .15s,border-color .15s;touch-action:manipulation}.home-shortcut:hover{background:#222;border-color:#666}.home-shortcut:focus-visible{outline:2px solid #fff;outline-offset:4px}.home-shortcut-icon{display:grid;place-items:center;width:54px;height:54px;flex:none;border:1px solid #333;border-radius:12px;color:#ccc}.home-shortcut-icon svg{width:26px;height:26px}.home-shortcut-copy{flex:1;min-width:0}.home-shortcut-copy strong{display:block;font-size:20px;font-weight:600;line-height:1.25}.home-shortcut-copy>span{display:block;color:#c4c4c4;font-size:15px;line-height:1.5;margin-top:6px}.home-shortcut-copy small{display:block;color:#999;font-size:14px;margin-top:8px;line-height:1.4}.home-shortcut-arrow{flex:none;color:#aaa}.home-shortcut-arrow svg{width:22px;height:22px}
@media screen and (max-width:400px){.home-shortcut{padding:19px 18px;gap:14px}.home-shortcut-icon{width:46px;height:48px}.home-shortcut-copy>span{font-size:14px}.home-shortcut-arrow svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.home-shortcut{transition:none}}

/* Compact billables with tactile period controls and brief money bursts. */
.home-billables{padding:18px;margin:0 0 18px;border:1px solid #3b3b3b;border-radius:18px;background:linear-gradient(145deg,#242424,#141414 75%);box-shadow:inset 0 1px 0 #ffffff09}
.home-period-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:4px;border:1px solid #343434;border-radius:13px;background:#0b0b0b;margin-bottom:16px}.home-period-tabs button{position:relative;min-height:46px;padding:10px 8px;background:linear-gradient(#202020,#141414);border:1px solid #2c2c2c;color:#aaa;font-size:16px;font-weight:550;border-radius:9px;box-shadow:inset 0 1px 0 #ffffff08;transition:transform .15s,background .15s,color .15s,border-color .15s;touch-action:manipulation}.home-period-tabs button.active{background:linear-gradient(145deg,#484848,#272727);border-color:#777;color:#fff;box-shadow:inset 0 1px 0 #ffffff25,0 3px 8px #0005}.home-period-tabs button:active{transform:scale(.94)}.home-period-tabs button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.home-billable-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;color:#eee;font-size:15px;font-weight:500}.home-billable-heading>span:first-child{flex:none}.home-billable-period{color:#aaa;font-size:14px;font-weight:400;line-height:1.4;text-align:right}.home-billable-amount{display:block;font-size:clamp(30px,8vw,40px);line-height:1.15;letter-spacing:-1.2px;font-weight:600;margin-top:10px;overflow-wrap:anywhere}.home-billable-note{font-size:14px;line-height:1.4;color:#999;margin:7px 0 14px}
.home-hours-heading{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#ccc;line-height:1.4;padding-top:13px;border-top:1px solid #383838}.home-hours-heading>span:last-child{color:#999}.home-hour-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:11px 0 0}.home-hour-grid>div{padding:3px 0;min-width:0}.home-hour-grid dt{font-size:14px;color:#bbb;line-height:1.4;min-height:20px;white-space:nowrap}.home-hour-grid dd{margin:6px 0 0;color:#fff;font-size:clamp(18px,5vw,25px);font-weight:550;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-hour-grid dd small{display:inline;font-size:13px;font-weight:400;color:#999;margin-left:3px}.home-hour-grid .home-hours-total{padding-left:10px;border-left:1px solid #444}.home-hours-total dt{color:#fff}.home-week-note{font-size:13px;color:#999;line-height:1.4;margin:10px 0 0}
.period-money-burst{position:absolute;left:50%;top:50%;width:1px;height:1px;pointer-events:none;z-index:2}.period-money-burst i{position:absolute;left:-5px;top:-9px;font-size:18px;font-weight:650;font-style:normal;color:#79e2a0;text-shadow:0 0 12px #79e2a055;animation:period-dollars .65s cubic-bezier(.2,.65,.25,1) both;--drift:-24px;--twist:-20deg}.period-money-burst i:nth-child(2){--drift:0px;--twist:8deg;animation-delay:.045s}.period-money-burst i:nth-child(3){--drift:24px;--twist:20deg;animation-delay:.025s}
.period-switching .home-billable-amount{animation:period-total .4s ease-out both}.period-switching .home-period-tabs button.active{animation:period-button .35s ease-out}
@keyframes period-dollars{0%{opacity:0;transform:translate(0,3px) scale(.5)}20%{opacity:1}100%{opacity:0;transform:translate(var(--drift),-46px) rotate(var(--twist)) scale(1.08)}}
@keyframes period-total{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes period-button{0%{transform:scale(.95)}60%{transform:scale(1.025)}100%{transform:scale(1)}}
.new-job-cta{min-height:84px;padding:16px 20px;margin-bottom:16px;border-radius:16px}.new-job-icon{width:46px;height:50px}.new-job-copy strong{font-size:21px}.new-job-copy>span{margin-top:4px}.home-shortcut{min-height:88px;padding:16px 20px;border-radius:16px}.home-shortcut-icon{width:46px;height:46px}.home-shortcut-copy strong{font-size:19px}.home-shortcut-copy>span{margin-top:4px}.home-shortcut-copy small{margin-top:4px}
@media screen and (max-width:400px){.home-billables{padding:16px}.home-hour-grid{gap:4px}.home-hour-grid .home-hours-total{padding-left:8px}.new-job-cta,.home-shortcut{padding:15px 16px;gap:13px}}
@media(prefers-reduced-motion:reduce){.home-period-tabs button{transition:none}.home-period-tabs button:active{transform:none}.period-money-burst{display:none}.period-switching .home-billable-amount,.period-switching .home-period-tabs button.active{animation:none}}

.home-heading{margin-bottom:18px}.page-heading .home-slogan{margin:0;font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-weight:900;font-size:clamp(29px,7.8vw,38px);line-height:1.06;letter-spacing:.4px;text-transform:uppercase}.home-slogan>span{display:block;color:#79e2a0}.home-slogan .home-slogan-outline{color:#101010;-webkit-text-stroke:1px #79e2a0;paint-order:stroke fill;margin-top:3px;text-shadow:0 2px 0 #0004}
@supports not (-webkit-text-stroke:1px #79e2a0){.home-slogan .home-slogan-outline{color:#79e2a0}}

/* Home actions styled as raised production equipment panels. */
.new-job-cta,.home-shortcut{position:relative;isolation:isolate;gap:16px;border-radius:12px;border:1px solid #5b5b5b;border-top-color:#949494;box-shadow:inset 0 1px 0 #ffffff15,inset 0 -1px 0 #000,0 4px 0 #080808,0 8px 18px #0004;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;overflow:hidden}
.new-job-cta{padding:15px 18px;background:radial-gradient(ellipse at 8% 100%,#79e2a00d,transparent 65%),linear-gradient(125deg,#383838,#252525 52%,#151515);margin-bottom:17px}
.home-shortcut{padding:16px 18px;background:linear-gradient(125deg,#252525,#171717 70%);border-color:#424242;border-top-color:#686868}
.new-job-cta::before,.home-shortcut::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#777,#292929);pointer-events:none}.new-job-cta::before{background:linear-gradient(#a7a7a7,#404040)}
.new-job-icon,.home-shortcut-icon{position:relative;display:grid;place-items:center;width:48px;height:54px;border-radius:7px;border:1px solid #676767;background:linear-gradient(145deg,#ffffff13,#0004);box-shadow:inset 0 1px 0 #ffffff18,0 3px 7px #0004;flex:none}.new-job-icon{transform:rotate(-6deg)}.home-shortcut-icon{transform:rotate(0);border-color:#464646;color:#ddd}.new-job-icon>svg{width:34px;height:39px}.home-shortcut-icon>svg{width:28px;height:28px}
.home-action-kicker{display:block;font-family:Manrope,system-ui,sans-serif;font-size:12px;font-weight:750;letter-spacing:1.3px;line-height:1.3;text-transform:uppercase;color:#79e2a0;margin-bottom:3px}.new-job-copy strong,.home-shortcut-copy strong{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;text-transform:uppercase;font-size:27px;font-weight:850;letter-spacing:.7px;line-height:1.05}.new-job-copy>span,.home-shortcut-copy>span{font-size:14px;line-height:1.4;color:#c4c4c4;margin-top:5px}.home-shortcut-copy small{font-size:13px;margin-top:4px;color:#999}
.new-job-arrow,.home-shortcut-arrow{display:grid;place-items:center;width:38px;height:38px;border:1px solid #aaa;border-radius:8px;background:linear-gradient(#eaeaea,#bfbfbf);color:#151515;box-shadow:inset 0 1px 0 #fff9,0 3px 0 #080808;transform:rotate(-5deg);transition:transform .16s ease;flex:none}.new-job-arrow>svg{width:23px;height:23px;stroke-width:2}.home-shortcut-arrow{background:linear-gradient(#353535,#232323);border-color:#575757;color:#fff;transform:rotate(0)}.home-shortcut-arrow>svg{width:21px;height:21px}
.new-job-cta:active,.home-shortcut:active{transform:translateY(3px) scale(.99);box-shadow:inset 0 1px 0 #ffffff15,0 1px 0 #080808,0 3px 9px #0004}.new-job-cta:active .new-job-arrow{transform:rotate(0) scale(.93)}.home-shortcut:active .home-shortcut-arrow{transform:translateX(2px)}
@media(hover:hover){.new-job-cta:hover{border-color:#b4b4b4}.home-shortcut:hover{background:linear-gradient(125deg,#303030,#1a1a1a 70%);border-color:#777}.new-job-cta:hover .new-job-arrow{transform:rotate(0)}.home-shortcut:hover .home-shortcut-arrow{transform:translateX(2px)}}
@media screen and (max-width:400px){.new-job-cta,.home-shortcut{padding:14px 16px;gap:13px}.new-job-icon,.home-shortcut-icon{width:43px;height:49px}.new-job-copy strong,.home-shortcut-copy strong{font-size:25px}.new-job-arrow,.home-shortcut-arrow{width:33px;height:35px}}
@media(prefers-reduced-motion:reduce){.new-job-cta,.home-shortcut,.new-job-arrow,.home-shortcut-arrow{transition:none}.new-job-cta:active,.home-shortcut:active,.new-job-cta:active .new-job-arrow,.home-shortcut:active .home-shortcut-arrow{transform:none}}

/* Jobs gets the same invoice action, in payday green. */
.new-job-cta.new-job-green{color:#081b10;background:linear-gradient(125deg,#a0efb8,#79e2a0 52%,#59c985);border-color:#70d393;border-top-color:#c7f9d7;box-shadow:inset 0 1px 0 #ffffff65,inset 0 -1px 0 #318651,0 4px 0 #12331f,0 8px 18px #0005;margin-bottom:24px}
.new-job-green::before{background:linear-gradient(#d8ffe5,#2f9455)}
.new-job-green .home-action-kicker,.new-job-green .new-job-copy>span{color:#17482a}
.new-job-green .new-job-icon{color:#a0efb8;background:linear-gradient(145deg,#193c26,#0b2013);border-color:#256c40;box-shadow:inset 0 1px 0 #ffffff20,0 3px 7px #12331f50}
.new-job-green .invoice-dollar{color:#fff}
.new-job-green .new-job-arrow{color:#79e2a0;background:linear-gradient(#193c26,#0a1b10);border-color:#285c39;box-shadow:inset 0 1px 0 #ffffff25,0 3px 0 #225437}
.new-job-green:focus-visible{outline-color:#79e2a0}
@media(hover:hover){.new-job-cta.new-job-green:hover{border-color:#ceffde;box-shadow:inset 0 1px 0 #ffffff80,0 4px 0 #12331f,0 8px 22px #79e2a025}}
.new-job-cta.new-job-green:active{box-shadow:inset 0 1px 0 #ffffff65,0 1px 0 #12331f,0 3px 9px #0004}
.invoice-celebration{position:relative}
.invoice-money-burst{position:absolute;left:50%;top:50%;width:1px;height:1px;pointer-events:none}
.invoice-money-burst i{position:absolute;color:#79e2a0;font-style:normal;font-size:17px;font-weight:800;opacity:0;--drift:-20px;--twist:-20deg}
.invoice-money-burst i:nth-child(2){--drift:0px;--twist:8deg;animation-delay:.045s}
.invoice-money-burst i:nth-child(3){--drift:22px;--twist:20deg;animation-delay:.025s}
.invoice-launch .invoice-money-burst i{animation-name:period-dollars;animation-duration:.65s;animation-timing-function:cubic-bezier(.2,.65,.25,1);animation-fill-mode:none}
/* Bold, tactile mobile controls, with a green active tab. */
@media screen and (max-width:900px){
.main-wrap{padding-bottom:calc(105px + env(safe-area-inset-bottom))}
.mobile-nav{gap:6px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:linear-gradient(#1b1b1bf7,#080808fa);border-top:1px solid #53755d;box-shadow:0 -8px 28px #0007,inset 0 1px 0 #ffffff0c}
.mobile-nav button{position:relative;flex:1;width:auto;min-width:0;min-height:62px;gap:5px;border:1px solid #3c3c3c;border-top-color:#555;border-radius:10px;background:linear-gradient(#282828,#131313);color:#fff;font-size:13px;font-weight:800;letter-spacing:.2px;box-shadow:inset 0 1px 0 #ffffff0a,0 3px 0 #030303;touch-action:manipulation;transition:transform .15s ease,background .15s ease,border-color .15s ease}
.mobile-nav svg{width:23px;height:23px;stroke-width:2.2;color:#79e2a0}
.mobile-nav button.active{color:#081b10;background:linear-gradient(135deg,#a0efb8,#79e2a0 60%,#59c985);border-color:#99edb2;border-top-color:#d0ffdf;box-shadow:inset 0 1px 0 #ffffff60,0 3px 0 #225437,0 0 15px #79e2a012}
.mobile-nav button.active svg{color:#081b10}
.mobile-nav button:active{transform:translateY(2px) scale(.96)}
.mobile-nav button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.toast{bottom:calc(108px + env(safe-area-inset-bottom))}
}
@media screen and (max-width:400px){.mobile-nav{gap:5px;padding-left:8px;padding-right:8px}.mobile-nav button{font-size:12px;letter-spacing:0}}
@media(prefers-reduced-motion:reduce){.mobile-nav button{transition:none}.mobile-nav button:active{transform:none}.invoice-money-burst{display:none}}

/* Every part of a logged day opens its editor. */
.editable-day{display:block;width:100%;text-align:left;color:var(--text);background:transparent;touch-action:manipulation;transition:background .15s}
.editable-day .day-card-top{display:flex}
.editable-day .day-summary{display:block}
.editable-day .hours-strip>span{display:block;min-width:0;margin:0;padding:0;white-space:normal}
.editable-day .day-edit-label{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#eee;font-size:14px;font-weight:600}
.day-edit-label svg{width:15px;height:15px;color:#79e2a0}
.editable-day:focus-visible{outline:2px solid #79e2a0;outline-offset:-4px}
.editable-day:active{background:#222}
@media(hover:hover){.editable-day:hover{background:#202020}}
@media(prefers-reduced-motion:reduce){.editable-day{transition:none}}

/* A compact day list; forms appear only on request. */
.add-day-button{margin:0 0 16px;border-color:#4b4b4b;background:linear-gradient(#2b2b2b,#191919);color:#fff}
.add-day-button svg{color:#79e2a0}
.editable-day{padding:16px 18px}.editable-day .day-card-top{padding:0;min-height:44px}.editable-day .day-summary{font-size:14px;color:#aaa;padding:0;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.perdiem-row{display:flex;align-items:center;gap:12px;margin:0 0 18px;min-height:48px}
.perdiem-row>span{font-size:15px;font-weight:600;flex:1;color:#eee;white-space:nowrap}
.perdiem-toggle{display:flex;align-items:center;gap:3px;padding:3px;border-radius:9px;background:#0c0c0c;border:1px solid #333}
.perdiem-toggle label{display:grid;place-items:center;min-width:44px;min-height:40px;padding:6px 10px;border-radius:6px;font-size:14px;font-weight:650;color:#bbb;cursor:pointer}
.perdiem-toggle input:checked+label{background:#333;color:#fff;box-shadow:inset 0 1px 0 #ffffff15}
.perdiem-toggle #perdiem-yes:checked+label{background:#79e2a0;color:#0b2113}
.perdiem-toggle input:focus-visible+label{outline:2px solid #fff;outline-offset:2px}
.perdiem-amount{position:relative;width:100px;flex:none}.perdiem-amount>span{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#79e2a0;font-size:16px}.perdiem-amount input{padding:11px 8px 11px 26px;min-height:48px;height:48px;color:#79e2a0}
@media screen and (max-width:400px){.perdiem-row{gap:7px}.perdiem-amount{width:86px}.perdiem-toggle label{min-width:40px;padding:6px 8px}.editable-day{padding:15px 16px}}

/* Job names lead each card while scrolling through the Jobs list. */
@media screen{
.job-card h3{font-family:Manrope,'DM Sans',system-ui,sans-serif;font-size:clamp(26px,6.8vw,30px);font-weight:800;line-height:1.18;letter-spacing:-.6px;color:#fff;margin-bottom:10px;overflow-wrap:anywhere}
.job-card-top{margin-bottom:16px}
}

.home-past-shortcut{margin-top:16px;background:linear-gradient(125deg,#202020,#111 70%)}
.home-past-shortcut .home-shortcut-copy small{color:#79e2a0}
.past-jobs-grid .badge.paid{color:#79e2a0;background:#193424}

/* Compact payment balances and a ledger revealed only when needed. */
.job-payment-summary{display:flex;justify-content:space-between;gap:16px;padding:0 0 16px;font-size:14px;color:#aaa;border-bottom:1px solid #2c2c2c;margin-top:-8px}.job-payment-summary strong{display:inline-block;font-size:17px;font-weight:650;margin-left:5px}
.payment-action svg{color:#79e2a0}.badge.partial{color:#79e2a0;background:#183024}.job-payment-caption{color:#b9d3c2!important;margin:7px 0 0!important}
.payments-fold .fold-body{padding:16px}.payment-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 0;color:#eee;background:transparent;border-bottom:1px solid #303030;min-height:64px}.payment-row>span:first-child{flex:1;min-width:0}.payment-row strong{font-size:16px;font-weight:600}.payment-row small{display:block;font-size:14px;color:#999;margin-top:6px;overflow-wrap:anywhere}.payment-row>.money{white-space:nowrap}.payment-edit-icon{color:#bbb}.payment-row:hover{background:#202020}.payment-history>.button{margin-top:16px}.payment-history>.help-text{margin:0}
#payment-amount{color:#79e2a0}.invoice-totals .invoice-payment-line{padding-top:16px}.invoice-totals .grand-total+.grand-total{margin-top:12px}
@media screen and (max-width:400px){.job-payment-summary{gap:8px;font-size:13px}.job-payment-summary strong{font-size:16px;margin-left:3px}}

/* Gaffalo: approved Crew Character branding. */
.gaffalo-mark{display:block;object-fit:contain;flex-shrink:0;border-radius:12px;background:#080808}.brand .gaffalo-mark{width:48px;height:48px}.gaffalo-wordmark{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-weight:900;letter-spacing:1.1px;font-size:30px;line-height:1;color:#f4f4f4}.footer-mark{width:32px;height:32px;border-radius:9px}.mobile-brand.gaffalo-brand{color:#f4f4f4;text-decoration:none;align-items:center;gap:9px}.gaffalo-brand:focus-visible{outline:2px solid var(--money);outline-offset:5px;border-radius:8px}
@media screen and (max-width:950px) and (min-width:901px){.brand{gap:7px}.brand .gaffalo-mark{width:37px;height:37px}.brand .gaffalo-wordmark{font-size:25px}}
@media screen and (max-width:900px){.mobile-brand.gaffalo-brand{display:flex}.mobile-brand .gaffalo-wordmark{font-size:28px}.mobile-brand .gaffalo-mark{width:44px;height:44px}.topbar{gap:10px}.top-actions{min-width:0}.sample-badge{white-space:nowrap}}
@media screen and (max-width:400px){.mobile-brand.gaffalo-brand{gap:7px}.mobile-brand .gaffalo-wordmark{font-size:25px}.mobile-brand .gaffalo-mark{width:44px;height:44px}.topbar{padding:0 16px}.sample-badge{font-size:10px;padding:5px 7px}}

/* Home actions share Gaffalo's bold mascot, tape edges and paid receipt. */
.gaffalo-action{--gaffalo-green:#38e33e;position:relative;isolation:isolate;display:flex;align-items:center;width:100%;gap:16px;min-height:92px;padding:17px 18px;border:1px solid #393939;border-radius:18px;background:linear-gradient(120deg,#1b1b1b,#101010);box-shadow:inset 0 1px 0 #ffffff0c,0 4px 14px #0003;color:#fff;text-align:left;overflow:hidden;touch-action:manipulation;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.gaffalo-action::before{content:"";position:absolute;inset:auto;right:21px;top:-1px;left:auto;width:27px;height:5px;background:#f1f1f1;clip-path:polygon(0 0,100% 0,92% 40%,100% 80%,88% 100%,9% 100%,0 60%);transform:rotate(-9deg);pointer-events:none}
.gaffalo-action::after{content:"";position:absolute;inset:auto;right:55px;top:-1px;width:27px;height:5px;background:#f1f1f1;clip-path:polygon(0 0,100% 0,100% 60%,91% 100%,12% 100%,0 80%,8% 40%);transform:rotate(9deg);transition:none;pointer-events:none;z-index:0}
.new-job-cta.gaffalo-action{min-height:106px;padding:17px 18px;gap:16px;background:radial-gradient(ellipse at 0 50%,#38e33e08,transparent 66%),linear-gradient(120deg,#202020,#111);border-color:#555;margin-bottom:12px}
.gaffalo-action .new-job-icon.gaffalo-mascot{width:64px;height:64px;border:0;border-radius:15px;background:#080808;box-shadow:none;transform:none;overflow:hidden}
.gaffalo-mascot img{display:block;width:100%;height:100%;object-fit:contain}
.gaffalo-action .new-job-copy,.gaffalo-action .home-shortcut-copy{flex:1;min-width:0}
.gaffalo-action .new-job-copy strong,.gaffalo-action .home-shortcut-copy strong{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:29px;line-height:1.1;letter-spacing:.8px;font-weight:900;color:#fff;text-transform:uppercase}
.gaffalo-action .new-job-copy>span,.gaffalo-action .home-shortcut-copy>span{font-size:14px;line-height:1.45;color:#bdbdbd;margin-top:6px}
.gaffalo-action .home-shortcut-icon{width:64px;height:54px;border:0;border-radius:0;background:none;box-shadow:none;transform:none}
.home-shortcut-icon .gaffalo-receipt{width:38px;height:46px;transform:rotate(-7deg);transition:transform .2s ease}
.gaffalo-receipt .receipt-paper{fill:#f2f2f2}.gaffalo-receipt .receipt-ink{stroke:#111}
.home-past-shortcut .receipt-paper{fill:var(--gaffalo-green)}
.home-past-shortcut.gaffalo-action{margin-top:12px;background:linear-gradient(120deg,#181818,#0d0d0d)}
.gaffalo-action .new-job-arrow,.gaffalo-action .home-shortcut-arrow{display:grid;place-items:center;width:39px;height:43px;flex:none;border:0;border-radius:0;background:#efefef;color:#111;box-shadow:none;transform:none;clip-path:polygon(0 0,100% 0,100% 100%,86% 90%,71% 100%,57% 90%,43% 100%,29% 90%,14% 100%,0 90%);transition:transform .16s ease}
.gaffalo-action .new-job-arrow{background:var(--gaffalo-green)}
.gaffalo-action .new-job-arrow svg,.gaffalo-action .home-shortcut-arrow svg{width:22px;height:22px;stroke-width:2.3;margin-top:-3px}
.gaffalo-action:focus-visible{outline:2px solid #fff;outline-offset:4px}
.gaffalo-action:active{transform:translateY(2px) scale(.99);box-shadow:inset 0 1px 0 #ffffff0c,0 2px 7px #0003}
.gaffalo-action:active .new-job-arrow{transform:rotate(7deg) scale(.95)}
.gaffalo-action:active .home-shortcut-arrow{transform:translateX(3px)}
.new-job-cta.gaffalo-action.new-job-green{background:radial-gradient(ellipse at 0 50%,#38e33e08,transparent 65%),linear-gradient(120deg,#202820,#111611);border-color:#405b43;box-shadow:inset 0 1px 0 #ffffff0c,0 4px 14px #0003;color:#f3f3f3;margin-bottom:24px}
.new-job-green.gaffalo-action .new-job-copy strong{color:#f3f3f3}.new-job-green.gaffalo-action .new-job-copy>span{color:#b7c1b8}.new-job-green.gaffalo-action .new-job-arrow{background:#1c3020;color:#69dc70;border:0;box-shadow:none}
.gaffalo-celebration{width:48px;height:48px}.gaffalo-celebration>img{display:block;width:100%;height:100%;border-radius:12px;object-fit:contain}.gaffalo-celebration .invoice-money-burst i{color:#38e33e}
@media(hover:hover){.gaffalo-action:hover,.new-job-cta.gaffalo-action.new-job-green:hover{border-color:#858585;box-shadow:inset 0 1px 0 #ffffff12,0 7px 20px #0005}.gaffalo-action:hover::after{transform:rotate(9deg)}.home-shortcut.gaffalo-action:hover{background:linear-gradient(120deg,#252525,#151515)}.gaffalo-action:hover .gaffalo-receipt{transform:rotate(0) translateY(-2px)}.gaffalo-action:hover .new-job-arrow{transform:rotate(5deg)}.gaffalo-action:hover .home-shortcut-arrow{transform:translateX(2px)}}
@media(hover:hover){.new-job-cta.gaffalo-action.new-job-green:hover{border-color:#648068;box-shadow:inset 0 1px 0 #ffffff12,0 7px 20px #0005}}
@media screen and (max-width:400px){.gaffalo-action,.new-job-cta.gaffalo-action{gap:12px;padding:15px 14px}.gaffalo-action{min-height:86px}.new-job-cta.gaffalo-action{min-height:96px}.gaffalo-action .new-job-icon.gaffalo-mascot{width:54px;height:54px}.gaffalo-action .home-shortcut-icon{width:54px;height:48px}.gaffalo-action .new-job-copy strong,.gaffalo-action .home-shortcut-copy strong{font-size:26px}.gaffalo-action .new-job-copy>span,.gaffalo-action .home-shortcut-copy>span{font-size:13px}.gaffalo-action .new-job-arrow,.gaffalo-action .home-shortcut-arrow{width:32px;height:37px}}
@media(prefers-reduced-motion:reduce){.gaffalo-action,.gaffalo-action .gaffalo-receipt,.gaffalo-action .new-job-arrow,.gaffalo-action .home-shortcut-arrow{transition:none!important}.gaffalo-action:active,.gaffalo-action:active .new-job-arrow,.gaffalo-action:active .home-shortcut-arrow,.gaffalo-action:hover .gaffalo-receipt,.gaffalo-action:hover .new-job-arrow,.gaffalo-action:hover .home-shortcut-arrow{transform:none}}

/* Gaffalo job setup: rounded backstage surfaces, clear fields and a paid receipt CTA. */
.modal-title-copy{flex:1;min-width:0}
dialog.gaffalo-job-dialog{--gaffalo-green:#38e33e;width:min(540px,calc(100vw - 24px));max-height:90dvh;border:1px solid #414141;border-radius:28px;background:#0d0d0d;box-shadow:0 28px 100px #000b,inset 0 1px 0 #ffffff10;color:#f4f4f4;scroll-padding-top:18px;scroll-padding-bottom:90px}
.gaffalo-job-dialog .modal-header{position:relative;gap:13px;padding:23px 22px 20px;background:radial-gradient(ellipse at 0 0,#38e33e07,transparent 70%),linear-gradient(120deg,#222,#121212);border-bottom:1px solid #303030;align-items:center}
.gaffalo-job-dialog .modal-header::after{content:"";position:absolute;right:29px;top:0;width:29px;height:5px;background:#eee;clip-path:polygon(0 0,100% 0,92% 40%,100% 80%,88% 100%,9% 100%,0 60%);transform:rotate(-8deg);pointer-events:none}
.gaffalo-dialog-label{display:block;color:#b8b8b8;font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:11px;letter-spacing:2.2px;line-height:1.3;margin-bottom:5px}
.gaffalo-job-dialog .modal-header h2{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:34px;line-height:1.08;letter-spacing:.7px;font-weight:900;text-transform:uppercase;color:#fff}
.gaffalo-job-dialog .job-cheer{font-family:'DM Sans',system-ui,sans-serif;font-size:14px;text-transform:none;color:#c6c6c6;letter-spacing:0;font-weight:450;line-height:1.4;margin-top:7px}
.gaffalo-job-dialog .gaffalo-celebration{width:56px;height:56px}.gaffalo-job-dialog .gaffalo-celebration>img{border-radius:16px}
.gaffalo-job-dialog .modal-header>.icon-button{width:42px;height:42px;min-height:42px;flex:none;border:1px solid #3e3e3e;border-radius:50%;background:#1f1f1f;color:#e3e3e3;display:grid;place-items:center}
.gaffalo-job-dialog .modal-header>.icon-button svg{width:18px;height:18px}
.gaffalo-job-dialog .modal-body{padding:22px 22px 0}
.gaffalo-job-dialog .field{gap:9px;margin-bottom:20px}
.gaffalo-job-dialog .field label{color:#e3e3e3;font-size:15px;font-family:Manrope,system-ui,sans-serif;font-weight:700;line-height:1.35}
.gaffalo-job-dialog input:not([type=checkbox]):not([type=radio]),.gaffalo-job-dialog select,.gaffalo-job-dialog textarea{background-color:#191919;border:1px solid #3b3b3b;border-radius:18px;min-height:54px;padding:15px 16px;font-size:16px;line-height:1.4;color:#f2f2f2;box-shadow:inset 0 1px 0 #ffffff05;transition:border-color .16s ease,background-color .16s ease;scroll-margin:20px}
.gaffalo-job-dialog textarea{min-height:96px;resize:vertical}
.gaffalo-job-dialog input::placeholder,.gaffalo-job-dialog textarea::placeholder{color:#909090}
.gaffalo-job-dialog input:not([type=checkbox]):not([type=radio]):focus,.gaffalo-job-dialog select:focus,.gaffalo-job-dialog textarea:focus{border-color:#a3a3a3;background-color:#1e1e1e;box-shadow:0 0 0 3px #ffffff09;outline:none}
.gaffalo-job-dialog .field small{color:#a7a7a7;font-size:13px;line-height:1.5}
.gaffalo-job-dialog .fold{border:1px solid #333;border-radius:18px;background:#151515;margin:4px 0 20px}
.gaffalo-job-dialog .fold>summary{min-height:52px;padding:13px 16px;font-size:14px;font-weight:600;color:#cfcfcf;gap:10px}
.gaffalo-job-dialog .fold-chevron{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#292929;color:#ccc;font-size:20px}
.gaffalo-job-dialog .fold-body{padding:18px 16px;border-top-color:#303030}
.gaffalo-job-dialog .fold-body>.field:last-child{margin-bottom:0}
.gaffalo-job-dialog .rule-line{border-radius:15px;background:#202020;border-color:#393939;color:#bfbfbf;font-size:13px;padding:13px 15px}
.gaffalo-job-dialog .check-field{font-size:14px;line-height:1.5;align-items:flex-start}.gaffalo-job-dialog .check-field input{margin-top:3px;flex:none;accent-color:#dedede}
.gaffalo-job-dialog #profile-rate,.gaffalo-job-dialog #profile-perdiem{color:var(--gaffalo-green);font-weight:650}
.gaffalo-job-dialog .modal-footer{position:sticky;bottom:0;z-index:2;display:flex;gap:10px;flex-wrap:wrap;padding:16px 0 max(20px,env(safe-area-inset-bottom));margin:0;background:#0d0d0df5;backdrop-filter:blur(12px);border-top:1px solid #303030}
.gaffalo-job-dialog .modal-footer .button{min-height:54px;border-radius:18px;font-size:15px;padding:13px 18px}
.gaffalo-job-dialog .modal-footer .button.secondary{background:#202020;color:#d7d7d7;border:1px solid #3c3c3c}
.gaffalo-job-dialog .modal-footer .button[type=submit]{flex:1;min-width:150px;background:var(--gaffalo-green);color:#101710;border:1px solid #74ed78;box-shadow:inset 0 1px 0 #ffffff35;font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:23px;letter-spacing:.5px;font-weight:850;text-transform:uppercase;gap:10px;transition:transform .15s ease,background-color .15s ease}
.gaffalo-job-dialog .gaffalo-submit .gaffalo-receipt{width:22px;height:28px;flex:none}.gaffalo-job-dialog .gaffalo-submit .receipt-paper{fill:#101710}.gaffalo-job-dialog .gaffalo-submit .receipt-ink{stroke:var(--gaffalo-green)}
.gaffalo-job-dialog .gaffalo-submit>span{flex:1}.gaffalo-job-dialog .gaffalo-submit>svg:last-child{width:20px;height:20px;stroke-width:2.2;flex:none}
.gaffalo-job-dialog .modal-footer .button[type=submit]:hover{background:#63ee62}.gaffalo-job-dialog .modal-footer .button[type=submit]:active{transform:scale(.98)}
.gaffalo-job-dialog .modal-footer .button:focus-visible,.gaffalo-job-dialog .modal-header>.icon-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gaffalo-job-dialog .modal-footer .button.danger{width:100%;order:3;min-height:44px;background:transparent;border:0;box-shadow:none;color:#aaa;font-size:14px}
.gaffalo-job-dialog .error{font-size:14px;line-height:1.5}
@media screen and (max-width:400px){dialog.gaffalo-job-dialog{border-radius:24px}.gaffalo-job-dialog .modal-header{padding:21px 18px 18px;gap:10px}.gaffalo-job-dialog .modal-header h2{font-size:30px}.gaffalo-job-dialog .gaffalo-celebration{width:49px;height:49px}.gaffalo-job-dialog .modal-body{padding:20px 18px 0}.gaffalo-job-dialog .field-row{grid-template-columns:1fr;gap:0}.gaffalo-job-dialog .modal-footer .button{padding:13px 15px}.gaffalo-job-dialog .modal-footer .button[type=submit]{font-size:22px}}
@media(prefers-reduced-motion:reduce){.gaffalo-job-dialog input,.gaffalo-job-dialog select,.gaffalo-job-dialog textarea,.gaffalo-job-dialog .modal-footer .button[type=submit]{transition:none}.gaffalo-job-dialog .modal-footer .button[type=submit]:active{transform:none}}

/* Invoices: mobile export actions and paper previews with saved business branding. */
.job-invoice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 20px}.job-invoice-actions .button{min-height:52px;border-radius:16px;font-size:15px;gap:8px;white-space:normal}.job-invoice-actions svg{width:19px;height:19px;flex:none}
.button.invoice-share-button{background:#38e33e;border:1px solid #6deb72;color:#101710;box-shadow:inset 0 1px 0 #ffffff30}.button.invoice-share-button:hover{background:#61ee65}
.invoice-export-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.invoice-export-actions .button{display:flex;flex-direction:column;gap:6px;min-height:65px;padding:10px 8px;border-radius:16px;font-size:14px;white-space:normal}.invoice-export-actions svg{width:20px;height:20px}
.invoice-controls .page-heading{margin-bottom:0}.invoice-controls .page-heading h1{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:32px;letter-spacing:.7px;text-transform:uppercase}
.invoice-edit-details,.invoice-customize{border-radius:18px;margin:12px 0}.invoice-edit-details .field label{font-size:14px;font-weight:650}.invoice-edit-details input,.invoice-edit-details textarea{border-radius:14px;font-size:16px;min-height:50px}.invoice-edit-details .invoice-meta-fields{grid-template-columns:1fr 1fr}.invoice-edit-details .invoice-meta-fields .field:first-child{grid-column:1 / -1}
.invoice-style-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}.invoice-style-option{display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 8px;background:#1e1e1e;border:1px solid #414141;border-radius:14px;min-width:0;color:#d7d7d7;touch-action:manipulation}.invoice-style-option strong{font-size:14px;font-weight:650}.invoice-style-option.active{border-color:#eee;box-shadow:0 0 0 1px #eee;background:#2c2c2c;color:#fff}.invoice-style-option:focus-visible{outline:2px solid #fff;outline-offset:3px}
.invoice-style-mini{position:relative;display:block;width:51px;height:61px;background:#fff;border-radius:3px;padding:15px 7px 0;box-shadow:0 2px 8px #0005}.invoice-style-mini i{display:block;width:100%;height:2px;background:#bcbcbc;margin-bottom:5px}.invoice-style-mini i:first-child{height:5px;width:68%;background:#343434;margin-bottom:8px}.invoice-style-mini b{position:absolute;bottom:9px;right:7px;width:20px;height:4px;background:#555}.mini-studio{padding-top:25px}.mini-studio::before{content:"";position:absolute;inset:0 0 auto;height:17px;border-radius:3px 3px 0 0;background:#252525}.mini-studio i:first-child{height:2px;background:#bcbcbc;margin-bottom:5px}.mini-gaffalo::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#38e33e;border-radius:3px 3px 0 0}.mini-gaffalo b{background:#38e33e}
.invoice-logo-setting{border-top:1px solid #383838;padding-top:17px}.invoice-logo-setting .button{font-size:14px;min-height:48px;border-radius:14px}.invoice-logo-setting .help-text{font-size:13px;color:#999;line-height:1.6;margin:10px 0 0}.invoice-logo-toggle{margin:16px 0 0;font-size:14px}.invoice-logo-toggle input{accent-color:#ddd}.invoice-logo-preview{display:flex;align-items:center;gap:12px;margin-bottom:14px}.invoice-logo-preview>img{width:72px;height:54px;object-fit:contain;border:1px solid #444;border-radius:10px;background:#fff;padding:6px}.invoice-logo-preview>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;color:#bbb}.invoice-logo-preview>.icon-button{width:40px;height:40px;flex:none;border-radius:50%;background:#282828}.invoice-logo-preview>.icon-button svg{width:16px;height:16px}
.invoice-sheet{--invoice-ink:#252525;--invoice-muted:#666;--invoice-accent:#252525;background:#fff;color:var(--invoice-ink);border:1px solid #dedede;border-radius:18px;padding:30px;margin-top:22px;overflow:hidden}
.invoice-sheet .invoice-top{border-color:#ddd;align-items:flex-start}.invoice-sheet .invoice-top>div:first-child{min-width:0}.invoice-sheet .eyebrow{color:#666;font-size:11px;letter-spacing:1.5px}.invoice-sheet .invoice-top h2{color:var(--invoice-ink);font-size:23px;overflow-wrap:anywhere}.invoice-sheet .invoice-top p,.invoice-sheet .invoice-total small{color:var(--invoice-muted);font-size:12px}.invoice-sheet .invoice-total strong{color:var(--invoice-accent);font-size:27px}.invoice-business-logo{display:block;max-width:130px;max-height:66px;object-fit:contain;object-position:left center;margin-bottom:15px}.invoice-business-logo[hidden]{display:none}
.invoice-sheet .invoice-parties small,.invoice-sheet .invoice-notes small{color:var(--invoice-muted);font-size:10px}.invoice-sheet .invoice-parties strong{color:var(--invoice-ink);font-size:13px}.invoice-sheet .invoice-project{background:#f3f3f3;color:var(--invoice-ink);font-size:14px;flex-wrap:wrap}.invoice-sheet .invoice-project>span{color:#666;font-size:12px}.invoice-sheet .invoice-project .work-summary{color:#666;width:100%;margin:0;font-size:12px;line-height:1.6}
.invoice-sheet .invoice-table{font-size:12px;min-width:540px}.invoice-sheet .invoice-table th{color:#555;font-size:11px;background:#eee;border-color:#ddd}.invoice-sheet .invoice-table td{color:var(--invoice-ink);border-color:#e5e5e5}.invoice-sheet .invoice-table td small{color:#666;font-size:11px;line-height:1.6}.invoice-sheet .invoice-table tbody tr:nth-child(even){background:#fafafa}.invoice-sheet .money{color:var(--invoice-accent)}.invoice-sheet .invoice-table .money{color:#252525}
.invoice-sheet .invoice-bottom{gap:30px}.invoice-sheet .invoice-notes p{color:#666;font-size:12px;line-height:1.7}.invoice-sheet .invoice-totals div{color:#666;font-size:12px}.invoice-sheet .invoice-totals strong{color:var(--invoice-accent);white-space:nowrap}.invoice-sheet .invoice-totals .grand-total{border-color:#ddd;color:#252525;font-size:15px}.invoice-sheet .invoice-payment-line{margin-top:15px}.invoice-sheet .invoice-balance-due{background:#f1f1f1;border:0!important;border-radius:9px;padding:13px!important;margin-top:0}.invoice-sheet .invoice-footnote{color:#777;border-color:#ddd;font-size:10px;line-height:1.5}
.invoice-sheet[data-invoice-style=studio] .invoice-top{margin:-30px -30px 0;padding:30px;background:#1a1a1a;border:0}.invoice-sheet[data-invoice-style=studio] .invoice-top h2,.invoice-sheet[data-invoice-style=studio] .invoice-top .money{color:#fff}.invoice-sheet[data-invoice-style=studio] .invoice-top p,.invoice-sheet[data-invoice-style=studio] .invoice-top .eyebrow,.invoice-sheet[data-invoice-style=studio] .invoice-total small{color:#c5c5c5}.invoice-sheet[data-invoice-style=studio] .invoice-business-logo{background:#fff;border-radius:6px;padding:5px}.invoice-sheet[data-invoice-style=studio] .invoice-table th{background:#1b1b1b;color:#fff}
.invoice-sheet[data-invoice-style=gaffalo]{--invoice-accent:#1a7125;border-top:6px solid #38e33e}.invoice-sheet[data-invoice-style=gaffalo] .eyebrow{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:24px;letter-spacing:.8px;color:#202020}.invoice-sheet[data-invoice-style=gaffalo] .invoice-table th{background:#1b1b1b;color:#fff}.invoice-sheet[data-invoice-style=gaffalo] .invoice-balance-due{background:#e2f8e3}
@media screen and (max-width:600px){.invoice-sheet{padding:21px;border-radius:15px}.invoice-sheet .invoice-top{gap:12px;flex-direction:column}.invoice-sheet .invoice-total{text-align:left}.invoice-sheet .invoice-total strong{font-size:29px}.invoice-sheet .invoice-parties{grid-template-columns:1fr 1fr;gap:18px;padding:24px 0}.invoice-sheet .invoice-parties>div:first-child{grid-column:1 / -1}.invoice-sheet .invoice-bottom{grid-template-columns:1fr;gap:22px}.invoice-sheet[data-invoice-style=studio] .invoice-top{margin:-21px -21px 0;padding:21px}.invoice-export-actions .button{font-size:13px}.job-invoice-actions .button{font-size:14px;padding:12px 10px}}
@media print{.invoice-sheet .invoice-table{min-width:0}.invoice-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact}.invoice-business-logo{max-height:54px}}
/* Optional work-date picker: large touch targets, monochrome selection. */
.job-calendar{min-width:0}.job-calendar .help-text{font-size:14px;line-height:1.55}.calendar-toolbar{display:flex;align-items:center;gap:10px;margin:18px 0 14px}.calendar-nav{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #414141;background:#222;border-radius:15px}.calendar-month{flex:1;min-width:0}.calendar-month input{width:100%;min-width:0;text-align:center;font-size:16px;font-weight:700;padding:10px 6px;border-radius:15px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-weekdays span{text-align:center;color:#b4b4b4;font-size:13px;font-weight:700;padding:5px 0 9px}.calendar-day{min-width:0;min-height:44px;background:#232323;border:1px solid transparent;border-radius:12px;font-size:16px;font-weight:700;transition:background .15s,transform .15s}.calendar-day.selected{color:#111;background:#f5f5f5;border-color:#fff}.calendar-day.is-today:not(.selected){border-color:#aaa}.calendar-day:active{transform:scale(.92)}.calendar-spacer[hidden]{display:none}.calendar-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.calendar-selection p{margin:0;font-size:14px;font-weight:600;line-height:1.45}.calendar-selection .text-button{min-height:44px;white-space:nowrap;color:#ddd;font-size:14px}.calendar-chips{display:flex;flex-wrap:wrap;gap:7px;max-height:160px;overflow:auto;margin:8px 0 16px}.calendar-chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;background:#292929;border:1px solid #454545;border-radius:12px;font-size:14px}.calendar-chip svg{width:14px;height:14px}.scheduled-label{color:#bcbcbc;font-size:14px!important}.scheduled-preview{border:1px dashed #555;background:#232323;border-radius:16px;padding:15px;font-size:14px;line-height:1.6}.gaffalo-job-dialog .calendar-day.selected{background:#f5f5f5;color:#111}.gaffalo-job-dialog .calendar-nav{background:#292929}.calendar-grid button:focus-visible{outline-offset:0}@media(max-width:360px){.calendar-grid,.calendar-weekdays{gap:1px}.calendar-day{border-radius:9px}.calendar-toolbar{gap:5px}.calendar-selection{align-items:flex-start;flex-direction:column;gap:0}}@media(prefers-reduced-motion:reduce){.calendar-day{transition:none}.calendar-day:active{transform:none}}
.gaffalo-job-dialog .job-calendar-fold .fold-body{padding:16px 8px}.gaffalo-job-dialog .calendar-month input{padding:12px 6px;min-height:48px}.job-calendar-fold>summary>.summary-count{margin-left:auto}.job-calendar-fold>summary>svg{width:18px;height:18px}
.job-schedule{margin:0 0 18px;padding:16px;background:#191919;border:1px solid #3b3b3b;border-radius:22px}.job-schedule-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.schedule-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #444;border-radius:14px;background:#252525;flex:none}.job-schedule-heading h3{margin:0;font-family:Manrope,system-ui,sans-serif;font-size:17px;font-weight:800;letter-spacing:-.3px}.job-schedule-heading p{margin:4px 0 0;font-size:14px;color:#aaa}.job-length-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#0f0f0f;border:1px solid #363636;border-radius:17px}.job-length-options label{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;margin:0!important;border-radius:12px;color:#bbb!important;font-size:15px!important;font-weight:700!important;cursor:pointer;transition:background .16s,color .16s}.job-length-options input:checked+label{color:#111!important;background:#f3f3f3;box-shadow:0 2px 7px #0004}.job-length-options input:focus-visible+label{outline:2px solid #fff;outline-offset:2px}.job-length-options input.visually-hidden{min-height:0!important;padding:0!important;border:0!important;width:1px!important}.gaffalo-job-dialog .job-single-date{margin:16px 0 0}.job-single-date[hidden],#job-multiple-dates[hidden]{display:none}.job-schedule:has(#job-length-multi:checked){margin-bottom:10px}.job-length-options label:active{transform:scale(.98)}@media(prefers-reduced-motion:reduce){.job-length-options label{transition:none}.job-length-options label:active{transform:none}}
/* Gaffalo day-order menu, shared by the job and invoice views. */
.day-order-menu{padding:16px;border:1px solid #3c3c3c;border-radius:20px;background:linear-gradient(145deg,#222,#121212);margin:16px 0;box-shadow:inset 0 1px 0 #ffffff06}.day-order-heading{display:flex;gap:10px;align-items:center;margin-bottom:14px}.day-order-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#0e0e0e;border:1px solid #444;flex:none}.day-order-icon svg{width:18px;height:18px}.day-order-heading>div{flex:1;min-width:0}.day-order-heading>div>strong{display:block;font-size:16px;font-weight:750;color:#f6f6f6}.day-order-heading small{display:block;color:#a8a8a8;font-size:12px;line-height:1.5;margin-top:3px}.day-order-total{text-align:right;flex:none}.day-order-total>strong{font-size:17px;font-weight:750;color:#62e36a}.day-order-total>small{font-size:11px;margin:0}.day-order-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#090909;border:1px solid #333;border-radius:16px}.day-order-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 7px;border:1px solid transparent;border-radius:11px;background:transparent;color:#bfbfbf;font-size:14px;font-weight:750;transition:background .16s,transform .16s}.day-order-button.active{background:#f2f2f2;border-color:#fff;color:#101010;box-shadow:0 2px 8px #0004}.day-order-arrow{display:flex;align-items:center}.day-order-arrow svg{width:16px;height:16px;stroke-width:2}.day-order-arrow.asc{transform:rotate(-90deg)}.day-order-arrow.desc{transform:rotate(90deg)}.day-order-button:focus-visible{outline:2px solid #fff;outline-offset:0}.day-order-button:active{transform:scale(.98)}.timesheet-fold .day-order-menu{margin:14px 12px}.timesheet-fold{border-radius:23px;border-color:#3c3c3c;background:#111}.timesheet-fold>summary{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:21px;letter-spacing:.35px;text-transform:uppercase;padding:18px}.timesheet-fold .fold-chevron,.gaffalo-job-options .fold-chevron{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:#2b2b2b;color:#ddd}.timesheet-fold .day-card{background:#171717;padding:19px 18px;transition:background .15s}.timesheet-fold .day-card:hover{background:#202020}.timesheet-fold .day-card-top strong{font-weight:750;font-size:20px}.timesheet-fold .day-card-top .money{color:#62e36a;font-size:19px}.timesheet-fold .day-edit-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #464646;background:#242424;border-radius:20px;padding:4px 9px;font-size:12px!important;color:#ddd}.timesheet-fold .day-edit-label svg{width:13px;height:13px}.gaffalo-job-options{border-radius:20px;background:#151515;border-color:#3b3b3b}.gaffalo-job-options>summary{font-size:16px;font-weight:700}.gaffalo-job-options .button{border-radius:16px;background:#222;border:1px solid #444;min-height:50px}.gaffalo-job-options .payment-action{color:#66e16d;border-color:#345339;background:#17231a}.invoice-controls{padding:20px;border:1px solid #3c3c3c;border-radius:25px;background:linear-gradient(145deg,#1b1b1b,#0e0e0e);box-shadow:inset 0 1px 0 #ffffff06}.invoice-menu-brand{display:flex;gap:13px;align-items:center}.invoice-menu-brand>img{width:52px;height:52px;object-fit:contain;flex:none}.invoice-menu-brand>div{min-width:0;flex:1}.invoice-menu-brand>div>span{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:12px;letter-spacing:1.5px;color:#c4c4c4}.invoice-menu-brand .page-heading h1{font-size:30px;line-height:1.15;margin-top:4px}.invoice-menu-brand .page-heading p{font-size:14px;line-height:1.4;margin-top:6px}.invoice-menu-brand .heading-actions{display:none}.invoice-controls .back{margin-bottom:18px}.invoice-controls .invoice-export-actions .button.secondary{background:#222;border:1px solid #484848;color:#eee;box-shadow:inset 0 1px 0 #ffffff05}.invoice-controls .fold{background:#151515;border:1px solid #3c3c3c;border-radius:20px}.invoice-controls .fold>summary{font-size:15px;font-weight:750;min-height:56px;padding:14px 16px}.invoice-controls .fold-chevron{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;background:#2c2c2c;color:#ddd}.invoice-controls .fold-body{padding:16px}.invoice-controls .field input,.invoice-controls .field textarea{background:#1c1c1c;border-color:#464646;border-radius:16px;color:#f2f2f2;min-height:52px;font-size:16px}.invoice-controls .field input:focus,.invoice-controls .field textarea:focus{border-color:#bdbdbd;outline:0;box-shadow:0 0 0 3px #ffffff0c}.invoice-controls .button{border-radius:16px}.invoice-controls .invoice-style-option{background:#202020;border-radius:17px}.invoice-controls .invoice-style-option.active{background:#303030;border-color:#fff}.invoice-controls>.fold:last-child{margin-bottom:0}.invoice-controls .day-order-menu{padding:13px;margin:16px 0}.invoice-controls .invoice-logo-toggle input{accent-color:#ddd}@media(max-width:400px){.invoice-controls{padding:16px}.day-order-heading{gap:8px}.day-order-icon{width:32px;height:32px;border-radius:11px}.day-order-heading>div>strong{font-size:15px}.day-order-heading small{font-size:11px}.day-order-total>strong{font-size:15px}.day-order-button{gap:5px;font-size:13px;padding:10px 5px}.timesheet-fold .day-order-menu{padding:12px;margin:12px 10px}.invoice-menu-brand .page-heading h1{font-size:28px}.invoice-menu-brand>img{width:46px;height:46px}.invoice-controls .invoice-export-actions{gap:6px}.invoice-controls .invoice-export-actions .button{font-size:12px}.invoice-controls .field-row{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.day-order-button,.timesheet-fold .day-card{transition:none}.day-order-button:active{transform:none}}
.job-identity{border-bottom:1px solid #353535;margin-bottom:22px;padding-bottom:2px}.gaffalo-job-dialog .optional-label{font-size:12px;color:#989898;font-weight:400;margin-left:7px}.batch-days-button{margin-top:11px!important;min-height:46px!important;border:1px solid #494949!important;border-radius:13px!important;background:#262626!important;color:#eee!important;font-size:14px!important;font-weight:700;gap:8px}.batch-days-button svg{width:16px;height:16px}.batch-selection-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;margin:20px 0 12px}.batch-selection-header>span{color:#bbb;font-size:13px}.batch-selection-tools{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-bottom:12px}.batch-selection-tools .button{min-height:44px;padding:10px 5px;border:1px solid #414141;border-radius:13px;background:#222;font-size:13px;color:#eee}.batch-day-list{max-height:260px;overflow:auto;overscroll-behavior:contain;border:1px solid #414141;border-radius:18px;background:#111}.gaffalo-job-dialog .batch-day-choice{display:flex;align-items:center;gap:12px;padding:15px 13px;margin:0;min-height:68px;border-bottom:1px solid #353535;cursor:pointer}.batch-day-choice:last-child{border-bottom:0}.batch-day-choice:has(input:checked){background:#2b2b2b}.gaffalo-job-dialog .batch-day-choice input{width:22px;height:22px;min-height:22px;margin:0;flex:none;accent-color:#eee}.batch-day-choice>span{min-width:0;flex:1}.batch-day-choice strong{display:block;font-size:16px;color:#eee;font-weight:750;line-height:1.4}.batch-day-choice small{display:block;font-size:13px;color:#aaa;line-height:1.5;margin-top:5px}.batch-day-choice:focus-within{outline:2px solid #ddd;outline-offset:-3px}.batch-section-heading{font-size:15px;font-weight:750;padding:22px 0 16px}.gaffalo-job-dialog .batch-day-form .field small{font-size:13px;line-height:1.6}.batch-preview{padding:15px;background:#111;border:1px solid #3f3f3f;border-radius:18px;font-size:14px;line-height:1.55;margin:18px 0}.batch-preview>span{color:#c9c9c9}.batch-preview>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}.batch-preview>div strong{font-size:19px;color:#66e16d;font-weight:750}.batch-preview>div strong small{color:#aaa;font-weight:400}.batch-preview p{margin:10px 0 0;font-size:13px;color:#aaa}.batch-preview>p:first-child{margin:0}.gaffalo-job-dialog:has(.batch-day-form) .modal-header h2{font-size:29px;line-height:1.1}.gaffalo-job-dialog .batch-day-form .modal-footer .button[type=submit]{font-size:18px}.gaffalo-job-dialog .batch-day-form #batch-perdiem{color:#66e16d}.gaffalo-job-dialog .batch-extra-options{margin-top:0}@media(max-width:360px){.batch-selection-tools{gap:5px}.batch-selection-tools .button{font-size:12px}.gaffalo-job-dialog:has(.batch-day-form) .modal-header h2{font-size:25px}.gaffalo-job-dialog .batch-day-choice{padding:13px 10px}}
/* Keep gestures inside dialogs and leave space for the phone keyboard. */
dialog,dialog.gaffalo-job-dialog{overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;max-height:min(90dvh,calc(var(--dialog-viewport-height,100dvh) - 20px))}
.gaffalo-day-dialog .modal-header{position:sticky;top:0;z-index:4;padding:15px 16px;gap:10px;background:linear-gradient(120deg,#202020,#101010)}.gaffalo-day-dialog .modal-header h2{font-size:26px;line-height:1.1}.gaffalo-day-dialog .gaffalo-celebration{width:38px;height:38px;flex:none}.gaffalo-day-dialog .gaffalo-celebration>img{border-radius:11px}.gaffalo-day-dialog .gaffalo-dialog-label{font-size:10px;margin-bottom:3px}.gaffalo-day-dialog .modal-header>.icon-button{width:40px;height:40px;min-height:40px}.gaffalo-day-dialog .modal-body{padding:16px 16px 0}.gaffalo-day-dialog .compact-day-panel{border:0;margin:0;background:transparent;border-radius:0}.gaffalo-day-dialog .compact-day-form{padding:0}.gaffalo-day-dialog .field{margin-bottom:13px;gap:6px;min-width:0}.gaffalo-day-dialog .field label{font-size:13px;color:#d1d1d1}.gaffalo-day-dialog input:not([type=checkbox]):not([type=radio]),.gaffalo-day-dialog select,.gaffalo-day-dialog textarea{min-width:0;min-height:48px;padding:11px 12px;border-radius:14px;font-size:16px;width:100%}.gaffalo-day-dialog textarea{min-height:68px}.gaffalo-day-dialog .day-fields,.gaffalo-day-dialog #entry-inputs>.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gaffalo-day-dialog .day-entry-method{margin:0 0 13px;padding:4px;border:1px solid #3d3d3d;border-radius:15px;background:#080808}.gaffalo-day-dialog .day-entry-method button{min-height:44px;padding:8px;border-radius:11px;font-size:14px;font-weight:700;color:#bbb}.gaffalo-day-dialog .day-entry-method button.active{background:#eee;color:#111}.gaffalo-day-dialog .input-affix input{padding-right:58px}.gaffalo-day-dialog .input-affix span{top:15px;right:12px;font-size:13px}.gaffalo-day-dialog .perdiem-row{gap:6px;margin-bottom:13px;min-height:44px}.gaffalo-day-dialog .perdiem-row>span{font-size:14px;min-width:0}.gaffalo-day-dialog .perdiem-toggle{flex:none;padding:3px;border-radius:13px}.gaffalo-day-dialog .perdiem-toggle label{min-width:40px;min-height:38px;display:flex;justify-content:center;align-items:center;font-size:14px;border-radius:10px;padding:7px}.gaffalo-day-dialog .perdiem-toggle input.visually-hidden{width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important}.gaffalo-day-dialog .perdiem-amount{width:85px;flex:none}.gaffalo-day-dialog .perdiem-amount input{min-height:44px;padding:8px 8px 8px 22px;width:85px;color:#66e16d}.gaffalo-day-dialog .perdiem-amount>span{font-size:14px;top:12px}.gaffalo-day-dialog .fold{margin:0 0 12px;border-radius:16px}.gaffalo-day-dialog .fold>summary{padding:11px 12px;min-height:44px;font-size:14px}.gaffalo-day-dialog .fold-body{padding:14px 12px}.day-settings-title{display:block;min-width:0;flex:1}.day-settings-title>strong{display:block;font-size:14px;font-weight:700}.day-settings-title>small{display:flex;gap:5px 10px;flex-wrap:wrap;margin-top:5px;font-size:12px;line-height:1.5;color:#aaa}.day-settings-title b{color:#66e16d;font-size:12px;font-weight:650}.gaffalo-day-dialog .entry-result{margin:0 0 12px;padding:0;border:0}.gaffalo-day-dialog .preview-sum{margin:0;padding:12px 14px;background:#1e1e1e;border:1px solid #3d3d3d;border-radius:16px;gap:10px;font-size:14px}.gaffalo-day-dialog .preview-sum strong{font-size:27px;color:#66e16d}.gaffalo-day-dialog .entry-result>.fold{margin:10px 0 0}.gaffalo-day-dialog .hours-strip{margin-bottom:17px;gap:9px}.gaffalo-day-dialog .hours-strip span{font-size:12px}.gaffalo-day-dialog .hours-strip strong{font-size:20px}.gaffalo-day-dialog .breakdown-line{font-size:13px;gap:10px}.gaffalo-day-dialog .weekly-note{font-size:12px;margin:0 0 15px}.gaffalo-day-dialog .scheduled-preview{margin:0 0 12px;padding:12px;font-size:13px}.gaffalo-day-dialog .modal-footer{padding:12px 0 max(14px,env(safe-area-inset-bottom));gap:8px}.gaffalo-day-dialog .modal-footer .button{min-height:48px;padding:11px 13px;border-radius:15px}.gaffalo-day-dialog .modal-footer .button[type=submit]{font-size:20px;min-width:130px}.gaffalo-day-dialog .error:empty{margin:0}.gaffalo-day-dialog .field small,.gaffalo-day-dialog .rule-line{font-size:12px;line-height:1.6}.gaffalo-day-dialog .time-options .subtle{font-size:12px}.gaffalo-day-dialog .perdiem-toggle input:focus-visible+label{outline:2px solid #fff;outline-offset:1px}

/* Gaffalo road-case status stamps: white for work, green for paid money. */
.job-status-graphic{display:inline-flex;align-items:center;gap:10px;min-width:0;color:#eee;text-align:left}
.status-road-case{width:62px;height:55px;flex:none;filter:drop-shadow(0 3px 3px #0008);transition:transform .2s}
.status-case-shell{fill:#202020}
.job-status-copy{display:block;min-width:0}
.job-status-copy strong{display:flex;align-items:center;gap:7px;font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:20px;letter-spacing:.6px;text-transform:uppercase;line-height:1.1;color:#f4f4f4}
.job-status-copy small{display:block;color:#b7b7b7;font-size:13px;font-weight:550;line-height:1.5;margin-top:4px}
.job-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.job-status-graphic.upcoming{color:#aaa}.job-status-graphic.upcoming .job-status-dot{background:none;border:1px solid #ccc;width:7px;height:7px}
.job-status-graphic.past{color:#67e471}.job-status-graphic.past .job-status-copy strong{color:#67e471}.job-status-graphic.past .status-case-shell{fill:#142218}
.job-card-top{gap:8px;align-items:center}.job-card-top>.job-status-graphic{flex:1}.job-card-top>.badge.partial{font-size:11px;padding:5px 7px;background:#282828;border:1px solid #484848;color:#eee;max-width:78px;white-space:normal;text-align:center}
.job-card:hover .status-road-case{transform:translateY(-2px) rotate(-3deg)}.job-card:active .status-road-case{transform:translateY(1px)}
.job-status-detail{padding:12px 16px;margin:0 0 16px;border:1px solid #393939;background:linear-gradient(135deg,#1b1b1b,#101010);border-radius:22px}.job-status-detail .status-road-case{width:54px;height:48px}
.badge.active,.badge.upcoming,.badge.partial{background:#252525;color:#eee;border:1px solid #464646}.badge.paid{background:#192b1c;color:#67e471;border:1px solid #355c3a}
.entry-double-note{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 11px;border:1px solid #444;background:#222;border-radius:12px;margin:10px 0;font-size:13px}.entry-double-note strong{color:#eee;font-weight:650}.entry-double-note .money{color:#67e471;white-space:nowrap;font-weight:750}
@media(max-width:400px){.status-road-case{width:52px;height:49px}.job-status-graphic{gap:8px}.job-status-copy strong{font-size:18px}.job-status-copy small{font-size:12px}.job-card-top>.badge.partial{font-size:10px;max-width:63px}}
@media(prefers-reduced-motion:reduce){.status-road-case{transition:none}.job-card:hover .status-road-case,.job-card:active .status-road-case{transform:none}}

/* Shared In / Out shift entry, kept compact for phones. */
.batch-time-methods{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin:14px 0;background:#090909;border:1px solid #3f3f3f;border-radius:17px;position:relative}
.gaffalo-job-dialog .batch-time-methods>input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden}
.batch-time-methods>label{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px;border-radius:12px;font-size:15px;font-weight:750;line-height:1.2;color:#aaa;cursor:pointer}
.batch-time-methods>input:checked+label{background:#f3f3f3;color:#111;box-shadow:0 2px 7px #0004}
.batch-time-methods>input:focus-visible+label{outline:2px solid #fff;outline-offset:2px}
.batch-time-inputs .field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.batch-time-inputs .field-row .field{min-width:0;margin-bottom:10px}
.batch-time-inputs .field-row input,.batch-time-inputs .field-row select{min-width:0;width:100%;font-size:16px}
.batch-generated-hours{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#111;border:1px solid #3a3a3a;border-radius:16px;padding:12px 14px}
.batch-generated-hours>span{font-size:14px;color:#bdbdbd}.batch-generated-hours output{color:#f4f4f4;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}
.batch-time-hint,.batch-time-help{display:block;font-size:12px!important;line-height:1.5;color:#aaa;margin:8px 2px 12px}
.batch-time-inputs .batch-break-options{margin:10px 0;border-radius:16px}.batch-time-inputs .batch-break-options>summary{min-height:44px;font-size:14px;padding:11px 13px}.batch-time-inputs .batch-break-options .field{margin:0}.batch-time-inputs .batch-break-options .fold-body{padding:12px}

.job-new-client-field{padding:12px;border:1px solid #3b3b3b;border-radius:18px;background:#141414}.gaffalo-job-dialog .job-new-client-field input{background:#202020}.gaffalo-job-dialog .batch-time-inputs .field-row select{padding-right:26px;font-size:16px;min-width:0}

/* Keep phone dialogs above the software keyboard, within the visible viewport. */
@media screen and (max-width:820px){
 dialog.dialog-keyboard-open{position:fixed;top:calc(var(--dialog-viewport-top,0px) + max(10px,env(safe-area-inset-top,0px)));bottom:auto;left:0;right:0;margin:0 auto;max-height:calc(var(--dialog-viewport-height,100dvh) - max(10px,env(safe-area-inset-top,0px)) - 10px);transform:none;scroll-behavior:auto;scroll-padding:76px 0 76px}
 dialog.dialog-keyboard-open .modal-header{position:sticky;top:0;z-index:3;padding:12px 16px;gap:10px;background:#171717}
 dialog.dialog-keyboard-open .modal-header h2{font-size:24px;line-height:1.1}
 dialog.dialog-keyboard-open .gaffalo-dialog-label{font-size:9px;margin-bottom:3px}
 dialog.dialog-keyboard-open .gaffalo-celebration{width:34px;height:34px;flex:none}
 dialog.dialog-keyboard-open .gaffalo-celebration>img{width:34px;height:34px;border-radius:10px}
 dialog.dialog-keyboard-open .modal-header>.icon-button{width:36px;height:36px;min-height:36px}
 dialog.dialog-keyboard-open .modal-footer{position:sticky;bottom:0;z-index:2;padding-top:10px;padding-bottom:10px;background:#0d0d0d}
 dialog.dialog-keyboard-open .modal-footer .button{min-height:46px}
}

/* One-tap Home privacy. Hidden totals are omitted from the rendered markup. */
.home-billable-controls{margin-bottom:16px}
.home-billable-controls .home-period-tabs{flex:1;min-width:0;margin-bottom:0;gap:4px}
.home-billable-controls .home-period-tabs button{padding-left:5px;padding-right:5px;font-size:15px}
.home-amount-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.home-amount-row .home-billable-amount{margin-top:0;min-width:0;max-width:100%}.home-privacy-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;padding:9px 11px;border:1px solid #555;border-radius:13px;background:linear-gradient(#292929,#161616);color:#ddd;box-shadow:inset 0 1px 0 #ffffff0d;touch-action:manipulation}
.home-privacy-toggle svg{width:19px;height:19px}.home-privacy-toggle>span{font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
.home-privacy-toggle[aria-pressed=true]{border-color:#bcbcbc;color:#fff;background:#353535;box-shadow:inset 0 1px 0 #ffffff18}
.home-privacy-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px}
.home-billable-amount.is-private{color:#c7c7c7;letter-spacing:5px;font-size:clamp(30px,8vw,40px);user-select:none}
@media screen and (max-width:360px){.home-billable-controls{gap:6px}.home-amount-row{gap:9px}.home-privacy-toggle{padding:9px;gap:6px}.home-billable-controls .home-period-tabs button{font-size:14px;padding-left:3px;padding-right:3px}}

/* Always-visible hours check beside the entered time. */
.entry-hours-confirmation{background:#191919;border:1px solid #414141;border-radius:18px;padding:13px 14px;margin:0 0 14px}
.entry-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.entry-confirm-heading>span{display:flex;align-items:center;gap:7px;color:#dedede;font-size:13px;font-weight:700}.entry-confirm-heading svg{width:15px;height:15px}.entry-confirm-heading>small{font-size:11px;color:#999;white-space:nowrap}
.entry-hour-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}.entry-hour-grid>div{min-width:0}.entry-hour-grid dt{font-size:12px;line-height:1.3;color:#bdbdbd;white-space:nowrap}.entry-hour-grid dd{margin:5px 0 0;color:#f5f5f5;font-size:23px;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums}.entry-hour-grid dd small{font-size:11px;color:#a9a9a9;font-weight:450;margin-left:2px}.entry-hour-grid .entry-hours-total{padding-left:9px;border-left:1px solid #474747}.entry-hour-grid .entry-hours-total dt{color:#f1f1f1}
.gaffalo-day-dialog .entry-hours-confirmation .preview-sum,.entry-hours-confirmation .preview-sum{margin-top:12px;padding:11px 0 0;background:transparent;border:0;border-top:1px solid #3a3a3a;border-radius:0;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ccc}.gaffalo-day-dialog .entry-hours-confirmation .preview-sum strong,.entry-hours-confirmation .preview-sum strong{font-size:25px;color:#67e471;line-height:1.1}
.entry-confirm-note{margin:8px 0 0;font-size:11px;line-height:1.45;color:#aaa}
.batch-hours-confirmation{padding:12px;border:1px solid #424242;border-radius:15px;background:#161616;margin:11px 0}.batch-hours-confirmation>p{margin:0 0 10px!important;color:#bfbfbf;font-size:12px!important}.batch-hours-confirmation .entry-hour-grid{width:100%}
@media(max-width:360px){.entry-hours-confirmation{padding:12px}.entry-hour-grid{gap:4px}.entry-hour-grid dt{font-size:11px}.entry-hour-grid dd{font-size:21px}.entry-hour-grid .entry-hours-total{padding-left:7px}}

/* Optional unpaid breaks: off unless the user explicitly opts in. */
.automatic-wrap-hint{font-size:12px;line-height:1.5;color:#b3b3b3;margin:2px 0 11px}
.optional-break-control{margin:0 0 13px;border:1px solid #3e3e3e;border-radius:15px;background:#151515}
.break-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 12px;cursor:pointer}
.break-toggle-row>span:first-child{font-size:14px;font-weight:600;color:#d5d5d5}
.break-toggle-switch{position:relative;display:block;flex:none;width:44px;height:26px}
.gaffalo-job-dialog .break-toggle-switch input,.break-toggle-switch input{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;opacity:0;cursor:pointer;z-index:1}
.break-toggle-switch i{display:block;width:44px;height:26px;background:#333;border:1px solid #606060;border-radius:20px;transition:background .15s}
.break-toggle-switch i::after{content:'';position:absolute;left:4px;top:4px;width:18px;height:18px;border-radius:50%;background:#aaa;transition:transform .15s}
.break-toggle-switch input:checked+i{background:#f1f1f1;border-color:#f1f1f1}.break-toggle-switch input:checked+i::after{background:#111;transform:translateX(18px)}.break-toggle-switch input:focus-visible+i{outline:2px solid #fff;outline-offset:3px}
.break-minutes-field{padding:12px;border-top:1px solid #3b3b3b;margin:0!important}.gaffalo-day-dialog .break-minutes-field input{min-height:44px}.break-minutes-field small{font-size:12px;color:#aaa;line-height:1.4}
@media(prefers-reduced-motion:reduce){.break-toggle-switch i,.break-toggle-switch i::after{transition:none}}

/* Home: a personal backstage field kit, with the original Gaffalo mascot. */
@media screen{
 .gaffalo-home{position:relative;isolation:isolate;min-height:calc(100svh - 220px)}
 .home-backstage{position:absolute;inset:-25px -18px -26px;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 12% 0%,#33333378,transparent 50%),radial-gradient(ellipse at 100% 48%,#2a2a2a80,transparent 60%),linear-gradient(145deg,#171717,#090909 70%)}
 .home-backstage::before{content:"";position:absolute;inset:0;opacity:.55;background-image:radial-gradient(#ffffff12 .6px,transparent .8px),repeating-linear-gradient(135deg,transparent 0 44px,#ffffff03 44px 45px);background-size:5px 5px,auto}
 .home-backstage::after{content:"";position:absolute;inset:0;border-top:1px solid #ffffff0c;box-shadow:inset 0 -60px 70px #080808,inset 0 0 100px #0005}
 .home-case-rail{position:absolute;top:0;bottom:0;width:7px;background:linear-gradient(90deg,#080808,#48484880 40%,#171717 65%,#44444445);border-left:1px solid #ffffff0e;opacity:.7}
 .home-case-rail::after{content:"";position:absolute;inset:16px 1px;background:radial-gradient(circle at 50% 3px,#777 1px,#111 2px,transparent 3px) center top/6px 112px repeat-y;opacity:.65}
 .home-case-rail-left{left:5px}.home-case-rail-right{right:5px;transform:rotate(180deg)}
 .home-buffalo-shadow{position:absolute;right:-38px;top:1px;width:260px;height:260px;object-fit:contain;filter:grayscale(1);mix-blend-mode:screen;opacity:.14;transform:rotate(-10deg)}
 .home-case-stamp{position:absolute;right:21px;bottom:10px;color:#c8c8c8;font:700 11px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:1.2px}
 .home-front{position:relative}
 .gaffalo-home .home-heading{display:block;padding:7px 0 21px;margin:0;position:relative}
 .home-hq-label{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#bcbcbc;font:700 11px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:1.5px;text-transform:uppercase}
 .home-hq-label i{display:block;width:21px;height:7px;background:#d6d6d6;transform:rotate(-6deg);clip-path:polygon(0 0,100% 0,90% 50%,100% 100%,0 100%,9% 50%)}
 .gaffalo-home .home-slogan{text-shadow:0 3px 16px #000b}
 .gaffalo-home .home-slogan-outline{color:#171717}
 .gaffalo-home .home-billables{position:relative;isolation:isolate;border-radius:23px;border-color:#595959;background:radial-gradient(ellipse at 85% 38%,#38e33e0a,transparent 57%),linear-gradient(135deg,#292929f5,#151515fc 65%);box-shadow:inset 0 1px 0 #ffffff1c,inset 0 -1px 0 #0008,0 12px 32px #0006}
 .gaffalo-home .home-billables::before{content:"";position:absolute;inset:10px;border-radius:16px;border:1px solid #ffffff04;pointer-events:none;z-index:-1}
 .gaffalo-home .home-billables::after{content:"";position:absolute;top:50%;right:-1px;width:3px;height:34px;border-radius:3px;background:#79e2a0;box-shadow:0 0 17px #79e2a055;pointer-events:none}
 .gaffalo-home .home-billable-amount:not(.is-private){text-shadow:0 0 26px #79e2a01e}
 .gaffalo-home .home-hour-grid{padding-top:2px}
 .gaffalo-home .new-job-cta{border-radius:23px;border-color:#747474;background:linear-gradient(115deg,#303030,#181818 70%);box-shadow:inset 0 1px 0 #ffffff26,0 9px 24px #0006;margin-bottom:14px}
 .gaffalo-home .home-shortcut{border-radius:23px;border-color:#484848;background:linear-gradient(115deg,#222222,#131313);box-shadow:inset 0 1px 0 #ffffff0e,0 7px 20px #0005}
 .gaffalo-home .home-past-shortcut{background:linear-gradient(115deg,#1b1b1b,#101010)}
 .gaffalo-home .home-shortcut-icon{background:#0d0d0d8c;border:1px solid #ffffff0c;border-radius:14px}
 .home-arriving .home-front>.home-heading,.home-arriving .home-front>.home-billables,.home-arriving .home-front>.gaffalo-action{animation:home-unpack .5s cubic-bezier(.2,.7,.3,1) backwards}
 .home-arriving .home-front>.home-billables{animation-delay:.06s}.home-arriving .home-front>.new-job-cta{animation-delay:.12s}.home-arriving .home-front>.home-shortcut{animation-delay:.17s}.home-arriving .home-front>.home-past-shortcut{animation-delay:.22s}
 @keyframes home-unpack{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
 @media(min-width:901px){.home-backstage{inset:-30px -25px -30px;border-radius:24px}.home-case-rail{top:14px;bottom:14px}.home-buffalo-shadow{width:340px;height:340px;top:-40px;right:10px;opacity:.1}.gaffalo-home .home-heading{padding-top:4px;padding-bottom:25px}}
 @media(max-width:360px){.home-buffalo-shadow{right:-48px;top:8px;width:230px;height:230px;opacity:.11}.home-hq-label{font-size:10px;letter-spacing:1.2px}}
 @media(prefers-reduced-motion:reduce){.home-arriving .home-front>*{animation:none!important}}
}

/* Gaffalo's backstage shell carries into jobs, company ledgers and the toolkit. */
@media screen{
 .gaffalo-workspace{position:relative;isolation:isolate;min-height:calc(100svh - 220px)}
 .workspace-front{position:relative}
 .gaffalo-workspace .home-buffalo-shadow{top:-10px;opacity:.09}
 .workspace-eyebrow{display:flex;align-items:center;gap:8px;color:#bdbdbd;font:700 11px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:1.5px;text-transform:uppercase;margin:5px 0 12px}
 .workspace-eyebrow::before{content:"";width:19px;height:6px;background:#d5d5d5;transform:rotate(-6deg);clip-path:polygon(0 0,100% 0,90% 50%,100% 100%,0 100%,10% 50%)}
 .gaffalo-workspace .page-heading{position:relative;margin-bottom:23px}
 .gaffalo-workspace .page-heading h1{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:clamp(32px,8vw,40px);font-weight:900;line-height:1.08;letter-spacing:.6px;text-transform:uppercase;overflow-wrap:anywhere;text-shadow:0 3px 15px #0008}
 .gaffalo-workspace .page-heading p{color:#bdbdbd;font-size:15px;margin-top:9px;line-height:1.5}
 .gaffalo-workspace .panel,.gaffalo-workspace .job-card{border-radius:23px;border:1px solid #484848;background:linear-gradient(130deg,#252525f5,#121212fc 80%);box-shadow:inset 0 1px 0 #ffffff17,0 9px 26px #0005}
 .gaffalo-workspace .button{position:relative;border-radius:15px;min-height:48px;font-size:15px;font-weight:750;padding:13px 17px;background:linear-gradient(135deg,#f5f5f5,#cfcfcf);color:#111;border:1px solid #ddd;box-shadow:inset 0 1px 0 #fff8,0 3px 0 #777,0 6px 14px #0004;transition:transform .15s,box-shadow .15s,border-color .15s;touch-action:manipulation}
 .gaffalo-workspace .button.secondary{background:linear-gradient(130deg,#333,#1b1b1b);color:#f3f3f3;border-color:#555;box-shadow:inset 0 1px 0 #ffffff18,0 3px 0 #0a0a0a,0 6px 14px #0004}
 .gaffalo-workspace .button.payment-action,.gaffalo-workspace .invoice-share-button{background:linear-gradient(130deg,#91efac,#79e2a0);color:#0a1d10;border-color:#a3eebc;box-shadow:inset 0 1px 0 #ffffff5c,0 3px 0 #275938,0 6px 14px #0004}
 .gaffalo-workspace .button.payment-action svg{color:#0a1d10}
 .gaffalo-workspace .button:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #ffffff0e,0 1px 0 #111}
 .gaffalo-workspace .button:focus-visible{outline:2px solid #fff;outline-offset:4px}
 .gaffalo-workspace .back{padding:0 12px;background:#171717;border:1px solid #4a4a4a;border-radius:13px;color:#eee;margin-bottom:18px;box-shadow:inset 0 1px 0 #ffffff0b}
 .gaffalo-workspace .fold{border-radius:19px;background:linear-gradient(130deg,#222,#131313);border-color:#454545;box-shadow:inset 0 1px 0 #ffffff0b,0 5px 14px #0003}
 .gaffalo-workspace .fold>summary{padding:15px 17px;font-weight:650;color:#f0f0f0}
 .gaffalo-workspace .fold-chevron{display:grid;place-items:center;min-width:27px;height:27px;flex:none;border:1px solid #555;border-radius:50%;color:#eee;background:#171717;font-size:20px}
 .gaffalo-workspace input,.gaffalo-workspace select{border-radius:16px;border-color:#505050;background-color:#151515;box-shadow:inset 0 2px 5px #0005}
 .gaffalo-workspace .new-job-cta{border-radius:23px;margin-bottom:21px}
 .gaffalo-workspace .job-tools{margin-bottom:20px}
 .gaffalo-workspace .filters{gap:7px;flex-wrap:wrap}
 .gaffalo-workspace .filter{min-height:44px;flex:1;border-radius:12px;border:1px solid #444;background:#191919;color:#bcbcbc;font-size:14px;font-weight:700;padding:10px 15px;box-shadow:inset 0 1px 0 #ffffff08}
 .gaffalo-workspace .filter.active{background:linear-gradient(135deg,#f5f5f5,#cfcfcf);color:#111;border-color:#ddd;box-shadow:inset 0 1px 0 #fff8,0 2px 0 #777}
 .gaffalo-workspace .job-card{position:relative;overflow:hidden;transition:transform .15s,border-color .15s,box-shadow .15s;text-align:left}
 .gaffalo-workspace .job-card::before{content:"";position:absolute;right:22px;top:-1px;width:28px;height:5px;background:#ddd;transform:rotate(-9deg);clip-path:polygon(0 0,100% 0,92% 45%,100% 85%,88% 100%,8% 100%,0 70%);pointer-events:none}
 .gaffalo-workspace .job-card h3{margin-top:3px}
 .gaffalo-workspace .job-card-bottom{border-top:1px solid #ffffff12;padding-top:18px;margin-top:18px}
 .gaffalo-workspace .job-card-bottom>.subtle{display:flex;align-items:center;gap:7px}
 .gaffalo-workspace .job-card-bottom>.subtle svg{width:27px;height:27px;padding:5px;border:1px solid #555;border-radius:50%;color:#ddd;background:#0d0d0d}
 .gaffalo-workspace .job-card:active{transform:scale(.985);border-color:#858585}
 .gaffalo-workspace .job-card:focus-visible{outline:2px solid #fff;outline-offset:4px}
 .gaffalo-workspace .company-period-label{padding:11px 14px;margin-bottom:13px;border:1px solid #444;border-radius:14px;background:#1c1c1c;font-size:14px;font-weight:650;box-shadow:inset 0 1px 0 #ffffff0b}
 .gaffalo-workspace .company-overall{border-color:#666}
 .gaffalo-workspace .company-overall .panel-header h2{font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:25px;letter-spacing:.5px;text-transform:uppercase}
 .gaffalo-workspace .company-overall .hours-strip{padding:0 21px}
 .gaffalo-workspace .company-title{align-items:flex-start;padding-bottom:18px;margin-bottom:16px;border-bottom:1px solid #444}
 .gaffalo-workspace .company-title>div{min-width:0}
 .gaffalo-workspace .company-title h2{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.5px;color:#fff}
 .gaffalo-workspace .company-title>strong{padding:8px 11px;border:1px solid #555;border-radius:13px;background:#0f0f0f;box-shadow:inset 0 1px 0 #ffffff0b;font-size:25px}
 .gaffalo-workspace .company-card .hours-strip>div{border-right:1px solid #3b3b3b;padding-right:5px}.gaffalo-workspace .company-card .hours-strip>div:last-child{border-right:0}
 .gaffalo-workspace .company-card .hours-strip span{font-size:12px}.gaffalo-workspace .company-card .hours-strip strong{font-size:24px}
 .gaffalo-workspace .company-card>.fold{box-shadow:none;background:#111}
 .gaffalo-workspace .company-card .job-row{border-radius:12px;transition:background .15s}
 .gaffalo-workspace .more-list{display:grid;gap:14px;overflow:visible;border:0;background:transparent;box-shadow:none}
 .gaffalo-workspace .more-item{position:relative;min-height:114px;padding:21px 18px;gap:15px;border:1px solid #4c4c4c;border-radius:23px;background:linear-gradient(125deg,#292929,#141414 80%);box-shadow:inset 0 1px 0 #ffffff1b,0 8px 20px #0005;transition:transform .15s,border-color .15s,background .15s;touch-action:manipulation}
 .gaffalo-workspace .more-item .job-icon{display:grid;place-items:center;width:50px;height:55px;flex:none;border:1px solid #505050;border-radius:15px;background:linear-gradient(#373737,#171717);color:#f2f2f2;box-shadow:inset 0 1px 0 #ffffff0f;transform:rotate(-5deg)}
 .gaffalo-workspace .more-item .job-icon svg{width:25px;height:25px;stroke-width:2}
 .gaffalo-workspace .more-item strong{font-family:Impact,'Arial Black',Manrope,system-ui,sans-serif;font-size:25px;font-weight:900;line-height:1.12;letter-spacing:.6px;text-transform:uppercase}
 .gaffalo-workspace .more-item small{font-size:14px;line-height:1.5;color:#bcbcbc;margin-top:7px}
 .gaffalo-workspace .more-earnings .job-icon{background:linear-gradient(#91efac,#79e2a0);color:#0c2414;border-color:#a3eebc}
 .gaffalo-workspace .more-arrow{display:grid;place-items:center;width:30px;height:37px;flex:none;color:#121212;background:#ededed;clip-path:polygon(0 0,100% 0,100% 100%,83% 90%,66% 100%,50% 90%,33% 100%,17% 90%,0 100%)}
 .gaffalo-workspace .more-arrow svg{width:19px;height:19px;stroke-width:2.2;margin-top:-3px}
 .gaffalo-workspace .more-item:active{transform:translateY(2px) scale(.99);border-color:#888}
 .gaffalo-workspace .more-item:focus-visible{outline:2px solid #fff;outline-offset:4px}
 @media(hover:hover){.gaffalo-workspace .job-card:hover,.gaffalo-workspace .more-item:hover{border-color:#808080;background:linear-gradient(130deg,#303030,#1a1a1a);box-shadow:inset 0 1px 0 #ffffff24,0 12px 26px #0007}.gaffalo-workspace .button:hover{border-color:#aaa}.gaffalo-workspace .company-card .job-row:hover{background:#242424}}
 @media(max-width:400px){.gaffalo-workspace .more-item{padding:19px 14px;gap:12px}.gaffalo-workspace .more-item .job-icon{width:44px;height:50px}.gaffalo-workspace .more-item strong{font-size:23px}.gaffalo-workspace .more-arrow{width:26px;height:33px}.gaffalo-workspace .company-title h2{font-size:22px}.gaffalo-workspace .company-title>strong{font-size:22px;padding:8px}}
 @media(prefers-reduced-motion:reduce){.gaffalo-workspace .button,.gaffalo-workspace .job-card,.gaffalo-workspace .more-item,.gaffalo-workspace .company-card .job-row{transition:none!important}.gaffalo-workspace .button:active,.gaffalo-workspace .job-card:active,.gaffalo-workspace .more-item:active{transform:none}}
}

/* Account setup and sync belong to the same quiet backstage workspace. */
.account-gate{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;padding:24px;background:radial-gradient(ellipse at 20% 0,#303030,#080808 70%);overflow-y:auto}.account-gate::before,.account-gate::after{content:"";flex:1 0 0}
.account-gate-card{width:min(400px,100%);flex:0 0 auto;margin-block:0;padding:28px 23px;border:1px solid #505050;border-radius:28px;background:linear-gradient(135deg,#272727,#141414);box-shadow:0 25px 70px #0009;text-align:center}
.account-gate-card>img{display:block;margin:0 auto 20px;border-radius:21px}.account-gate-card h1{font:900 32px/1.1 Impact,'Arial Black',system-ui,sans-serif;letter-spacing:.5px;text-transform:uppercase}.account-gate-card p{margin:17px 0 22px;color:#bbb;font-size:15px;line-height:1.6}.account-gate-card .button{display:flex;justify-content:center;width:100%;margin-top:12px;font-size:15px;min-height:48px}
.cloud-home-cue{display:flex;align-items:center;gap:7px;margin:-7px 0 15px;padding:5px 0;min-height:32px;font-size:12px;font-weight:600;color:#bdbdbd;background:transparent;text-align:left}.cloud-home-cue svg{width:14px;height:14px}.cloud-home-cue>svg:last-child{width:12px;margin-left:1px}.cloud-home-cue [data-status=conflict],.cloud-home-cue [data-status=account]{color:#fff;text-decoration:underline;text-underline-offset:3px}
.account-panel{grid-column:1/-1}.account-panel .panel-header{flex-wrap:wrap;gap:10px}.account-status{font-size:12px;line-height:1.4;padding:6px 9px;border:1px solid #555;border-radius:9px;color:#ddd;background:#151515}.account-status[data-status=conflict],.account-status[data-status=account]{border-color:#ddd;color:#fff}.account-name{display:block;font-size:21px;color:#f5f5f5;margin-bottom:3px;overflow-wrap:anywhere}.account-panel .settings-body>p{overflow-wrap:anywhere}.account-detail{margin-top:13px;font-size:13px;line-height:1.6!important}.account-notice{margin:14px 0;padding:12px;border:1px solid #666;border-radius:13px;background:#171717;color:#eee}.account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.account-actions .button{margin:0!important}.account-panel .account-data-actions{margin-top:20px;margin-bottom:0}.account-import-note,.account-copy-summary{padding:17px;border:1px solid #505050;border-radius:18px;background:#151515;font-size:15px;line-height:1.5;margin-bottom:18px}.account-import-note p{font-size:14px;color:#bcbcbc;margin-top:8px}.account-copy-summary{display:grid;gap:17px}.account-copy-summary span{display:block;color:#aaa;font-size:14px;margin-top:5px}.account-copy-summary>div+div{border-top:1px solid #333;padding-top:17px}.account-welcome .modal-footer{display:grid;grid-template-columns:1fr}.account-welcome .button{justify-content:center}.beta-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}.beta-links>a{font-size:14px;color:#e8e8e8;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
/* Business tools: quiet charcoal surfaces, clear type, green for money. */
.pro-fold{margin-top:16px;border:1px solid #303431;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#171a17,#0c0e0c)}
.pro-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:12px}
.pro-action-grid .button{min-height:52px;border-radius:16px;padding:12px;font-size:15px;white-space:normal;text-align:center;border-color:#343b34;background:#151a15;color:#f3f5f3}
.pro-action-grid .button:hover{border-color:#75a578;background:#1c251c}
.pro-action-grid .button:focus-visible,.pro-client-row:focus-visible,.pro-clock-strip:focus-visible,.pro-attention:focus-visible{outline:2px solid #80df70;outline-offset:3px}
.pro-currency{display:inline-flex;align-items:center;gap:5px;min-height:42px;font-size:13px;font-weight:800;letter-spacing:.05em;color:#d4dcd3;background:#181c17;border:1px solid #333c31;border-radius:12px;padding:8px 10px}
.pro-currency svg{width:15px;height:15px}.home-billable-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pro-client-directory,.pro-followups{display:grid;gap:10px;margin-top:16px}
.pro-client-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;border:1px solid #303830;border-radius:18px;background:#111611;color:#f3f4f1;text-align:left;min-height:62px}
.pro-client-row>span{display:grid;grid-template-columns:24px 1fr;column-gap:10px;min-width:0}.pro-client-row strong,.pro-client-row small{grid-column:2;overflow-wrap:anywhere}.pro-client-row>span>svg{grid-row:1/3;align-self:center}.pro-client-row>svg{width:18px;flex-shrink:0}.pro-client-row strong{font-size:17px;line-height:1.4}.pro-client-row small{font-size:14px;line-height:1.5;color:#adb6ab;margin-top:3px}
.pro-clock-strip,.pro-attention{display:flex;align-items:center;gap:12px;width:100%;padding:15px 17px;margin:12px 0;border:1px solid #374232;border-radius:20px;background:linear-gradient(125deg,#20271d,#11150f);color:#f3f6f0;text-align:left;min-height:54px}.pro-clock-strip>svg,.pro-attention>svg{width:22px;flex-shrink:0}.pro-clock-strip>span,.pro-attention>span{flex:1}.pro-clock-strip strong{display:block;font-size:16px}.pro-clock-strip small{display:block;color:#b3bcac;font-size:13px;line-height:1.5;margin-top:3px}.pro-attention span{font-size:15px;font-weight:650}
.pro-stage{display:inline-flex;font-size:12px;letter-spacing:.04em;margin-left:8px;border:1px solid #475045;border-radius:100px;padding:4px 9px;color:#cbd1c7;background:#242a20}.pro-stage.paid{color:#8de477;border-color:#4d703e}.pro-stage.overdue{color:#e8d7b7;border-color:#6b5840}
.pro-history{list-style:none;padding:0;margin-top:18px}.pro-history li{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #30362c}.pro-history strong{font-size:16px}.pro-history span,.pro-history small{font-size:13px;line-height:1.5;color:#afb8a8}
.pro-recurring-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px;background:#131811;border:1px solid #30382c;border-radius:18px}.pro-recurring-row>strong,.pro-recurring-row>small{flex-basis:100%;overflow-wrap:anywhere}.pro-recurring-row>small{color:#b4bdad;font-size:14px}.pro-recurring-row .button{border-radius:12px;min-height:44px;font-size:14px}
.pro-file-preview{display:block;width:100%;max-height:55dvh;object-fit:contain;border-radius:16px;background:#080a07;margin:15px 0}.pro-settings .settings-body{padding:18px}.invoice-parties #invoice-display-to{white-space:pre-line}.gaffalo-job-dialog textarea{font-size:16px;line-height:1.55}.gaffalo-job-dialog .pro-fold{margin-bottom:12px}.pro-fold .help-text{font-size:14px;line-height:1.65}.company-period-label .pro-currency{margin-left:auto;margin-right:12px}
@media(max-width:380px){.pro-action-grid{grid-template-columns:1fr}.pro-action-grid .button{min-height:48px}.pro-currency{font-size:12px;padding:7px}.home-period-tabs button{padding-left:11px;padding-right:11px}}
@media(prefers-reduced-motion:reduce){.pro-client-row,.pro-action-grid .button{transition:none}}
/* A quiet snort from the Home mascot every 45 seconds. No image swaps. */
.gaffalo-home .gaffalo-mascot{overflow:visible!important;isolation:isolate}
.gaffalo-home .gaffalo-mascot::before,.gaffalo-home .gaffalo-mascot::after{content:"";position:absolute;z-index:2;pointer-events:none;top:60%;width:26%;height:22%;border-radius:50%;opacity:0;background:radial-gradient(ellipse at 32% 65%,#d7d7d7b3 0 19%,transparent 54%),radial-gradient(ellipse at 65% 38%,#efefef99 0 20%,transparent 56%),radial-gradient(ellipse at 47% 50%,#99999980 0 30%,transparent 68%);filter:blur(.7px);animation:gaffalo-nose-smoke 45s linear infinite;transform-origin:50% 65%}
.gaffalo-home .gaffalo-mascot::before{left:44%;--smoke-x:-125%;--smoke-turn:-18deg}
.gaffalo-home .gaffalo-mascot::after{left:54%;--smoke-x:30%;--smoke-turn:18deg}
@keyframes gaffalo-nose-smoke{
 0%,94%{opacity:0;transform:translate(-50%,-50%) scale(.15)}
 94.6%{opacity:.65;transform:translate(-50%,-40%) scale(.55)}
 95.7%{opacity:.55;transform:translate(var(--smoke-x),-65%) rotate(var(--smoke-turn)) scale(1.3)}
 97.5%{opacity:.22;transform:translate(var(--smoke-x),-155%) rotate(var(--smoke-turn)) scale(2)}
 99%,100%{opacity:0;transform:translate(var(--smoke-x),-230%) rotate(var(--smoke-turn)) scale(2.6)}
}
@media(prefers-reduced-motion:reduce){.gaffalo-home .gaffalo-mascot::before,.gaffalo-home .gaffalo-mascot::after{animation:none;display:none}}

/* Tap the head for a small, private money snort. The invoice action is a sibling. */
.home-new-job-card:active{transform:none}
.home-new-job-card .gaffalo-mascot{padding:0;flex-shrink:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.new-job-main{display:flex;align-items:center;align-self:stretch;flex:1;min-width:0;gap:16px;margin:-17px -18px -17px 0;padding:17px 18px 17px 0;border:0;border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.home-new-job-card .gaffalo-mascot:focus-visible,.new-job-main:focus-visible{outline:2px solid var(--gaffalo-green);outline-offset:4px}
.new-job-main:active .new-job-arrow{transform:scale(.94)}
.mascot-money-smoke{position:absolute;inset:0;pointer-events:none;z-index:3}
.mascot-money-smoke i{position:absolute;left:44%;top:60%;width:13px;height:13px;opacity:0;color:var(--gaffalo-green);font:700 12px/13px system-ui,sans-serif;font-style:normal;text-align:center;--puff-x:-18px;--puff-y:-12px;--puff-turn:-14deg}
.mascot-money-smoke i:nth-child(2){left:54%;--puff-x:15px;--puff-y:-15px;--puff-turn:12deg}
.mascot-money-smoke i:nth-child(3){left:50%;font-size:9px;--puff-x:5px;--puff-y:-22px;--puff-turn:-6deg}
.mascot-money-smoke i::before{content:"";position:absolute;inset:-4px;border-radius:50%;background:radial-gradient(ellipse,#38e33e30,transparent 70%);filter:blur(1.5px)}
.mascot-snorting img{animation:gaffalo-head-wobble .36s ease-in-out;transform-origin:50% 65%}
.mascot-snorting .mascot-money-smoke i{animation:gaffalo-money-puff .85s ease-out .12s both}
.mascot-snorting .mascot-money-smoke i:nth-child(2){animation-delay:.18s}
.mascot-snorting .mascot-money-smoke i:nth-child(3){animation-delay:.22s}
@keyframes gaffalo-head-wobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-2deg)}55%{transform:rotate(2deg)}80%{transform:rotate(-1deg)}}
@keyframes gaffalo-money-puff{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}18%{opacity:.45}55%{opacity:.3}100%{opacity:0;transform:translate(calc(-50% + var(--puff-x)),calc(-50% + var(--puff-y))) rotate(var(--puff-turn)) scale(1.1)}}
@media screen and (max-width:400px){.new-job-main{gap:12px;margin:-15px -14px -15px 0;padding:15px 14px 15px 0}}
@media(prefers-reduced-motion:reduce){.mascot-snorting img,.mascot-snorting .mascot-money-smoke i{animation:none}.mascot-money-smoke{display:none}.new-job-main:active .new-job-arrow{transform:none}}

/* The background head can receive taps through the decorative Home heading. */
.home-mascot-layer{position:absolute;inset:-25px -18px -26px;z-index:0;overflow:hidden;pointer-events:none}
.gaffalo-home .home-front{z-index:1;pointer-events:none}
.gaffalo-home .home-front>:not(.home-heading){pointer-events:auto}
.home-buffalo-shadow.home-buffalo-egg{--gaffalo-green:#38e33e;display:block;padding:0;border:0;background:transparent;opacity:1;filter:none;mix-blend-mode:normal;pointer-events:auto;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.home-buffalo-egg>img{display:block;width:100%;height:100%;object-fit:contain;filter:grayscale(1);mix-blend-mode:screen;opacity:.14;pointer-events:none}
.home-buffalo-egg:focus-visible{outline:1px solid #38e33e80;outline-offset:-28px;border-radius:50%}
.home-buffalo-egg .mascot-money-smoke i{font-size:15px;--puff-x:-22px;--puff-y:-19px}
.home-buffalo-egg .mascot-money-smoke i:nth-child(2){--puff-x:22px;--puff-y:-21px}
.home-buffalo-egg .mascot-money-smoke i:nth-child(3){font-size:12px;--puff-x:3px;--puff-y:-28px}
.home-job-card:active{transform:none}
.home-card-egg{position:relative;flex-shrink:0;padding:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.home-card-egg:focus-visible{outline:2px solid var(--gaffalo-green);outline-offset:4px}
.home-card-egg.mascot-snorting .gaffalo-receipt{animation:gaffalo-receipt-wobble .36s ease-in-out;transform-origin:50% 65%}
@keyframes gaffalo-receipt-wobble{0%,100%{transform:rotate(-7deg)}25%{transform:rotate(-9deg)}55%{transform:rotate(-5deg)}80%{transform:rotate(-8deg)}}
@media(min-width:901px){.home-mascot-layer{inset:-30px -25px -30px;border-radius:24px}.home-buffalo-egg>img{opacity:.1}}
@media(max-width:360px){.home-buffalo-egg>img{opacity:.11}}
@media(prefers-reduced-motion:reduce){.home-card-egg.mascot-snorting .gaffalo-receipt{animation:none}}

/* Open Jobs: three always-visible switches, sized for a thumb. */
.gaffalo-workspace .job-status-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:14px;padding:5px;border:1px solid #3c3c3c;border-radius:19px;background:linear-gradient(135deg,#181818,#0c0c0c);box-shadow:inset 0 1px 0 #ffffff0a}
.gaffalo-workspace .job-status-filters .filter{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;min-width:0;padding:10px 7px;border:1px solid transparent;border-radius:14px;background:transparent;color:#bdbdbd;font-size:15px;line-height:1.2;font-weight:750;white-space:nowrap;box-shadow:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .16s ease,color .16s ease,transform .12s ease,border-color .16s ease}
.job-filter-light{width:5px;height:5px;border-radius:50%;background:#686868;flex-shrink:0}
.gaffalo-workspace .job-status-filters .filter.active{background:linear-gradient(135deg,#48ef4d,#32d938);color:#0a200b;border-color:#71f775;box-shadow:inset 0 1px 0 #ffffff40,0 2px 9px #38e33e17}
.job-status-filters .filter.active .job-filter-light{background:#123d14;box-shadow:0 0 0 3px #123d1410}
.gaffalo-workspace .job-status-filters .filter:active{transform:scale(.96)}
.gaffalo-workspace .job-status-filters .filter:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(hover:hover){.gaffalo-workspace .job-status-filters .filter:not(.active):hover{background:#252525;color:#fff;border-color:#484848}}
@media(max-width:360px){.gaffalo-workspace .job-status-filters .filter{font-size:14px;gap:5px;padding:10px 4px}}
@media(prefers-reduced-motion:reduce){.gaffalo-workspace .job-status-filters .filter{transition:none}.gaffalo-workspace .job-status-filters .filter:active{transform:none}}

.gaffalo-day-dialog .button.remove-day-button{min-height:48px;margin:2px 0 0;padding:12px 16px;border:1px solid #dd4e57;border-radius:14px;background:linear-gradient(135deg,#bd303b,#a6242e);color:#fff;font-size:16px;font-weight:750;box-shadow:inset 0 1px 0 #ffffff12;touch-action:manipulation}
.gaffalo-day-dialog .remove-day-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gaffalo-day-dialog .remove-day-button:active{background:#91202a}
@media(hover:hover){.gaffalo-day-dialog .remove-day-button:hover{background:#c93540;border-color:#f1747b}}

/* Every visible Gaffalo head is the same quiet, independent Easter egg. */
.gaffalo-egg{--gaffalo-green:#38e33e;position:relative;display:block;flex-shrink:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.gaffalo-egg>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.gaffalo-egg:focus-visible{outline:2px solid #38e33e;outline-offset:3px}
a.gaffalo-wordmark{color:#f4f4f4;text-decoration:none}
a.gaffalo-wordmark:focus-visible{outline:2px solid #38e33e;outline-offset:5px;border-radius:4px}
.account-gate-mascot{width:80px;height:80px;margin:0 auto 20px;border-radius:21px}
.gaffalo-workspace .workspace-front{z-index:1;pointer-events:none}
.gaffalo-workspace .workspace-front>:not(.page-heading):not(.workspace-eyebrow):not(.job-detail-workspace){pointer-events:auto}
.gaffalo-workspace .page-heading button,.gaffalo-workspace .page-heading a,.gaffalo-workspace .page-heading input,.gaffalo-workspace .page-heading select{pointer-events:auto}
.gaffalo-workspace .home-buffalo-egg{opacity:1}
.gaffalo-workspace .home-buffalo-egg>img{opacity:.09}

.jobs-search-row{display:flex;align-items:center;gap:10px;width:100%}
.gaffalo-workspace .jobs-search-row input{flex:1;width:100%;min-width:0;max-width:none}
.jobs-privacy-toggle{display:flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:48px;padding:10px 12px;border:1px solid #505050;border-radius:14px;background:#171717;color:#d8d8d8;font:700 13px/1.2 Manrope,system-ui,sans-serif;touch-action:manipulation}
.jobs-privacy-toggle svg{width:18px;height:18px;flex:none}
.jobs-privacy-toggle[aria-pressed=true]{border-color:#58705b;color:#80d987;background:#182019}
.jobs-privacy-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px}
.job-card-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:17px 0 0;padding:12px 10px;border:1px solid #ffffff10;border-radius:14px;background:#08080866}
.job-card-hours>div{min-width:0;text-align:center}
.job-card-hours dt{font-size:12px;line-height:1.4;font-weight:700;color:#a8a8a8;white-space:nowrap}
.job-card-hours dd{margin:6px 0 0;font-size:22px;line-height:1.2;font-weight:750;color:#eee;font-variant-numeric:tabular-nums}
.job-card-hours dd small{margin-left:3px;font-size:12px;font-weight:500;color:#999}
.job-card-hours .job-hours-total{border-left:1px solid #ffffff16}
.job-card-hours .job-hours-total dt{color:#eee}
.job-card-amount.is-private{color:#bcbcbc;letter-spacing:3px}
.job-payment-caption .is-private{letter-spacing:1px}
@media(hover:hover){.jobs-privacy-toggle:hover{background:#242424;border-color:#787878;color:#fff}}
@media(max-width:360px){.jobs-privacy-toggle{gap:5px;padding:10px 9px;font-size:12px}.job-card-hours{gap:4px;padding:12px 7px}.job-card-hours dd{font-size:20px}}

.mileage-job-tool{display:flex;align-items:center;gap:12px;width:100%;padding:15px 17px;margin:16px 0;border:1px solid #415445;border-radius:19px;background:linear-gradient(120deg,#1f2820,#111611);text-align:left;color:#eee;touch-action:manipulation}
.mileage-job-tool>svg{width:25px;height:25px;color:#80d987;transform:rotate(-90deg)}
.mileage-job-tool>span{flex:1}.mileage-job-tool strong{display:block;font-size:16px}.mileage-job-tool small{display:block;margin-top:5px;color:#aaa;font-size:13px}.mileage-job-tool b{display:flex;align-items:center;gap:6px;color:#80d987;font-size:13px}.mileage-job-tool b svg{width:17px;height:17px}
.mileage-job-tool:focus-visible{outline:2px solid #80d987;outline-offset:3px}
.mileage-method{display:flex;gap:8px;margin-bottom:18px}.mileage-method label{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;padding:10px;border:1px solid #454545;border-radius:14px;background:#151515;color:#bbb;font-size:15px}.mileage-method label:has(input:checked){border-color:#69956c;color:#fff;background:#233225}.mileage-method input{accent-color:#69dc70}
.mileage-preview{display:flex;justify-content:space-between;gap:16px;padding:15px;border:1px solid #444;border-radius:17px;background:#111}.mileage-preview small{display:block;color:#aaa;font-size:13px}.mileage-preview strong{display:block;margin-top:7px;font-size:23px}
.gaffalo-intro{position:fixed;inset:0;z-index:150;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 60%,#080808b0,#08080870)}
.intro-running{animation:gaffalo-intro-fade 2.3s ease-out forwards}
.intro-runner{position:absolute;top:100%;left:50%;width:80px;height:120px;margin-left:-40px;will-change:transform;--run-delay:0s}
.runner-1{left:30%;--run-delay:.12s}.runner-2{left:52%;--run-delay:0s}.runner-3{left:74%;--run-delay:.3s}
.intro-running .intro-runner{animation:gaffalo-run-north 1.75s linear var(--run-delay) both}
.intro-runner img{position:relative;z-index:2;display:block;width:80px;height:120px;object-fit:contain;filter:drop-shadow(0 3px 4px #0009)}
.intro-running .intro-runner img{animation:gaffalo-gallop .24s steps(1,end) infinite}
.intro-dust{position:absolute;left:20%;top:83%;width:60%;height:65%;filter:blur(3px)}
.intro-dust i{position:absolute;left:20%;top:0;width:35px;height:35px;border-radius:50%;background:radial-gradient(#bcbcbc70,transparent 70%);animation:gaffalo-dust .5s ease-out infinite}
.intro-dust i:nth-child(2){left:55%;animation-delay:.15s}.intro-dust i:nth-child(3){left:5%;animation-delay:.3s}
.intro-dollars{position:absolute;left:0;top:100%;width:100%;height:80px}.intro-dollars i{position:absolute;left:15%;color:#69dc70;font:800 13px system-ui;font-style:normal;animation:gaffalo-dollar-trail .65s ease-out infinite}.intro-dollars i:nth-child(2){left:65%;animation-delay:.2s}.intro-dollars i:nth-child(3){left:40%;font-size:10px;animation-delay:.4s}
@keyframes gaffalo-run-north{from{transform:translateY(30px)}to{transform:translateY(calc(-100svh - 210px))}}
@keyframes gaffalo-gallop{0%{transform:scaleX(1) translateY(0)}50%{transform:scaleX(-1) translateY(-3px)}}
@keyframes gaffalo-dust{from{opacity:.5;transform:translateY(0) scale(.4)}to{opacity:0;transform:translateY(55px) scale(1.4)}}
@keyframes gaffalo-dollar-trail{from{opacity:0;transform:translateY(0) rotate(-10deg)}20%{opacity:.65}to{opacity:0;transform:translateY(60px) rotate(15deg)}}
@keyframes gaffalo-intro-fade{0%,65%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.gaffalo-intro{display:none!important}.intro-runner,.intro-runner img,.intro-dust i,.intro-dollars i{animation:none!important}}
.drive-trips{display:grid;gap:10px}.drive-trip{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #444;border-radius:15px;background:#161616}.drive-trip>span{flex:1;min-width:0}.drive-trip strong{display:block;font-size:15px}.drive-trip small{display:block;margin-top:5px;color:#aaa;font-size:12px;line-height:1.5}.drive-trip .button{flex:none;font-size:13px;padding:10px;min-height:44px}

.home-drive-dock{display:flex;align-items:center;justify-content:flex-start;gap:18px;margin:0 0 18px;padding:0 0 4px}.home-drive-dock .home-drive-card{flex:none}.home-drive-explainer{flex:1;min-width:0}.home-drive-explainer strong{display:block;font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:21px;line-height:1.2;font-weight:900;letter-spacing:.4px;color:#eee}.home-drive-explainer p{margin:8px 0 0;font-size:14px;line-height:1.55;color:#bcbcbc}
.home-drive-card{align-self:center;display:flex;flex-direction:column;align-items:center;width:112px;margin:0;padding:0;pointer-events:auto}
.home-driving-emblem{width:112px;height:74px;flex:none;margin:0 0 3px;border-radius:12px}
.driving-gaffalo{display:block;width:100%;height:100%;pointer-events:none}
.driving-gaffalo .gaffalo-car{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}
.home-drive-main{width:100%;min-height:44px;padding:9px 8px;border:1px solid #496a4d;border-radius:12px;background:linear-gradient(120deg,#243326,#162219);color:#a4e1aa;touch-action:manipulation}
.home-drive-main b{display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;font-weight:750;line-height:1.25}
.home-drive-main svg{width:15px;height:15px;flex:none}
#home-drive-detail{width:100%;margin-top:7px;text-align:center;font-size:12px;line-height:1.5;color:#bcbcbc;overflow-wrap:anywhere}
.home-drive-recent{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:36px;margin:2px 0 0;padding:5px 0;background:transparent;color:#a9afa9;font-size:12px}
.home-drive-recent svg{width:13px;height:13px}
.home-drive-main:focus-visible,.home-drive-recent:focus-visible{outline:2px solid #80d987;outline-offset:3px;border-radius:12px}
.home-drive-card.is-recording .home-drive-main{border-color:#80b586;background:#253d2a;color:#bcf0c2}
@media(hover:hover){.home-drive-main:hover{background:#2a3c2d;border-color:#729e78}}
@media(max-width:360px){.home-drive-card,.home-driving-emblem{width:104px}.home-driving-emblem{height:68px}}
.mileage-config-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0;margin-top:5px;background:transparent;color:#a4d6a9;font-size:13px;font-weight:700;text-align:left;touch-action:manipulation}.mileage-config-link svg{width:16px;height:16px}.mileage-config-link:focus-visible{outline:2px solid #80d987;outline-offset:3px;border-radius:7px}
.irs-rate-card{padding:16px;border:1px solid #465b49;border-radius:18px;background:#131b14;margin-bottom:18px}.irs-rate-card>strong{display:block;color:#80d987;font-size:25px}.irs-rate-card p{margin:10px 0;font-size:13px;color:#bbb;line-height:1.6}.irs-rate-card small{display:block;margin-top:12px;font-size:12px;line-height:1.5;color:#aaa}.irs-rate-card a{display:inline-flex;align-items:center;gap:5px;min-height:36px;margin-top:6px;color:#b7dab9;font-size:13px}.irs-rate-card a svg{width:14px;height:14px}

/* Mileage switches keep native radio semantics without letting form-input styles displace labels. */
.gaffalo-job-dialog .mileage-method{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #404040;border-radius:19px;background:#0d0d0d}
.gaffalo-job-dialog .mileage-method label{position:relative;display:grid;place-items:center;min-width:0;min-height:54px;margin:0;padding:12px 7px;border:1px solid transparent;border-radius:14px;background:transparent;color:#c3c3c3;text-align:center;cursor:pointer;touch-action:manipulation;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .12s ease}
.gaffalo-job-dialog .mileage-method label>span{display:block;max-width:100%;font-family:Manrope,'Arial Black',system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.3;letter-spacing:.15px;text-align:center;overflow-wrap:normal}
.gaffalo-job-dialog .mileage-method input[type=radio]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.gaffalo-job-dialog .mileage-method label:has(input:checked){background:linear-gradient(135deg,#28372b,#19241b);border-color:#577d5d;color:#f7fff8;box-shadow:inset 0 1px 0 #ffffff0e}
.gaffalo-job-dialog .mileage-method label::after{content:"";position:absolute;bottom:5px;left:40%;right:40%;height:2px;border-radius:2px;background:#7bda83;transform:scaleX(0);transition:transform .16s ease}
.gaffalo-job-dialog .mileage-method label:has(input:checked)::after{transform:scaleX(1)}
.gaffalo-job-dialog .mileage-method label:has(input:focus-visible){outline:2px solid #b9e7bd;outline-offset:2px}
.gaffalo-job-dialog .mileage-method label:active{transform:scale(.98)}
.gaffalo-mileage-dialog .modal-header h2{font-family:Impact,'Arial Black',system-ui,sans-serif;letter-spacing:.6px}
.gaffalo-mileage-dialog .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;font-family:Manrope,system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.3;text-align:center;white-space:normal}
.gaffalo-mileage-dialog .modal-footer{flex-wrap:wrap;gap:10px}
.gaffalo-mileage-dialog .modal-footer .button{flex:1;min-width:105px}
.gaffalo-mileage-dialog .modal-footer .button[type=submit]{transition:transform .12s ease,background-color .16s ease;font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:23px;letter-spacing:.5px;min-width:130px}
.gaffalo-mileage-dialog .modal-desc{font-size:15px;line-height:1.65}
.gaffalo-mileage-dialog .field small,.gaffalo-mileage-dialog .help-text,.gaffalo-mileage-dialog .irs-rate-card p{font-size:14px;line-height:1.6}
.gaffalo-mileage-dialog .mileage-preview small,.gaffalo-mileage-dialog .drive-trip small{font-size:13px;line-height:1.5}
.gaffalo-mileage-dialog .mileage-preview strong{font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:25px;font-variant-numeric:tabular-nums}
.gaffalo-mileage-dialog .modal-body,#mileage-odometer-fields:not([hidden]),#mileage-manual-field:not([hidden]){animation:mileage-flow-in .18s ease-out}
@keyframes mileage-flow-in{from{transform:translateY(4px)}to{transform:translateY(0)}}
.button:not(:disabled),.icon-button:not(:disabled),.mileage-config-link,.home-drive-main,.more-item,.nav-item{transition:transform .12s ease,background-color .16s ease,border-color .16s ease,color .16s ease}
.button:not(:disabled):active,.icon-button:not(:disabled):active,.mileage-config-link:active,.home-drive-main:active,.more-item:active,.nav-item:active{transform:translateY(1px) scale(.985)}
@media(max-width:360px){.gaffalo-job-dialog .mileage-method label>span{font-size:15px}.gaffalo-mileage-dialog .drive-trip{align-items:flex-start;flex-wrap:wrap}.gaffalo-mileage-dialog .drive-trip .button{width:100%}}
@media(prefers-reduced-motion:reduce){.gaffalo-mileage-dialog .modal-body,#mileage-odometer-fields,#mileage-manual-field{animation:none}.gaffalo-job-dialog .mileage-method label:active,.button:not(:disabled):active,.icon-button:not(:disabled):active,.mileage-config-link:active,.home-drive-main:active,.more-item:active,.nav-item:active{transform:none}}

.gaffalo-home .home-heading{padding-top:0;padding-bottom:12px}
.company-card{position:relative}
.client-color-band{position:absolute;top:0;left:0;right:0;height:7px;display:flex;overflow:hidden;border-radius:22px 22px 0 0;pointer-events:none}
.client-color-band i{flex:1;display:block}
.client-color-chips{display:inline-flex;align-items:center;gap:4px;margin-left:9px;vertical-align:middle}
.client-color-chips i{display:block;width:11px;height:11px;border:1px solid #ffffff40;border-radius:4px}
.company-title>div:first-child{flex:1;min-width:0}
.company-title-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.company-title-actions>strong{font-family:Manrope,system-ui,sans-serif;font-size:24px;font-weight:650;white-space:nowrap}
.company-title-actions>strong small{font-size:14px;color:#aaa}
.client-palette-button{transition:transform .12s ease,border-color .16s ease,background-color .16s ease;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 11px;border:1px solid #505050;border-radius:13px;background:#171717;color:#ddd;font-family:Manrope,system-ui,sans-serif;font-size:13px;font-weight:750;touch-action:manipulation}
.client-palette-button svg{width:16px;height:16px}
.client-palette-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.client-palette-button:active{transform:scale(.98)}
.pro-client-entry{display:flex;align-items:stretch;gap:8px}
.pro-client-entry .pro-client-row{flex:1;min-width:0;width:auto}
.pro-client-entry .client-palette-button{flex:none;flex-direction:column;min-width:62px;gap:5px}
.gaffalo-job-dialog .mileage-method.client-palette-count{grid-template-columns:repeat(3,minmax(0,1fr))}
.client-palette-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gaffalo-job-dialog .client-palette-slots input[type=color]{width:100%;height:54px;min-height:54px;padding:6px;border-radius:14px;cursor:pointer}
.client-palette-slots label{display:block;text-align:center}
.client-palette-preview{position:relative;overflow:hidden;border:1px solid #505050;border-radius:19px;background:linear-gradient(135deg,#252525,#111);padding:25px 18px 18px;margin:0 0 15px}
#client-palette-preview-band{position:absolute;top:0;left:0;right:0;height:9px;display:flex}
#client-palette-preview-band i{display:block;flex:1}
.client-palette-preview strong{display:block;font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:25px;letter-spacing:.5px;overflow-wrap:anywhere}
.client-palette-preview small{display:block;margin-top:8px;color:#aaa;font-size:14px}
@media(hover:hover){.client-palette-button:hover{border-color:#888;background:#242424;color:#fff}}
@media(max-width:360px){.company-title{gap:10px}.company-title-actions>strong{font-size:22px}.client-palette-button{padding:8px;font-size:12px}.client-palette-slots{gap:6px}}
@media(prefers-reduced-motion:reduce){.client-palette-button:active{transform:none}}

/* Clients: direct creation and instant search, with the list first. */
.clients-quick-tools{display:grid;gap:12px;margin-bottom:16px}
.clients-new-button{display:flex;justify-content:center;align-items:center;gap:10px;min-height:52px;border-radius:18px!important;background:linear-gradient(135deg,#285e3e,#1b422d)!important;color:#f5fff8!important;border:1px solid #528d62!important;box-shadow:inset 0 1px 0 #ffffff17;font-family:Manrope,system-ui,sans-serif;font-size:17px!important;font-weight:800;transition:transform .12s ease,background .16s ease}
.clients-new-button:active{transform:scale(.98)}
.clients-search-box{display:flex;align-items:center;gap:10px;padding:0 14px;min-height:54px;background:#191919;border:1px solid #555;border-radius:18px;transition:border-color .16s ease,box-shadow .16s ease}
.clients-search-box:focus-within{border-color:#75ca96;box-shadow:0 0 0 3px #75ca9614}
.clients-search-box>svg{color:#aaa;width:21px;height:21px}
.clients-search-box input{flex:1;min-width:0;width:100%;min-height:52px;background:transparent!important;border:0!important;box-shadow:none!important;outline:none;font-size:16px;color:#fff;padding:8px 0!important}
.clients-search-box input::-webkit-search-cancel-button{display:none}
.clients-search-box>button{flex-shrink:0;width:44px;height:44px;background:transparent;border-radius:12px;font-size:27px;color:#ddd}
.clients-result-count{margin:0 2px 12px;color:#aaa;font-size:14px}
.company-title-actions .client-palette-button{min-height:44px}
@media(prefers-reduced-motion:reduce){.clients-new-button:active{transform:none}}

/* A rainbow gear makes client color settings recognizable at a glance. */
.client-colors-gear{display:inline-block;width:22px;height:22px;flex:none;background:conic-gradient(from -35deg,#ff7286,#ffc870,#f5ef77,#76e9a8,#77d6ff,#ac99ff,#ef93e5,#ff7286);-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%203-1%203-3%201%201%203-2%202%202%202-1%203%203%201%201%203h6l1-3%203-1-1-3%202-2-2-2%201-3-3-1-1-3z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%203-1%203-3%201%201%203-2%202%202%202-1%203%203%201%201%203h6l1-3%203-1-1-3%202-2-2-2%201-3-3-1-1-3z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;}
.client-colors-button{gap:8px;color:#f5f5f5;border-color:#606060;white-space:nowrap}
@media(forced-colors:active){.client-colors-gear{background:ButtonText}}

.gaffalo-home .home-slogan{overflow-wrap:anywhere;font-size:clamp(27px,7.4vw,38px)}

/* Car and small drive button fill the space directly below the slogan. */
.gaffalo-home .home-heading{min-height:0;padding-bottom:8px}
.gaffalo-home .home-drive-dock{display:block;width:144px;max-width:100%;margin:0 0 4px;padding:0}
.home-drive-dock .home-drive-card{display:flex;flex-direction:column;gap:2px;width:100%;align-items:center}
.home-drive-dock .home-driving-emblem{width:128px;height:84px;margin:0 0 2px}
.home-drive-dock .home-drive-main{width:144px;max-width:100%;min-height:44px;padding:9px 8px;border-radius:13px}
.home-drive-dock .home-drive-main b{font-family:Manrope,system-ui,sans-serif;font-size:14px}
.home-drive-dock .home-drive-recent{width:144px;max-width:100%;min-height:44px;margin:0;padding:6px;font-size:13px}
.home-drive-dock #home-drive-detail{width:100%;font-size:13px;margin:3px 0 0}
.home-drive-explainer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0 0 12px}
.home-drive-explainer p{margin:0;font-size:13px;line-height:1.4;color:#bcbcbc}
.home-drive-explainer .mileage-config-link{flex:none;min-height:44px;margin:0;padding:8px 0;font-size:13px}
@media(max-width:360px){.home-drive-explainer{flex-wrap:wrap;gap:0 8px}}

/* Paperwork stays one tap away, with sensitive details inside the editor. */
.clients-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.clients-documents-shortcut{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:10px 12px!important;border-radius:18px!important;font-family:Manrope,system-ui,sans-serif;font-size:13px!important;font-weight:750}
.clients-documents-shortcut>span{max-width:92px;line-height:1.2}
.client-paperwork-button{display:flex;align-items:center;gap:11px;width:100%;min-height:56px;margin-top:16px;padding:12px;border:1px solid #4a4a4a;border-radius:15px;background:#161616;text-align:left;color:#eee;transition:background .15s ease,border-color .15s ease}
.client-paperwork-button>span{flex:1;min-width:0}.client-paperwork-button strong{display:block;font-family:Manrope,system-ui,sans-serif;font-size:15px;font-weight:750}.client-paperwork-button small{display:block;margin-top:3px;font-size:13px;color:#b0b0b0}.client-paperwork-button>svg{color:#bfc9c0}
.documents-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.documents-primary-actions .full{grid-column:1 / -1}.documents-primary-actions .button,.document-row-actions .button{min-height:46px;font-size:14px;text-align:center;white-space:normal;justify-content:center;border-radius:14px}
.document-list{display:grid;gap:12px}.document-row{padding:15px;border:1px solid #494949;border-radius:18px;background:#151515}.document-row-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}.document-row-title>div{min-width:0;flex:1}.document-row-title strong{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:750}.document-row-title small,.document-pick small{display:block;color:#b4b4b4;font-size:13px;line-height:1.5;margin-top:4px}.document-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.document-remove{min-height:44px;background:transparent;color:#cfa9a9;font-size:13px;padding:8px}.document-expiry{display:inline-block;margin-top:6px;color:#b9c4b9;font-size:13px}.document-expiry.soon{color:#e2c888}.document-expiry.expired{color:#e5aaaa}
.document-empty{padding:22px 15px;border:1px dashed #555;border-radius:17px;color:#b9b9b9;font-size:14px;line-height:1.7;text-align:center}.document-storage-note{font-size:13px;line-height:1.6;color:#a8a8a8;margin:14px 0}.document-source-link{display:block;padding:12px 0;min-height:44px;font-size:14px;color:#c7d8ca}.document-pick{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #505050;border-radius:16px;background:#1b1b1b;text-align:left;min-height:60px}.document-pick>span{flex:1;min-width:0}.document-pick strong{overflow-wrap:anywhere;font-size:15px}.w9-reveal{display:flex;align-items:flex-start;gap:9px;min-height:44px;font-size:14px;line-height:1.5;margin-bottom:14px}.w9-reveal input{width:20px;height:20px;flex:none;accent-color:#75ca96}#w9-form input,#w9-form select,#w9-form textarea{font-size:16px}#w9-save,#w9-back{margin-bottom:10px}#document-preview .modal-desc{overflow-wrap:anywhere}
@media(hover:hover){.client-paperwork-button:hover,.document-pick:hover{background:#242424;border-color:#707070}}
@media(max-width:360px){.clients-create-row{gap:8px}.clients-documents-shortcut{padding:10px!important;gap:5px}.clients-documents-shortcut>span{max-width:70px}.documents-primary-actions{gap:8px}}

.w9-template-actions{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;padding:10px 0;margin-bottom:12px;background:#161616;box-shadow:0 8px 15px #0005}.w9-template-actions .button{min-height:46px;border-radius:13px;padding:10px 12px;white-space:normal;font-size:14px;display:flex;align-items:center;justify-content:center;gap:6px}.w9-template-actions>.button:first-child{flex:1}.w9-template-actions>.icon-button{flex:none;width:44px;height:46px}.w9-template-page{display:block;width:100%;height:auto;border-radius:10px;background:white;box-shadow:0 6px 20px #0006}.w9-editor-back{display:flex;align-items:center;gap:8px;background:transparent;text-align:left;margin-bottom:8px}

.client-colors-title{display:inline-block;color:#f5f5f5}
@supports (background-clip:text) or (-webkit-background-clip:text){.client-colors-title{background:linear-gradient(105deg,#ff7286,#ffc870,#f5ef77,#76e9a8,#77d6ff,#ac99ff,#ef93e5);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}}
@media(forced-colors:active){.client-colors-title{background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}}

.home-location-access{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;width:100%;padding:6px 3px;border:0;background:transparent;color:#bacbbb;font-size:12px;line-height:1.3}.home-location-access svg{width:15px;height:15px}.home-drive-live{display:grid;gap:3px;width:100%;padding:10px 7px;border:1px solid #4b6750;border-radius:13px;background:#142019;text-align:center;font-variant-numeric:tabular-nums}.home-drive-live>strong{font-family:Manrope,system-ui,sans-serif;font-size:20px;font-weight:800;line-height:1.25}.home-drive-live strong small{font-size:13px;font-weight:600;color:#c5d1c6}.home-drive-live>small{font-size:11px;line-height:1.4;color:#b5c7b7}.home-drive-card.is-recording #home-drive-detail{font-size:12px}.home-drive-card .driving-gaffalo{position:relative;isolation:isolate}.home-drive-card .gaffalo-car{position:relative;z-index:1}.driving-road-lines{position:absolute;inset:auto 4px 5px;z-index:0;height:18px;opacity:0;overflow:hidden}.driving-road-lines i{position:absolute;left:10%;top:2px;width:25px;height:2px;background:#79d89680;border-radius:2px}.driving-road-lines i:nth-child(2){top:8px;left:40%}.driving-road-lines i:nth-child(3){top:14px;left:65%}.is-driving .driving-road-lines{opacity:1}.is-driving .driving-road-lines i{animation:gaffalo-road-drift .75s linear infinite}.is-driving .driving-road-lines i:nth-child(2){animation-delay:-.25s}.is-driving .driving-road-lines i:nth-child(3){animation-delay:-.5s}.is-driving .driving-gaffalo{animation:gaffalo-driving-bounce .7s ease-in-out infinite;transform-origin:50% 80%}.location-access-help{padding:15px;border:1px solid #535353;border-radius:17px;background:#181818;margin-top:14px}.location-access-help strong{font-size:16px}.location-access-help p{font-size:14px;line-height:1.6;color:#bcbcbc;margin:9px 0 0}
@keyframes gaffalo-driving-bounce{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-1.5px) rotate(-.4deg)}70%{transform:translateY(.5px) rotate(.3deg)}}
@keyframes gaffalo-road-drift{from{transform:translateX(55px);opacity:0}20%{opacity:1}to{transform:translateX(-75px);opacity:0}}
@media(prefers-reduced-motion:reduce){.is-driving .driving-gaffalo,.is-driving .driving-road-lines i{animation:none}.is-driving .driving-road-lines{opacity:0}}

/* Rotating backstage one-liners: a readable sage tint and italic voice. */
.page-heading p.gaffalo-quote,.gaffalo-job-dialog .job-cheer,.gaffalo-toast-quote{color:#b0ccb7;font-family:'DM Sans',system-ui,sans-serif;font-style:italic;font-weight:500;letter-spacing:0;line-height:1.5}
.gaffalo-toast-quote{display:block;margin-top:7px;padding:7px 11px;border:1px solid #498c60;border-radius:11px;background:#e5f7ec;color:#165536;font-size:16px;font-weight:700;line-height:1.45}
.gaffalo-home .home-slogan.gaffalo-quote-home{font-style:italic}
.gaffalo-home .home-slogan.gaffalo-quote-home>span{color:#b0ccb7}
.gaffalo-home .home-slogan.gaffalo-quote-home .home-slogan-outline{color:#171717;-webkit-text-stroke-color:#b0ccb7}
@supports not (-webkit-text-stroke:1px #b0ccb7){.gaffalo-home .home-slogan.gaffalo-quote-home .home-slogan-outline{color:#b0ccb7}}
@media(forced-colors:active){.page-heading p.gaffalo-quote,.gaffalo-job-dialog .job-cheer,.gaffalo-toast-quote,.gaffalo-home .home-slogan.gaffalo-quote-home>span{color:CanvasText;-webkit-text-stroke:0}}

/* Client creation and reusable paperwork share a compact left-hand stack. */
.clients-create-row{grid-template-columns:minmax(0,1fr);width:min(100%,260px);max-width:calc(100% - 48px);gap:10px}
.clients-documents-shortcut{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:10px!important;min-height:80px;padding:12px!important;text-align:left;justify-content:initial;background:linear-gradient(135deg,#242824,#161916)!important;border:1px solid #526354!important;box-shadow:inset 0 1px 0 #ffffff0d;transition:transform .12s ease,border-color .16s ease,background .16s ease}
.clients-documents-shortcut>.clients-documents-copy{max-width:none;min-width:0;line-height:1.3}.clients-documents-copy strong{display:block;font-family:Manrope,system-ui,sans-serif;font-size:16px;font-weight:800;color:#f1f4f1}.clients-documents-copy small{display:block;margin-top:5px;font-size:13px;font-weight:450;line-height:1.45;color:#b8c1b9;white-space:normal}.clients-documents-shortcut>svg{width:16px;height:16px;color:#a2b9a6}.clients-document-emblem{display:grid;place-items:center;width:36px;height:42px;color:#e0e6e1}.clients-document-emblem svg{width:36px;height:40px}.document-emblem-shield{fill:#1b2e20;stroke:#8fc59a}.document-emblem-check{stroke:#b0dbb9}.clients-documents-shortcut:active{transform:scale(.985)}
@media(hover:hover){.clients-documents-shortcut:hover{border-color:#90b799!important}}
@media(max-width:360px){.clients-create-row{width:min(100%,244px);max-width:calc(100% - 36px)}}
@media(prefers-reduced-motion:reduce){.clients-documents-shortcut:active{transform:none}}

.receipt-capture-cta{display:flex;align-items:center;gap:8px;margin:0 18px 18px;min-height:48px;padding:12px 15px!important;border-radius:16px!important;background:linear-gradient(130deg,#23412b,#172a1c)!important;color:#ecf4ee!important;border:1px solid #52765a!important;font-size:15px!important}.receipt-capture-cta small{display:block;font-size:12px;font-weight:450;color:#b8ccbd;margin-left:auto}.receipt-capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.receipt-capture-actions .button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;text-align:center;cursor:pointer;border-radius:16px;font-size:14px;line-height:1.3}.receipt-hidden-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.receipt-photo-preview{display:block;width:100%;max-height:260px;object-fit:contain;background:#151515;border:1px solid #555;border-radius:16px;margin-bottom:12px}#receipt-scan-stop{min-height:44px;margin-bottom:10px}#receipt-capture-form input,#receipt-capture-form select{font-size:16px}
@media(max-width:360px){.receipt-capture-cta{flex-wrap:wrap}.receipt-capture-cta small{width:100%;margin-left:0}}

/* Compact sorting and backstage expense emblems. */
.day-order-menu.day-order-compact,.invoice-controls .day-order-menu.day-order-compact,.timesheet-fold .day-order-menu.day-order-compact{display:flex;align-items:center;gap:7px;padding:6px;margin:10px 0 12px;border-radius:15px;box-shadow:none}
.day-order-compact .day-order-options{display:grid;grid-template-columns:1fr 1fr;flex:1;min-width:0;gap:4px;margin:0}
.day-order-compact .day-order-button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:7px 5px;border-radius:11px;font-size:13px;line-height:1.2;white-space:normal}
.day-order-compact .day-order-arrow{width:15px;height:15px;flex:none}.day-order-compact .day-order-arrow svg{width:14px;height:14px}
.day-order-compact .day-order-batch{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:none;width:44px;min-height:44px;margin:0;padding:5px;border-radius:11px;background:#19261c;border:1px solid #49614e;color:#c3dcc9}.day-order-batch svg{width:16px;height:16px}.day-order-batch small{font-size:10px;line-height:1}
.expense-fold-title{display:inline-flex;align-items:center;gap:9px;min-width:0}.expense-mini-emblems{display:inline-flex;align-items:center;gap:3px;flex:none}.expense-emblem{display:inline-grid;place-items:center;width:38px;height:38px;color:#e5e9e6;background:linear-gradient(145deg,#242824,#101410);border:1px solid #4b5c4e;border-radius:12px;flex:none}.expense-emblem svg{display:block;width:31px;height:31px}.expense-emblem-surface{fill:#151c17}.expense-emblem-accent{stroke:#8ec49b}.expense-gate-arm{stroke:#dce9df;stroke-width:4;transform-origin:10px 19px}.expense-gate-stripes{stroke:#76b987;stroke-width:2;transform-origin:10px 19px}.expense-mini-emblems .expense-emblem{width:24px;height:26px;border-radius:8px;border-color:#46544a}.expense-mini-emblems .expense-emblem svg{width:21px;height:23px}.expense-row .job-icon{padding:0;background:transparent;border:0}.expense-row .job-icon .expense-emblem{width:36px;height:38px}
.expenses-fold[open]>.fold-body .expense-emblem-parking .expense-gate-arm,.expenses-fold[open]>.fold-body .expense-emblem-parking .expense-gate-stripes{animation:gaffalo-parking-gate .85s ease-in-out}
@keyframes gaffalo-parking-gate{0%,100%{transform:rotate(0deg)}48%,70%{transform:rotate(-48deg)}}
@media(hover:hover){.expenses-fold>summary:hover .expense-gate-arm,.expenses-fold>summary:hover .expense-gate-stripes{animation:gaffalo-parking-gate .85s ease-in-out}}
@media(max-width:360px){.expense-mini-emblems .expense-emblem:last-child{display:none}.expense-fold-title{gap:6px}.day-order-compact .day-order-button{font-size:12px}.day-order-compact .day-order-arrow{display:none}}
@media(prefers-reduced-motion:reduce){.expense-gate-arm,.expense-gate-stripes{animation:none!important}}

/* Open Jobs: a compact left-side action leaves the backdrop mascot visible. */
.new-job-cta.gaffalo-action.jobs-new-job-compact{width:190px;max-width:100%;min-height:64px;padding:9px 10px;gap:8px;border-radius:18px;margin:0 0 20px}
.jobs-new-job-compact.gaffalo-action .new-job-icon.gaffalo-mascot{width:44px;height:44px;border-radius:12px}
.jobs-new-job-compact .new-job-main{min-height:44px;margin:0;padding:0;gap:8px}
.jobs-new-job-compact.gaffalo-action .new-job-copy strong{font-size:22px;letter-spacing:.4px;white-space:nowrap}
.jobs-new-job-compact.gaffalo-action .new-job-arrow{width:24px;height:28px}
.jobs-new-job-compact.gaffalo-action .new-job-arrow svg{width:17px;height:17px}

/* Saved position colors label the multi-day calendar without overwhelming it. */
.calendar-positions{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 12px;scrollbar-width:thin}
.calendar-position,.calendar-position-add{flex:none;display:flex;align-items:center;gap:9px;min-height:52px;max-width:220px;padding:10px 12px;border:1px solid #444;border-radius:15px;background:#151515;color:#eee;text-align:left;cursor:pointer;font:700 14px/1.3 Manrope,system-ui,sans-serif}
.calendar-position.active{border-color:var(--position-color);box-shadow:inset 0 0 0 1px var(--position-color);background:#252525}
.calendar-position i{width:12px;height:12px;border-radius:50%;background:var(--position-color);flex:none}
.calendar-position span{overflow-wrap:anywhere}.calendar-position small{display:block;font-size:12px;font-weight:500;color:#bdbdbd;margin-top:4px}
.calendar-position-add{color:#9bcdaa;border-style:dashed}
.calendar-position:focus-visible,.calendar-position-add:focus-visible{outline:2px solid #fff;outline-offset:2px}
.calendar-position-settings,.position-profile-settings{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:end;gap:12px;margin:0 0 10px}
.calendar-position-settings .field{margin:0}.calendar-position-settings label{font-size:13px;color:#cfcfcf}.calendar-position-settings select{min-height:44px;font-size:14px}
.calendar-color-label{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:13px}
.calendar-color-label input[type=color],.position-profile-settings input[type=color]{width:54px;height:44px;border:1px solid #555;border-radius:10px;background:#151515;padding:4px;cursor:pointer}
.calendar-day{position:relative}.gaffalo-job-dialog .calendar-day.selected{color:#fff}.calendar-day-color{position:absolute;bottom:4px;left:50%;width:6px;height:6px;border-radius:50%;background:var(--position-color);transform:translateX(-50%)}
.calendar-chips .calendar-chip{border-left:3px solid var(--position-color);max-width:100%;white-space:normal;text-align:left}.calendar-chip span{font-size:12px;color:#ddd}
.position-profile-settings{grid-template-columns:100px minmax(0,1fr)}

.calendar-picker-label{font-size:13px;font-weight:700;color:#c3c3c3;margin:12px 0 7px}#calendar-activity-picker .calendar-position{min-height:44px;font-size:14px}

/* Small mascot status emblems: one quiet lap of light, never a screen reload. */
@property --status-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
.status-gaffalo{display:block;width:34px;height:30px;flex:none;overflow:visible}
.job-status-graphic{position:relative;isolation:isolate;flex:0 1 auto!important;gap:6px;min-height:38px;padding:3px 9px 3px 5px;border:1px solid #3f4941;border-radius:13px;background:#131813}
.job-status-graphic .job-status-copy strong{font:750 13px/1.2 Manrope,system-ui,sans-serif;letter-spacing:.1px;text-transform:none}
.job-status-graphic .job-status-copy small.visually-hidden{margin:0;padding:0}
.job-status-graphic.past{border-color:#465349;background:#151b17}
.job-status-graphic.upcoming{border-color:#484848;background:#171717}
.job-status-detail{padding:8px 10px;border-radius:17px}
.status-gaffalo-run{animation:gaffalo-status-gallop 2.4s ease-in-out infinite;transform-origin:32px 29px}
.status-gaffalo-leg{transform-box:view-box;animation:gaffalo-status-stride 2.4s ease-in-out infinite;transform-origin:17px 30px}
.status-gaffalo-leg.front{animation-direction:reverse;transform-origin:38px 30px}
.status-gaffalo-upcoming .status-gaffalo-head{animation:gaffalo-watch-glance 9s ease-in-out infinite;transform-origin:33px 19px}
.gaffalo-status-orbit::before,.gaffalo-workspace .job-status-filters [data-filter=active]::before{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;background:conic-gradient(from var(--status-angle),transparent 0deg 240deg,#428c5700 260deg,#79e2a0 305deg,#c2ffd2 315deg,transparent 340deg);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;animation:gaffalo-status-light 10s linear infinite,gaffalo-status-pulse 5s ease-in-out infinite}
.gaffalo-workspace .job-status-filters{gap:4px;padding:4px;border-radius:17px}
.gaffalo-workspace .job-status-filters .filter{position:relative;isolation:isolate;min-height:48px;padding:5px 4px;gap:4px;font-size:13px;border-radius:12px}
.gaffalo-workspace .job-status-filters .filter>.status-gaffalo{width:29px;height:28px}
.gaffalo-workspace .job-status-filters .filter>svg:not(.status-gaffalo){width:17px;height:17px;flex:none}
.gaffalo-workspace .job-status-filters .filter.active{background:#203126;color:#edf9f0;border-color:#52735c;box-shadow:inset 0 1px 0 #ffffff0b}
.gaffalo-workspace .job-status-filters [data-filter=active]{border-color:#365440}
@keyframes gaffalo-status-light{to{--status-angle:360deg}}
@keyframes gaffalo-status-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes gaffalo-status-gallop{0%,50%,100%{transform:translateY(0)}25%,75%{transform:translateY(-1.5px)}}
@keyframes gaffalo-status-stride{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(14deg)}}
@keyframes gaffalo-watch-glance{0%,55%,100%{transform:rotate(0)}68%,80%{transform:rotate(9deg)}}
@media(max-width:360px){.gaffalo-workspace .job-status-filters .filter{font-size:12px;gap:2px}.gaffalo-workspace .job-status-filters .filter>.status-gaffalo{width:25px;height:26px}}
@media(prefers-reduced-motion:reduce){.status-gaffalo-run,.status-gaffalo-leg,.status-gaffalo-upcoming .status-gaffalo-head,.gaffalo-status-orbit::before,.gaffalo-workspace .job-status-filters [data-filter=active]::before{animation:none!important}}

/* Invoice atelier: readable local type, distinctive paper, one shared design. */
@font-face{font-family:InvoiceModern;src:url('assets/fonts/invoice-modern-normal.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:InvoiceModern;src:url('assets/fonts/invoice-modern-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
@font-face{font-family:InvoiceEditorial;src:url('assets/fonts/invoice-editorial-normal.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:InvoiceEditorial;src:url('assets/fonts/invoice-editorial-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
.invoice-sheet{--invoice-paper:#fff;--invoice-ink:#202b24;--invoice-muted:#67766c;--invoice-panel:#f2f6f3;--invoice-line:#dde6df;--invoice-radius:24px;--invoice-row-pad:18px;background:var(--invoice-paper);color:var(--invoice-ink);font-family:InvoiceModern,Arial,sans-serif;padding:36px;border:0;border-radius:var(--invoice-radius);box-shadow:0 20px 60px #0004;margin-top:24px}
.invoice-sheet[data-typography=editorial]{font-family:InvoiceEditorial,Georgia,serif}
.invoice-sheet h2,.invoice-sheet strong,.invoice-sheet .money,.invoice-sheet p,.invoice-sheet th,.invoice-sheet td,.invoice-sheet small{font-family:inherit}
.invoice-sheet .invoice-top{padding-bottom:28px;border-color:var(--invoice-line);gap:18px}
.invoice-sheet .invoice-top h2{font-size:30px;font-weight:800;letter-spacing:-1px;line-height:1.25;margin-top:12px;color:var(--invoice-ink)}
.invoice-sheet .invoice-top .eyebrow{font-family:inherit;font-size:13px;font-weight:800;letter-spacing:2px;color:var(--invoice-muted)}
.invoice-sheet .invoice-total strong{font-size:34px;font-weight:800;letter-spacing:-1.1px;color:var(--invoice-accent)}
.invoice-sheet .invoice-parties{padding:28px 0;gap:24px}.invoice-sheet .invoice-parties strong{font-size:14px;line-height:1.6;color:var(--invoice-ink)}
.invoice-sheet .invoice-parties small,.invoice-sheet .invoice-notes small{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--invoice-muted)}
.invoice-sheet .invoice-project{padding:20px;border-radius:calc(var(--invoice-radius)/2);background:var(--invoice-panel);border-left:3px solid var(--invoice-accent);font-size:16px;gap:12px}
.invoice-sheet .invoice-project>strong{color:var(--invoice-ink)}.invoice-sheet .invoice-project>span,.invoice-sheet .invoice-project .work-summary{color:var(--invoice-muted)}
.invoice-sheet .invoice-table{font-size:13px;margin-top:24px}.invoice-sheet .invoice-table th{background:var(--invoice-panel);color:var(--invoice-muted);font-size:10px;font-weight:800;letter-spacing:.5px;border:0;padding:14px 10px}
.invoice-sheet .invoice-table td{padding:var(--invoice-row-pad) 10px;border-color:var(--invoice-line);color:var(--invoice-ink)}
.invoice-sheet .invoice-table td strong{font-weight:700;font-size:13px}.invoice-sheet .invoice-table td small{font-size:11px;line-height:1.65;color:var(--invoice-muted)}
.invoice-sheet .invoice-table .money{color:var(--invoice-ink);font-weight:700}.invoice-sheet .invoice-table tbody tr:nth-child(even){background:transparent}
.invoice-sheet[data-row-style=striped] .invoice-table tbody tr:nth-child(even){background:var(--invoice-panel)}
.invoice-sheet[data-show-details=false] .invoice-table td small{display:none}
.invoice-sheet .invoice-notes p,.invoice-sheet .invoice-totals div{font-size:13px;color:var(--invoice-muted)}
.invoice-sheet .invoice-totals .grand-total{color:var(--invoice-ink);border-color:var(--invoice-line);font-size:16px}
.invoice-sheet .invoice-balance-due{background:var(--invoice-panel);border-left:3px solid var(--invoice-accent)!important;border-radius:calc(var(--invoice-radius)/2);padding:18px!important}
.invoice-sheet .invoice-balance-due strong{font-size:23px;font-weight:800;letter-spacing:-.5px}
.invoice-sheet .invoice-footnote{color:var(--invoice-muted);border-color:var(--invoice-line);font-size:10px;line-height:1.8}
.invoice-sheet[data-density=airy]{--invoice-row-pad:24px}.invoice-sheet[data-density=compact]{--invoice-row-pad:11px}
.invoice-sheet[data-corners=square]{--invoice-radius:0px}
.invoice-sheet[data-logo-size=small] .invoice-business-logo{max-width:90px;max-height:40px}.invoice-sheet[data-logo-size=medium] .invoice-business-logo{max-width:130px;max-height:60px}.invoice-sheet[data-logo-size=large] .invoice-business-logo{max-width:180px;max-height:84px}
.invoice-sheet[data-invoice-style=gaffalo],.invoice-sheet[data-invoice-style=roadcase]{border-top:4px solid var(--invoice-accent)}
.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top{margin:-36px -36px 0;padding:36px;background:#151b17;border:0}
.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top h2{color:#fff}
.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top .money{color:var(--invoice-header-accent,#9cebb2)}
.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top p,.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top small,.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top .eyebrow{color:#b8ccbd}
.invoice-sheet[data-invoice-style=tour] .invoice-top{background:#e2f6ea;border-left:4px solid var(--invoice-accent);padding:24px;border-radius:var(--invoice-radius)}
.invoice-sheet[data-invoice-style=spotlight]{--invoice-paper:#fffdf8;--invoice-panel:#f6f3ec}.invoice-sheet[data-invoice-style=spotlight] .invoice-top h2{font-size:34px}
.invoice-sheet[data-invoice-style=noir]{--invoice-paper:#121814;--invoice-ink:#e7eee9;--invoice-muted:#a9b8ae;--invoice-panel:#1f2721;--invoice-line:#3a483e}
.invoice-sheet[data-invoice-style=roadcase] .invoice-project{border:1px solid var(--invoice-line);border-left:5px solid var(--invoice-accent)}
.invoice-controls .invoice-style-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.invoice-controls .invoice-style-option{min-width:0;padding:12px;text-align:left;border:1px solid #414141;border-radius:18px;background:#191e1b}
.invoice-controls .invoice-style-option strong{display:block;font-size:14px;line-height:1.3;margin-top:10px;color:#f5faf6}.invoice-controls .invoice-style-option>small{display:block;font-size:11px;line-height:1.5;color:#aab8ad;margin-top:5px}
.invoice-controls .invoice-style-option.active{border-color:#88c699;background:#25372b;box-shadow:inset 0 0 0 1px #88c699}
.invoice-style-mini{display:block;width:100%;height:80px;border-radius:8px;background:#fff;position:relative;overflow:hidden;padding:18px 12px}
.invoice-style-mini:before{content:'';position:absolute;inset:0 0 auto;height:25px;background:#19221c}.invoice-style-mini i{display:block;height:3px;margin-top:7px;background:#c9d4cc;width:65%}.invoice-style-mini i:nth-child(2){width:82%}.invoice-style-mini b{position:absolute;right:10px;bottom:10px;width:30px;height:10px;border-radius:3px;background:#63bc7e}
.invoice-style-mini.mini-noir{background:#121814}.invoice-style-mini.mini-noir i{background:#3e5144}.invoice-style-mini.mini-spotlight{background:#fffdf8}.invoice-style-mini.mini-spotlight:before{background:#e9e3d7;height:8px}.invoice-style-mini.mini-tour:before{background:#bde7cc;height:31px}.invoice-style-mini.mini-roadcase{border-radius:0;border-top:4px solid #4dae67}.invoice-style-mini.mini-classic:before{height:5px;background:#e0e9e2}.invoice-style-mini.mini-studio:before{height:36px;background:#303632}
.invoice-personalize{margin:16px 0}.invoice-design-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.invoice-design-grid .field{min-width:0;margin:0 0 10px}.invoice-controls .invoice-design-grid select{width:100%;min-height:48px;border-radius:14px;font-size:15px;background:#1c221e;color:#eee;border:1px solid #46534a;padding:10px}.invoice-controls .invoice-design-grid input[type=color]{width:100%;padding:7px;cursor:pointer}
@media screen and (max-width:600px){.invoice-sheet{padding:22px;--invoice-radius:22px}.invoice-sheet .invoice-top{flex-direction:column}.invoice-sheet .invoice-total{text-align:left}.invoice-sheet .invoice-top h2{font-size:27px}.invoice-sheet .invoice-total strong{font-size:32px}.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top{margin:-22px -22px 0;padding:26px 22px}.invoice-sheet .invoice-parties{grid-template-columns:1fr 1fr;gap:20px}.invoice-sheet .invoice-parties>div:first-child{grid-column:1/-1}.invoice-sheet .invoice-table{min-width:0;width:100%}.invoice-sheet .invoice-table thead{display:none}.invoice-sheet .invoice-table tbody,.invoice-sheet .invoice-table tr{display:block}.invoice-sheet .invoice-table tr{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:18px 0;border-bottom:1px solid var(--invoice-line)}.invoice-sheet .invoice-table td{display:block;border:0;padding:0!important;min-width:0;text-align:left!important;white-space:normal;overflow-wrap:anywhere}.invoice-sheet .invoice-table td:nth-child(1){grid-column:1/-1;font-size:11px;color:var(--invoice-muted)}.invoice-sheet .invoice-table td:nth-child(2){grid-column:1/-1}.invoice-sheet .invoice-table td:nth-child(2) strong{font-size:15px}.invoice-sheet .invoice-table td:nth-child(3)::before,.invoice-sheet .invoice-table td:nth-child(4)::before{content:attr(data-label) ' · ';font-size:11px;color:var(--invoice-muted)}.invoice-sheet .invoice-table td:last-child{grid-column:1/-1;font-size:18px;font-weight:700;color:var(--invoice-accent)}.invoice-sheet .invoice-bottom{grid-template-columns:1fr;gap:24px}.invoice-sheet[data-corners=square]{--invoice-radius:0px}}
@media print{.invoice-sheet{box-shadow:none;margin:0;border-radius:0}.invoice-sheet .invoice-top{margin:0!important}.invoice-sheet .invoice-table{min-width:0}}

.invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-business-logo{background:#fff;padding:6px;border-radius:8px}

.invoice-sheet[data-invoice-style=noir] .invoice-balance-due .money{color:var(--invoice-header-accent)}

@media print{#invoice-sheet{background:var(--invoice-paper)!important;color:var(--invoice-ink)!important}#invoice-sheet .invoice-table td,#invoice-sheet .invoice-parties strong{color:var(--invoice-ink)!important}#invoice-sheet .money,#invoice-sheet .invoice-totals strong{color:var(--invoice-accent)!important}#invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top .money,#invoice-sheet[data-invoice-style=noir] .invoice-balance-due .money{color:var(--invoice-header-accent)!important}}

/* Billing setup: compact phone-first choices, all agreements stay available. */
.billing-setup{border:0;padding:0;margin:0 0 18px;min-width:0}.billing-setup legend{font-size:21px;font-weight:800;color:#f4f5f4;margin-bottom:4px}.billing-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.billing-choice{position:relative;display:flex;cursor:pointer;border:1px solid #353d37;background:linear-gradient(135deg,#242a26,#161a17);border-radius:18px;min-height:82px;transition:border-color .18s,transform .18s,background .18s}.billing-choice input{position:absolute;width:1px;height:1px;opacity:0}.billing-choice span{padding:13px 12px;display:grid;gap:5px;align-content:center}.billing-choice strong{font-size:17px;line-height:1.2;color:#f1f4f2}.billing-choice small{font-size:13px;line-height:1.3;color:#b6c0b8}.billing-choice:has(input:checked){border-color:#7bc995;background:linear-gradient(135deg,#24422d,#1b2e23);box-shadow:inset 0 0 0 1px #7bc99540}.billing-choice:has(input:focus-visible){outline:2px solid #c6e5ce;outline-offset:3px}.billing-choice:active{transform:scale(.98)}.billing-also{display:grid;gap:4px}.billing-setup-card{margin-bottom:20px}.billing-setup-card .settings-body{display:flex;gap:16px;align-items:center;justify-content:space-between}.billing-setup-card h2{font-size:22px;margin:6px 0}.billing-setup-card p{margin:0;color:#b7c4bc;font-size:15px}.billing-setup-actions{display:flex;gap:9px;flex-wrap:wrap}.billing-setup-actions .button{white-space:normal;text-align:center;justify-content:center;min-height:44px}#profile-form .field label{font-size:15px}#profile-explainer{font-size:15px;line-height:1.5}#profile-mode{font-weight:750;color:#bcdfc7;min-height:50px}@media(max-width:600px){.billing-setup-card .settings-body{align-items:flex-start;flex-direction:column}.billing-setup-actions{width:100%}.billing-setup-actions .button{flex:1}.billing-choice strong{font-size:16px}}@media(prefers-reduced-motion:reduce){.billing-choice{transition:none}.billing-choice:active{transform:none}}

/* Parked-use acknowledgment: large, explicit touch targets. */
.drive-safety-check{display:flex;align-items:flex-start;gap:12px;padding:14px;margin:12px 0;background:#151d18;border:1px solid #365743;border-radius:16px;font-size:16px;line-height:1.5;color:#eee;cursor:pointer}.drive-safety-check input[type=checkbox]{appearance:auto;width:24px;height:24px;flex:0 0 24px;margin:2px 0;accent-color:#82dca5}.drive-safety-check input:focus-visible{outline:2px solid #fff;outline-offset:3px}.drive-safety-details{margin:12px 0;color:#c9d4ce;font-size:15px;line-height:1.5}.drive-safety-details summary{padding:10px 0;cursor:pointer}

/* Today stays easy to spot without hiding the user’s activity color. */
.timesheet-fold .day-card.is-today{outline:2px solid #80dca5;outline-offset:-2px;box-shadow:0 0 0 1px #80dca52b,inset 0 0 22px #80dca50b}.day-date-heading{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}.day-today-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#203e2b;color:#a0efbe;border:1px solid #487957;font-family:Manrope,system-ui,sans-serif;font-size:12px;font-weight:800;line-height:1.25;letter-spacing:.25px}

/* Hours come first in job details; occasional tools stay folded. */
.job-detail-workspace .back{margin-bottom:10px}.job-detail-workspace>.page-heading{margin-bottom:12px;gap:10px;align-items:flex-start;flex-direction:column}.job-detail-workspace>.page-heading h1{font-size:clamp(25px,6vw,34px);line-height:1.15}.job-detail-workspace>.page-heading p{margin-top:5px;font-size:14px}.job-detail-workspace>.page-heading .heading-actions{width:auto;flex:0 0 auto;margin:0;justify-content:flex-start;align-self:flex-start}.job-detail-workspace .add-day-button{width:auto;min-height:44px;margin:0;padding:10px 12px;border-radius:14px;background:#18281e;border:1px solid #426c4f;color:#a4eabf;white-space:nowrap;font-size:15px}.job-compact-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;margin-bottom:10px;border:1px solid #343b36;border-radius:16px;background:#141715}.job-compact-total{min-width:0;text-align:right}.job-compact-total strong{display:block;font-size:21px;overflow-wrap:anywhere}.job-compact-total small{display:block;color:#aaa;font-size:12px;margin-top:2px}.job-detail-workspace>.job-tools-fold{margin:0 0 10px;border-radius:15px}.job-detail-workspace>.job-tools-fold>summary{min-height:44px;padding:9px 12px;font-size:14px}.job-detail-workspace>.timesheet-fold{margin-top:0}.job-detail-workspace>.timesheet-fold>summary{padding:13px 15px;font-size:19px}.job-tools-fold .job-invoice-actions{margin-top:0}.job-tools-fold .option-actions{margin:12px 0}.job-tools-fold .job-payment-summary{margin-top:16px}@media(max-width:600px){.job-detail-workspace>.page-heading{flex-direction:column;flex-wrap:nowrap;align-items:flex-start}.job-detail-workspace>.page-heading>div:first-child{min-width:0;flex:1}.job-detail-workspace>.page-heading h1{overflow-wrap:anywhere}.job-detail-workspace>.page-heading .heading-actions{display:flex}}@media(max-width:360px){.job-detail-workspace .add-day-button{padding:9px;font-size:14px}.job-compact-total strong{font-size:18px}}

/* A single slim toolbar beside the job days. */
.job-days-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;flex-wrap:wrap}.job-days-toolbar>.add-day-button{flex:none;min-height:40px;padding:8px 10px;font-size:14px}.timesheet-fold .job-days-toolbar .day-order-menu{flex:0 1 auto;gap:4px;margin:0;padding:0;border:0;background:none;border-radius:0}.job-days-toolbar .day-order-options{display:flex;flex:none;gap:2px;padding:2px;border-radius:10px;border-color:#303a32;background:#101411}.job-days-toolbar .day-order-button{min-height:32px;padding:6px 7px;font-size:11px;gap:3px;border-radius:7px}.job-days-toolbar .day-order-button.active{color:#bbe9cc;background:#263a2d;border-color:#52725c;box-shadow:none}.job-days-toolbar .day-order-arrow,.job-days-toolbar .day-order-arrow svg{width:11px;height:11px}.job-days-toolbar .day-order-batch{width:34px;min-height:36px;padding:4px;border-radius:9px}.job-days-toolbar .day-order-batch svg{width:13px;height:13px}.job-days-toolbar .day-order-batch small{font-size:9px}@media(max-width:350px){.job-days-toolbar{gap:6px}.job-days-toolbar .day-order-button{padding:6px 5px}.job-days-toolbar>.add-day-button{font-size:13px;padding:8px}}

/* Compact mileage launcher: totals rise without crowding the buffalo. */
.gaffalo-home .home-heading{margin-bottom:8px;padding-bottom:0}.gaffalo-home .home-drive-dock{width:224px;max-width:100%;margin:0 0 10px;padding:0}.home-drive-dock .home-drive-card{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:4px 8px;width:100%}.home-drive-dock .home-driving-emblem{grid-column:1;grid-row:1;width:78px;height:56px;margin:0;border-radius:10px}.home-drive-dock .home-drive-main{grid-column:2;grid-row:1;width:100%;min-height:44px;padding:8px;border-radius:12px}.home-drive-dock .home-drive-main b{font-size:13px}.home-drive-dock .home-drive-live{grid-column:1/-1;grid-row:2;width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px;padding:9px}.home-drive-dock .home-drive-live>small{grid-column:1/-1}.home-drive-dock #home-drive-detail{grid-column:1/-1;grid-row:3;width:100%;margin:0;text-align:left;font-size:12px;line-height:1.4}.home-drive-options{grid-column:1/-1;grid-row:4;min-width:0;margin:0}.home-drive-options>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px;color:#d2ddd6;font-size:13px;cursor:pointer;list-style:none}.home-drive-options>summary::-webkit-details-marker{display:none}.home-drive-options>summary::after{content:'⌄';color:#8abb9b}.home-drive-options[open]>summary::after{content:'⌃'}.home-drive-options[open]{padding-bottom:5px;border:1px solid #334d3b;border-radius:13px;background:#101a13}.home-drive-options .home-drive-recent,.home-drive-options .home-location-access,.home-drive-options .mileage-config-link{width:100%;max-width:none;min-height:44px;justify-content:flex-start;padding:8px 10px;margin:0;font-size:13px}.home-drive-options>summary:focus-visible{outline:2px solid #a3e9bb;outline-offset:1px;border-radius:9px}.home-drive-dock .home-drive-live[hidden]{display:none}

/* Tax tools stay compact and secondary to daily job logging. */
.accounting-hub{display:grid;gap:10px}.accounting-hub .button{justify-content:flex-start;text-align:left}.accounting-hub .button small{margin-left:auto;font-size:12px;color:#b8c7bd}.accounting-preview{margin:16px 0;padding:14px;border:1px solid #42674d;border-radius:16px;background:#142019;font-size:14px;line-height:1.55}.accounting-preview>strong{display:block;font-size:18px}.accounting-preview p{margin:8px 0}.accounting-preview ul{padding-left:18px}.accounting-table-scroll{overflow:auto;max-height:260px;border:1px solid #344d3b;border-radius:10px;margin:12px 0}.accounting-table-scroll table{width:100%;border-collapse:collapse;font-size:13px}.accounting-table-scroll th,.accounting-table-scroll td{padding:9px;text-align:left;border-bottom:1px solid #344d3b}.accounting-table-scroll th{color:#a5d9b6;white-space:nowrap}.accounting-record-list{max-height:340px;overflow:auto;overscroll-behavior:contain}.accounting-record{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;padding:12px 0;border-bottom:1px solid #343434;font-size:14px}.accounting-record small{display:block;width:100%;color:#bbb}.accounting-record strong{font-size:15px;overflow-wrap:anywhere}.accounting-record .text-button{min-height:36px;text-align:left}

.accounting-cost-history .fold-body{max-height:340px;overflow:auto;overscroll-behavior:contain}

.legacy-workspace-notice{display:block;position:relative;z-index:3;width:100%;margin:0 0 14px;padding:12px 14px;border:1px solid #948248;border-radius:14px;background:#252115;color:#eee2b5;text-align:left;font-size:14px;line-height:1.5;cursor:pointer}.legacy-record-list{max-height:340px;overflow:auto;overscroll-behavior:contain}

/* Saved-day confirmation: readable copy, one quiet snort, no page/image remount. */
.toast.toast-day-saved{display:flex;align-items:center;gap:13px;width:390px;max-width:calc(100vw - 32px);padding:15px 17px;border:1px solid #4e805f;border-radius:20px;background:#131d17;color:#f5f8f6;box-shadow:0 12px 36px #0009;overflow:visible;isolation:isolate}
.toast-save-copy{display:block;min-width:0;position:relative;z-index:2}
.toast-save-message{display:block;font-size:16px;font-weight:700;line-height:1.4}
.toast-day-saved .toast-save-copy{flex:1}
.toast-save-head{position:relative;display:block;width:52px;height:52px;flex:0 0 52px;z-index:1}
.toast-save-head img{display:block;width:52px;height:52px;border-radius:13px;transform-origin:50% 60%}
.toast-save-smoke{position:absolute;inset:0;pointer-events:none}
.toast-save-smoke .save-puff{position:absolute;top:58%;left:40%;width:22px;height:15px;opacity:0;border-radius:50%;background:radial-gradient(ellipse at 45% 40%,#d7e8dcaa,#8cbf9b70 50%,#75b08b00 75%);--puff-travel:-66px}
.toast-save-smoke .save-puff-right{left:56%;--puff-travel:130px}
.toast-save-smoke .save-puff::before,.toast-save-smoke .save-puff::after{content:"";position:absolute;border-radius:50%;background:#b7d4c450}
.toast-save-smoke .save-puff::before{width:14px;height:14px;top:-4px;left:2px}
.toast-save-smoke .save-puff::after{width:12px;height:12px;top:0;right:-3px}
.toast-save-smoke b{position:relative;z-index:1;display:block;text-align:center;color:#99dab0;font:700 11px/15px 'DM Sans',sans-serif}
.toast.toast-smoking .toast-save-head img{animation:gaffalo-save-snort .42s ease-in-out .1s both}
.toast.toast-smoking .save-puff{animation:gaffalo-save-smoke 1.1s ease-out var(--puff-delay) both}
@keyframes gaffalo-save-snort{0%,100%{transform:rotate(0) scale(1)}30%{transform:rotate(-3deg) scale(.97)}65%{transform:rotate(2deg) scale(1.02)}}
@keyframes gaffalo-save-smoke{0%{opacity:0;transform:translate(-50%,-50%) scale(.3);filter:blur(0)}16%{opacity:.65}45%{opacity:.45}100%{opacity:0;transform:translate(calc(-50% + var(--puff-travel)),calc(-50% - var(--puff-rise))) scale(3.2);filter:blur(7px)}}
@media(prefers-reduced-motion:reduce){.toast-save-smoke{display:none}.toast.toast-smoking .toast-save-head img{animation:none}.toast{transition:none}}
@media(forced-colors:active){.toast.toast-day-saved{background:Canvas;color:CanvasText;border-color:CanvasText}.toast .gaffalo-toast-quote{background:Canvas;color:CanvasText;border-color:CanvasText}.toast-save-smoke{display:none}}

/* Invoice Studio keeps the paper in view while the editing controls scroll. */
.invoice-studio{padding:22px;border:1px solid #334339;border-radius:24px;background:radial-gradient(ellipse at 80% 0,#25422c25,transparent 60%),#111612}
.invoice-studio-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.invoice-studio-header h1{margin:10px 0 6px;font:800 clamp(26px,4vw,36px)/1.15 'Manrope',system-ui,sans-serif;letter-spacing:-1px}.invoice-studio-header h1 span{color:#80d79c}
.invoice-studio-header p{margin:0;color:#b8c4bc;font-size:15px}.invoice-studio-header .back{margin:0;color:#bbcfbf}
.invoice-studio-done{background:#284d34;color:#d2f2db;border:1px solid #4b7958;flex-shrink:0;min-height:46px}
.invoice-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:24px;align-items:start}
.invoice-studio-controls{grid-column:1;grid-row:1;min-width:0;margin:0;padding:0}
.invoice-studio-job{font-size:17px;font-weight:700;margin:0 0 5px;color:#f0f6f2;overflow-wrap:anywhere}
.invoice-studio-save-state{font-size:13px;color:#92cea4;min-height:20px;margin:0 0 18px}.invoice-studio-save-state.is-error{color:#edb6a8}
.invoice-studio-launch{display:flex;align-items:center;gap:12px;text-align:left;margin-top:14px;padding:16px;border:1px solid #3e6548;background:#17231b;border-radius:18px}.invoice-studio-launch>span{flex:1}.invoice-studio-launch strong{display:block;font-size:16px}.invoice-studio-launch small{display:block;color:#b8cbbc;font-size:13px;margin-top:4px}
.invoice-studio-preview{grid-column:2;grid-row:1;position:sticky;top:14px;min-width:0;border:1px solid #3c5543;border-radius:18px;background:#1b231d;box-shadow:0 12px 32px #0004;z-index:4}
.invoice-studio-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:#e7f1e9;font-size:13px;font-weight:700}.invoice-studio-preview-bar>span{display:flex;align-items:center;gap:7px}.invoice-studio-preview-bar i{width:7px;height:7px;border-radius:50%;background:#7bd69b}.invoice-studio-preview-bar .text-button{display:flex;gap:5px;align-items:center;min-height:34px;color:#b3e1c1;font-size:13px}.invoice-studio-preview-bar svg{width:15px;height:15px}
.invoice-studio-preview-stage{height:min(72vh,720px);overflow:auto;overscroll-behavior:contain;padding:12px;background:#303b33;border-radius:0 0 13px 13px;scrollbar-width:thin;scrollbar-color:#728c7b #253229}
.invoice-studio-preview-stage:focus-visible{outline:2px solid #7ccc96;outline-offset:3px}
.invoice-studio-preview-canvas{position:relative;margin:0 auto;min-height:1px}
.invoice-studio-preview-caption{margin:0;padding:10px 12px;color:#b6c8bd;font-size:11px;line-height:1.4;text-align:center}
.invoice-studio .invoice-sheet{position:absolute;inset:0 auto auto 0;margin:0!important;padding:36px;transform-origin:top left;--invoice-radius:24px}
.invoice-studio .invoice-sheet[data-corners=square]{--invoice-radius:0px}
.invoice-studio .invoice-sheet .invoice-top{flex-direction:row;gap:18px;padding-bottom:28px}
.invoice-studio .invoice-sheet .invoice-total{text-align:right}.invoice-studio .invoice-sheet .invoice-total strong{font-size:34px}
.invoice-studio .invoice-sheet .invoice-parties{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding:28px 0}.invoice-studio .invoice-sheet .invoice-parties>div:first-child{grid-column:auto}
.invoice-studio .invoice-sheet .invoice-table{display:table;width:100%;min-width:0;font-size:13px;margin-top:24px}
.invoice-studio .invoice-sheet .invoice-table thead{display:table-header-group}.invoice-studio .invoice-sheet .invoice-table tbody{display:table-row-group}
.invoice-studio .invoice-sheet .invoice-table tr{display:table-row;padding:0;border:0}
.invoice-studio .invoice-sheet .invoice-table td{display:table-cell;padding:var(--invoice-row-pad) 10px!important;border-bottom:1px solid var(--invoice-line);font-size:13px;text-align:left;white-space:normal}
.invoice-studio .invoice-sheet .invoice-table td strong{font-size:13px}.invoice-studio .invoice-sheet .invoice-table td::before{content:none!important}.invoice-studio .invoice-sheet .invoice-table td:last-child{font-size:13px;color:var(--invoice-ink)}
.invoice-studio .invoice-sheet .invoice-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.invoice-studio .invoice-sheet:is([data-invoice-style=gaffalo],[data-invoice-style=studio],[data-invoice-style=roadcase],[data-invoice-style=noir]) .invoice-top{margin:-36px -36px 0;padding:36px}
.invoice-studio .invoice-sheet .invoice-top h2{font-size:30px}.invoice-studio .invoice-sheet[data-invoice-style=spotlight] .invoice-top h2{font-size:34px}
.invoice-studio-controls .invoice-customize{margin:0;border:1px solid #35483b;border-radius:18px;background:#17201a;padding:0 14px}
.invoice-studio-controls .invoice-style-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-studio-controls .invoice-style-option{min-width:0}
.invoice-studio-controls .invoice-logo-setting{margin-top:18px}.invoice-studio-finish{margin-top:18px;min-height:48px;background:#294732;color:#d5f3df}
.invoice-ink-settings{padding:16px;margin-bottom:18px;border:1px solid #47614d;border-radius:18px;background:#1b2a20}
.invoice-ink-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px}.invoice-ink-toggle strong{display:block;font-size:16px;color:#d4f2de}.invoice-ink-toggle small{display:block;margin-top:4px;color:#b2c6b8;font-size:13px}.invoice-ink-toggle input[type=checkbox]{width:23px;height:23px;flex:0 0 23px;accent-color:#72c28d}
.invoice-ink-tip{font-size:13px;line-height:1.5;color:#b8c9bd;margin:12px 0 0}.invoice-ink-warning{border:1px solid #9c8151;background:#322b1c;color:#f1dfba;padding:12px;border-radius:12px;margin-top:14px;font-size:14px;line-height:1.5}.invoice-ink-warning p{margin:5px 0 0}
/* Print mode affects the document, not the dark app interface. */
.invoice-sheet[data-ink-friendly=true]{--invoice-paper:#fff;--invoice-ink:#202b24;--invoice-muted:#59675e;--invoice-panel:#fff;--invoice-line:#d4ded7;background:#fff;border-top:2px solid var(--invoice-accent)}
.invoice-sheet[data-ink-friendly=true] .invoice-top{background:#fff!important;border:0;border-bottom:1px solid var(--invoice-accent)}
.invoice-sheet[data-ink-friendly=true] .invoice-top h2,.invoice-sheet[data-ink-friendly=true] .invoice-top p,.invoice-sheet[data-ink-friendly=true] .invoice-top small,.invoice-sheet[data-ink-friendly=true] .invoice-top .eyebrow{color:var(--invoice-ink)}
.invoice-sheet[data-ink-friendly=true] .invoice-total strong,.invoice-sheet[data-ink-friendly=true] .invoice-balance-due .money{color:var(--invoice-text-accent,#1d7a42)!important}
.invoice-sheet[data-ink-friendly=true] .invoice-project,.invoice-sheet[data-ink-friendly=true] .invoice-balance-due{background:#fff;border:1px solid var(--invoice-line)}
.invoice-sheet[data-ink-friendly=true] .invoice-table th{background:#fff;border-bottom:1px solid var(--invoice-accent);color:var(--invoice-ink)}
.invoice-sheet[data-ink-friendly=true][data-row-style=striped] .invoice-table tbody tr:nth-child(even){background:#f9faf9}
@media(max-width:1100px){.invoice-studio-grid{grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:18px}}
@media(max-width:900px){.invoice-studio{padding:16px 12px;border-radius:20px}.invoice-studio-header{margin-bottom:18px}.invoice-studio-header h1{font-size:28px}.invoice-studio-done{padding:10px 12px;font-size:14px}.invoice-studio-grid{display:flex;flex-direction:column;gap:20px}.invoice-studio-preview{order:0;top:8px;width:100%}.invoice-studio-preview-stage{height:clamp(120px,26svh,230px)}.invoice-studio-controls{order:1;width:100%}.invoice-studio-preview-caption{font-size:11px;padding:7px 10px}.invoice-studio-preview-bar{padding:7px 12px}}
@media print{.invoice-studio-header,.invoice-studio-controls,.invoice-studio-preview-bar,.invoice-studio-preview-caption{display:none!important}.invoice-studio,.invoice-studio-preview,.invoice-studio-preview-stage{padding:0;border:0;background:none;position:static;height:auto;overflow:visible;box-shadow:none}.invoice-studio-grid{display:block}.invoice-studio-preview-canvas{width:auto!important;height:auto!important}.invoice-studio .invoice-sheet{position:static;transform:none!important;width:auto!important;min-height:0!important}}
.invoice-studio-controls .invoice-customize[data-ink-friendly=true] .invoice-style-mini{background:#fff;border:1px solid #b8cabd}
.invoice-studio-controls .invoice-customize[data-ink-friendly=true] .invoice-style-mini i:first-child{background:#fff;border-top:2px solid #2a7141}
.invoice-studio-controls .invoice-customize[data-ink-friendly=true] .invoice-style-mini i:not(:first-child){background:#d3dcd5}
@media print{#invoice-sheet[data-ink-friendly=true] .money,#invoice-sheet[data-ink-friendly=true] .invoice-top .money,#invoice-sheet[data-ink-friendly=true] .invoice-totals strong{color:var(--invoice-text-accent,#1d7a42)!important}}

/* A little color signals creative tools; text stays crisp on backstage black. */
.button.secondary.invoice-studio-launch{border:1px solid transparent;color:#f6f7f8;background:linear-gradient(110deg,#25212df2,#142720f5) padding-box,linear-gradient(115deg,#bc6bc9,#779aeb,#6cd6b2,#d6c578,#cf879d) border-box;box-shadow:0 6px 22px #0003,inset 0 1px 0 #ffffff09;transition:box-shadow .2s,transform .2s}
.button.secondary.invoice-studio-launch:hover{background:linear-gradient(110deg,#302636,#1a3025) padding-box,linear-gradient(115deg,#cf7cdc,#8cacf3,#83e5c3,#e4d48c,#e79cb1) border-box;box-shadow:0 7px 26px #9b73c71f}
.button.secondary.invoice-studio-launch:active{transform:scale(.985)}
.invoice-studio-launch>svg:first-child{color:#c2abe8;filter:drop-shadow(0 0 4px #bd7bc530)}
.invoice-studio-launch small{color:#c9c2d1}
.invoice-studio .invoice-edit-focus{outline:5px solid #40b878;outline-offset:5px;animation:invoice-edit-glow 1.1s ease-out both}
.invoice-studio-preview-stage.invoice-edit-focus{outline-width:2px;outline-offset:-3px}
#invoice-studio-focus-label{color:#bcdfc8;font-size:13px;font-weight:600;min-height:30px}
@keyframes invoice-edit-glow{0%{outline-color:#40b878;box-shadow:0 0 0 6px #40b87835}45%{outline-color:#40b878;box-shadow:0 0 0 9px #40b87815}100%{outline-color:transparent;box-shadow:0 0 0 10px transparent}}
@media(prefers-reduced-motion:reduce){.invoice-studio .invoice-edit-focus{animation:none}.button.secondary.invoice-studio-launch{transition:none}.button.secondary.invoice-studio-launch:active{transform:none}}
@media print{.invoice-studio .invoice-edit-focus{animation:none!important;outline:none!important;box-shadow:none!important}}

.invoice-template-actions{display:flex;gap:12px;align-items:flex-start;margin-top:10px}.invoice-template-actions>.button{flex:1;min-height:42px;background:#294d36;color:#d4f5df;border:1px solid #527d60;border-radius:12px;font-size:14px}
.invoice-template-actions details{flex:1;min-width:0}.invoice-template-actions summary{cursor:pointer;padding:12px;text-align:center;font-size:13px;color:#d7cce1;border:1px solid #4c4456;border-radius:12px}.invoice-template-actions details>div{display:grid;gap:4px;margin-top:5px}.invoice-template-actions details button{padding:10px;text-align:left;font-size:13px;background:#29262f;color:#ece7f0;border-radius:8px}.invoice-template-actions [data-template-action=delete]{color:#edb6b8}.invoice-template-actions details button:disabled{opacity:.4}

.invoice-template-save-row{margin:10px 0 18px}.invoice-template-save-row .button{min-height:46px;font-size:14px;white-space:normal;border-radius:12px;background:linear-gradient(110deg,#292330,#1b3023);border-color:#686072;color:#f1e6f8}.invoice-template-save-row .button svg{color:#bd9fd9}.invoice-template-save-row .help-text{font-size:12px;color:#b5c8ba;margin:7px 2px 0;line-height:1.5}.invoice-studio-controls .invoice-personalize>summary{font-size:15px;line-height:1.4}

.invoice-studio-controls .invoice-personalize{border:1px solid transparent;border-radius:16px;background:linear-gradient(#181f1b,#181f1b) padding-box,linear-gradient(120deg,#b36ac3,#759bdd,#67be97,#c8b173) border-box;overflow:hidden}
.invoice-studio-controls .invoice-personalize>summary{padding:15px 13px;gap:12px;min-height:88px;background:linear-gradient(115deg,#33233e,#1c3428);color:#f8f4fc;transition:filter .18s}
.invoice-studio-controls .invoice-personalize>summary:hover{filter:brightness(1.12)}.invoice-studio-controls .invoice-personalize>summary:focus-visible{outline:2px solid #a8d7be;outline-offset:-4px}
.invoice-design-emblem{display:grid;place-items:center;width:48px;height:54px;flex-shrink:0}.invoice-design-emblem svg{width:48px;height:48px;filter:drop-shadow(0 3px 6px #0005)}
.invoice-design-launch-copy{display:block;min-width:0;flex:1}.invoice-design-launch-copy strong{display:block;font-size:16px;font-weight:750;line-height:1.35}.invoice-design-launch-copy small{display:block;font-size:13px;font-weight:500;line-height:1.5;color:#bbd9c7;font-style:italic;margin-top:3px}.invoice-design-launch-copy>span{display:block;font-size:11px;line-height:1.5;color:#a9cbb7;margin-top:2px}.invoice-personalize>summary>.fold-chevron{color:#d3bde3;margin-left:0}
.invoice-studio .invoice-ink-settings{padding:12px 14px;margin-bottom:14px}.invoice-studio .invoice-ink-tip{font-size:12px;line-height:1.4;margin-top:7px}.invoice-studio .invoice-ink-warning{font-size:12px;line-height:1.4;padding:7px 10px;margin-top:7px}
@media(prefers-reduced-motion:reduce){.invoice-studio-controls .invoice-personalize>summary{transition:none}}

.invoice-template-library{margin:12px 0}.button.secondary#invoice-template-library-toggle{padding:13px 14px;min-height:48px;border:1px solid #52705e;border-radius:14px;background:linear-gradient(110deg,#1e2d24,#282530);color:#e1f1e6;gap:10px;white-space:normal;text-align:left}
#invoice-template-library-toggle strong{flex:1;font-size:15px;font-weight:650}#invoice-template-library-count{padding:3px 8px;border-radius:8px;font-size:12px;background:#405146;color:#cfe8d8;min-width:26px;text-align:center}.invoice-library-arrow{font-size:21px;line-height:1;transition:transform .15s}#invoice-template-library-toggle[aria-expanded=true] .invoice-library-arrow{transform:rotate(180deg)}
.invoice-saved-template-picker{margin-top:10px;padding:0;background:none;border:0}.invoice-saved-template-grid{display:grid;gap:10px}.saved-invoice-template{padding:13px;border:1px solid #425049;border-left:3px solid var(--template-accent);border-radius:14px;background:#19211c}.saved-invoice-template-heading{display:flex;gap:10px;align-items:center}.saved-invoice-template-heading>div{min-width:0;flex:1}.saved-invoice-template-heading strong{display:block;font-size:15px;color:#eff5f0;overflow-wrap:anywhere}.saved-invoice-template-heading small{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#adbfaf}.saved-template-emblem{display:grid;place-items:center;flex-shrink:0;width:38px;height:42px;border-radius:9px;background:#e6eee8;color:#42614b}.saved-template-emblem img{max-width:30px;max-height:34px;object-fit:contain}.invoice-template-empty{padding:10px 3px;font-size:13px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.invoice-library-arrow{transition:none}}

/* The nested job article leaves empty header space tappable behind it. */
.gaffalo-workspace .job-detail-workspace{pointer-events:none}
.gaffalo-workspace .job-detail-workspace>:not(.page-heading){pointer-events:auto}

.unassigned-client-note{font-size:14px;line-height:1.5;color:#b9cdbf;margin:0 0 16px}.company-title-actions .assign-client-button{color:#c4e9d1;border-color:#50715b;background:#1c2b21}.unassigned-job-list{display:grid;gap:10px}.unassigned-job-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:14px;border:1px solid #43594a;border-radius:15px;background:#1a241d;color:#e8f3ec}.unassigned-job-link span{min-width:0}.unassigned-job-link strong{display:block;font-size:16px;overflow-wrap:anywhere}.unassigned-job-link small{display:block;margin-top:5px;color:#b0c0b5;font-size:13px}

.account-login{text-align:left}
.account-login .login-kicker,.account-login h1,.account-login .tagline,.account-login .fine{text-align:center}
.account-login .login-kicker{margin:0 0 6px;letter-spacing:.22em;text-transform:uppercase;font-size:12px;font-weight:700;color:#bdbdbd}
.account-login .tagline{margin:12px 0 18px}
.account-login .field{margin:0 0 12px}
.account-login .form-error{min-height:1.3em;margin:2px 0 0;color:#ffb4b4;font-size:14px;line-height:1.4;text-align:left}
.login-split{display:flex;align-items:center;gap:12px;margin:16px 0 6px;color:#8d8d8d;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.login-split::before,.login-split::after{content:"";height:1px;flex:1;background:#3a3a3a}
.account-login .account-apple{background:#fff;color:#111;border:1px solid #fff}
.account-login .account-apple svg{width:18px;height:18px}
.account-dev-link{display:block;margin-top:12px;color:#fff;text-align:center;text-decoration:underline;text-underline-offset:3px}
.account-login .fine{margin:18px 0 0;font-size:13px;color:#aaa}
.account-login .fine a{text-decoration:underline;text-underline-offset:3px}
.account-gate{padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))}
html,body{overflow-x:clip}
.account-login h1{overflow-wrap:anywhere}
.account-login .text-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:4px;padding:10px 12px}
.account-login .fine a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px}
.account-login .login-split{color:#c8c8c8}
.account-login .fine{color:#c8c8c8}
.cloud-home-cue{min-height:44px}
.gaffalo-job-dialog .modal-header>.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.invoice-logo-preview>.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.perdiem-toggle label{min-height:44px}
.invoice-studio-preview-bar .text-button{min-height:44px;padding:8px 4px}
@media(max-width:430px){
 .account-gate{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
 .account-gate-card{padding:22px 16px;border-radius:22px}
 .account-login h1{font-size:26px;letter-spacing:0}
 .account-login .tagline{font-size:14px}
}
@media(max-width:430px) and (max-height:740px){
 .account-gate{padding:max(8px,env(safe-area-inset-top)) 12px max(8px,env(safe-area-inset-bottom))}
 .account-login.account-gate-card{padding:12px 14px 8px;border-radius:18px}
 .account-login .account-gate-mascot{width:44px;height:44px;margin:0 auto 6px;border-radius:12px}
 .account-login .login-kicker{margin:0 0 2px;font-size:11px;line-height:1.2}
 .account-login h1{font-size:22px;line-height:1.05}
 .account-login .tagline{margin:4px 0 8px;font-size:13px;line-height:1.3}
 .account-login .button{min-height:44px;margin-top:8px;padding:8px 12px;font-size:15px}
 .account-login .login-split{margin:6px 0 2px}
 .account-login .field{gap:2px;margin:0 0 6px}
 .account-login .field label{font-size:12px;line-height:1.2}
 .account-login input{min-height:44px;padding:8px 12px}
 .account-login .form-error{min-height:0;margin:0}
 .account-login .form-error:not(:empty){min-height:1.3em;margin:2px 0 0}
 .account-login .text-button{margin-top:0;padding:6px 12px}
 .account-login .fine{margin:0}
 .account-login .fine a{padding:4px 12px}
}
@media screen and (max-width:400px){
 .home-backstage,.home-mascot-layer{left:-16px;right:-16px}
}
.home-drive-recent,.irs-rate-card a,.pro-currency,.perdiem-toggle label{min-height:44px}
.perdiem-toggle label{min-width:44px}
.gaffalo-day-dialog .modal-header>.icon-button,
dialog.dialog-keyboard-open .modal-header>.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.job-days-toolbar>.add-day-button{min-height:44px}
.job-days-toolbar .day-order-button{min-width:44px;min-height:44px;padding:8px 10px;font-size:12px}
.job-days-toolbar .day-order-batch{width:44px;min-width:44px;min-height:44px}
.invoice-template-actions>.button{min-height:44px}
a.gaffalo-wordmark{display:inline-flex;align-items:center;min-height:44px}
