.app-page { background: #faf8fd; min-height: 100svh; color: #30223e; font-size: 14px; }
.workspace-container { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.logout-button { display: flex; align-items: center; gap: 6px; padding: 7px 0; color: #897492; font-size: 11px; }
.logout-button:hover { color: #b7623f; }
.auth-page { background: radial-gradient(ellipse 85% 480px at 50% 0, #e9d9f8, transparent 85%), #fffbf1; }
.auth-shell { width: min(440px, calc(100% - 32px)); margin: 42px auto; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 27px; }.auth-brand>span { font-size: 27px; }
.auth-card { padding: 30px; background: #fff; border: 1px solid #e1d0ee; border-radius: 21px; box-shadow: 0 12px 50px #603d7b0c; }
.auth-card h1 { font-size: 25px; font-weight: 750; letter-spacing: -.4px; line-height: 1.8; margin-top: 8px; }
.auth-card>.eyebrow { font-size: 10px; }.auth-description { font-size: 12px; line-height: 2.1; color: #8f789e; margin-top: 10px; }
.auth-form { margin-top: 24px; }.auth-form .field-grid { grid-template-columns: 1fr; gap: 19px; }.auth-form>.button { margin-top: 27px; font-size: 13px; }
.auth-field-hint { display: block; margin-top: 5px; color: #9b82aa !important; font-size: 10px; }.auth-card .form-errors { margin-top: 20px; padding: 12px 15px; font-size: 11px; }
.auth-switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee4f5; font-size: 11px; text-align: center; color: #9a83a9; }.auth-switch>a { color: #7844a2; font-weight: 650; margin-right: 4px; }
.auth-footnote { text-align: center; font-size: 10px; line-height: 2; color: #a188b0; margin-top: 21px; }.auth-home { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 10px; color: #8e749f; }
@media(max-width: 480px) { .auth-shell { margin-block: 25px; }.auth-card { padding: 25px 22px; }.auth-card h1 { font-size: 23px; }.auth-brand { margin-bottom: 22px; }.workspace-header-links { gap: 12px; }.logout-button { font-size: 10px; gap: 4px; } }
.workspace-header { background: #ffffffec; border-bottom: 1px solid #e9e2f0; }
.workspace-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; }
.workspace-header .brand>span { font-size: 24px; }.workspace-header .brand small { font-size: 10px; margin-top: 4px; font-weight: 400; }
.workspace-header-links { display: flex; align-items: center; gap: 20px; font-size: 12px; }.workspace-header-links>a { display: flex; align-items: center; gap: 7px; color: #745399; }
.local-badge { padding: 4px 10px; border: 1px solid #e5ddef; border-radius: 20px; color: #7a688d; font-size: 10px; }
.workspace-nav { display: flex; gap: 5px; width: fit-content; padding: 5px; margin-block: 28px 33px; border: 1px solid #e8dff0; border-radius: 14px; background: #fff; }
.workspace-nav>a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 24px; border-radius: 10px; color: #7a678e; font-size: 13px; }
.workspace-nav>a[aria-current] { color: #7141a6; background: #f0e7fa; font-weight: 700; }.workspace-nav>a:hover { background: #f6f1fc; }
.workspace-main { min-height: 55svh; }.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 29px; }
.page-heading h1 { font-size: 29px; font-weight: 800; letter-spacing: -.4px; line-height: 1.7; margin-top: 7px; }.page-heading p { color: #7a6a8b; font-size: 12px; margin-top: 8px; }
.today-label { display: flex; align-items: center; gap: 9px; color: #796491; background: #fff; padding: 10px 15px; border: 1px solid #e6ddef; border-radius: 11px; font-size: 12px; white-space: nowrap; }
.visit-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }.visit-tabs { display: flex; gap: 10px; }.visit-tabs>a { display: flex; align-items: center; gap: 11px; color: #7c6a8b; padding: 10px 14px; border-radius: 9px; border: 1px solid transparent; font-size: 13px; }.visit-tabs>a.selected { border-color: #dccaec; background: #f1e8fa; color: #7141a6; }.visit-tabs b { display: grid; place-items: center; min-width: 26px; height: 25px; padding-inline: 5px; border-radius: 7px; background: #fff; color: #806199; font-size: 12px; }
.history-search { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: white; border: 1px solid #e7dfee; border-radius: 11px; }.history-search>svg { color: #7a688d; }.history-search input { min-width: 0; width: 210px; padding: 4px 0; border: 0; background: transparent; outline-offset: 4px; font-size: 12px; }.history-search button { font-size: 11px; color: #8053a7; border-right: 1px solid #ede5f4; padding-right: 10px; }
.search-summary { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; margin-block: 15px; color: #7c688d; }
.visits-box { background: #fff; border: 1px solid #e5dced; border-radius: 17px; overflow: hidden; }.visit-list-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 21px; color: #7c688d; font-size: 10px; border-bottom: 1px solid #eee7f4; background: #fdfbff; }.select-all { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #7d698c; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: #8651b4; cursor: pointer; flex-shrink: 0; }input[type=checkbox]:disabled { opacity: .3; cursor: default; }
.visit-row { display: grid; grid-template-columns: 1.15fr .9fr .8fr .65fr 1.3fr; gap: 15px; align-items: center; padding: 21px; border-bottom: 1px solid #f0eaf5; }.visit-person { display: flex; align-items: center; gap: 13px; min-width: 0; }.visit-person h2 { font-size: 14px; line-height: 1.8; font-weight: 700; letter-spacing: 0; overflow-wrap: anywhere; }.phone-number { display: inline-block; color: #7d688d; font-size: 11px; margin-top: 4px; }
.visit-car>strong { display: block; font-size: 12px; font-weight: 600; }.plate-text { display: block; color: #7c6491; font-size: 11px; margin-top: 5px; }.visit-due>span { display: block; color: #6c567e; font-size: 12px; }.visit-due>small { display: block; margin-top: 5px; font-size: 10px; color: #7f678e; }
.status-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; font-size: 10px; white-space: nowrap; color: #7d6491; background: #f3edf8; }.status-pill.late { background: #fff0e7; color: #bb743e; }.status-pill.due { background: #eee4fa; color: #7c6293; }.status-pill.done { background: #eaf4ef; color: #60917a; }
.visit-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; }.visit-actions form { display: inline-flex; }.compact-action { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; padding: 0; color: #7d6293; white-space: nowrap; }.compact-action:hover { color: #5e3785; }.visit-toggle { color: #7c9a86; }
.reminder-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 21px; background: #fcfaff; }.reminder-bar>div { display: flex; align-items: center; gap: 11px; color: #7d6293; }.reminder-bar strong { display: block; font-size: 12px; font-weight: 600; color: #826393; }.reminder-bar small { display: block; font-size: 10px; color: #7f6293; margin-top: 4px; }.button:disabled { cursor: default; opacity: .4; transform: none; box-shadow: none; }
.workspace-empty { display: grid; justify-items: center; text-align: center; padding: 62px 20px; border: 1px solid #e5dcec; border-radius: 18px; background: white; }.empty-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: #f2eafa; color: #7c6293; }.workspace-empty h2 { font-size: 21px; letter-spacing: -.2px; margin-top: 20px; }.workspace-empty p { max-width: 460px; font-size: 13px; color: #7f678e; margin-top: 11px; }.workspace-empty .button { margin-top: 25px; min-height: 46px; font-size: 12px; }
.workspace-hint { display: flex; align-items: flex-start; gap: 8px; color: #816590; font-size: 11px; margin-block: 20px; }.workspace-hint svg { margin-top: 2px; }.workspace-footer { padding-block: 28px; margin-top: 30px; border-top: 1px solid #e9e0f0; color: #816293; font-size: 10px; }
.flash { display: flex; gap: 9px; align-items: center; padding: 14px 17px; border: 1px solid #dfd0eb; border-radius: 10px; background: #f2eafa; color: #7d6293; font-size: 12px; margin-bottom: 21px; }.flash-error, .form-errors { color: #af6843; background: #fff2e9; border-color: #f4dac7; }.form-errors { border: 1px solid #f4dac7; padding: 15px 20px; border-radius: 12px; margin-bottom: 22px; font-size: 13px; }.form-errors ul { padding-right: 20px; margin-block: 6px; }
.workspace-form { border: 1px solid #e6dcef; border-radius: 17px; background: white; overflow: hidden; }.form-section { padding: 28px; border-bottom: 1px solid #eee6f5; }.form-section h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 22px; letter-spacing: 0; font-weight: 700; }.form-section h2>span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #7e6293; background: #f3ebfa; font-size: 11px; font-weight: 500; }.field-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px 26px; }.field-grid label { display: block; font-size: 12px; font-weight: 600; color: #7b648c; }.field-grid label>small { font-size: 10px; font-weight: 400; color: #806293; margin-right: 5px; }.field-grid input, .field-grid textarea { display: block; width: 100%; min-width: 0; margin-top: 9px; padding: 12px 14px; border: 1px solid #e5dced; border-radius: 9px; background: #fdfbff; font-size: 14px; color: #665072; line-height: 1.9; }.field-grid textarea { resize: vertical; min-height: 82px; }.field-grid input::placeholder { color: #7f6293; }.field-grid input:focus, .field-grid textarea:focus { outline: 2px solid #dbc2ef; outline-offset: 1px; }.field-full { grid-column: 1/-1; }.next-form-section { background: #fcfaff; }.field-help { font-size: 11px; color: #806391; margin-top: 19px; }.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 28px; }.form-actions>span { max-width: 420px; font-size: 11px; color: #806293; }.form-actions>.button { font-size: 12px; }
.shop-link-box { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; margin-top: 23px; border: 1px solid #e4d5ef; background: #f1e8fa; border-radius: 14px; }.shop-link-box>div { display: flex; align-items: center; gap: 15px; color: #7e6293; }.shop-link-box strong { display: block; color: #7e569c; font-size: 13px; }.shop-url { display: block; width: fit-content; margin-top: 5px; color: #7e6293; font-size: 12px; overflow-wrap: anywhere; }.shop-link-box .button { background: #fffaf5; }
.sms-notice { display: flex; align-items: flex-start; gap: 14px; padding: 21px; border: 1px solid #e1d1ef; background: #f2e9fc; border-radius: 13px; color: #7d6293; margin-bottom: 23px; }.sms-notice strong { color: #86609f; font-size: 13px; }.sms-notice p { font-size: 11px; margin-top: 6px; color: #7e6293; }.message-list { display: grid; gap: 16px; }.message-card { background: #fff; padding: 24px; border: 1px solid #e5dcec; border-radius: 13px; }.message-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }.message-heading strong { display: block; font-size: 14px; }.message-heading div>span { display: inline-block; font-size: 11px; margin-top: 5px; color: #806293; }.message-card>p { color: #7f698c; margin-block: 18px; font-size: 14px; line-height: 2.2; }.message-card>.text-link { font-size: 11px; }.copy-status { font-size: 12px; margin-top: 15px; color: #7e6293; }
/* The printed card contains only the shop and this service, never the panel. */
.card-workspace { width: min(450px, calc(100% - 32px)); margin: 30px auto; }.card-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }.real-service-card { border: 1px solid #ded0e9; border-radius: 16px; padding: 26px; background: #fff; box-shadow: 0 12px 35px #52306e0a; }.real-card-header { display: flex; align-items: center; gap: 12px; }.real-card-header>div>span { font-size: 10px; color: #7f6293; }.real-card-header h1 { font-size: 19px; font-weight: 700; line-height: 1.7; letter-spacing: 0; overflow-wrap: anywhere; }.real-card-car { display: block; width: 100%; margin: 24px auto 10px; }.real-card-plate { display: flex; align-items: center; width: fit-content; max-width: 100%; margin-inline: auto; border: 1px solid #4e3b60; border-radius: 4px; background: #fff; direction: ltr; min-height: 36px; overflow: hidden; }.real-card-plate>b { padding: 8px 15px; font-size: 17px; line-height: 1.4; font-weight: 700; direction: rtl; }.real-card-plate .plate-flag { font-size: 7px; padding-inline: 6px; }.real-card-person { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: 23px; }.real-card-person strong { font-size: 13px; font-weight: 650; }.real-card-person span { font-size: 11px; color: #806293; }.real-card-readings { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 16px 0; }.real-card-readings>div { border-bottom: 1px solid #eee5f5; padding-bottom: 11px; }.real-card-readings dt { color: #806293; font-size: 10px; }.real-card-readings dd { margin: 4px 0 0; color: #76588b; font-size: 16px; font-weight: 700; }.real-card-notes { margin-block: 18px; }.real-card-notes>span { color: #806293; font-size: 10px; }.real-card-notes>p { color: #7f6590; font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }.real-card-next { padding: 19px; border: 1px solid #e4d2f1; border-radius: 10px; background: #f2e8fc; }.real-card-next>span { display: block; font-size: 11px; color: #7d6293; }.real-card-next>strong { display: block; font-size: 28px; line-height: 1.7; font-weight: 800; color: #78509a; }.real-card-next small { font-size: 12px; font-weight: 500; }.real-card-next p { margin-top: 3px; font-size: 12px; color: #7f6293; }.real-card-help { margin-top: 13px; font-size: 9px; color: #816293; }.real-card-contact { margin-top: 15px; font-size: 11px; color: #806293; }.real-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed #e8dcef; padding-top: 17px; margin-top: 19px; }.real-card-footer strong { font-size: 15px; color: #8457a4; }.real-card-footer span { font-size: 9px; color: #816293; }.print-instruction { font-size: 10px; text-align: center; color: #7f6293; margin-block: 18px; }.sample-card-label { color: #b28f79; font-size: 10px; margin-top: 13px; }
.public-center-page { background: radial-gradient(ellipse 80% 450px at 50% 0, #e9d9fa, transparent 85%), #fffbf1; }.public-center { width: min(620px, calc(100% - 32px)); margin: 35px auto; }.public-brand { display: flex; justify-content: center; align-items: center; gap: 11px; font-size: 12px; color: #7f6293; margin-bottom: 28px; }.public-brand>.brand-mark { width: 31px; height: 31px; }.public-center-card { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #e3d2f0; box-shadow: 0 18px 50px #53336c0d; }.public-center-cover { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 150px; padding: 30px; background: linear-gradient(120deg, #eee0fa, #fff0df); color: #7f6293; }.public-center-cover span { font-size: 11px; border: 1px solid #d9c3ea; border-radius: 20px; padding: 4px 12px; background: #fff8; }.public-center-body { padding: 32px; }.public-center-body>h1 { font-size: 28px; font-weight: 800; letter-spacing: -.3px; line-height: 1.8; }.public-center-intro { color: #7e6293; font-size: 12px; margin-top: 7px; }.public-detail { display: flex; align-items: flex-start; gap: 14px; padding-block: 24px; border-bottom: 1px solid #eee4f6; }.public-detail>svg { color: #7e6293; margin-top: 3px; }.public-detail h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #806293; }.public-detail p { font-size: 13px; line-height: 2.1; color: #7e6293; margin-top: 7px; white-space: pre-line; overflow-wrap: anywhere; }.public-call { margin-top: 28px; flex-wrap: wrap; font-size: 12px; gap: 8px; }.public-call bdi { margin-right: 5px; }.public-phone-empty { padding-top: 24px; color: #7f6293; font-size: 12px; }.public-center-footer { font-size: 11px; color: #806293; text-align: center; margin-top: 23px; }
.plate-part { padding: 7px 4px; font-size: 19px; font-weight: 750; direction: ltr; }
.plate-region { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 3px 9px; border-left: 1px solid #4e3b60; margin-left: 4px; }
.plate-region small { font-size: 7px; line-height: 1.3; }.plate-region strong { font-size: 14px; line-height: 1.4; }
@media(max-width: 1050px) { .visit-row { grid-template-columns: 1.2fr 1fr .85fr .75fr; gap: 16px; }.visit-actions { grid-column: 2/-1; justify-content: flex-start; }.history-search input { width: 175px; }.workspace-nav>a { padding-inline: 20px; } }
@media(max-width: 680px) {
  .workspace-container { width: calc(100% - 32px); }.workspace-header-inner { min-height: 76px; gap: 12px; }.workspace-header .brand>span { font-size: 21px; }.workspace-header .brand-mark { width: 35px; height: 35px; }.workspace-header .brand small { font-size: 8px; max-width: 160px; }.local-badge { display: none; }.workspace-header-links { font-size: 11px; }.workspace-header-links>a { gap: 4px; }.workspace-main { padding-top: 25px; }.workspace-nav { position: fixed; bottom: 12px; right: 12px; left: 12px; width: auto; margin: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; border-radius: 16px; box-shadow: 0 5px 35px #64428024; z-index: 20; background: #fffffff7; backdrop-filter: blur(16px); }.workspace-nav>a { flex-direction: column; gap: 5px; padding: 9px 4px; font-size: 10px; }.workspace-nav>a>svg { width: 19px; height: 19px; }.workspace-footer { margin-top: 25px; padding-bottom: 110px; font-size: 9px; line-height: 2; }
  .page-heading { flex-wrap: wrap; gap: 15px; margin-bottom: 25px; }.page-heading h1 { font-size: 24px; letter-spacing: -.3px; }.page-heading .eyebrow { font-size: 10px; }.page-heading p { font-size: 11px; line-height: 2; }.today-label { font-size: 10px; padding: 7px 10px; }.visit-toolbar { flex-direction: column; align-items: stretch; gap: 15px; }.visit-tabs { gap: 8px; }.visit-tabs>a { font-size: 12px; padding: 9px 12px; gap: 10px; }.visit-tabs>a>b { font-size: 11px; }.history-search input { width: 100%; }.history-search button { flex-shrink: 0; }.visit-list-heading { padding: 14px; font-size: 9px; }.select-all { font-size: 10px; }.visit-row { grid-template-columns: 1.15fr 1fr; gap: 17px 12px; padding: 19px 15px; }.visit-person { gap: 9px; }.visit-person h2 { font-size: 13px; }.visit-car { text-align: left; }.visit-car>strong { font-size: 12px; }.plate-text { font-size: 10px; }.visit-due { padding-right: 27px; }.visit-status { justify-self: end; }.visit-actions { grid-column: 1/-1; gap: 15px; padding-top: 11px; border-top: 1px solid #f2edf7; }.compact-action { font-size: 10px; }.phone-number { font-size: 10px; }.visit-due>span { font-size: 11px; }.visit-due>small { font-size: 9px; }.reminder-bar { flex-wrap: wrap; gap: 15px; padding: 19px 15px; }.reminder-bar>div>svg { width: 20px; }.reminder-bar strong { font-size: 11px; }.reminder-bar small { font-size: 9px; }.reminder-bar .button { width: 100%; min-height: 43px; }.workspace-hint { font-size: 10px; line-height: 2; }.workspace-empty { padding: 45px 20px; }.workspace-empty h2 { font-size: 18px; }.workspace-empty p { font-size: 12px; }.search-summary { font-size: 11px; }.search-summary .text-link { font-size: 10px; }
  .field-grid { grid-template-columns: 1fr; gap: 19px; }.field-full { grid-column: auto; }.form-section { padding: 22px 18px; }.form-section h2 { font-size: 15px; }.field-grid label { font-size: 12px; }.field-grid input, .field-grid textarea { font-size: 14px; padding: 11px 12px; }.form-actions { padding: 20px 18px; gap: 16px; flex-direction: column; align-items: stretch; }.form-actions>span { font-size: 10px; }.form-actions>.button { width: 100%; }.form-errors { font-size: 12px; padding: 15px; }.shop-link-box { padding: 20px; flex-wrap: wrap; gap: 17px; }.shop-link-box .button { width: 100%; }.shop-link-box>div { gap: 12px; }.shop-link-box strong { font-size: 12px; }.shop-url { font-size: 11px; }.sms-notice { padding: 17px; gap: 11px; }.sms-notice strong { font-size: 12px; }.sms-notice p { font-size: 10px; line-height: 2; }.message-card { padding: 19px; }.message-card>p { font-size: 13px; }.message-heading strong { font-size: 13px; }.message-heading div>span { font-size: 10px; }
  .card-workspace { margin-top: 20px; }.real-service-card { padding: 22px; }.real-card-header h1 { font-size: 18px; }.real-card-header .brand-mark { width: 36px; height: 36px; }.real-card-next>strong { font-size: 25px; }.real-card-next p { font-size: 11px; }.real-card-footer span { font-size: 8px; }.real-card-plate>b { font-size: 16px; padding-inline: 11px; }.public-center { margin-top: 24px; }.public-center-cover { min-height: 130px; padding: 25px; }.public-center-body { padding: 25px; }.public-center-body>h1 { font-size: 25px; }.public-detail p { font-size: 12px; }.public-call { font-size: 11px; }
}
@media print {
  @page { size: A5 portrait; margin: 10mm; }
  html, body.card-page { background: white !important; height: auto !important; overflow: visible !important; }
  body.card-page>.card-workspace { display: block !important; width: 100%; max-width: 105mm; margin: 0 auto; }
  .no-print { display: none !important; }.real-service-card { box-shadow: none; break-inside: avoid; padding: 6mm; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .real-card-car { width: 85%; margin-block: 4mm 2mm; }.real-card-notes { margin-block: 3mm; }.real-card-readings { margin-block: 3mm; }.real-card-person { margin-top: 4mm; }
}

.auth-setup-note {margin-top:20px;padding:17px;background:#f4ecfc;border:1px solid #e2d2ee;border-radius:11px;color:#9477a7;font-size:11px;line-height:2.1;}
