:root{--green:#c62436;--green-dark:#881c29;--ink:#111;--muted:#666;--line:#dedede;--soft:#f3f3f3;--white:#fff;--danger:#b83838;--shadow:0 16px 42px rgba(0,0,0,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f6f6f6;font-synthesis:none}.day-type-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.day-type-button{min-height:54px;border:2px solid #ccc;border-radius:14px;background:#fff;color:#333;font:inherit;font-weight:850;cursor:pointer}.day-type-button.active{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 6px 18px rgba(198,36,54,.22)}.day-type-button:focus-visible{outline:3px solid rgba(198,36,54,.32);outline-offset:2px}.type-badge{display:inline-block;padding:2px 7px;border-radius:999px;font-size:.7rem;line-height:1.5}.type-badge.work{background:#faf7f7;color:#881c29}.type-badge.vacation{background:#e8edf5;color:#2d4567}.type-badge.sick{background:#f3e7e7;color:#7a3030}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fffafa 0,#f7f7f7 18rem)}.app-header{height:88px;padding:12px max(18px,calc((100vw - 1060px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.94);border-bottom:1px solid #f1d6d9;backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.brand-logo{width:190px;height:64px;object-fit:contain;object-position:left center}.icon-button{width:44px;height:44px;border:0;border-radius:14px;background:#fdf0f1;color:var(--green-dark);display:grid;place-items:center;font-size:1.8rem;cursor:pointer}.icon-button svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}main{width:min(1060px,calc(100% - 32px));margin:0 auto;padding:38px 0 70px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.eyebrow,.section-kicker{margin:0 0 6px;color:var(--green-dark);text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800}h1,h2{margin:0;line-height:1.1}h1{font-size:clamp(2rem,7vw,3.6rem);letter-spacing:-.055em}h2{font-size:1.35rem;letter-spacing:-.02em}.date-pill{background:#faf7f7;color:var(--green-dark);padding:10px 14px;border-radius:999px;font-size:.85rem;font-weight:750}.panel{background:var(--white);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.entry-panel{padding:26px;border-top:4px solid var(--green)}.panel-heading,.section-heading-row,.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.panel-heading{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:22px}.status-dot{width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px rgba(198,36,54,.16)}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:grid;gap:8px;font-size:.88rem;color:#444;font-weight:720}input{width:100%;min-height:48px;border:1px solid #ccc;border-radius:12px;background:#fcfcfc;padding:0 13px;font:inherit;font-size:1rem;color:var(--ink);outline:none}input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(198,36,54,.18)}fieldset{border:0;padding:0;margin:22px 0}legend{font-size:.88rem;color:#444;font-weight:720;margin-bottom:9px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:var(--soft);padding:4px;border-radius:14px}.segmented label{display:block}.segmented input,.choice input{position:absolute;opacity:0;pointer-events:none}.segmented span{display:block;text-align:center;border-radius:10px;padding:11px;cursor:pointer}.segmented input:checked+span{background:var(--green);color:#fff;box-shadow:0 3px 12px rgba(198,36,54,.2)}.hidden{display:none!important}.hours-preview{display:flex;justify-content:space-between;align-items:center;background:#111;color:#fff;border-radius:15px;padding:15px 17px;margin-top:16px;border-left:6px solid var(--green)}.hours-preview span{font-size:.88rem;color:#ddd}.hours-preview strong{font-size:1.35rem;color:#f1d6d9}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.choice span{display:block;border:1px solid #ccc;border-radius:12px;padding:12px 8px;text-align:center;color:#444;background:#fff;cursor:pointer}.choice input:checked+span{border-color:var(--green);background:#fcebed;color:var(--green-dark);box-shadow:inset 0 0 0 1px var(--green)}.optional{font-weight:500;color:#888}.primary-button,.secondary-button,.continue-button,.text-button{border:0;font:inherit;font-weight:800;cursor:pointer}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.primary-button,.continue-button{width:100%;min-height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:9px}.primary-button{margin-top:0;background:var(--green);color:#fff;box-shadow:0 8px 22px rgba(198,36,54,.22)}.continue-button{background:#fff;color:var(--green-dark);border:1.5px solid var(--green)}.primary-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.primary-button:active,.continue-button:active{transform:translateY(1px)}.secondary-button{padding:10px 13px;border-radius:11px;background:#fcebed;color:var(--green-dark)}.text-button{background:none;padding:14px 0}.danger{color:var(--danger)}.form-message{min-height:20px;margin:10px 0 0;text-align:center;color:var(--green-dark);font-size:.88rem}.summary-section{margin:36px 0}.section-heading-row{margin-bottom:16px}.section-heading-row input[type=month]{width:auto;min-height:42px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.summary-card{min-height:150px;border-radius:20px;padding:19px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #ddd}.summary-card span{font-size:.86rem;font-weight:750}.summary-card strong{font-size:clamp(1.5rem,4vw,2.1rem);letter-spacing:-.04em}.summary-card small{font-size:.74rem;opacity:.72}.summary-card.hours{background:#111;color:#fff;border-color:#111}.summary-card.hours strong{color:#f1d6d9}.summary-card.expenses{background:#faf7f7;color:#fff;border-color:#f4eded}.summary-card.overnight{background:#fff;color:#111;border-bottom:4px solid var(--green)}.entries-panel{padding:24px}.entries-list{display:grid;gap:10px}.entry-row{display:grid;grid-template-columns:88px 1fr auto auto;align-items:center;gap:16px;padding:15px;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:15px;background:#fcfcfc}.entry-date{font-size:.8rem;color:var(--muted)}.entry-main strong{display:block}.entry-main span{font-size:.82rem;color:var(--muted)}.entry-numbers{text-align:right}.entry-numbers strong,.entry-numbers span{display:block}.entry-numbers span{font-size:.8rem;color:var(--green-dark);margin-top:3px}.delete-button{width:38px;height:38px;border:0;border-radius:11px;background:#f6eaea;color:var(--danger);font-size:1.2rem;cursor:pointer}.empty-state{text-align:center;padding:44px 18px;color:var(--muted)}.empty-state strong{display:block;color:var(--ink);margin:8px 0}.empty-state p{margin:0;font-size:.9rem}.empty-icon{width:48px;height:48px;border-radius:15px;background:#fdf0f1;display:grid;place-items:center;margin:auto;color:var(--green-dark);font-size:1.5rem}dialog{width:min(560px,calc(100% - 28px));border:0;border-radius:24px;padding:0;box-shadow:0 24px 80px rgba(0,0,0,.28)}dialog::backdrop{background:rgba(0,0,0,.48);backdrop-filter:blur(3px)}dialog form{padding:25px}.dialog-heading{margin-bottom:12px}.dialog-copy{color:var(--muted);font-size:.9rem;line-height:1.55;margin:0 0 20px}.rate-grid{grid-template-columns:repeat(3,1fr)}.print-report{display:none}@media(max-width:700px){.app-header{height:74px}.brand-logo{width:145px;height:52px}main{width:min(100% - 22px,1060px);padding-top:24px}.intro{align-items:flex-start}.date-pill{display:none}.entry-panel,.entries-panel{padding:18px}.grid.two,.grid.three{grid-template-columns:1fr}.grid.three:not(.rate-grid){grid-template-columns:repeat(2,1fr)}.grid.three:not(.rate-grid) label:last-child{grid-column:1/-1}.choice-grid{grid-template-columns:repeat(2,1fr)}.form-actions{grid-template-columns:1fr}.summary-grid{grid-template-columns:1fr 1fr}.summary-card{min-height:128px}.summary-card.hours{grid-column:1/-1}.entry-row{grid-template-columns:72px 1fr auto;gap:10px}.entry-numbers{grid-column:2/3;text-align:left}.delete-button{grid-column:3;grid-row:1/3}.section-heading-row{align-items:flex-end}.secondary-button{font-size:.8rem}.rate-grid{grid-template-columns:1fr}.intro h1{font-size:2.35rem}}@media(max-width:380px){.grid.three:not(.rate-grid){grid-template-columns:1fr}.grid.three:not(.rate-grid) label:last-child{grid-column:auto}.summary-grid{grid-template-columns:1fr}.summary-card.hours{grid-column:auto}}@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff!important}.app-header,main,dialog{display:none!important}.print-report{display:block!important;color:#000;font-family:Arial,sans-serif;font-size:10pt}.print-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #000;padding-bottom:8mm;margin-bottom:6mm}.print-logo{width:48mm;height:auto}.print-title{text-align:right}.print-title h1{font-size:19pt;letter-spacing:0;margin:0 0 3mm}.print-title p{margin:0}.print-meta{display:grid;grid-template-columns:1fr 1fr;gap:4mm;margin-bottom:6mm}.print-meta div{border:1px solid #999;padding:3mm}.print-meta span{display:block;font-size:8pt;color:#555;text-transform:uppercase;margin-bottom:1mm}.print-table{width:100%;border-collapse:collapse;font-size:8.5pt}.print-table th,.print-table td{border:1px solid #aaa;padding:2.2mm 1.5mm;text-align:left;vertical-align:top}.print-table th{background:#eee;font-weight:700}.print-table .num{text-align:right;white-space:nowrap}.print-total{margin-top:6mm;margin-left:auto;width:75mm;border-collapse:collapse}.print-total td{padding:2mm;border-bottom:1px solid #bbb}.print-total td:last-child{text-align:right;font-weight:700}.print-total tr:last-child td{border-top:2px solid #000;border-bottom:0;font-size:11pt}.print-signatures{display:grid;grid-template-columns:1fr 1fr;gap:18mm;margin-top:18mm}.signature-line{border-top:1px solid #000;padding-top:2mm;font-size:8pt;color:#444}.print-note{font-size:8pt;color:#555;margin-top:6mm}}
:root .app-header{display:grid;grid-template-columns:44px 1fr 44px;gap:8px}.app-header .brand-logo{grid-column:2;justify-self:center;object-position:center}.app-header #settingsButton{grid-column:3}.entries-panel{margin-top:22px}#weeklyCostForm{display:flex;gap:12px;align-items:end;margin:20px 0}#weeklyCostForm label{flex:1}.upload-label{margin-top:20px}.receipt-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.receipt-row a{overflow-wrap:anywhere;color:#881c29}#weekDownloads{margin-top:14px}#weeklyMessage{line-height:1.5}#prepareWeek{padding:12px}#overnightField{display:none!important}@media(max-width:600px){#weeklyCostForm{display:grid}.receipt-row{flex-wrap:wrap}}
.receipt-info{display:grid;gap:4px;min-width:0}.receipt-info small{color:#881c29;font-weight:700}.week-share-panel{margin-top:16px;padding:18px;border:1px solid #f4eded;border-radius:18px;background:#f4faF1}.week-share-panel strong{display:block;font-size:1.05rem}.week-share-panel p{margin:7px 0 14px}.week-share-panel button{width:100%;margin-top:8px}.month-navigation button:disabled{opacity:.42;cursor:not-allowed}
.month-picker{max-width:360px}.compact-help{font-size:.9rem;color:#881c29}.weekly-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:16px 0;border-top:1px solid #e5e5e8}.weekly-step:first-of-type{margin-top:12px}.weekly-step>div{min-width:0}.step-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#881c29;color:#fff;font-weight:900}.weekly-step #weeklyCostForm{margin:10px 0 0}.weekly-step .upload-label{margin-top:10px}.weekly-step small{display:block;margin-top:6px;color:#881c29}.weekly-step #prepareWeek{width:100%;margin-top:6px}
.entry-panel{padding:20px}.entry-panel .panel-heading{padding-bottom:14px;margin-bottom:16px}.day-type-fieldset{margin:0 0 14px}.entry-panel>.entryDraftStatus{margin:0}.entry-section{border:1px solid #f4eded;border-radius:15px;margin:12px 0;background:#fff;overflow:hidden}.entry-section>summary{display:flex;align-items:center;gap:11px;padding:13px 14px;background:#fdf0f1;color:#fff;font-weight:850;cursor:pointer;list-style:none}.entry-section>summary::-webkit-details-marker{display:none}.entry-section>summary:after{content:'+';font-size:1.25rem;margin-left:7px}.entry-section[open]>summary:after{content:'−'}.entry-section>summary strong,.entry-section>summary small{margin-left:auto}.entry-section>summary strong{font-size:1rem;color:#fff}.entry-section>summary small{font-size:.72rem;color:#881c29}.entry-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#c62436;color:#fff;font-size:1.15rem}.entry-symbol svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.entry-section-body{padding:14px}.entry-section-body fieldset{margin:0 0 14px}.entry-section-body .choice-grid+button{margin-top:12px}.entry-section-body .expense-help{margin-bottom:0}.entry-section-body label small{margin-top:-5px;color:#777}.entry-panel .form-actions{margin-top:14px}@media(max-width:700px){.entry-panel{padding:14px}.day-type-button{min-height:48px}.entry-section>summary{padding:11px 12px}.entry-section-body{padding:12px}.entry-panel .grid.two{gap:12px}.entry-panel .form-actions{gap:8px}}
[hidden]{display:none!important}.account-panel{max-width:800px;margin:24px auto;padding:24px}.account-panel form,.account-panel label,#resetForm,#resetForm label{display:grid;gap:12px}.account-panel form{margin:20px 0}.account-nav{display:flex;gap:10px;flex-wrap:wrap;max-width:1100px;margin:20px auto;padding:0 16px}.user-row{padding:20px 0;border-top:1px solid #ddd;overflow-wrap:anywhere}.user-row button{margin:4px}.account-panel h1{font-size:2rem}.account-panel p{line-height:1.5}button:disabled{opacity:.55;cursor:wait}
.report-tabs{display:flex;gap:8px;margin:20px auto 0;width:min(100% - 22px,1060px);background:#ececec;padding:5px;border-radius:14px}.report-tabs button{flex:1;border:0;border-radius:10px;padding:14px 8px;background:transparent;font:inherit;font-weight:700;cursor:pointer}.report-tabs button[aria-pressed=true]{background:#111;color:white}.report-history,.report-editor{padding:24px;margin-bottom:24px}.report-editor h3{font-size:1.15rem;margin:24px 0 12px}.report-editor p{line-height:1.5}.report-editor select,.report-editor textarea,#projectDialog input{width:100%;border:1px solid #ccc;border-radius:10px;padding:12px;background:#fff;color:#111;font:inherit;min-height:46px}.report-editor textarea{resize:vertical}.report-editor label{margin-bottom:14px}.report-editor .grid label{min-width:0}.report-editor input:focus,.report-editor select:focus,.report-editor textarea:focus{outline:2px solid #222;outline-offset:2px;border-color:#222;box-shadow:none}.report-editor .section-heading-row{flex-wrap:wrap;gap:10px}#reportSaveStatus{font-size:.9rem;color:#555}#addProject{margin:0 0 20px}#reportFields{margin:0;min-width:0}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.catalog-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #ccc;border-radius:10px;background:#fff;color:#111;padding:12px;text-align:left;font:inherit;cursor:pointer}.catalog-item small{white-space:nowrap;color:#555}.catalog-item:hover{background:#eee}.report-catalog details{border-bottom:1px solid #ddd}.report-catalog summary{padding:16px 0;font-weight:700;cursor:pointer}.report-catalog{padding:0 0 20px}.position-row{padding:18px;border:1px solid #ccc;border-radius:14px;margin:12px 0;background:#fafafa}.position-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.position-heading strong{overflow-wrap:anywhere}.position-heading button{font-size:.9rem}.position-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.quantity-stepper{display:flex;align-items:center;gap:4px}.quantity-stepper input{min-width:0;text-align:center;padding:0 4px}.quantity-stepper button{border:1px solid #bbb;background:#fff;border-radius:9px;min-width:38px;height:46px;font-size:1.2rem;cursor:pointer}.variant-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.variant-button{border:1px solid #bbb;border-radius:8px;background:white;padding:9px 12px;font:inherit;font-size:.9rem;cursor:pointer}.variant-button[aria-pressed=true]{background:#222;color:white;border-color:#222}.report-editor .primary-button{background:#111;color:#fff;box-shadow:none}.report-editor .secondary-button,.report-history .secondary-button{background:#ececec;color:#111}.report-list-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #ddd;padding:16px 0}.report-list-row>div{flex:1;min-width:120px;overflow-wrap:anywhere}.report-list-row span{display:block;font-size:.9rem;color:#555;margin-top:5px}#reportMessage{white-space:pre-wrap}#reportPhotoList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#reportPhotoList figure{margin:12px 0;border:1px solid #ddd;padding:8px;border-radius:12px}#reportPhotoList img{width:100%;height:150px;object-fit:cover;border-radius:8px}#reportPhotoList figcaption{overflow-wrap:anywhere;font-size:.9rem}#projectForm{display:grid;gap:12px}#positionCount{display:inline-block;background:#eee;color:#111;border-radius:9px;padding:2px 9px}.report-photos{border-top:1px solid #ddd;margin-top:24px}#reportDownloads{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:650px){.report-history,.report-editor{padding:16px}.position-fields{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.position-heading{align-items:flex-start}.position-row{padding:12px}#reportPhotoList{grid-template-columns:repeat(2,minmax(0,1fr))}.report-tabs button{font-size:.95rem}.report-editor .secondary-button,.report-history .secondary-button{font-size:.95rem}}@media print{#reportTabs,#reportsApp,#accountNav,#accountPanel,#adminPanel{display:none!important}}
.report-intro{margin-bottom:16px;align-items:center}.report-intro h1{font-size:1.8rem}.report-editor{padding:18px}.report-editor>.section-heading-row h2{font-size:1.1rem}.report-section{border:1px solid #f4eded;border-radius:12px;margin:12px 0;background:#fff;overflow:hidden}.report-section>summary{display:flex;align-items:center;gap:10px;padding:13px 16px;background:#fdf0f1;color:#fff;font-weight:750;cursor:pointer;list-style:none}.report-section>summary:after{content:'+';margin-left:auto;font-size:1.2rem}.report-section[open]>summary:after{content:'−'}.section-number{display:grid;place-items:center;background:#c62436;color:#fff;width:27px;height:27px;border-radius:8px;flex-shrink:0}.report-section-body{padding:16px}.report-section-body>h3,.report-section-body .report-catalog>h3{margin-top:0}.report-section .grid{gap:12px}.report-section label{margin-bottom:12px}.report-editor .primary-button{background:#c62436;color:#fff;box-shadow:none}.report-editor .secondary-button,.report-history .secondary-button,.report-intro .secondary-button{background:#fcebed;color:#881c29}.report-tabs button[aria-pressed=true]{background:#c62436;color:#fff}.catalog-rubrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rubric-button{font:inherit;font-size:.95rem;font-weight:650;border:1px solid #f4eded;background:#fffafa;color:#881c29;border-radius:10px;padding:12px 8px;min-height:48px;cursor:pointer}.rubric-button[aria-pressed=true]{background:#c62436;color:#fff;border-color:#c62436}.report-catalog{padding-bottom:8px}.catalog-search{margin:12px 0;border:0!important}.catalog-search summary,.optional-report-fields>summary,.position-extras>summary{color:#881c29;font-size:.9rem;font-weight:500;padding:8px 0;cursor:pointer}.optional-report-fields[open]>summary{margin-bottom:10px}#catalogHeading{font-size:1rem;margin:14px 0 8px;color:#881c29}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:8px 0}.catalog-item{padding:12px;border-color:#f4eded;min-height:48px}.catalog-item:hover{background:#fdf0f1}.catalog-item small b{color:#881c29}.compact-position{padding:12px 14px;margin:10px 0;border:1px solid #f4eded;border-left:4px solid #c62436;background:#fffafa}.compact-position .position-heading{margin-bottom:8px;gap:8px}.compact-position .position-heading small{font-size:.85rem;font-weight:500;color:#881c29}.position-remove{background:transparent;color:#555;border:0;min-width:40px;min-height:40px;font-size:1.4rem;cursor:pointer}.compact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-fields>label:only-child{max-width:280px}.compact-fields label{margin:0}.compact-position .quantity-stepper button{background:#fcebed;border-color:#f4eded;color:#881c29}.compact-position select{margin:0;min-height:46px}.position-extras{margin-top:3px}.position-extras[open]{margin-top:10px}.position-extras label{margin-top:8px}#positionCount{background:#fcebed;color:#881c29}.report-photos{margin-top:16px}.report-history{padding:0}.report-history>summary{padding:17px;font-weight:650;cursor:pointer}.report-editor .form-actions{margin-top:16px}.report-editor input:focus,.report-editor select:focus,.report-editor textarea:focus{outline:2px solid #c62436;border-color:#c62436}.report-editor #reportMessage{color:#881c29}@media(max-width:650px){.report-intro{flex-wrap:wrap;gap:12px}.report-intro h1{font-size:1.6rem}.report-editor{padding:12px}.report-section-body{padding:12px}.catalog-rubrics{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-item{align-items:flex-start;flex-direction:column;gap:4px}.catalog-item small{align-self:flex-end}.compact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-fields input{min-width:0}.compact-fields .quantity-stepper button{min-width:30px;padding:0}.report-section>summary{padding:12px}.report-section .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.compact-fields{grid-template-columns:1fr}.report-section .grid.two{grid-template-columns:1fr}}
.language-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:10px max(18px,calc((100vw - 1060px)/2));background:#fcebed;color:#881c29}.language-bar label{margin:0;font-size:.9rem}.language-bar select{font:inherit;color:#111;background:#fff;border:1px solid #f4eded;border-radius:9px;padding:9px 12px;min-height:44px;max-width:65%}.pdf-language-note{font-size:.85rem;color:#666;line-height:1.5}.rubric-button,.catalog-item,.report-tabs button{overflow-wrap:anywhere;hyphens:auto}.language-bar option{color:#111;background:#fff}@media(max-width:500px){.language-bar{padding:10px 14px;justify-content:space-between;gap:8px}.language-bar label{font-size:.85rem}.language-bar select{max-width:62%}}@media print{.language-bar{display:none!important}}

.report-share-panel{padding:18px;border:1px solid #c62436;border-radius:14px;background:#fff5f5;margin:16px 0}.report-share-panel p{line-height:1.5}.report-share-panel button{margin:4px 6px 4px 0;white-space:normal}

.position-done{margin-top:12px;min-height:44px;min-width:110px}

/* Prominent centered branding and instantly visible category symbols. */
:root .app-header{height:auto;min-height:190px;position:relative;display:flex;justify-content:center;padding:18px 56px;background:#fff}
.app-header .brand-logo{display:block;width:min(380px,100%);height:160px;object-fit:contain;object-position:center}
.app-header #settingsButton{position:absolute;right:12px;top:16px}
.rubric-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;text-align:center}
.rubric-symbol{width:42px;height:42px;flex-shrink:0;pointer-events:none}
.action-symbol{width:24px;height:24px;flex-shrink:0;pointer-events:none}
.section-symbol{width:23px;height:23px;pointer-events:none}
.section-number{width:36px;height:36px}
#reportPdfButton,#shareReport{display:flex;align-items:center;justify-content:center;gap:9px}
@media(max-width:650px){:root .app-header{min-height:162px;padding:14px 42px}.app-header .brand-logo{width:min(300px,100%);height:134px}.rubric-button{min-height:108px;padding:12px 8px}.rubric-symbol{width:38px;height:38px}}
.finished-position{display:flex;align-items:center;gap:12px}.finished-position>div{flex:1;min-width:0}.finished-position p{margin:5px 0 0;font-weight:600}.finished-position strong,.finished-position p{overflow-wrap:anywhere}#catalogRubrics{scroll-margin-top:16px}@media(max-width:400px){.finished-position{flex-wrap:wrap}.finished-position>div{flex-basis:100%}}

.roof-product-photo{display:block;width:100%;height:104px;object-fit:contain;background:#fff;border-radius:7px;pointer-events:none}.rubric-button{min-height:154px;padding:10px;background:#fff}.rubric-button[aria-pressed=true]{background:#fcebed;border-color:#c62436;box-shadow:inset 0 0 0 1px #c62436}.image-credits{margin-top:12px;color:#666;font-size:.8rem}.image-credits a{color:#881c29}.image-credits summary{cursor:pointer}@media(max-width:650px){.roof-product-photo{height:96px}.rubric-button{min-height:145px}}

.catalog-position{min-width:0;align-self:start}.catalog-position>.catalog-item{width:100%;height:100%}.catalog-position.has-editor{grid-column:1/-1}.catalog-position.has-editor>.catalog-item{background:#fdf0f1;border-color:#c62436}.inline-position-host:empty{display:none}.inline-position-host .compact-position{margin:6px 0 4px}.catalog-grid{align-items:start}@media(max-width:650px){.catalog-grid{grid-template-columns:1fr}.catalog-item{flex-direction:row;align-items:center}.catalog-item small{align-self:auto}}

.rubric-group{min-width:0;align-self:start}.rubric-group>.rubric-button{width:100%;position:relative}.rubric-group.is-open{grid-column:1/-1;border:1px solid #c62436;border-radius:12px;background:#fff;padding:8px}.rubric-group.is-open>.rubric-button{min-height:72px;flex-direction:row;justify-content:flex-start;text-align:left;padding:8px 12px}.rubric-group.is-open .roof-product-photo{width:84px;height:58px;flex:none}.rubric-toggle{position:absolute;top:8px;right:10px;font-size:1.2rem}.rubric-group.is-open .rubric-toggle{position:static;margin-left:auto}#catalogPanel{padding:0 4px 4px}#catalogPanel[hidden]{display:none!important}#catalogPanelHome:empty{display:none}
:root .app-header{position:static;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:10px 12px;height:auto;min-height:0;z-index:auto;overflow:hidden}
.app-header .brand-logo{grid-column:2;grid-row:1;justify-self:center;width:240px;max-width:100%;height:104px;object-fit:contain;object-position:center;display:block}
.app-header #settingsButton{position:static;grid-column:3;grid-row:1;justify-self:end}
@media(max-width:650px){:root .app-header{padding:8px 10px;height:auto;min-height:0}.app-header .brand-logo{width:210px;max-width:100%;height:88px}}
.draft-notice{padding:12px;background:#f7f7f8;border-left:3px solid #881c29;border-radius:8px;margin-bottom:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#teamPanel{max-width:1100px;margin:20px auto}#teamDialog{max-width:750px;width:calc(100% - 28px)}#teamDetail img{max-width:100%;max-height:300px;object-fit:contain}#teamDetail p{overflow-wrap:anywhere}#teamDetail article{border-bottom:1px solid #ddd;padding:10px 0}#teamList .report-list-row{flex-wrap:wrap}#backupDialog{max-width:650px;width:calc(100% - 28px)}#backupDialog details{margin:18px 0}#trashList article{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ddd}#backupSummary{overflow-wrap:anywhere}.button-row{display:flex;gap:8px;flex-wrap:wrap}#entryDraftStatus{color:#881c29}
.backup-zip{padding:16px;border:1px solid #f4eded;border-radius:16px;background:#fffafa}.backup-zip h3{margin:0 0 8px}.backup-zip label{display:block;margin-top:18px}.backup-download-link{display:block;text-align:center;text-decoration:none;margin-top:12px;box-sizing:border-box}.backup-zip #createBackup{width:100%}

.local-info{max-width:1000px;margin:12px auto;padding:0 18px;color:#555;font-size:13px} #teamPanel,#teamDialog{display:none!important}

.monthly-panel{margin-block:20px}.monthly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.month-navigation{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.monthly-panel details{margin:16px 0}.monthly-panel summary{cursor:pointer;font-weight:600;padding:12px 0}.expense-help{font-size:.85rem;color:#555;line-height:1.5}.monthly-panel .entry-date{min-width:86px}

.feedback-banner{position:fixed;inset:auto;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;margin:0 auto;width:min(680px,calc(100% - 24px));max-height:40dvh;overflow:auto;z-index:10000;display:flex;gap:12px;align-items:flex-start;padding:16px;background:#fff;color:#202020;border:2px solid var(--green,#333);border-left-width:6px;border-radius:12px;box-shadow:0 8px 32px #0004;font:inherit;box-sizing:border-box}.feedback-banner[hidden]{display:none}.feedback-banner p{margin:0;flex:1;line-height:1.5;overflow-wrap:anywhere}.feedback-banner button{flex-shrink:0;min-width:44px;min-height:44px;border:1px solid #ddd;border-radius:8px;background:#f5f5f5;color:#222;font-size:26px;cursor:pointer}.feedback-icon{font-weight:900;border:2px solid currentColor;border-radius:50%;width:25px;height:25px;flex-shrink:0;text-align:center;line-height:21px}.feedback-banner::backdrop{background:transparent;pointer-events:none}@media print{.feedback-banner{display:none!important}}

.feedback-success{border-color:#881c29;background:#fafafa}.feedback-success .feedback-icon{background:#881c29;color:#fff;border:0;width:30px;height:30px;line-height:30px;font-size:22px}.feedback-error{border-color:#b42318;background:#fff4f3}.feedback-error .feedback-icon{background:#b42318;color:#fff;border:0;border-radius:0;clip-path:polygon(29% 0,71% 0,100% 29%,100% 71%,71% 100%,29% 100%,0 71%,0 29%);width:42px;height:42px;line-height:42px;font-size:11px;letter-spacing:.02em}.feedback-info{border-color:#555;background:#fff}

/* Clear month controls and stronger green actions. */
.monthly-panel{padding:24px}
.monthly-panel>h2{margin-bottom:20px}
#savedMonths{appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:52px;padding:12px 46px 12px 16px;border:1px solid #dcdce0;border-radius:14px;background-color:#fffafa;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23345e29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;color:#fff;font:inherit;font-size:1rem;font-weight:650;box-shadow:0 2px 6px #1e202408;cursor:pointer}
#savedMonths:focus-visible{outline:3px solid #f4eded;outline-offset:2px;border-color:#881c29}
#previousMonth,#nextMonth,#entryForm button.primary-button[value="save"]{background:#881c29;color:#fff;border:1px solid #881c29;box-shadow:0 4px 12px #20242a1a}
#previousMonth,#nextMonth{min-height:46px;padding:12px 16px;border-radius:12px;flex:1}
#previousMonth:hover,#nextMonth:hover,#entryForm button.primary-button[value="save"]:hover{background:#881c29;border-color:#881c29}
#previousMonth:focus-visible,#nextMonth:focus-visible,#entryForm button.primary-button[value="save"]:focus-visible{outline:3px solid #f1d6d9;outline-offset:3px}
@media(max-width:700px){.monthly-panel{padding:18px}.month-navigation{gap:10px}#previousMonth,#nextMonth{padding:12px 10px;font-size:.82rem}}

/* Compact, rounded feedback centered in the viewport. */
.feedback-banner{inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(340px,calc(100% - 40px));max-height:60dvh;border-width:2px;border-radius:26px;padding:18px 16px;gap:10px;align-items:center;box-shadow:0 12px 40px #0003;font-size:.9rem}
.feedback-banner p{line-height:1.4}
.feedback-banner button{min-width:36px;min-height:36px;border-radius:50%;font-size:23px;padding:0}
.feedback-success .feedback-icon{width:27px;height:27px;line-height:27px;font-size:20px}
.feedback-error .feedback-icon{width:34px;height:34px;line-height:34px;font-size:9px}

/* Short, restrained interaction feedback, respecting device motion preferences. */
@media(prefers-reduced-motion:no-preference){
 button,.choice span,.segmented span{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,scale .12s ease}
 button:not(:disabled):active,.choice:active span,.segmented label:active span{scale:.97}
 main:not([hidden]){animation:app-view-in .2s ease-out}
 dialog[open]{animation:app-view-in .18s ease-out}
 details[open]>:not(summary),.inline-position-host> *{animation:app-view-in .18s ease-out}
 .feedback-banner:not([hidden]){animation:app-feedback-in .2s ease-out}
 .feedback-success .feedback-icon{animation:app-check-in .28s ease-out}
}
@keyframes app-view-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes app-feedback-in{from{opacity:0;scale:.95}to{opacity:1;scale:1}}
@keyframes app-check-in{0%{scale:.65;opacity:0}65%{scale:1.1;opacity:1}100%{scale:1;opacity:1}}
.language-buttons{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.language-buttons button{min-width:40px;min-height:38px;padding:7px 9px;border:1px solid #f4eded;border-radius:10px;background:#fff;color:#881c29;font:inherit;font-weight:800;cursor:pointer}.language-buttons button.active{background:#881c29;color:#fff;border-color:#881c29;box-shadow:0 3px 10px #881c2930}.language-bar #languageSelect{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}@media(max-width:500px){.language-bar{align-items:flex-start}.language-bar>span{font-size:.78rem;padding-top:10px}.language-buttons{gap:4px}.language-buttons button{min-width:36px;min-height:36px;padding:6px}}
/* Alte breite Stundenanzeige bleibt bewusst ausgeblendet. */
.hours-preview{display:none!important}
.receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.receipt-action{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border-radius:12px;text-align:center;cursor:pointer;font-size:.82rem;font-weight:850}.receipt-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.camera-action{background:#881c29;color:#fff}.file-action{background:#fcebed;color:#881c29;border:1px solid #f4eded}@media(max-width:380px){.receipt-actions{grid-template-columns:1fr}.receipt-action{min-height:44px}}
.summary-title-row{display:flex;align-items:center;gap:10px}.week-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:#881c29;color:#fff;font-size:.78rem;font-weight:900;white-space:nowrap}.summary-section{margin:24px 0}.summary-section .summary-grid{gap:10px}.summary-section .summary-card{min-height:108px;padding:14px;border-radius:16px}.summary-section .summary-card strong{font-size:1.65rem}.summary-section .summary-card small{font-size:.72rem}@media(max-width:700px){.summary-section .section-heading-row{gap:10px}.summary-section .section-heading-row>label{max-width:175px;font-size:.78rem}.summary-section .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-section .summary-card{min-height:92px;padding:13px}.summary-section .summary-card.hours{grid-column:1/-1;min-height:98px}.summary-section .summary-card span{font-size:.78rem}.summary-section .summary-card strong{font-size:1.45rem}.summary-section .summary-card small{font-size:.66rem}.summary-title-row h2{font-size:1.25rem}}@media(max-width:380px){.summary-section .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-section .summary-card.hours{grid-column:1/-1}.summary-section .section-heading-row{align-items:flex-end}.summary-section .section-heading-row>label{max-width:160px}.summary-section .summary-card{min-height:88px;padding:12px}.summary-section .summary-card strong{font-size:1.3rem}}
#hoursApp:not([hidden]){display:flex;flex-direction:column}#hoursApp>.intro{order:1}#hoursApp>.entry-panel{order:2}#hoursApp>.summary-section{order:3;background:#fff;border:1px solid var(--line);border-top:4px solid var(--green);border-radius:22px;padding:18px;box-shadow:var(--shadow)}#hoursApp>section[aria-labelledby="weeklyTitle"]{order:4}#hoursApp>.monthly-panel{order:5;padding:0!important;overflow:hidden;margin:20px 0 0}#hoursApp>section[aria-labelledby="entriesTitle"]{order:6}.monthly-collapse>summary{display:flex;align-items:center;gap:10px;padding:17px 18px;cursor:pointer;list-style:none;font-size:1.05rem;font-weight:900;color:#881c29;background:#fffafa}.monthly-collapse>summary::-webkit-details-marker{display:none}.monthly-collapse>summary:after{content:'+';margin-left:8px;font-size:1.3rem}.monthly-collapse[open]>summary:after{content:'−'}.monthly-collapse>summary small{margin-left:auto;font-size:.7rem;color:#881c29}.monthly-content{padding:18px;border-top:1px solid #f1d6d9}@media(max-width:700px){#hoursApp>.summary-section{padding:14px;margin:18px 0}.monthly-collapse>summary{padding:15px}.monthly-content{padding:14px}}

/* Kompakte Wochenübersicht ohne schwarze Flächen */
#hoursApp>.summary-section{order:3;padding:14px;margin:18px 0 10px}
#hoursApp>.monthly-panel{order:4;margin:10px 0 18px}
#hoursApp>section[aria-labelledby="weeklyTitle"]{order:5}
#hoursApp>section[aria-labelledby="entriesTitle"]{order:6}
.summary-section .section-heading-row{display:grid;grid-template-columns:1fr minmax(132px,160px);gap:10px;margin-bottom:10px;align-items:end}
.summary-section .section-heading-row>label{font-size:.7rem;gap:4px}
.summary-section .section-heading-row input[type=date]{min-height:42px;padding:0 9px;font-size:.88rem}
.summary-section .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.summary-section .summary-card,.summary-section .summary-card.hours{grid-column:auto;min-height:76px;padding:10px;border-radius:13px;background:#fff5f5;color:#881c29;border:1px solid #f4eded;border-bottom:3px solid #c62436}
.summary-section .summary-card.expenses{background:#fcebed;color:#881c29}
.summary-section .summary-card.overnight{background:#fff;color:#881c29}
.summary-section .summary-card span{font-size:.69rem}.summary-section .summary-card strong{font-size:1.2rem;color:#881c29}.summary-section .summary-card small{font-size:.58rem;color:#881c29}
.report-tabs button[aria-pressed=true],.variant-button[aria-pressed=true],.report-editor .primary-button{background:#881c29;color:#fff;border-color:#881c29}
@media(max-width:420px){.summary-section .section-heading-row{grid-template-columns:1fr 142px}.summary-title-row{gap:6px}.week-badge{padding:4px 7px;font-size:.68rem}.summary-section .summary-card,.summary-section .summary-card.hours{min-height:72px;padding:8px}.summary-section .summary-card strong{font-size:1.05rem}.summary-section .summary-card small{display:none}}
.monthly-panel .summary-card.hours{background:#fcebed;color:#881c29;border-color:#f4eded}.monthly-panel .summary-card.hours strong{color:#881c29}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:pan-x pan-y;overflow-x:hidden}body{width:100%;max-width:100%;overflow-x:hidden}
.entry-day{border:1px solid #f4eded;border-left:4px solid #c62436;border-radius:15px;background:#fff;padding:12px 14px}.entry-day-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#881c29;font-size:.9rem}.entry-site{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #f3e6e8}.entry-site:first-of-type{margin-top:8px}.entry-site .entry-main{min-width:0;overflow-wrap:anywhere}.entry-site .entry-main strong{font-size:.9rem}.entry-site .entry-main span{display:block;font-size:.76rem}.entry-site .delete-button{flex-shrink:0}
.history-month{border:1px solid #f4eded;border-radius:15px;background:#fff;overflow:hidden}.history-month>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:13px 15px;list-style:none;color:#881c29;background:#f8f8f9}.history-month>summary::-webkit-details-marker,.history-day>summary::-webkit-details-marker{display:none}.history-month>summary:before,.history-day>summary:before{content:'▸';font-size:.9rem}.history-month[open]>summary:before,.history-day[open]>summary:before{content:'▾'}.history-month>summary strong{margin-right:auto}.history-month>summary span{font-size:.75rem;font-weight:700;white-space:nowrap}.history-days{padding:5px 12px 12px}.history-day{border-bottom:1px solid #e5e5e8}.history-day:last-child{border-bottom:0}.history-day>summary{display:flex;align-items:center;gap:9px;cursor:pointer;min-height:45px;font-size:.82rem;list-style:none}.history-day>summary span{margin-right:auto}.history-day>summary strong{white-space:nowrap;color:#881c29}.history-day>div{padding:0 0 7px 20px}.history-day .entry-site{padding:7px 0}.history-day .entry-site:first-child{border-top:0}.history-day .delete-button{width:34px;height:34px;border-radius:9px}.entries-panel #historyCount{margin:8px 0 14px;font-size:.78rem}
#monthlyEntries .monthly-delete-button{flex-shrink:0;border:1px solid #ba4a4a;border-radius:10px;background:#fff;color:#9a2525;font:inherit;font-size:.8rem;font-weight:700;padding:9px 10px;min-height:40px;cursor:pointer}#monthlyEntries .monthly-delete-button:focus-visible{outline:2px solid #9a2525;outline-offset:2px}
.quick-week-copy{margin-top:14px;padding:14px;border:1px solid #f4eded;border-radius:16px;background:#f8f8f9}.quick-week-copy p{margin:5px 0 12px;color:#881c29;font-size:.82rem;line-height:1.4}.quick-day-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.quick-day-grid label{margin:0}.quick-day-grid input{position:absolute;opacity:0;pointer-events:none}.quick-day-grid span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px;border:1px solid #f4eded;border-radius:11px;background:#fff;color:#881c29;font-size:.76rem;font-weight:800;text-align:center}.quick-day-grid input:checked+span{background:#881c29;color:#fff;border-color:#881c29}.quick-week-copy button{width:100%}.monthly-share-actions{display:grid;gap:8px;margin-top:14px}.monthly-share-actions button{width:100%}@media(max-width:420px){.quick-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Ulutas Group: klare rot-weiße Oberfläche */
:root{--green:#c62436;--green-dark:#881c29;--danger:#a01829;background:#fff}
body{background:#fff}.app-header{background:#fff;border-bottom:3px solid #c62436}.primary-button,.day-type-button.active,.segmented input:checked+span{color:#fff}.brand-logo{object-fit:contain}

/* Light Ulutas button treatment: red actions, white surfaces, charcoal details. */
:root{--green:#df3341;--green-dark:#a92735;--ink:#20242a;--line:#e5e5e8;--soft:#fafafa;--shadow:0 10px 30px rgba(22,24,29,.06)}
body{background:#fafafa;color:var(--ink)}
.app-header{border-bottom:2px solid #e53848}
.panel,.report-editor,.report-history{box-shadow:var(--shadow)}
button,.receipt-action,.catalog-item{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
button:active,.receipt-action:active,.catalog-item:active{transform:scale(.985)}
.primary-button,#previousMonth,#nextMonth,#entryForm button.primary-button[value="save"],.camera-action,.report-editor .primary-button{background:#df3341!important;border:1px solid #df3341!important;color:#fff!important;border-radius:14px;box-shadow:0 5px 14px rgba(223,51,65,.16)!important}
.primary-button:hover,#previousMonth:hover,#nextMonth:hover,#entryForm button.primary-button[value="save"]:hover,.camera-action:hover{background:#c72c39!important;border-color:#c72c39!important}
.secondary-button,.file-action{background:#fff!important;border:1px solid #dbdce0!important;color:#20242a!important;border-radius:14px;box-shadow:none!important}
.secondary-button:hover,.file-action:hover{background:#f6f6f7!important;border-color:#a9abb1!important}
.report-tabs{background:#f1f1f3}.report-tabs button[aria-pressed=true],.variant-button[aria-pressed=true]{background:#20242a;color:#fff;border-radius:10px}
.day-type-button.active,.segmented input:checked+span,.quick-day-grid input:checked+span{background:#fff1f2;color:#992332;border-color:#df3341;box-shadow:inset 0 0 0 1px #df3341}
.week-badge,.step-number{background:#20242a;color:#fff}
.summary-section .summary-card,.summary-section .summary-card.hours,.summary-section .summary-card.expenses,.summary-section .summary-card.overnight{background:#fff;color:#20242a;border:1px solid #e5e5e8;border-bottom:2px solid #df3341}
.summary-section .summary-card strong,.summary-section .summary-card small{color:#20242a}
.history-month>summary,.quick-week-copy,.report-share-panel{background:#fff7f7;color:#20242a}
.history-day{border-bottom-color:#e5e5e8}
.monthly-collapse>summary{background:#fff;color:#20242a}
#monthlyEntries .monthly-delete-button{background:#fff;color:#a92735;border-color:#e1b0b5}
button:focus-visible,.receipt-action:focus-within{outline:2px solid #df3341;outline-offset:3px}

/* Ulutas dark theme: charcoal canvas, white type, red controls. */
:root{color-scheme:dark;--ink:#f5f5f6;--muted:#c0c1c6;--line:#383a40;--soft:#25272d;--white:#1b1d22;--shadow:0 12px 30px rgba(0,0,0,.18);background:#101114}
html,body{background:#101114!important;color:#f5f5f6!important}
.app-header{background:#141519!important;border-bottom:2px solid #df3341}
.app-header .brand-logo{background:#fff;border-radius:14px;padding:7px 13px;box-shadow:0 7px 22px rgba(0,0,0,.18)}
.language-bar,.account-nav,.report-tabs{background:#191b20!important;color:#f5f5f6!important}
.panel,.entry-panel,.entries-panel,.monthly-panel,.summary-section,.report-editor,.report-history,.week-share-panel,.report-share-panel,dialog{background:#1b1d22!important;color:#f5f5f6!important;border-color:#383a40!important}
.intro,.local-info,.compact-help,.pdf-language-note,.expense-help,.entry-panel p,.report-editor p,.report-history p,.monthly-panel p,.summary-section p{color:#c7c8cd!important}
h1,h2,h3,legend,label,strong,summary,.section-heading-row,.panel-heading,.weekly-step,.entry-main,.entry-date,.entry-site{color:#f5f5f6}
.eyebrow,.section-kicker{color:#ff6a75!important}
.date-pill,.week-badge,.step-number{background:#26292f!important;color:#fff!important;border:1px solid #45474e}
.entry-section,.entry-section-body,.entry-day,.history-month,.history-day,.history-days,.quick-week-copy,.position-row,.report-list-row,.receipt-row,.finished-position,.rubric-group.is-open,.monthly-collapse>summary,.monthly-content,.report-catalog details{background:#202228!important;color:#f5f5f6!important;border-color:#393b42!important}
.history-month>summary,.history-day>summary,.entry-section>summary,.monthly-collapse>summary,.report-catalog summary{background:#25272d!important;color:#f5f5f6!important;border-color:#393b42!important}
.entry-day{border-left:4px solid #df3341!important}
.summary-section .summary-card,.summary-section .summary-card.hours,.summary-section .summary-card.expenses,.summary-section .summary-card.overnight,.monthly-panel .summary-card,.monthly-panel .summary-card.hours{background:#25272d!important;color:#f5f5f6!important;border:1px solid #3b3e45!important;border-bottom:2px solid #df3341!important}
.summary-card span,.summary-card strong,.summary-card small,.summary-section .summary-card strong,.summary-section .summary-card small,.monthly-panel .summary-card strong,.entry-day-head,.history-day>summary strong{color:#f5f5f6!important}
input,select,textarea,.report-editor input,.report-editor select,.report-editor textarea,#projectDialog input,.language-bar select{background:#272930!important;border:1px solid #51535b!important;color:#fff!important;color-scheme:dark}
input::placeholder,textarea::placeholder{color:#aaaeb7!important;opacity:1}
input:focus,select:focus,textarea:focus{border-color:#ed4653!important;outline:2px solid #ed4653!important;outline-offset:2px}
.primary-button,#previousMonth,#nextMonth,#entryForm button.primary-button[value="save"],.camera-action,.report-editor .primary-button{background:#df3341!important;border-color:#df3341!important;color:#fff!important}
.secondary-button,.file-action,.icon-button,.day-type-button,.segmented span,.choice span,.quick-day-grid span,#monthlyEntries .monthly-delete-button{background:#282a30!important;border:1px solid #50525a!important;color:#fff!important}
.secondary-button:hover,.file-action:hover,.icon-button:hover,.day-type-button:hover,.catalog-item:hover{background:#32353d!important;border-color:#777982!important}
.day-type-button.active,.segmented input:checked+span,.choice input:checked+span,.quick-day-grid input:checked+span,.report-tabs button[aria-pressed=true],.variant-button[aria-pressed=true]{background:#83202c!important;border-color:#f0525e!important;color:#fff!important;box-shadow:inset 0 0 0 1px #f0525e!important}
.report-tabs button,.variant-button,.catalog-item,.rubric-button,.catalog-position>.catalog-item,.rubric-group>.rubric-button{background:#26282e!important;border:1px solid #44464e!important;color:#f5f5f6!important}
.catalog-position.has-editor>.catalog-item,.rubric-group.is-open>.rubric-button,.rubric-button[aria-pressed=true]{background:#3d232a!important;border-color:#df3341!important;color:#fff!important}
.catalog-item small,.rubric-button small,.image-credits,.report-editor small,.weekly-step small,.entry-section small,.summary-card small{color:#c7c8cd!important}
.roof-product-photo{background:#fff}
.receipt-row a,.image-credits a{color:#ff7983!important}
.day-type-button.active,.segmented input:checked+span{font-weight:800}
@media(prefers-reduced-motion:reduce){button,.receipt-action,.catalog-item{transition:none}}

/* Restrict the Ulutas surfaces to black, white, and red. */
:root{--ink:#fff;--muted:#fff;--line:#fff;--soft:#000;--white:#000;--shadow:none;background:#000}
html,body,.app-header,.language-bar,.account-nav,.report-tabs{background:#000!important;color:#fff!important}
.panel,.entry-panel,.entries-panel,.monthly-panel,.summary-section,.report-editor,.report-history,.week-share-panel,.report-share-panel,dialog,
.entry-section,.entry-section-body,.entry-day,.history-month,.history-day,.history-days,.quick-week-copy,.position-row,.report-list-row,.receipt-row,.finished-position,.rubric-group.is-open,.monthly-collapse>summary,.monthly-content,.report-catalog details,
.history-month>summary,.history-day>summary,.entry-section>summary,.report-catalog summary{background:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
.intro,.local-info,.compact-help,.pdf-language-note,.expense-help,.entry-panel p,.report-editor p,.report-history p,.monthly-panel p,.summary-section p,
.summary-card span,.summary-card strong,.summary-card small,.catalog-item small,.rubric-button small,.image-credits,.report-editor small,.weekly-step small,.entry-section small,.entry-day-head{color:#fff!important}
.summary-section .summary-card,.summary-section .summary-card.hours,.summary-section .summary-card.expenses,.summary-section .summary-card.overnight,.monthly-panel .summary-card,.monthly-panel .summary-card.hours{background:#000!important;color:#fff!important;border:1px solid #fff!important;border-bottom:3px solid #e83040!important}
input,select,textarea,.report-editor input,.report-editor select,.report-editor textarea,#projectDialog input,.language-bar select,option{background:#000!important;color:#fff!important;border-color:#fff!important}
input::placeholder,textarea::placeholder{color:#fff!important}
.secondary-button,.file-action,.icon-button,.day-type-button,.segmented span,.choice span,.quick-day-grid span,#monthlyEntries .monthly-delete-button,
.report-tabs button,.variant-button,.catalog-item,.rubric-button,.catalog-position>.catalog-item,.rubric-group>.rubric-button{background:#000!important;color:#fff!important;border:1px solid #fff!important;box-shadow:none!important}
.secondary-button:hover,.file-action:hover,.icon-button:hover,.day-type-button:hover,.catalog-item:hover{background:#e83040!important;color:#fff!important;border-color:#e83040!important}
.primary-button,#previousMonth,#nextMonth,#entryForm button.primary-button[value="save"],.camera-action,.report-editor .primary-button,
.day-type-button.active,.segmented input:checked+span,.choice input:checked+span,.quick-day-grid input:checked+span,.report-tabs button[aria-pressed=true],.variant-button[aria-pressed=true],
.week-badge,.step-number,.date-pill,.catalog-position.has-editor>.catalog-item,.rubric-group.is-open>.rubric-button,.rubric-button[aria-pressed=true]{background:#e83040!important;color:#fff!important;border-color:#e83040!important;box-shadow:none!important}
.primary-button:hover,#previousMonth:hover,#nextMonth:hover,.camera-action:hover{background:#c81f30!important;border-color:#c81f30!important}
.app-header .brand-logo{background:#000!important;border-radius:0;padding:0;box-shadow:none}
.roof-product-photo{background:#fff!important}

/* Ulutas: month summary is the only visible timesheet summary. */
#hoursApp>.summary-section,#hoursApp>section[aria-labelledby="weeklyTitle"]{display:none!important}
.copy-previous-day{width:100%;margin:12px 0 2px;text-align:center}

/* All Ulutas text, including small labels and links, stays white. */
body :is(p,small,label,legend,summary,h1,h2,h3,span,strong,a,button){color:#fff!important}
body .feedback-banner,body .feedback-banner button{background:#000!important;color:#fff!important}

/* Stronger luminous white outlines while keeping black surfaces. */
#workApp :is(.panel,.entry-section,.summary-card,.history-month,.history-day,.entry-day,.quick-week-copy),
#reportsApp :is(.panel,.entry-section,.catalog-item,.rubric-button,.report-list-row),
dialog{border:2px solid #fff!important;box-shadow:0 0 8px rgba(255,255,255,.3),inset 0 0 3px rgba(255,255,255,.12)!important}
#workApp :is(input,select,textarea,.secondary-button,.continue-button,.day-type-button),
#reportsApp :is(input,select,textarea,.secondary-button,.catalog-item,.rubric-button),
.language-buttons button{border:2px solid #fff!important;box-shadow:0 0 5px rgba(255,255,255,.22)!important}
#workApp :is(input,select,textarea):focus-visible,#reportsApp :is(input,select,textarea):focus-visible,
#workApp :is(button,summary):focus-visible,#reportsApp :is(button,summary):focus-visible{outline:2px solid #fff!important;outline-offset:3px;box-shadow:0 0 11px rgba(255,255,255,.6)!important}

/* Show monthly accounts only; retain hidden week controls for stored receipts. */
#workApp>.summary-section,#workApp>section[aria-labelledby="weeklyTitle"]{display:none!important}
.language-bar,.language-buttons{background:#000!important}
.language-bar .language-buttons button{background:#000!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 0 5px rgba(255,255,255,.27)!important;min-width:42px}
.language-bar .language-buttons button.active{background:#000!important;color:#fff!important;border-color:#e83040!important;box-shadow:0 0 7px rgba(232,48,64,.45)!important}
.language-bar>span{color:#fff!important}
@media(max-width:430px){.language-bar{flex-wrap:wrap;gap:10px}.language-buttons{justify-content:flex-start;width:100%}.language-bar .language-buttons button{flex:1 1 13%;min-width:0;padding:7px 2px}}

/* Report sections must use the same dark surfaces as their white labels. */
#reportsApp :is(.report-section,.report-section-body,.optional-report-fields,.report-catalog,.compact-position,.position-extras,.catalog-search,.report-history),
#reportsApp .report-section>summary{background:#000!important;color:#fff!important}
#reportsApp .report-section{border:2px solid #fff!important;box-shadow:0 0 8px rgba(255,255,255,.3),inset 0 0 3px rgba(255,255,255,.12)!important}
#reportsApp .report-section>summary{border-bottom:1px solid #fff!important}
#reportsApp .report-section-body{border-top:1px solid #fff!important}

/* Compact monthly figures: one clear total, four short rows. */
#workApp .monthly-content{padding:16px!important}
#workApp .monthly-panel .monthly-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:14px 0 10px}
#workApp .monthly-panel .monthly-grid>.summary-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;min-height:58px!important;padding:11px 15px!important;border:1px solid #fff!important;border-radius:13px!important;box-shadow:0 0 5px rgba(255,255,255,.18)!important}
#workApp .monthly-panel .monthly-grid>.summary-card.hours{min-height:82px!important;border:2px solid #fff!important;border-left:5px solid #e83040!important;box-shadow:0 0 8px rgba(255,255,255,.25)!important}
#workApp .monthly-panel .monthly-grid>.summary-card span{font-size:.9rem!important;line-height:1.25;min-width:0;overflow-wrap:anywhere}
#workApp .monthly-panel .monthly-grid>.summary-card strong{font-size:1.1rem!important;white-space:nowrap!important;flex-shrink:0}
#workApp .monthly-panel .monthly-grid>.summary-card.hours strong{font-size:1.55rem!important}
#workApp .monthly-panel .month-range-help{font-size:.78rem!important;margin:0 0 16px!important}
#workApp .monthly-panel .monthly-share-actions{display:grid;gap:9px;margin-top:16px}
#workApp .monthly-panel .monthly-share-actions button{width:100%;min-height:46px;padding:10px 12px;font-size:.88rem;white-space:normal}
#workApp #exportButton{display:none!important}

/* Larger tap target and clean chevron for the compact monthly section. */
#workApp .monthly-collapse>summary{min-height:74px;padding:13px 17px!important;gap:12px;font-size:1.32rem!important;line-height:1.2;touch-action:manipulation}
#workApp .monthly-collapse>summary::after{content:none!important}
#workApp .monthly-collapse>summary #monthlyTitle{font-size:1.32rem!important;letter-spacing:-.02em}
#workApp .monthly-toggle-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;margin-left:auto;border:2px solid #fff;border-radius:13px;box-shadow:0 0 6px rgba(255,255,255,.3);background:#000}
#workApp .monthly-toggle-icon::after{content:'';display:block;width:12px;height:12px;border-right:3px solid #fff;border-bottom:3px solid #fff;transform:translateY(-3px) rotate(45deg);transition:transform .18s}
#workApp .monthly-collapse[open] .monthly-toggle-icon::after{transform:translateY(3px) rotate(225deg)}
#workApp .monthly-content{padding:13px 15px 15px!important}
#workApp .monthly-panel .monthly-grid{gap:7px!important;margin:11px 0 14px!important}
#workApp .monthly-panel .monthly-grid>.summary-card{min-height:55px!important;padding:9px 14px!important}
#workApp .monthly-panel .monthly-grid>.summary-card.hours{min-height:72px!important}
#workApp .monthly-panel .monthly-grid>.summary-card span{font-size:1rem!important}
#workApp .monthly-panel .monthly-grid>.summary-card strong{font-size:1.2rem!important}
#workApp .monthly-panel .monthly-grid>.summary-card.hours strong{font-size:1.5rem!important}

/* History: month > day > site, with compact rows and a labeled action. */
#workApp .entries-panel{padding:17px 15px!important}
#workApp .entries-panel .section-heading-row{margin-bottom:4px}
#workApp .entries-panel #historyCount{font-size:.83rem!important;margin:5px 0 15px!important}
#workApp .history-month{margin:0 0 10px;border:2px solid #fff!important;border-radius:16px!important;box-shadow:0 0 5px rgba(255,255,255,.2)!important;overflow:hidden}
#workApp .history-month>summary{min-height:63px;padding:10px 13px!important;gap:8px;font-size:1rem!important}
#workApp .history-month>summary::before,#workApp .history-day>summary::before{content:none!important}
#workApp .history-month>summary::after,#workApp .history-day>summary::after{content:'';display:block;width:9px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);flex:none;margin:0 4px 5px 2px}
#workApp .history-month[open]>summary::after,#workApp .history-day[open]>summary::after{transform:rotate(225deg);margin:5px 4px 0 2px}
#workApp .history-month>summary strong{font-size:1rem;margin-right:auto}
#workApp .history-month>summary span{font-size:.79rem!important;font-weight:600;white-space:nowrap}
#workApp .history-days{padding:0 12px 5px!important;border-top:1px solid #fff}
#workApp .history-day{border-bottom:1px solid rgba(255,255,255,.6)!important}
#workApp .history-day>summary{display:flex;min-height:59px;gap:8px!important;padding:6px 0;touch-action:manipulation}
#workApp .history-day .history-date{font-size:.88rem!important;font-weight:750;margin:0;min-width:68px}
#workApp .history-day .history-type{font-size:.75rem!important;white-space:nowrap;margin:0 auto 0 0;padding:4px 6px;border:1px solid #fff;border-radius:8px}
#workApp .history-day>summary strong{font-size:.93rem!important;white-space:nowrap}
#workApp .history-day>.history-entry-list{padding:0 0 9px!important}
#workApp .history-day .entry-site{display:flex;gap:10px;align-items:center;padding:9px 0!important;border-top:1px solid rgba(255,255,255,.35)!important}
#workApp .history-day .entry-main{min-width:0;flex:1}
#workApp .history-day .entry-main strong{display:block;font-size:.93rem!important}
#workApp .history-day .entry-main span{font-size:.78rem!important;line-height:1.4;overflow-wrap:anywhere}
#workApp .history-day .delete-button{width:auto!important;height:auto!important;min-height:40px;padding:7px 10px;border:1px solid #fff;border-radius:10px;background:#000;color:#fff;font:inherit;font-size:.79rem;font-weight:750;flex:none}
@media(max-width:375px){#workApp .history-month>summary span{font-size:.72rem!important}#workApp .history-day .history-date{min-width:58px;font-size:.8rem!important}#workApp .history-day>summary strong{font-size:.82rem!important}}

/* Same large chevron control on every expandable section. */
#workApp :is(.entry-panel-collapse,.entries-panel)>summary{list-style:none;cursor:pointer;min-height:68px;touch-action:manipulation}
#workApp :is(.entry-panel-collapse,.entries-panel)>summary::-webkit-details-marker,
#workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)>summary::-webkit-details-marker,
#reportsApp details>summary::-webkit-details-marker,dialog details>summary::-webkit-details-marker{display:none}
#workApp :is(.entry-panel-collapse,.entries-panel)>summary::after{content:none!important}
#workApp :is(.entry-panel-collapse,.entries-panel)[open]>summary .monthly-toggle-icon::after{transform:translateY(3px) rotate(225deg)}
#workApp .entries-panel>summary{padding:0 0 10px!important;margin-bottom:0!important}
#workApp .entries-panel:not([open])>summary{padding-bottom:0!important}
#workApp .entry-panel-collapse>summary{padding:0 0 12px!important;margin-bottom:12px!important}
#workApp .entry-panel-collapse:not([open])>summary{padding-bottom:0!important;margin-bottom:0!important;border-bottom:0!important}
#workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)>summary::after,
#reportsApp :is(.report-section,.report-history,.optional-report-fields,.catalog-search,.position-extras)>summary::after,dialog details>summary::after{content:''!important;display:block!important;width:40px!important;height:40px!important;box-sizing:border-box;border:2px solid #fff!important;border-radius:12px!important;background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 8 8 8 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px 19px no-repeat!important;box-shadow:0 0 6px rgba(255,255,255,.3)!important;flex:none!important;margin:0 0 0 auto!important;transform:none!important;transition:transform .18s!important}
#workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)[open]>summary::after,
#reportsApp :is(.report-section,.report-history,.optional-report-fields,.catalog-search,.position-extras)[open]>summary::after,dialog details[open]>summary::after{transform:rotate(180deg)!important}
#workApp .monthly-content>details:not(.monthly-collapse)>summary{display:flex;align-items:center;gap:10px;min-height:56px;cursor:pointer}
#reportsApp :is(.optional-report-fields,.catalog-search,.position-extras,.report-history)>summary{display:flex;align-items:center;gap:10px;min-height:54px;cursor:pointer}
dialog details>summary{display:flex;align-items:center;gap:10px;min-height:54px;cursor:pointer}
#workApp .continue-button{background:#000!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 0 6px rgba(255,255,255,.3)!important}

/* Short interactions for mobile; system reduced-motion preference takes priority. */
@media(prefers-reduced-motion:no-preference){
  @keyframes ulutas-screen-enter{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
  @keyframes ulutas-unfold{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
  @keyframes ulutas-selected{from{box-shadow:0 0 0 0 rgba(235,42,62,.65)}to{box-shadow:0 0 0 8px rgba(235,42,62,0)}}
  #workApp:not([hidden]),#reportsApp:not([hidden]){animation:ulutas-screen-enter .26s ease-out}
  #workApp details[open]>:not(summary),#reportsApp details[open]>:not(summary){animation:ulutas-unfold .22s ease-out both}
  button,.receipt-action{transition:transform .16s ease,box-shadow .2s ease,background-color .2s ease}
  button:active,.receipt-action:active{transform:scale(.97)}
  .choice input:checked+span,.segmented input:checked+span,.report-tabs button[aria-pressed="true"]{animation:ulutas-selected .35s ease-out}
}
@media(prefers-reduced-motion:reduce){
  #workApp,#reportsApp,#workApp details>*,#reportsApp details>*,.feedback-banner,.feedback-icon{animation:none!important}
  button,.receipt-action{transition:none!important}
}

/* Compact first view and quieter flag language picker. */
.language-bar{min-height:0!important;padding:5px max(14px,calc((100vw - 1060px)/2))!important;gap:8px!important}
.language-bar>span{font-size:.73rem!important;opacity:.7;letter-spacing:.03em}
.language-buttons{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;width:auto!important;justify-content:flex-end!important}
.language-bar .language-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:0!important;min-height:32px;padding:3px 6px!important;border:1px solid #777!important;border-radius:9px!important;box-shadow:none!important;font-size:.72rem!important;font-weight:700}
.language-bar .language-buttons button span:first-child{font-size:1rem;line-height:1}
.language-bar .language-buttons button.active{border-color:#e83040!important;box-shadow:inset 0 0 0 1px #e83040!important}
:root .app-header{padding-top:5px!important;padding-bottom:5px!important}
.app-header .brand-logo{width:190px!important;height:70px!important}
#workApp,#reportsApp{padding-top:15px!important}
#workApp .intro,#reportsApp .intro{margin-bottom:12px!important}
#workApp .intro h1,#reportsApp .intro h1{font-size:clamp(1.75rem,7vw,2.5rem)!important}
#workApp .intro .eyebrow{margin-bottom:2px!important}
#workApp .entry-panel{padding:16px!important}
#workApp .entry-panel-collapse>summary{min-height:60px!important;padding:0!important;margin:0!important}
#workApp .entry-panel-collapse[open]>summary{padding-bottom:12px!important;margin-bottom:12px!important}
#workApp .monthly-panel{margin-top:12px!important}
#workApp .monthly-collapse>summary{min-height:66px!important}
@media(max-width:430px){
  .language-bar{padding:5px 10px!important;flex-wrap:nowrap!important;justify-content:center!important}
  .language-bar>span{display:none!important}
  .language-buttons{width:100%!important;justify-content:space-between!important}
  .language-bar .language-buttons button{flex:0 1 auto!important;padding:4px 5px!important;font-size:.68rem!important}
  .app-header .brand-logo{width:175px!important;height:66px!important}
}
/* Rounded controls and one consistent white line icon style. */
#workApp :is(.panel,.entry-section,.history-month,.history-day,.entry-day,.summary-card),
#reportsApp :is(.panel,.report-section,.report-history,.catalog-item,.rubric-button,.report-list-row),dialog{border-radius:25px!important}
#workApp :is(.primary-button,.secondary-button,.continue-button,.day-type-button,.choice span,.segmented span),
#reportsApp :is(button,.primary-button,.secondary-button,.rubric-button,.catalog-item),
.report-tabs button,.account-nav button{border-radius:17px!important}
#workApp :is(input,select,textarea),#reportsApp :is(input,select,textarea){border-radius:17px!important}
#workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)>summary::after,
#reportsApp :is(.report-section,.report-history,.optional-report-fields,.catalog-search,.position-extras)>summary::after,dialog details>summary::after{border-radius:16px!important}
#reportsApp .section-number,#workApp .entry-symbol{width:42px;height:42px;border-radius:15px;background:#e83040!important;border:1px solid #f66b76;box-shadow:0 3px 12px rgba(232,48,64,.25);color:#fff!important}
#reportsApp .section-symbol,#reportsApp .action-symbol,#reportsApp .rubric-symbol{filter:brightness(0) invert(1)}
#reportsApp .section-symbol{width:25px;height:25px}
#workApp .entry-symbol svg{width:23px;height:23px;stroke:#fff;stroke-width:1.9}
#reportsApp .report-section>summary{gap:13px;border-radius:21px!important}
#reportsApp .report-section[open]>summary{border-radius:21px 21px 0 0!important}
#reportsApp #reportPdfButton .action-symbol,#reportsApp #shareReport .action-symbol{filter:brightness(0) invert(1)}

/* One language control in the upper right corner. */
:root .app-header{position:relative;overflow:visible;z-index:30}
.app-header #settingsButton{grid-column:1;grid-row:1;justify-self:start;position:static}
.app-header .language-menu{grid-column:3;grid-row:1;justify-self:end;position:relative;color:#fff}
.language-menu>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid #fff;border-radius:15px;background:#000;color:#fff;cursor:pointer;touch-action:manipulation}
.language-menu>summary::-webkit-details-marker{display:none}
.language-menu>summary svg{width:23px;height:23px}
.language-menu[open]>summary{border-color:#e83040;background:#e83040}
.language-menu .language-buttons{position:absolute;right:0;top:calc(100% + 9px);width:min(255px,calc(100vw - 22px))!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;padding:12px;border:1.5px solid #fff;border-radius:20px;background:#000!important;box-shadow:0 12px 26px rgba(0,0,0,.6)!important;z-index:100}
.language-menu .language-buttons button{min-height:46px!important;min-width:0!important;padding:5px!important;display:flex;align-items:center;justify-content:center;gap:5px;background:#000!important;color:#fff!important;border:1px solid #777!important;border-radius:12px!important;font-size:.82rem!important;font-weight:750;box-shadow:none!important}
.language-menu .language-buttons button span:first-child{font-size:1.22rem;line-height:1}
.language-menu .language-buttons button.active{border-color:#e83040!important;background:#000!important;box-shadow:inset 0 0 0 1px #e83040!important}
.language-menu #languageSelect{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:430px){.language-menu .language-buttons{width:min(255px,calc(100vw - 22px))!important}.language-menu .language-buttons button{flex:none!important}}

/* Compact report and hours editors with a short unfolding motion. */
#reportsApp .report-editor{padding:15px!important}
#reportsApp .report-editor-collapse>summary{list-style:none;display:flex;align-items:center;min-height:68px;padding:5px 2px;cursor:pointer;touch-action:manipulation}
#reportsApp .report-editor-collapse>summary::-webkit-details-marker{display:none}
#reportsApp .report-editor-collapse>summary h2{font-size:1.2rem;line-height:1.25;margin:0 0 5px}
#reportsApp #reportSaveStatus{display:block;font-size:.83rem;font-weight:500;opacity:.82}
#reportsApp .report-editor-collapse>summary .monthly-toggle-icon{flex:none;margin-left:auto}
#reportsApp .report-editor-collapse[open]>summary .monthly-toggle-icon::after{transform:translateY(3px) rotate(225deg)}
#reportsApp .report-editor-body{padding-top:12px;border-top:1px solid #fff}
#workApp .entry-panel-collapse>summary:focus-visible,#reportsApp .report-editor-collapse>summary:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){
  @keyframes ulutas-editor-unfold{from{opacity:.35;clip-path:inset(0 0 18% 0);transform:translateY(-9px)}to{opacity:1;clip-path:inset(0 0 0 0);transform:translateY(0)}}
  #reportsApp .report-editor-collapse[open]>.report-editor-body,
  #workApp .entry-panel-collapse[open]>form{animation:ulutas-editor-unfold .28s cubic-bezier(.2,.75,.25,1) both}
}

/* Match all large accordion controls and remove extra space around the month. */
#workApp .monthly-toggle-icon,#reportsApp .monthly-toggle-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0 0 0 auto;border:2px solid #fff;border-radius:16px;background:#000;box-shadow:0 0 6px rgba(255,255,255,.3)}
#workApp .monthly-toggle-icon::after,#reportsApp .monthly-toggle-icon::after{content:'';display:block;width:12px;height:12px;border-right:3px solid #fff;border-bottom:3px solid #fff;transform:translateY(-3px) rotate(45deg);transition:transform .18s}
#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)[open]>summary .monthly-toggle-icon::after,
#reportsApp .report-editor-collapse[open]>summary .monthly-toggle-icon::after{transform:translateY(3px) rotate(225deg)}
#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary,
#reportsApp .report-editor-collapse>summary{display:flex;align-items:center;gap:12px;min-height:70px!important;padding:8px 14px!important;margin:0!important;cursor:pointer}
#workApp .entry-panel,#workApp .monthly-panel,#workApp .entries-panel,#reportsApp .report-editor{padding:8px!important}
#workApp .monthly-panel>details{margin:0!important}
#workApp .entries-panel>summary{padding:8px 14px!important}
#workApp .monthly-collapse>summary #monthlyTitle{font-size:1.2rem!important}
#workApp .entry-panel-collapse[open]>summary,#reportsApp .report-editor-collapse[open]>summary{border-bottom:1px solid #fff!important}
#workApp .entry-panel-collapse>form,#reportsApp .report-editor-body{padding:12px 8px 8px}
#reportsApp .report-editor-body{border-top:0}

/* Shared control language across both views. */
#workApp .monthly-toggle-icon,#reportsApp .report-editor-collapse .monthly-toggle-icon{
  display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 44px!important;
  width:44px!important;height:44px!important;margin-left:auto!important;
  border:2px solid #fff!important;border-radius:16px!important;
  background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/23px 23px no-repeat!important;
  box-shadow:0 0 7px rgba(255,255,255,.4)!important;transition:transform .22s ease!important
}
#workApp .monthly-toggle-icon::after,#reportsApp .report-editor-collapse .monthly-toggle-icon::after{content:none!important}
#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)[open]>summary .monthly-toggle-icon,
#reportsApp .report-editor-collapse[open]>summary .monthly-toggle-icon{transform:rotate(180deg)}
#workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)>summary::after,
#reportsApp :is(.report-section,.report-history,.optional-report-fields,.catalog-search,.position-extras)>summary::after,
dialog details>summary::after{width:44px!important;height:44px!important;border-radius:16px!important;background-size:23px 23px!important;box-shadow:0 0 7px rgba(255,255,255,.4)!important}
#reportsApp .report-editor-collapse>summary .monthly-toggle-icon{display:block!important;min-width:44px!important}
#workApp .entry-panel,#workApp .monthly-panel,#workApp .entries-panel,#reportsApp .report-editor,#reportsApp .report-history{border-radius:25px!important}
#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary,
#reportsApp :is(.report-editor-collapse,.report-history)>summary{min-height:72px!important;gap:12px!important;padding:10px 14px!important}
#reportsApp .report-history>summary{display:flex;align-items:center}
#reportsApp .report-history>summary::after{margin-left:auto!important}
#workApp :is(.eyebrow,.section-kicker),#reportsApp :is(.eyebrow,.section-kicker){color:#ff6877!important}
#workApp :is(h1,h2,h3,label,legend,summary),#reportsApp :is(h1,h2,h3,label,legend,summary){color:#fff!important}
#workApp :is(input,select,textarea)::placeholder,#reportsApp :is(input,select,textarea)::placeholder{color:#bcbcbc!important;opacity:1}
#workApp :is(button,summary,input,select,textarea):focus-visible,#reportsApp :is(button,summary,input,select,textarea):focus-visible{outline:3px solid #ff6877!important;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){
  @keyframes ulutas-tap-pop{0%{transform:scale(.97)}65%{transform:scale(1.02)}100%{transform:scale(1)}}
  #workApp .day-type-button.active,#reportsApp .report-tabs button[aria-pressed="true"],.report-tabs button[aria-pressed="true"]{animation:ulutas-tap-pop .24s ease-out}
}
@media(prefers-reduced-motion:reduce){#workApp .monthly-toggle-icon,#reportsApp .monthly-toggle-icon{transition:none!important}}
#workApp .monthly-toggle-icon,#reportsApp .report-editor-collapse .monthly-toggle-icon{display:grid!important;place-items:center!important;background:#000!important;color:#fff!important}
#workApp .monthly-toggle-icon svg,#reportsApp .report-editor-collapse .monthly-toggle-icon svg{display:block;width:23px;height:23px;stroke:#fff}

/* Centered larger logo and separate appearance menu. */
:root .app-header{grid-template-columns:46px minmax(0,1fr) 46px;gap:5px;min-height:112px;padding:8px 12px!important}
.app-header .brand-logo{grid-column:2;grid-row:1;justify-self:center;width:min(270px,calc(100vw - 132px))!important;max-width:100%;height:98px!important;object-fit:contain}
:root .app-header .brand-logo-light{display:none!important}
.app-header .theme-menu{grid-column:1;grid-row:1;justify-self:start;position:relative;z-index:35}
.theme-menu>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid #fff;border-radius:15px;background:#000;color:#fff;cursor:pointer;touch-action:manipulation}
.theme-menu>summary::-webkit-details-marker{display:none}
.theme-menu>summary svg{width:23px;height:23px}
.theme-menu[open]>summary{border-color:#e83040;background:#e83040;color:#fff}
.theme-options{position:absolute;top:calc(100% + 9px);left:0;display:grid;gap:7px;width:135px;padding:10px;background:#000;border:1.5px solid #fff;border-radius:16px;box-shadow:0 12px 26px rgba(0,0,0,.55);z-index:100}
.theme-options button{min-height:44px;border:1px solid #fff;border-radius:12px;background:#000;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.theme-options button[aria-pressed="true"]{background:#e83040;border-color:#e83040;color:#fff}
@media(max-width:430px){:root .app-header{padding:8px 9px!important}.app-header .brand-logo{width:min(260px,calc(100vw - 115px))!important;height:96px!important}}

/* Light appearance: white surfaces, black copy, red highlights. */
html[data-theme="light"],html[data-theme="light"] body{background:#fff!important;color:#111!important}
html[data-theme="light"] body :is(p,small,label,legend,summary,h1,h2,h3,span,strong,a,button){color:#111!important}
html[data-theme="light"] :is(.app-header,.account-nav,.report-tabs,.panel,.entry-panel,.entries-panel,.monthly-panel,.summary-section,.report-editor,.report-history,.week-share-panel,.report-share-panel,dialog){background:#fff!important;color:#111!important}
html[data-theme="light"] .app-header{border-bottom:2px solid #e83040!important}
html[data-theme="light"] .app-header .brand-logo-dark{display:none!important}
html[data-theme="light"] .app-header .brand-logo-light{display:block!important;background:#fff!important}
html[data-theme="light"] :is(.language-menu>summary,.theme-menu>summary){background:#fff;color:#111;border-color:#111}
html[data-theme="light"] :is(.language-menu,.theme-menu)[open]>summary{background:#e83040;color:#fff;border-color:#e83040}
html[data-theme="light"] :is(.language-menu .language-buttons,.theme-options){background:#fff!important;border-color:#111!important;box-shadow:0 12px 26px rgba(0,0,0,.17)!important}
html[data-theme="light"] :is(.language-menu .language-buttons button,.theme-options button){background:#fff!important;color:#111!important;border-color:#777!important}
html[data-theme="light"] :is(.language-menu .language-buttons button.active,.theme-options button[aria-pressed="true"]){background:#e83040!important;color:#fff!important;border-color:#e83040!important}
html[data-theme="light"] #workApp :is(.panel,.entry-section,.summary-card,.history-month,.history-day,.entry-day,.quick-week-copy),
html[data-theme="light"] #reportsApp :is(.panel,.report-section,.catalog-item,.rubric-button,.report-list-row),
html[data-theme="light"] dialog{background:#fff!important;color:#111!important;border:2px solid #151515!important;box-shadow:0 4px 20px rgba(0,0,0,.09)!important}
html[data-theme="light"] #workApp :is(.entry-section,.entry-section-body,.entry-day,.history-month,.history-day,.history-days,.quick-week-copy,.monthly-collapse>summary,.monthly-content,.summary-card),
html[data-theme="light"] #reportsApp :is(.report-section,.report-section-body,.report-section>summary,.optional-report-fields,.report-catalog,.compact-position,.position-extras,.catalog-search,.report-history,.catalog-item,.rubric-button,.report-list-row){background:#fff!important;color:#111!important;border-color:#151515!important}
html[data-theme="light"] #workApp :is(.history-month>summary,.history-day>summary,.entry-section>summary,.monthly-collapse>summary),
html[data-theme="light"] #reportsApp :is(.report-section>summary,.report-history>summary,.report-catalog summary){background:#fff!important;color:#111!important}
html[data-theme="light"] body :is(.intro,.local-info,.compact-help,.pdf-language-note,.expense-help,.entry-panel p,.report-editor p,.report-history p,.monthly-panel p,.summary-section p,.summary-card span,.summary-card strong,.summary-card small,.catalog-item small,.rubric-button small,.report-editor small,.entry-section small,.entry-day-head){color:#111!important}
html[data-theme="light"] #workApp :is(.eyebrow,.section-kicker),html[data-theme="light"] #reportsApp :is(.eyebrow,.section-kicker){color:#b51c30!important}
html[data-theme="light"] :is(input,select,textarea,option),html[data-theme="light"] #workApp :is(input,select,textarea),html[data-theme="light"] #reportsApp :is(input,select,textarea){background:#fff!important;color:#111!important;border-color:#444!important;color-scheme:light}
html[data-theme="light"] :is(input,textarea)::placeholder,html[data-theme="light"] #workApp :is(input,textarea)::placeholder,html[data-theme="light"] #reportsApp :is(input,textarea)::placeholder{color:#666!important}
html[data-theme="light"] #workApp :is(.secondary-button,.continue-button,.day-type-button,.segmented span,.choice span,.quick-day-grid span,.monthly-delete-button),
html[data-theme="light"] #reportsApp :is(.secondary-button,.catalog-item,.rubric-button,.variant-button),
html[data-theme="light"] :is(.report-tabs button,.account-nav button,.file-action){background:#fff!important;color:#111!important;border:2px solid #151515!important;box-shadow:none!important}
html[data-theme="light"] :is(.primary-button,#previousMonth,#nextMonth,.camera-action),
html[data-theme="light"] #workApp :is(.day-type-button.active,.segmented input:checked+span,.choice input:checked+span,.quick-day-grid input:checked+span),
html[data-theme="light"] #reportsApp :is(.report-tabs button[aria-pressed="true"],.variant-button[aria-pressed="true"],.rubric-button[aria-pressed="true"]),
html[data-theme="light"] .report-tabs button[aria-pressed="true"]{background:#e83040!important;color:#fff!important;border-color:#e83040!important}
html[data-theme="light"] #workApp .monthly-toggle-icon,html[data-theme="light"] #reportsApp .report-editor-collapse .monthly-toggle-icon{background:#fff!important;border-color:#151515!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important}
html[data-theme="light"] #workApp .monthly-toggle-icon svg,html[data-theme="light"] #reportsApp .report-editor-collapse .monthly-toggle-icon svg{stroke:#111!important}
html[data-theme="light"] #workApp :is(.entry-section,.history-month,.history-day,.monthly-content details)>summary::after,
html[data-theme="light"] #reportsApp :is(.report-section,.report-history,.optional-report-fields,.catalog-search,.position-extras)>summary::after,
html[data-theme="light"] dialog details>summary::after{border-color:#151515!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 8 8 8 8-8' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/23px 23px no-repeat!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important}
html[data-theme="light"] #reportsApp :is(.section-number,.report-section .section-number),html[data-theme="light"] #workApp .entry-symbol{background:#e83040!important;border-color:#e83040!important;color:#fff!important}
html[data-theme="light"] body .feedback-banner,html[data-theme="light"] body .feedback-banner button{background:#fff!important;color:#111!important}
html[data-theme="light"] #workApp :is(.entry-site,.history-days,.monthly-content,.position-row,.receipt-row,.finished-position,.rubric-group.is-open),
html[data-theme="light"] #reportsApp :is(.entry-site,.position-row,.receipt-row,.finished-position,.rubric-group.is-open,.report-catalog details,.report-catalog summary){background:#fff!important;color:#111!important;border-color:#d5d5d5!important}
html[data-theme="light"] #workApp .history-day .entry-site{border-top-color:#d5d5d5!important}
html[data-theme="light"] #workApp .monthly-content{border-top-color:#d5d5d5!important}
html[data-theme="light"] :is(.receipt-row a,.image-credits a){color:#b51c30!important}
html[data-theme="light"] :is(.feedback-icon,.feedback-banner p){color:#111!important}
html[data-theme="light"] .feedback-success .feedback-icon,html[data-theme="light"] .feedback-error .feedback-icon{color:#fff!important}

/* Clear accordion headings in the light appearance. */
html[data-theme="light"] #workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary :is(h2,p,span),
html[data-theme="light"] #reportsApp :is(.report-editor-collapse,.report-history)>summary :is(h2,p,span),
html[data-theme="light"] #workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary,
html[data-theme="light"] #reportsApp :is(.report-editor-collapse,.report-history)>summary{color:#111!important}
html[data-theme="light"] #workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary .monthly-toggle-icon svg,
html[data-theme="light"] #reportsApp .report-editor-collapse>summary .monthly-toggle-icon svg{stroke:#111!important}

/* A compact contact card shared by the hours and reports views. */
.help-contact{width:min(100% - 28px,1060px);margin:24px auto 42px;padding:0!important;border:2px solid #fff!important;border-radius:25px!important;background:#000!important;color:#fff!important}
.help-contact>summary{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 18px;list-style:none;font-size:1.25rem;font-weight:800;cursor:pointer;color:#fff!important}
.help-contact>summary::-webkit-details-marker{display:none}
.help-contact>summary .monthly-toggle-icon{display:grid;place-items:center;width:44px;height:44px;margin-left:auto;border:2px solid #fff;border-radius:16px;transition:transform .22s ease}
.help-contact>summary svg{width:23px;height:23px;stroke:#fff}
.help-contact[open]>summary .monthly-toggle-icon{transform:rotate(180deg)}
.help-contact-body{display:flex;align-items:center;gap:18px;padding:18px;border-top:1px solid #fff}
.help-contact-body img{width:100px;height:110px;object-fit:cover;object-position:center 35%;border-radius:16px}
.help-contact-body strong{font-size:1.1rem}.help-contact-body p{margin:8px 0 16px;line-height:1.4}
.help-contact-actions{display:flex;gap:10px;flex-wrap:wrap}
.help-contact-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:9px 16px;border:2px solid #fff;border-radius:14px;color:#fff;text-decoration:none;font-weight:750}
.help-contact-actions a:first-child{background:#e83040;border-color:#e83040;color:#fff}
html[data-theme="light"] .help-contact{background:#fff!important;border-color:#151515!important;color:#111!important}
html[data-theme="light"] .help-contact>summary,html[data-theme="light"] .help-contact-body{color:#111!important;border-color:#151515!important}
html[data-theme="light"] .help-contact>summary .monthly-toggle-icon{border-color:#151515}
html[data-theme="light"] .help-contact>summary svg{stroke:#111}
html[data-theme="light"] .help-contact-actions a{border-color:#151515;color:#111}
html[data-theme="light"] .help-contact-actions a:first-child{border-color:#e83040;color:#fff!important}
@media(max-width:430px){.help-contact-body{align-items:flex-start;gap:12px}.help-contact-body img{width:78px;height:96px}.help-contact-actions a{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.help-contact>summary .monthly-toggle-icon{transition:none}}

/* Main menu in the top-left corner. */
.app-header .app-menu{z-index:110}
.app-menu .app-menu-content{width:min(320px,calc(100vw - 20px));max-height:calc(100dvh - 105px);overflow-y:auto;padding:16px;gap:10px}
.app-menu-content>strong{font-size:1.2rem;color:#fff}
.app-menu-content .menu-group{display:grid;gap:9px;padding:10px 0;border-top:1px solid #fff;border-bottom:1px solid #fff}
.app-menu-content .menu-group>span{font-weight:700;color:#fff}
.app-menu-content .menu-theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.app-menu-content .account-nav{display:grid;gap:8px;width:100%;margin:0;padding:0;background:transparent}
.app-menu-content .account-nav[hidden]{display:none!important}
.app-menu-content :is(button,a){width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;margin:0;padding:9px 12px;border:1.5px solid #fff;border-radius:12px;background:#000;color:#fff;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}
.app-menu-content button[aria-pressed="true"]{background:#e83040;border-color:#e83040;color:#fff}
.app-menu-content .office-contact{display:grid;gap:8px;padding:10px 0;border-top:1px solid #fff}
.app-menu-content .office-contact[hidden]{display:none!important}
.app-menu-content .menu-personal-contact{display:grid;gap:9px;padding:10px 0;border-top:1px solid #fff;color:#fff}
.app-menu-content .menu-personal-contact[hidden]{display:none!important}
.menu-personal-contact img{width:84px;height:84px;object-fit:cover;object-position:center 30%;border-radius:18px}
.menu-personal-contact p{margin:0;line-height:1.4}
.app-menu-content .help-contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.app-menu-content .help-contact-actions a:first-child{background:#e83040;border-color:#e83040;color:#fff}
.app-menu-content :is(.office-contact,.menu-personal-contact)>strong{color:#fff}
.office-contact label{font-weight:700;color:#fff}.office-contact input{width:100%;min-height:46px;margin-top:6px;padding:8px 10px;border:1.5px solid #fff;border-radius:10px;background:#000;color:#fff;font:inherit}
.office-contact p{margin:0;font-size:.87rem;color:#fff}
.app-menu-content .office-contact a{background:#e83040;border-color:#e83040;color:#fff}
.app-menu-content .office-contact a[hidden]{display:none!important}
html[data-theme="light"] .app-menu-content>strong,html[data-theme="light"] .app-menu-content .menu-group>span,html[data-theme="light"] .office-contact :is(label,p){color:#111!important}
html[data-theme="light"] .app-menu-content :is(.menu-group,.office-contact){border-color:#111}
html[data-theme="light"] .app-menu-content .menu-personal-contact{border-color:#111;color:#111}
html[data-theme="light"] .app-menu-content :is(.office-contact,.menu-personal-contact)>strong{color:#111!important}
html[data-theme="light"] .app-menu-content :is(button,a){background:#fff;color:#111;border-color:#111}
html[data-theme="light"] .app-menu-content button[aria-pressed="true"],html[data-theme="light"] .app-menu-content .office-contact a{background:#e83040;color:#fff!important;border-color:#e83040}
html[data-theme="light"] .app-menu-content .help-contact-actions a:first-child{background:#e83040;color:#fff!important;border-color:#e83040}
html[data-theme="light"] .office-contact input{background:#fff;color:#111;border-color:#111}

/* Readable heading and a clear saved name. Keep the collapsed cards compact. */
#workApp .intro{align-items:flex-start!important;margin:0 0 14px!important}
#workApp .intro h1{display:block!important;margin:2px 0 10px!important;line-height:1.12!important;font-size:clamp(1.9rem,7vw,2.5rem)!important}
#workApp .intro .eyebrow{font-size:.8rem!important;letter-spacing:.07em!important;margin:0 0 5px!important}
#workApp .account-name-line{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:0!important;line-height:1.25}
#workApp .account-name-line span{font-size:.8rem;font-weight:650}
#workApp .account-name-line strong{font-size:1.25rem;font-weight:850;overflow-wrap:anywhere}
html[data-theme="light"] #workApp .intro :is(h1,.eyebrow,.account-name-line,.account-name-line span,.account-name-line strong){color:#111!important}
#workApp :is(.entry-panel,.monthly-panel,.entries-panel){margin-bottom:12px!important;padding:4px!important;border-radius:21px!important}
#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary{min-height:58px!important;padding:7px 12px!important;gap:8px!important}
#workApp .entry-panel-collapse>summary h2,#workApp .entries-panel>summary h2{font-size:1.16rem!important;line-height:1.17!important}
#workApp .monthly-collapse>summary #monthlyTitle{font-size:1.16rem!important}
#workApp :is(.entry-panel-collapse,.entries-panel)>summary .section-kicker{font-size:.66rem!important;margin-bottom:2px!important}
#workApp .monthly-toggle-icon{flex-basis:40px!important;width:40px!important;height:40px!important;border-radius:13px!important}
#workApp .monthly-toggle-icon svg{width:21px!important;height:21px!important}
@media(max-width:430px){#workApp .intro h1{font-size:1.95rem!important}#workApp .account-name-line strong{font-size:1.15rem}#workApp :is(.entry-panel-collapse,.monthly-collapse,.entries-panel)>summary{min-height:56px!important}}

/* Rounded, animated menu with clear groups instead of outlined rows. */
.app-menu .app-menu-content{width:min(340px,calc(100vw - 20px))!important;padding:17px!important;gap:12px!important;border:2px solid #fff!important;border-radius:24px!important;background:#000!important;box-shadow:0 18px 42px rgba(0,0,0,.42)!important;transform-origin:top left}
.app-menu-content>strong{display:block;padding:1px 3px 4px;font-size:1.32rem!important;line-height:1.15}
.app-menu-content .menu-group{padding:14px!important;border:1px solid #fff!important;border-radius:18px!important;gap:11px!important}
.app-menu-content .menu-group>span{font-size:.8rem;letter-spacing:.035em}
.app-menu-content .menu-theme-choices{gap:8px}
.app-menu-content .menu-theme-choices button{min-height:43px!important;border-radius:13px!important;text-align:center!important;justify-content:center!important}
.app-menu-content .account-nav{gap:2px!important}
.app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice){position:relative;justify-content:flex-start!important;min-height:54px!important;padding:10px 40px 10px 49px!important;border:0!important;border-radius:15px!important;background:transparent!important;color:#fff!important;text-align:left!important;box-shadow:none!important}
.app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice):hover,
.app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice):focus-visible{background:#e83040!important;color:#fff!important}
.app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice)::before{content:'';position:absolute;left:12px;top:50%;width:23px;height:23px;transform:translateY(-50%);background:center/contain no-repeat}
.app-menu-content #profileButton::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E")}
.app-menu-content #backupButton::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v15H4zM4 9h16M10 14h4'/%3E%3C/svg%3E")}
.app-menu-content #menuContact::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 5-6 9-6 9S6 13 6 8Z'/%3E%3Cpath d='M9 21h6'/%3E%3C/svg%3E")}
.app-menu-content #menuOffice::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v18H7zM4 21h16M10 7h4M10 11h4M10 15h4'/%3E%3C/svg%3E")}
.app-menu-content :is(#menuContact,#menuOffice)::after{content:'';position:absolute;right:17px;top:50%;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .22s ease}
.app-menu-content :is(#menuContact,#menuOffice)[aria-expanded="true"]::after{transform:translateY(-30%) rotate(225deg)}
.app-menu-content :is(.menu-personal-contact,.office-contact){margin:0 4px 3px 12px;padding:12px!important;border:1px solid #fff!important;border-radius:17px!important;background:#000!important}
.app-menu-content .menu-personal-contact img{width:72px;height:72px;border-radius:50%;border:2px solid #e83040}
.app-menu-content .menu-personal-contact p{font-size:.88rem;line-height:1.35}
.app-menu-content .office-contact a,.app-menu-content .help-contact-actions a{min-height:44px!important;border-radius:12px!important;font-size:.88rem!important}
html[data-theme="light"] .app-menu .app-menu-content{background:#fff!important;border-color:#111!important;box-shadow:0 18px 42px rgba(0,0,0,.2)!important}
html[data-theme="light"] .app-menu-content .menu-group,html[data-theme="light"] .app-menu-content :is(.menu-personal-contact,.office-contact){border-color:#ddd!important;background:#fff!important}
html[data-theme="light"] .app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice){background:transparent!important;color:#111!important;border:0!important}
html[data-theme="light"] .app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice):hover,
html[data-theme="light"] .app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice):focus-visible{background:#fbe7e9!important;color:#111!important}
html[data-theme="light"] .app-menu-content :is(#profileButton,#backupButton,#menuContact,#menuOffice)::before{filter:brightness(0)}
@media(prefers-reduced-motion:no-preference){
 @keyframes ulutas-menu-open{from{opacity:0;transform:translateY(-11px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
 @keyframes ulutas-menu-section{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
 .app-menu[open] .app-menu-content{animation:ulutas-menu-open .27s cubic-bezier(.2,.8,.2,1) both}
 .app-menu-content :is(.menu-personal-contact,.office-contact):not([hidden]){animation:ulutas-menu-section .25s ease both}
}

/* Backup dialog: one primary action, other tools in clear accordions. */
#backupDialog{width:min(540px,calc(100% - 24px))!important;max-width:540px!important;max-height:calc(100dvh - 30px);padding:18px!important;overflow-y:auto;border:2px solid #fff!important;border-radius:24px!important;background:#000!important;color:#fff!important}
#backupDialog :is(h2,h3,p,label,summary,span){color:#fff!important}
#backupDialog .backup-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
#backupDialog .backup-header h2{font-size:1.45rem;line-height:1.18}
#backupDialog .backup-header p{font-size:.9rem;line-height:1.42;margin:8px 0 0}
#backupDialog .backup-close{flex:none;margin-left:auto;width:42px;height:42px;border:1.5px solid #fff;border-radius:13px;background:#000;color:#fff;font-size:1.7rem;line-height:1;cursor:pointer}
#backupDialog .backup-zip{padding:16px!important;margin:0 0 12px!important;border:1.5px solid #fff!important;border-radius:19px!important;background:#000!important}
#backupDialog .backup-kicker{display:block;margin-bottom:7px;font-size:.69rem;font-weight:850;letter-spacing:.11em}
#backupDialog .backup-zip h3{font-size:1.15rem;margin:0 0 8px}
#backupDialog .backup-zip p{font-size:.88rem;line-height:1.42;margin:0 0 15px}
#backupDialog #createBackup,#backupDialog #backupDownloadLink{min-height:48px;width:100%;margin:0;border-radius:13px;text-align:center;font-size:.95rem}
#backupDialog #backupDownloadLink{margin-top:9px}
#backupDialog [hidden]{display:none!important}
#backupDialog .backup-option{margin:8px 0!important;border:1.5px solid #fff;border-radius:16px;overflow:hidden}
#backupDialog .backup-option>summary{display:flex;align-items:center;min-height:57px;padding:10px 12px!important;gap:8px;font-size:.92rem;font-weight:750;line-height:1.25;list-style:none}
#backupDialog .backup-option>summary::after{width:36px!important;height:36px!important;border-radius:12px!important;background-size:19px 19px!important;box-shadow:none!important}
#backupDialog .backup-option-body{padding:0 13px 14px;border-top:1px solid #777}
#backupDialog .backup-option-body p{font-size:.87rem;line-height:1.4;margin:13px 0}
#backupDialog .backup-option-body label{display:block;font-size:.87rem;margin:13px 0 8px}
#backupDialog #backupUpload{display:block;width:100%;margin-top:8px;padding:9px;border:1.5px solid #fff;border-radius:12px;background:#000;color:#fff;font-size:.85rem}
#backupDialog :is(#restoreBackup,#createPdfBackup,#clearButton){min-height:45px;padding:10px 13px;border:1.5px solid #fff;border-radius:12px;background:#000;color:#fff;font-size:.86rem}
#backupDialog #restoreBackup:disabled{opacity:.45;cursor:not-allowed}
#backupDialog #backupMessage{font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}
html[data-theme="light"] #backupDialog{background:#fff!important;color:#111!important;border-color:#111!important}
html[data-theme="light"] #backupDialog :is(h2,h3,p,label,summary,span){color:#111!important}
html[data-theme="light"] #backupDialog :is(.backup-zip,.backup-option){background:#fff!important;border-color:#111!important}
html[data-theme="light"] #backupDialog .backup-close,html[data-theme="light"] #backupDialog :is(#restoreBackup,#createPdfBackup,#clearButton){background:#fff;color:#111;border-color:#111}
html[data-theme="light"] #backupDialog #backupUpload{background:#fff;color:#111;border-color:#111}
html[data-theme="light"] #backupDialog .backup-option-body{border-color:#ccc}
@media(max-width:430px){#backupDialog{padding:14px!important}#backupDialog .backup-header h2{font-size:1.3rem}#backupDialog .backup-zip{padding:14px!important}}

#expenseFieldset>summary #expenseSelection{margin-left:2px!important;padding:4px 8px;border:1px solid currentColor;border-radius:999px;font-size:.74rem;font-weight:750;line-height:1.2;white-space:nowrap;color:#fff!important}
html[data-theme="light"] #expenseFieldset>summary #expenseSelection{color:#111!important}

/* Cleaner input layout and one consistent icon style. */
#workApp .entry-panel{border-width:1.5px!important;border-radius:22px!important;box-shadow:0 10px 28px rgba(0,0,0,.12)!important}
#workApp .entry-panel-collapse>form{padding:10px 11px 15px!important}
#workApp .entry-panel-collapse>summary{padding:11px 14px!important}
#workApp .entry-panel-collapse>summary h2{display:flex;align-items:center;gap:9px}
#workApp .entry-panel-collapse>summary h2::before{content:'';width:23px;height:23px;flex:none;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3a1 1 0 0 1 2 0v8h8a1 1 0 1 1 0 2h-8v8a1 1 0 1 1-2 0v-8H3a1 1 0 1 1 0-2h8z'/%3E%3C/svg%3E")}
#workApp .entry-panel .day-type-fieldset{margin:5px 0 18px!important}
#workApp .entry-panel :is(legend,label,.field-label){font-weight:760}
#workApp .entry-panel .field-label{display:flex;align-items:center;gap:8px;margin-bottom:3px;font-size:.88rem;line-height:1.25}
#workApp .entry-panel .field-label::before{content:'';width:19px;height:19px;flex:none;background:currentColor;mask:center/contain no-repeat}
#workApp .entry-panel .field-date::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2V3a1 1 0 0 1 1-1Zm13 8H4v10h16V10ZM4 8h16V6H4v2Z'/%3E%3C/svg%3E")}
#workApp .entry-panel .field-site::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a8 8 0 0 1 8 8c0 5.7-8 12-8 12S4 15.7 4 10a8 8 0 0 1 8-8Zm0 2a6 6 0 0 0-6 6c0 3.7 3.8 7.7 6 9.4 2.2-1.7 6-5.7 6-9.4a6 6 0 0 0-6-6Zm0 3a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z'/%3E%3C/svg%3E")}
#workApp .entry-panel .field-time::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm1 2v5.6l3.6 2.2-1 1.7L11 12.7V6h2Z'/%3E%3C/svg%3E")}
#workApp .entry-panel .field-pause::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 4h4v16H6V4Zm8 0h4v16h-4V4Z'/%3E%3C/svg%3E")}
#workApp .entry-panel .day-type-buttons{gap:8px!important}
#workApp .entry-panel .day-type-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:49px!important;padding:9px 6px!important;border-width:1.5px!important;border-radius:14px!important;box-shadow:none!important;font-size:.95rem!important}
#workApp .entry-panel .day-type-button::before{content:'';width:19px;height:19px;flex:none;background:currentColor;mask:center/contain no-repeat}
#workApp .entry-panel [data-day-type="work"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6a2 2 0 0 1 2 2v2h4v13H3V7h4V5a2 2 0 0 1 2-2Zm0 4h6V5H9v2Zm12 2H3v3h18V9Zm-18 5v4h18v-4h-8v1h-2v-1H3Z'/%3E%3C/svg%3E")}
#workApp .entry-panel [data-day-type="vacation"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0V3a1 1 0 0 1 1-1Zm0 5a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM3 11h2a1 1 0 0 1 0 2H3a1 1 0 0 1 0-2Zm16 0h2a1 1 0 0 1 0 2h-2a1 1 0 0 1 0-2ZM11 19a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0v-2Z'/%3E%3C/svg%3E")}
#workApp .entry-panel [data-day-type="sick"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3h4v7h7v4h-7v7h-4v-7H3v-4h7V3Z'/%3E%3C/svg%3E")}
#workApp .entry-panel :is(input[type="date"],input[type="text"],input[type="time"],input[type="number"]){min-height:49px!important;border-width:1.5px!important;border-radius:14px!important;box-shadow:none!important}
#workApp .entry-panel :is(.entry-section,.choice span,.segmented span){box-shadow:none!important}
#workApp .entry-panel .entry-section{border-width:1.5px!important;border-radius:18px!important;margin:14px 0!important}
#workApp .entry-panel .entry-section>summary{min-height:59px;padding:9px 12px!important;gap:9px!important}
#workApp .entry-panel .entry-section-body{padding:10px 12px 14px!important}
#workApp .entry-panel .entry-symbol{width:38px;height:38px;border-radius:12px;box-shadow:none!important}
#workApp .entry-panel .segmented{padding:3px!important;border:1.5px solid #fff!important;border-radius:14px!important;background:#000!important;gap:3px}
#workApp .entry-panel .segmented span{border:0!important;border-radius:11px!important;min-height:45px;padding:10px 5px!important;font-size:.88rem!important}
#workApp .entry-panel #copyPreviousDay{display:flex;align-items:center;justify-content:center;width:100%;min-height:45px;border-width:1.5px!important;border-radius:13px!important;margin:12px 0 16px;padding:8px 10px;font-size:.87rem!important}
#workApp .entry-panel #copyPreviousDay::before{content:'';display:block;width:18px;height:18px;flex:none;margin-right:8px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 1 1-8.4 12.2l1.9-.7A7 7 0 1 0 6.4 7H10v2H3V2h2v3.3A9 9 0 0 1 12 3Zm1 4v5.4l3.5 2.1-1 1.7L11 13.5V7h2Z'/%3E%3C/svg%3E")}
html[data-theme="light"] #workApp .entry-panel :is(label,legend,.field-label),html[data-theme="light"] #workApp .entry-panel .field-label::before{color:#111!important}
html[data-theme="light"] #workApp .entry-panel .segmented{background:#fff!important;border-color:#111!important}
html[data-theme="light"] #workApp .entry-panel .entry-section{border-color:#222!important}
@media(max-width:430px){#workApp .entry-panel-collapse>form{padding:9px 8px 12px!important}#workApp .entry-panel .day-type-button{font-size:.86rem!important;gap:4px}#workApp .entry-panel .day-type-button::before{width:17px;height:17px}}

#workApp .entry-panel .day-type-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#workApp .entry-panel [data-day-type="overtime"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 2a8 8 0 1 1-8 8 8 8 0 0 1 8-8Zm-1 2v7l5 3 1-1.7-4-2.4V6Z'/%3E%3C/svg%3E")}
#backupDialog .auto-backup-setup{margin-top:14px;border-top:1px solid #888;padding-top:14px}#backupDialog #chooseBackupFolder{width:100%;min-height:48px}#backupDialog #autoBackupStatus{font-size:.85rem;margin:9px 0 0}
.app-menu-content #cloudBackupButton,.app-menu-content #tutorialMenu{display:block;width:100%;min-height:48px;padding:10px 14px;border:0;border-radius:14px;background:transparent;color:inherit;text-align:left;font:inherit;font-weight:700;cursor:pointer}
.app-menu-content #cloudBackupButton:hover,.app-menu-content #tutorialMenu:hover{background:#e82c40;color:#fff}
#cloudBackupDialog,#onboardingDialog{width:min(550px,calc(100% - 22px));max-height:calc(100dvh - 22px);overflow:auto;border:2px solid #e82c40;border-radius:22px;padding:20px;background:var(--white);color:var(--ink)}
#cloudBackupDialog::backdrop,#onboardingDialog::backdrop{background:rgba(0,0,0,.75)}
#cloudBackupDialog h2,#onboardingDialog h2{margin:0 0 12px;font-size:1.6rem}
#cloudBackupDialog label{display:block;margin:12px 0;font-weight:700}
#cloudBackupDialog label input{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:2px solid currentColor;border-radius:13px;padding:12px;background:var(--white);color:var(--ink);font:inherit}
#cloudBackupDialog [hidden],#onboardingDialog [hidden]{display:none!important}
.cloud-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.cloud-buttons>*{flex:1 1 175px;text-align:center;text-decoration:none}
#cloudBackupStatus{min-height:1.5em;line-height:1.4;overflow-wrap:anywhere}
#onboardingDialog video{display:block;width:min(280px,100%);aspect-ratio:9/16;max-height:48dvh;margin:10px auto;border-radius:16px;background:#000}
#onboardingDialog ol{padding-left:23px;line-height:1.55}
#onboardingDone{width:100%;margin-top:10px}
/* In-app help: compact cards that follow the selected color scheme. */
.app-menu-content #helpMenu{display:block;width:100%;min-height:48px;padding:10px 14px;border:0;border-radius:14px;background:transparent;color:inherit;text-align:left;font:inherit;font-weight:700;cursor:pointer}
.app-menu-content #helpMenu:hover{background:#e82c40;color:#fff}
.help-dialog{width:min(610px,calc(100% - 20px));max-height:calc(100dvh - 20px);padding:0 0 16px;border:1.5px solid currentColor;border-radius:22px;background:var(--white);color:var(--ink);overflow:auto;box-sizing:border-box}
.help-dialog::backdrop{background:rgba(0,0,0,.78)}
.help-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;background:var(--white);border-bottom:1px solid currentColor}
.help-header p{margin:0 0 3px;color:#d72d42;font-size:.72rem;font-weight:850;letter-spacing:.11em}.help-header h2{margin:0;font-size:1.55rem}
.help-header button{width:42px;height:42px;border:1.5px solid currentColor;border-radius:13px;background:transparent;color:inherit;font-size:1.6rem;cursor:pointer}
.help-intro{padding:0 18px;line-height:1.4;font-size:.94rem}
.help-topics{display:grid;gap:9px;padding:0 13px}
.help-topics details{border:1.5px solid currentColor;border-radius:16px;overflow:hidden;background:var(--white)}
.help-topics summary{display:flex;gap:12px;align-items:center;min-height:55px;padding:9px 14px;list-style:none;font-size:1rem;font-weight:800;cursor:pointer}
.help-topics summary::-webkit-details-marker{display:none}
.help-topics summary span{display:grid;place-items:center;min-width:32px;height:32px;border-radius:10px;background:#e82c40;color:#fff;font-size:.78rem}
.help-topics summary::after{content:'⌄';margin-left:auto;font-size:1.4rem;transition:transform .2s ease}
.help-topics details[open] summary::after{transform:rotate(180deg)}
.help-topics details>div{padding:0 15px 15px;border-top:1px solid currentColor}
.help-topics p{margin:13px 0;line-height:1.5;font-size:.92rem}
.help-topics button,.help-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border:1.5px solid currentColor;border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:.85rem;font-weight:750;text-decoration:none;cursor:pointer}
.help-topics button:hover,.help-links a:hover{background:#e82c40;border-color:#e82c40;color:#fff}
.help-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(prefers-reduced-motion:reduce){.help-topics summary::after{transition:none}}
html[data-theme="light"] .help-topics summary span,html[data-theme="light"] .help-topics :is(button,a):hover{color:#fff!important}
/* Contact actions keep the supplied white surface readable in light mode. */
.contact-icon{display:inline-block!important;width:23px!important;height:23px!important;flex:none!important;object-fit:contain;vertical-align:middle;margin-right:8px}
.app-menu-content .help-contact-actions a,.help-topics .help-links a,#onboardingDialog .cloud-buttons a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;line-height:1.25!important;text-align:center!important;overflow-wrap:anywhere}
html[data-theme="light"] .app-menu-content .help-contact-actions a,
html[data-theme="light"] #onboardingDialog .cloud-buttons a,
html[data-theme="light"] .help-topics .help-links a{background:#fff!important;color:#111!important;border:1.5px solid #111!important;box-shadow:none!important}
html[data-theme="light"] .app-menu-content .help-contact-actions a:first-child{background:#fff!important;color:#111!important;border-color:#111!important}
html[data-theme="light"] #onboardingDialog .cloud-buttons a img,
html[data-theme="light"] .app-menu-content .help-contact-actions a img,
html[data-theme="light"] .help-topics .help-links a img{filter:none!important}
html:not([data-theme="light"]) img[src$="phone.svg"]{filter:invert(1)}
@media(max-width:420px){#onboardingDialog .cloud-buttons a{flex-basis:100%;min-height:49px;padding:10px!important}}
#tutorialPlay{display:block;width:100%;min-height:48px;background:var(--white);color:var(--ink);border:1.5px solid currentColor;border-radius:13px;font:inherit;font-weight:750;margin:10px 0}
#tutorialPlay[hidden]{display:none!important}
html[data-theme="light"] #tutorialPlay{background:#fff!important;color:#111!important}
.tutorial-voice-choice{display:flex;align-items:center;gap:12px;justify-content:space-between;font-weight:750;margin:12px 0}
#tutorialVoiceLanguage{width:auto;min-width:135px;min-height:42px;padding:8px 10px;background:var(--white);color:var(--ink);border:1.5px solid currentColor;border-radius:12px;font:inherit}
html[data-theme="light"] #tutorialVoiceLanguage{background:#fff!important;color:#111!important}
#startupLanguageDialog{width:min(480px,calc(100% - 24px));padding:22px;border:1.5px solid #222;border-radius:24px;background:#fff!important;color:#111!important;max-height:calc(100dvh - 24px);overflow:auto;text-align:center}
#startupLanguageDialog::backdrop{background:rgba(0,0,0,.8)}
#startupLanguageDialog .startup-brand{display:block;width:min(260px,100%);height:auto;margin:0 auto 20px}
#startupLanguageDialog h2{font-size:1.65rem;margin:0 0 12px;color:#111!important}
#startupLanguageDialog h2 small{font-size:1.15rem;font-weight:650;color:#444!important}
#startupLanguageDialog p{color:#333!important;line-height:1.45;font-size:.95rem}
.startup-language-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
#startupLanguageDialog button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#fff!important;color:#111!important;border:1.5px solid #ccc;border-radius:18px;padding:18px 10px;cursor:pointer;min-height:150px;font:inherit}
#startupLanguageDialog button:hover,#startupLanguageDialog button:focus-visible{border-color:#e82c40;box-shadow:0 0 0 3px rgba(232,44,64,.15)}
#startupLanguageDialog button span{font-size:2.3rem}#startupLanguageDialog button strong{font-size:1.2rem;color:#111!important}#startupLanguageDialog button small{font-size:.76rem;color:#555!important;line-height:1.3}
#startupLanguageDialog .startup-more-languages{font-size:.78rem;color:#666!important}

.tutorial-chapter-choice{display:grid;gap:8px;margin:14px 0;font-size:14px;font-weight:600}.tutorial-chapter-choice select{width:100%;min-width:0;padding:12px;font-size:14px;border:1px solid #cdd1d5;border-radius:12px;background:var(--white,#fff);color:var(--ink,#111)}
.tutorial-chapter-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:220px;overflow:auto;padding:2px;margin:8px 0}.tutorial-chapter-buttons button{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:7px;min-height:48px;padding:8px;border:1px solid #555;border-radius:11px;background:#17181c;color:#fff;text-align:left;font:inherit;cursor:pointer}.tutorial-chapter-buttons button>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e82c40;color:#fff;font-size:.72rem;font-weight:850}.tutorial-chapter-buttons button strong{font-size:.75rem;line-height:1.15}.tutorial-chapter-buttons button small{font-size:.68rem;color:#bbb}.tutorial-chapter-buttons button[aria-pressed="true"]{border-color:#e82c40;box-shadow:inset 0 0 0 1px #e82c40}.tutorial-chapter-status{min-height:18px;margin:6px 0;font-size:.78rem;font-weight:700;color:#e82c40}html[data-theme="light"] .tutorial-chapter-buttons button{background:#fff;color:#111;border-color:#ccc}html[data-theme="light"] .tutorial-chapter-buttons button small{color:#555}@media(max-width:430px){.tutorial-chapter-buttons{grid-template-columns:1fr;max-height:190px}}
