/* Web and mini program parity refinements */
.calendar-entry{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#17251e;margin:0 0 12px;padding:17px 18px}
.calendar-entry span:first-child{display:grid;gap:4px}.calendar-entry small{font-size:12px;color:var(--muted);font-weight:400}.calendar-entry> b:last-child{font-size:24px;color:var(--green)}
.company-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.company-summary-balance{color:var(--green);font-weight:750;text-align:right;white-space:nowrap}.company-summary-balance small{font-size:11px;color:var(--muted);font-weight:500}
.recent-row{cursor:pointer}.day-summary{padding:0 2px}.day-summary h2{font-size:15px}.record-meta{margin-top:10px;color:var(--muted);font-size:11px;line-height:1.7}
.stats-year{margin-top:10px}.stats-row{min-height:60px}.stats-value{text-align:right}.detail-heading{align-items:center;margin:6px 2px 16px}.detail-heading .page-title{margin:0}.detail-summary-row{margin-top:10px}.company-preview{padding:13px;margin:12px 0;background:#f5f8f5;border-radius:13px}.company-preview .row+.row{margin-top:8px}
.repair-field .repair-heading{margin-bottom:8px}.repair-heading label{font-weight:700;font-size:13px;margin:0}.repair-heading .text-button{white-space:nowrap}.picker-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:13px 14px;border:1px solid #e8ede8;border-radius:12px;background:#f8faf7;color:#26392e}.picker-toggle span{color:var(--green)}.project-dropdown{max-height:330px;overflow:auto}.model-empty{font-size:12px;line-height:1.5;color:var(--muted);background:#f7f9f6;border-radius:12px;padding:12px;margin-top:8px}.manage-return{margin:2px 2px 8px}.clipboard-import{grid-column:1/-1}.backup-file{display:block;text-align:center;margin-top:8px;padding:13px;border-radius:13px}
.backup-row{display:grid;grid-template-columns:1fr 1fr}.backup-row .clipboard-import{grid-column:1/-1}.backup-row label{cursor:pointer}.calendar-entry:active,.company-summary:active,.recent-row:active{transform:scale(.995)}
@media(max-width:360px){.metrics{gap:8px}.metric{padding:13px 11px}.metric-value{font-size:18px}.company-summary{padding:15px}.company-summary-balance{font-size:14px}}
.calendar-entry{min-height:136px}
/* Safer typed manufacturer and model entry */
.autocomplete-field{position:relative}.autocomplete-results{position:absolute;z-index:12;top:calc(100% + 4px);left:0;right:0;max-height:240px;overflow:auto;padding:4px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 22px rgba(22,48,35,.12)}.autocomplete-results[hidden]{display:none}.autocomplete-option{display:block;width:100%;padding:12px;text-align:left;background:#fff;color:#17251e;border-bottom:1px solid var(--line)}.autocomplete-option:last-child{border-bottom:0}.autocomplete-option:active{background:#e9f3ed}.autocomplete-help{margin-top:6px;line-height:1.5}.picker-toggle:disabled{opacity:.55;cursor:not-allowed}.manage-add-form{padding:15px}.manage-add-form>label{display:block;margin-bottom:8px;font-size:13px;font-weight:700}.manage-add-form .input-row{align-items:stretch}.manage-add-form .input-row input{min-width:0;flex:1}.manage-add-form .input-row .manage-add-submit{width:auto;flex:0 0 82px;padding:12px}.project-empty{display:block;padding:13px}
.confirm-modal .confirm-step{margin-top:12px;font-weight:700;color:#6c7b72}.confirm-modal .modal-actions .primary{width:auto}.confirm-modal .modal-actions .danger-button{width:auto}.manage-project-form .input-row input[name="projectName"]{min-width:0;flex:1}.manage-project-form .input-row input[name="price"]{flex:0 0 100px}
.confirm-modal .modal-actions{flex-wrap:wrap}.confirm-modal .modal-actions button{min-width:80px}.manage-project-form .input-row{gap:7px}
.inline-project-add{margin:8px 0 14px}.inline-project-add>.text-button{padding:7px 0}.inline-project-editor{display:grid;grid-template-columns:1fr;gap:8px;margin-top:7px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#f8faf7}.inline-project-editor input{min-width:0}.inline-project-editor .secondary{width:100%}