*{box-sizing:border-box}body{margin:0;background:#f3f7f8;color:#193642;font:15px/1.6 'Malgun Gothic',sans-serif}#repair-header{max-width:850px;margin:auto;padding:24px 18px;display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}#repair-header>a{font-size:22px;font-weight:bold;color:#087f83;text-decoration:none}#repair-header>span{font-size:13px}nav{display:flex;align-items:center;gap:12px;margin-left:auto}a{color:#087f83}main{max-width:800px;margin:auto;padding:0 16px 30px}h1{font-size:26px;margin:0 0 6px}h2{font-size:19px;margin:0 0 12px}p{margin:6px 0 16px}.card{padding:22px;background:white;border:1px solid #dce8eb;border-radius:18px;margin-bottom:16px;box-shadow:0 5px 20px #17394705}form{margin:0}label{display:block;margin-bottom:14px;font-weight:bold}input,textarea,select{display:block;width:100%;border:1px solid #c8d9de;border-radius:9px;padding:11px;font:16px/1.5 inherit;color:#193642;background:#fff;margin-top:6px;font-size:16px}textarea{min-height:90px;resize:vertical}button{font:inherit;border:1px solid #bcd5d8;border-radius:10px;background:white;color:#20505b;padding:10px 14px;cursor:pointer;min-height:44px}button:disabled{opacity:.5;cursor:default}.primary{background:#087f83;border-color:#087f83;color:white}.wide{width:100%}small,.muted{font-size:12px;color:#627982}.check{font-weight:normal;display:flex;gap:10px;align-items:flex-start}.check input{width:20px;height:20px;flex:none;margin:3px 0}details{margin:12px 0}summary{cursor:pointer;font-weight:bold;color:#087f83;padding:8px 0}details p{font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;background:#143b49;color:white;max-width:90vw;border-radius:12px;padding:12px 18px;display:none}#notice.show{display:block}.stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.stages button{min-width:0;font-size:13px}.stages button.active{background:#087f83;color:#fff}.badge{display:inline-block;border-radius:20px;background:#ee655c;color:#fff;font-size:11px;padding:0 6px;margin-left:5px}.messages{max-height:460px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:10px 0}.message{max-width:90%;background:#eef3f5;border-radius:12px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}.message.mine{background:#dff3ef;align-self:flex-end}.message small{display:block;margin-bottom:4px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.record{width:100%;text-align:left;display:block;margin:8px 0;padding:15px}.record strong{display:block}.photo{max-width:100%;max-height:360px;object-fit:contain;border-radius:10px}.shipping{border:2px solid #15b9a6;animation:glow 1.7s infinite alternate}@keyframes glow{to{box-shadow:0 0 15px #1dbfa666}}footer{text-align:center;padding:20px;font-size:12px}#error{color:#b33;margin:12px 0}.hidden{display:none!important}@media(max-width:500px){.grid{display:block}.card{padding:17px}#repair-header{padding:18px}nav{margin-left:0}.stages{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.shipping{animation:none}}
.welcome{text-align:center;padding:44px 24px;background:linear-gradient(150deg,#fff,#e8f8fb)}.welcome h1{font-size:32px;line-height:1.4;margin:24px 0;color:#0b4958}.welcome-features{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:28px 0}.welcome-features span{border:1px solid #bdd9df;border-radius:24px;padding:8px 12px;font-size:13px}.welcome small{display:block;margin-top:12px}.welcome .primary{min-height:58px;font-size:18px}

.welcome-brand{font-size:clamp(26px,6vw,40px);font-weight:900;color:#075e70;margin:8px 0}.welcome-mark{font-size:64px;color:#087f83;line-height:1}.welcome .primary{background:linear-gradient(110deg,#15395c,#089b9a)}

.stages .change-status{border:1px dashed #15958f;background:#effaf7;color:#08716f;font-weight:bold}#status-panel{box-shadow:none;background:#f4faf9;margin:12px 0;padding:14px}#status-panel:not([open]){display:none}

.status-dropdown{position:relative;min-width:0}.status-dropdown>.change-status{width:100%;height:100%}.status-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:170px;max-height:340px;overflow:auto;z-index:20;padding:6px;background:white;border:1px solid #bcd5d8;border-radius:12px;box-shadow:0 8px 24px #19364226}.status-menu[hidden]{display:none}.status-menu button{display:block;width:100%;border:0;text-align:left;color:#193642;background:white}.status-menu button:hover{background:#e6f6f2}

/* Familiar messenger layout */
.messages{background:#b9cddd;min-height:260px;max-height:55vh;padding:22px 18px;gap:18px;border-radius:14px 14px 0 0;scroll-behavior:smooth}
.message{position:relative;background:#fff;color:#24323c;border-radius:3px 14px 14px 14px;max-width:82%;padding:12px 15px;box-shadow:0 1px 2px #20374b14;line-height:1.65}
.message.mine{background:#ffe35b;border-radius:14px 3px 14px 14px}
.message small{font-size:11px;color:#536374;white-space:normal;margin-bottom:7px}
.chat-sticker{display:block;font-size:64px;line-height:1.3;padding:6px 14px;text-align:center}
#chat{position:sticky;bottom:0;background:white;padding:12px;border:1px solid #d8e1e7;border-radius:0 0 14px 14px;z-index:2}
#chat label{margin-bottom:8px}#chat-title{font-size:12px;color:#677785}#chat textarea{min-height:72px;max-height:160px;border-color:#e0e5e8;margin-top:4px}
#chat>.primary{background:#ffe35b;color:#332d17;border-color:#eed34d;font-weight:bold}
.chat-tools{display:flex;align-items:center;gap:12px;margin-bottom:8px}.chat-tools span{font-size:11px;color:#71818d}
#stickers-toggle{border:0;background:#f1f5f8;padding:7px 12px}
#sticker-panel[hidden]{display:none}#sticker-panel{padding:10px;background:#f4f7fa;border-radius:12px;margin-bottom:10px}
.sticker-tabs{display:flex;gap:4px;overflow:auto}.sticker-tabs button{flex:none;font-size:12px;padding:5px 10px}.sticker-tabs [aria-pressed=true]{background:#ffe35b;border-color:#ffe35b}
.sticker-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:10px 0}.sticker-grid button{font-size:32px;background:white;border:0;min-height:54px}
@media(max-width:500px){.messages{padding:18px 12px;max-height:52vh}.message{max-width:88%}#chat{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}

.shipping-choice{border:1px solid #dce6eb;border-radius:12px;padding:14px;margin:0 0 16px}.shipping-choice legend{font-weight:700;font-size:15px}.shipping-choice label{display:flex;gap:10px;align-items:center;font-weight:400;margin:8px 0;min-height:44px}.shipping-choice input{width:20px;height:20px;margin:0;flex:none}

#intake-submit-wrap{width:100%;border-radius:10px}#intake-submit-wrap button:disabled{pointer-events:none}#intake-submit-wrap:focus-visible{outline:2px solid #087f83;outline-offset:3px}

#intake input::placeholder,#intake textarea::placeholder{color:#929da5;opacity:1;font-weight:400}

#intake-submit-wrap{position:relative;text-align:right;min-height:44px}
#intake-submit-wrap>button{width:auto;min-width:112px}
#shipping-hint{position:static;right:auto;top:auto;transform:none;max-width:100%;font-size:12px;line-height:1.4;color:#a33;text-align:right;pointer-events:none}
#shipping-hint[hidden]{display:none}

.message.mine{margin-left:20px}.unread-one{position:absolute;right:calc(100% + 6px);bottom:6px;color:#725800;font-size:12px;font-weight:700;line-height:1}

.sound-settings{position:relative;margin:0}.sound-settings summary{font-size:13px;white-space:nowrap}.sound-popover{position:absolute;right:0;top:100%;width:270px;max-width:85vw;padding:16px;background:#fff;border:1px solid #d4e0e5;border-radius:14px;box-shadow:0 8px 28px #1233;z-index:30}.sound-popover label{margin:12px 0 4px;font-size:14px}.sound-popover input[type=range]{width:100%;padding:0;accent-color:#087f83}.sound-popover small{display:block;margin-top:10px}.sound-popover output{float:right}

/* Stage sequence: arrows stay with the following step, including on phones. */
#stages.stages{display:flex;flex-wrap:nowrap;gap:28px;overflow-x:auto;padding:3px 2px 8px;align-items:stretch}
#stages.stages>button,#stages.stages>.status-dropdown{position:relative;flex:0 0 auto;min-width:150px}
#stages.stages>button~button:before,#stages.stages>.status-dropdown:before{content:'→';position:absolute;left:-24px;top:50%;transform:translateY(-50%);width:20px;color:#688c99;font-size:20px;pointer-events:none}
#stages.stages>.status-dropdown .status-menu{position:fixed;top:auto;right:auto;margin-top:6px}
@media(max-width:500px){#stages.stages>button,#stages.stages>.status-dropdown{min-width:120px}}

/* Keep correction menu visible and emphasize the actual current status. */
#stages.stages{flex-wrap:wrap;overflow:visible;gap:18px 28px;padding:8px 2px 12px}
#stages.stages>.status-dropdown .status-menu{position:absolute;top:calc(100% + 6px);right:0;margin-top:0;max-width:80vw}
#stages.stages>.current-stage{background:linear-gradient(120deg,#007e88,#00bfa6,#087eac);background-size:220% 220%;border:2px solid #00bca8;color:#fff;font-weight:700;animation:stageAmbient 1.8s ease-in-out infinite;z-index:1}
.current-label{display:block;color:inherit;font-size:10px;line-height:1.2}
.status-help{display:block;padding:7px 9px;max-width:230px;white-space:normal}
@keyframes stageAmbient{0%,100%{box-shadow:0 0 0 2px #00cbb533,0 0 10px #00bfa655;background-position:0% 50%}50%{box-shadow:0 0 0 5px #00cbb544,0 0 24px #00bfa6aa;background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){#stages.stages>.current-stage{animation:none;box-shadow:0 0 0 3px #00cbb544}}

.chat-status{align-self:center;text-align:center;background:#eaf3f7d9;color:#315465;border-radius:20px;padding:9px 20px;max-width:95%;font-size:13px}.chat-status strong,.chat-status small,.chat-status span{display:block}.chat-status small{font-size:10px;margin-top:3px}#stages [data-stage]{cursor:default}

/* Full-width status divider in the shared conversation. */
.messages>.chat-status{align-self:stretch;flex:none;width:calc(100% + 36px);max-width:none;margin:10px -18px;padding:16px 18px;border-radius:0;background:#167d87;color:#fff;border-top:1px solid #116b75;border-bottom:1px solid #116b75;text-align:center;box-sizing:border-box}
.messages>.chat-status strong{font-size:22px;font-weight:800;line-height:1.45;letter-spacing:.02em}
.messages>.chat-status small{color:#e1f4f5;font-size:11px;margin-top:5px}
.messages>.chat-status span{font-size:14px;margin-top:6px;overflow-wrap:anywhere}
@media(max-width:500px){.messages>.chat-status{width:calc(100% + 24px);margin-left:-12px;margin-right:-12px;padding:14px 12px}.messages>.chat-status strong{font-size:20px}}

/* Rounded status cards: only the latest actual status glows. */
.messages>.chat-status{align-self:stretch;width:auto;max-width:none;margin:10px 2px;padding:18px 20px;border:1px solid #ffffffa8;border-radius:18px;background:#edf5f8;color:#416274;box-shadow:0 3px 12px #22465a0a;text-align:center}
.messages>.chat-status strong{font-size:20px;letter-spacing:0;line-height:1.5}
.messages>.chat-status small{color:#718897;font-size:11px;margin-top:5px}
.messages>.chat-status span{font-size:13px;color:inherit}
.messages>.chat-status.is-current{border:2px solid transparent;background:linear-gradient(120deg,#f4ffff,#e7f9f6) padding-box,linear-gradient(110deg,#0bb8b0,#62dfce,#37a3e2,#0bb8b0) border-box;background-size:100% 100%,260% 100%;color:#086c77;animation:chatStatusGlow 2.8s ease-in-out infinite}
@keyframes chatStatusGlow{0%,100%{background-position:0 0,0% 50%;box-shadow:0 0 0 2px #31d9c51a,0 0 13px #10bea63d}50%{background-position:0 0,100% 50%;box-shadow:0 0 0 4px #31d9c529,0 0 25px #10bea675}}
@media(max-width:500px){.messages>.chat-status{width:auto;margin:8px 2px;padding:15px 12px}.messages>.chat-status strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){.messages>.chat-status.is-current{animation:none;box-shadow:0 0 14px #10bea645}}

.delete-message{display:block;margin:0 0 5px auto;min-height:28px;padding:2px 8px;font-size:11px;border:1px solid #776a3540;background:#ffffff70;color:#665c39;border-radius:7px}

.contact-phone{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin:3px 0 8px}.contact-phone strong{font-size:17px;letter-spacing:.02em;margin-right:4px}.contact-action{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #bce8df;border-radius:12px;background:#edfaf6;color:#078779;text-decoration:none}.contact-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.contact-sms{background:#eff6ff;border-color:#cbdfff;color:#3275bb}.contact-action:hover{filter:brightness(.96)}.contact-action:focus-visible{outline:2px solid #087f83;outline-offset:3px}

.sound-settings>summary{padding:8px 12px;border:1px solid #d2dde3;border-radius:20px;background:#f0f4f6;color:#637583;list-style:none}.sound-settings>summary::-webkit-details-marker{display:none}.sound-settings[data-sound-state=on]>summary,#sound[data-sound-state=on],#sound-toggle[data-sound-state=on]{background:#e2f8eb;border-color:#67c995;color:#116b3e;font-weight:700;box-shadow:0 0 0 3px #38b77912}.sound-settings[data-sound-state=pending]>summary{background:#fff6dc;border-color:#e7ce83;color:#846116}.sound-settings[data-sound-state=off]>summary{background:#f0f2f4;color:#77818b}

.case-date{font-size:15px;margin:24px 0 8px;padding:10px 14px;border-radius:10px;background:#e9f2f5;border-left:4px solid #07868a}.case-row{display:flex;align-items:center;gap:12px}.case-row>input,.case-controls input{width:20px;height:20px;margin:0;flex:none;accent-color:#087f83}.case-row .record{flex:1;min-width:0}.case-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.case-controls label{display:flex;align-items:center;gap:8px;margin:0}.case-controls #delete-selected{color:#a43b3b}

.sound-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sound-popover-heading strong{font-size:16px}.sound-popover-heading #sound-close{min-width:70px;min-height:44px;padding:8px 10px;border-radius:10px;background:#f0f4f6;color:#35515e;border:1px solid #d6e1e5}.sound-settings>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;touch-action:manipulation}.sound-popover{z-index:100;max-height:75vh;overflow-y:auto}.sound-popover button{touch-action:manipulation}
@media(max-width:600px){.sound-settings[open]>.sound-popover{position:fixed;top:90px;right:12px;left:12px;width:auto;max-width:none;max-height:calc(100dvh - 110px);padding:18px;border-radius:18px;box-shadow:0 12px 45px #15374340}}

.sound-settings>summary{gap:8px}.sound-state-icon{width:27px;height:27px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sound-state-icon .sound-prohibited{stroke:#d83232;stroke-width:2.8}.sound-settings[data-sound-state=off]>summary{border-color:#e7baba;background:#fff2f2;color:#a92e2e}.sound-settings[data-sound-state=off] .sound-bell{stroke:#747d86}

/* A compact, aligned toolbar on desktop and mobile. */
#repair-header{max-width:800px;padding:22px 16px 20px;display:grid;grid-template-columns:1fr;gap:4px}
#repair-header>a{font-size:23px;letter-spacing:-.7px;line-height:1.4}#repair-header>span{font-size:12px;color:#6b8390}
#repair-header nav{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:stretch;gap:9px;width:100%;margin:14px 0 0}
#repair-header nav>#copy,#repair-header nav>#login,#repair-header nav>.sound-settings>summary{width:100%;min-height:48px;height:100%;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;border:1px solid #d7e5e9;border-radius:13px;background:#fff;color:#315260;font-size:13px;font-weight:700;text-decoration:none;line-height:1.4;box-sizing:border-box;white-space:nowrap;box-shadow:0 2px 7px #23455205}
#repair-header nav>#copy{background:#e6f7f4;border-color:#c2e9e1;color:#087e79}
#repair-header nav>#copy:before{content:'↗';font-size:19px;line-height:1}#repair-header nav>#login:before{content:'☷';font-size:20px;line-height:1}
#repair-header nav>.sound-settings{margin:0;min-width:0}#repair-header nav>.sound-settings[data-sound-state=on]>summary{background:#e2f8eb;border-color:#a4dcb9;color:#116b3e}#repair-header nav>.sound-settings[data-sound-state=off]>summary{background:#fff2f2;border-color:#e7baba;color:#a92e2e}#repair-header nav>.sound-settings[data-sound-state=pending]>summary{background:#fff7df;border-color:#e7d99b;color:#846116}
#repair-header .sound-state-icon{width:22px;height:22px}
@media(max-width:500px){#repair-header{padding:18px 16px 16px}#repair-header>a{font-size:21px}#repair-header nav{gap:7px;margin-top:12px}#repair-header nav>#copy,#repair-header nav>#login,#repair-header nav>.sound-settings>summary{font-size:12px;padding:9px 4px;gap:4px;border-radius:11px;min-height:48px}#repair-header .sound-state-icon{width:20px;height:20px}}
@media(max-width:360px){#repair-header nav{grid-template-columns:1fr 1fr}#repair-header nav>.sound-settings{grid-column:1/-1}}

/* Icon-only sound control next to the case list. */
#repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}
#repair-header nav>.sound-settings{grid-column:auto}
#repair-header nav>.sound-settings>summary{padding:0;width:48px;min-height:48px}
#repair-header nav>.sound-settings>summary>span{display:none}
#repair-header nav>.sound-settings>summary .sound-state-icon{width:27px;height:27px}
@media(max-width:360px){#repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}#repair-header nav>.sound-settings{grid-column:auto}}

#repair-header nav>.sound-control{width:48px;height:48px;min-height:48px;padding:9px;display:flex;align-items:center;justify-content:center;border-radius:12px;touch-action:manipulation}
#repair-header nav>.sound-control[data-sound-state=on]{background:#e2f8eb;border-color:#a4dcb9;color:#116b3e}
#repair-header nav>.sound-control[data-sound-state=off]{background:#fff2f2;border-color:#e7baba;color:#a92e2e}
#repair-header nav>.sound-control .sound-state-icon{width:27px;height:27px}
#repair-header nav>.sound-control[data-sound-state=off] .sound-bell{stroke:#747d86}

.case-controls{gap:8px;justify-content:flex-end}.case-controls>button,.case-controls>.select-all-icon{width:44px;height:44px;min-height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7e5e9;border-radius:12px;background:#f6f9fa;margin:0;cursor:pointer}.case-controls svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.case-controls #delete-selected{background:#fff3f2;border-color:#f0d6d3;color:#b44b43}.case-controls #trash-toggle{color:#507482}.case-controls>button:disabled{opacity:.35;cursor:default}

.message .delete-message{width:30px;height:30px;min-height:30px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#ffffff60;font-size:22px;line-height:1;color:#726741;touch-action:manipulation}.message .delete-message:hover{background:#ffffffa0}

/* Messenger rows with separate sender, bubble and timestamp. */
.messages{gap:16px;background:#b5c9da;padding-top:22px;padding-bottom:22px}
.chat-row{align-self:flex-start;max-width:94%;min-width:0}.chat-row.mine{align-self:flex-end}
.chat-sender{font-size:12px;color:#354b5b;margin:0 0 6px 2px;font-weight:600}.chat-row.mine .chat-sender{text-align:right;margin-right:2px}
.chat-bubble-line{display:flex;align-items:flex-end;gap:7px;min-width:0}.chat-row.mine .chat-bubble-line{flex-direction:row-reverse}
.chat-row .message{max-width:none;min-width:42px;margin:0;flex:0 1 auto;background:#fff;padding:10px 13px;border-radius:11px;white-space:normal;box-shadow:0 1px 2px #263d4914}
.chat-row.mine .message{background:#ffe450;border-radius:11px}
.chat-row .message:before{content:'';position:absolute;top:9px;left:-6px;border-top:0 solid transparent;border-bottom:9px solid transparent;border-right:8px solid #fff}
.chat-row.mine .message:before{left:auto;right:-6px;border-right:0;border-left:8px solid #ffe450}
.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.55}
.chat-meta{flex:none;font-size:10px;line-height:1.4;color:#526b7d;padding-bottom:1px}.chat-row.mine .chat-meta{text-align:right}.chat-meta time span{display:block;white-space:nowrap}.chat-unread{display:block;color:#816500;font-size:11px;font-weight:700;margin-bottom:2px}
.chat-row .delete-message{float:right;display:inline-flex;width:24px;height:24px;min-height:24px;margin:-4px -6px 2px 7px;background:transparent;color:#786e40;font-size:19px}.chat-row .chat-sticker{font-size:60px;padding:3px 8px}
@media(max-width:500px){.chat-row{max-width:96%}.chat-row .message{padding:9px 11px}.chat-meta{font-size:9px}.chat-bubble-line{gap:6px}}

/* Reference chat structure: avatar/name only for incoming message groups. */
.messages{gap:5px;background:#b6cddd;padding:20px 16px;border-radius:12px 12px 0 0}
.chat-row{position:relative;max-width:94%;padding-left:46px;margin-top:13px}.chat-row.continued{margin-top:0}.chat-row.mine{padding-left:0;padding-right:0;max-width:85%;margin-top:13px}.chat-row.mine.continued{margin-top:0}
.chat-avatar{position:absolute;left:0;top:0;width:36px;height:36px;border-radius:13px;background:#eff7fa;color:#276574;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;border:1px solid #ffffff70}
.chat-sender{font-size:12px;font-weight:400;color:#203b4f;margin:0 0 5px;line-height:1.4}
.chat-row .message,.chat-row.mine .message{border-radius:4px;padding:7px 9px;box-shadow:none;min-width:28px}.chat-row.mine .message{background:#ffeb33}.chat-row.mine .message:before{border-left-color:#ffeb33}
.chat-row.continued .message:before{display:none}.chat-row .message:before{top:6px}
.bubble-text{font-size:14px;line-height:1.5}.chat-meta{font-size:10px;color:#324d61;line-height:1.3;padding-bottom:1px;min-width:0}.chat-meta time{white-space:nowrap}
.chat-row .delete-message{float:right;width:20px;height:20px;min-height:20px;font-size:16px;margin:-3px -5px 0 4px;opacity:.55}.chat-row .delete-message:hover{opacity:1}
.chat-day{align-self:center;margin:16px 0 10px;padding:5px 14px;border-radius:16px;background:#7a98ad38;color:#344f62;font-size:11px}
#chat{position:sticky;background:#fff;border-radius:0 0 12px 12px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) 65px;gap:6px 8px;align-items:end}
#chat .chat-tools{grid-column:1/-1;margin:0}#chat .chat-tools>span{display:none}#sticker-panel{grid-column:1/-1}#chat>label{margin:0}#chat-title{display:none}#chat textarea{margin:0;min-height:68px;max-height:130px;border:0;border-radius:0;padding:7px 2px;resize:none;font-size:15px;outline-offset:2px}#chat>.primary{width:65px;min-height:38px;height:38px;border-radius:5px;background:#ffeb33;border-color:#ebd930;font-size:13px;margin-bottom:3px}#stickers-toggle{min-height:32px;padding:4px 8px;background:transparent}
@media(max-width:500px){.messages{padding:16px 12px;max-height:62vh}.chat-row{padding-left:42px;max-width:97%}.chat-row.mine{max-width:87%}.chat-avatar{width:33px;height:33px;border-radius:12px}.chat-meta{font-size:9px}#chat{padding-bottom:calc(9px + env(safe-area-inset-bottom))}}

#attach-input[hidden],#attach-tray[hidden]{display:none}#attach-button{font-size:25px;border:0;background:transparent;min-height:32px;padding:0 8px;color:#536b7a}#attach-tray{grid-column:1/-1;padding:10px;background:#f1f6f8;border-radius:10px;overflow-wrap:anywhere}#attach-tray>div{display:flex;justify-content:space-between;align-items:center;font-size:12px}#attach-tray button{min-height:32px;padding:3px 10px}#send-files{background:#ffe450;margin-top:8px}.file-drag{outline:3px dashed #00a69b;outline-offset:-5px}.attachment-file{display:block;padding:0;border:0;background:transparent;text-align:left;max-width:240px;min-width:100px;overflow-wrap:anywhere}.attachment-file img{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:5px}.attachment-file>span,.attachment-file>small{display:block;font-size:12px;margin-top:4px}.attachment-file .file-symbol{font-size:28px}

/* Explicit composer slots prevent optional panels from moving the send button. */
#chat{display:grid;grid-template-columns:minmax(0,1fr) 64px;grid-template-areas:"tools tools" "stickers stickers" "attachments attachments" "input send";gap:0 8px;align-items:end;width:100%;min-width:0}
#chat>.chat-tools{grid-area:tools;min-width:0;display:flex;align-items:center;gap:4px;margin:0 0 6px}
#chat>#sticker-panel{grid-area:stickers;min-width:0}
#chat>#attach-tray{grid-area:attachments;min-width:0;margin:0 0 8px}
#chat>label{grid-area:input;display:block;min-width:0;width:100%;margin:0;font-weight:normal}
#chat>label>textarea{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;min-height:64px;padding:8px 2px;line-height:1.5}
#chat>button.primary{grid-area:send;align-self:end;justify-self:end;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;min-width:64px;height:40px;min-height:40px;margin:0 0 4px;padding:0;border-radius:6px;line-height:1;white-space:nowrap}
#chat [hidden]{display:none!important}
@media(max-width:500px){#chat{grid-template-columns:minmax(0,1fr) 58px;padding-left:10px;padding-right:10px;column-gap:6px}#chat>button.primary{width:58px;min-width:58px}}

#sticker-panel .sticker-grid{display:flex;overflow-x:auto;gap:5px;margin:7px 0;padding-bottom:4px}#sticker-panel .sticker-grid button{flex:0 0 44px;min-height:44px;height:44px;padding:3px;font-size:28px}#sticker-panel>small{display:none}#sticker-panel{padding:7px 8px;margin-bottom:8px}

#stickers-toggle{display:none!important}
#sticker-panel{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:4px;padding:4px 6px}
#sticker-panel .sticker-grid{grid-column:1;grid-row:1;min-width:0;margin:0}
#sticker-panel .sticker-category-picker{grid-column:2;grid-row:1;width:40px;height:40px;min-height:40px;padding:9px;border:0;border-radius:10px;background:#e5eef2;color:#426775}
.sticker-category-picker svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
#sticker-panel .sticker-tabs{display:none;grid-column:1/-1;grid-row:2}
#sticker-panel.categories-open .sticker-tabs{display:flex;padding:5px 0}

#chat .chat-tools #stickers-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:7px;background:transparent;border:0;color:#536b7a}
#stickers-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
#chat .chat-tools #attach-button{width:36px;height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0}
#chat>#sticker-panel[hidden]{display:none!important}

.attachment-media{max-width:260px;min-width:120px}.attachment-media video{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;background:#18242c;border-radius:6px}.attachment-media .attachment-file{max-width:100%;width:100%}.attachment-media img{min-height:70px;max-height:340px}

#repair-header nav>#copy:before{content:none}#repair-header nav>#copy .copy-icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Sticker picker overlays the conversation without taking up layout space. */
#chat>#sticker-panel{position:absolute;bottom:calc(100% + 8px);left:8px;right:8px;z-index:25;grid-area:auto;margin:0;padding:12px;max-height:240px;overflow:auto;border:1px solid #d2e1e7;border-radius:16px;background:#fff;box-shadow:0 8px 30px #25435430}
#chat>#sticker-panel[hidden]{display:none!important}
#chat>#sticker-panel .sticker-grid{padding:2px 0 5px}
#chat>#sticker-panel .sticker-grid button{background:#f4f7f9;border-radius:10px}
#chat>#sticker-panel .sticker-tabs{flex-wrap:wrap}

#admin-plus-menu{position:absolute;left:8px;bottom:calc(100% + 8px);z-index:26;width:190px;padding:7px;background:white;border:1px solid #d2e1e7;border-radius:14px;box-shadow:0 8px 30px #25435430}#admin-plus-menu>button{display:block;width:100%;border:0;text-align:left;background:white;border-radius:8px;font-size:14px}#admin-plus-menu>button:hover{background:#edf6f6}

#repair-header.is-admin{grid-template-columns:minmax(0,1fr) auto;align-items:center}#repair-header.is-admin>a{grid-column:1;grid-row:1;min-width:0}#repair-header.is-admin>span:not(.admin-login-badge){grid-column:1/-1;grid-row:2}#repair-header.is-admin>nav{grid-column:1/-1;grid-row:3}
#repair-header.is-admin>.admin-login-badge{grid-column:2;grid-row:1;justify-self:end;position:relative;overflow:hidden;white-space:nowrap;padding:5px 10px;border:1px solid #29cab9;border-radius:20px;background:#e4fff8;color:#08756a;font-size:11px;font-weight:700;line-height:1.5;box-shadow:0 0 10px #18c9ad55}
.admin-login-badge:after{content:'';position:absolute;inset:-50% auto -50% -70%;width:45%;background:linear-gradient(90deg,transparent,#ffffffdd,transparent);transform:skewX(-20deg);animation:adminBadgeSweep 1s linear infinite;pointer-events:none}
@keyframes adminBadgeSweep{to{left:140%}}
#stages.stages>.current-stage{animation-duration:1s}.messages>.chat-status.is-current{animation-duration:1.2s}
@media(max-width:360px){#repair-header.is-admin>a{font-size:18px}#repair-header.is-admin>.admin-login-badge{font-size:10px;padding:4px 7px}}
@media(prefers-reduced-motion:reduce){.admin-login-badge:after{animation:none;display:none}}

#chat #message{border:1px solid rgba(80,105,118,.25);border-radius:8px;padding:8px;outline:none;box-shadow:none}
#chat #message:focus,#chat #message:focus-visible{border-color:rgba(80,105,118,.5);outline:none;box-shadow:none}

#chat-photo-viewer{width:96vw;max-width:1200px;height:92vh;max-height:92dvh;margin:auto;padding:0;border:0;border-radius:14px;background:#17232d;color:#fff;overflow:hidden}#chat-photo-viewer::backdrop{background:#07111bd9}.photo-viewer-tools{display:flex;align-items:center;gap:10px;padding:10px 14px;height:62px}.photo-viewer-tools>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.photo-viewer-tools>a,.photo-viewer-tools>button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-height:42px;border:0;background:#ffffff18;color:#fff;border-radius:10px;text-decoration:none;font-size:26px;padding:0}.photo-viewer-body{height:calc(100% - 62px);overflow:auto;display:flex;align-items:center;justify-content:center;padding:8px}.photo-viewer-body img{max-width:100%;max-height:100%;object-fit:contain;touch-action:pinch-zoom}

.delete-confirm-dialog{width:calc(100% - 36px);max-width:360px;padding:23px;border:1px solid #d6e4e8;border-radius:18px;color:#244653;box-shadow:0 16px 50px #162f4933}.delete-confirm-dialog::backdrop{background:#152d4655}.delete-confirm-dialog h2{font-size:17px;margin:0 0 20px}.delete-confirm-check{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:400;margin-bottom:22px}.delete-confirm-check input{width:19px;height:19px;margin:0;accent-color:#087f83}.delete-confirm-actions{display:flex;justify-content:flex-end;gap:8px}.delete-confirm-actions button{min-width:80px}.delete-confirm-actions [data-confirm]{background:#b64141;color:#fff;border-color:#b64141}

#transfer-progress{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);width:calc(100% - 28px);max-width:430px;z-index:150;display:flex;flex-direction:column;gap:6px;pointer-events:none;max-height:40vh;overflow:auto}.transfer-row{padding:12px 15px;background:#fff;border:1px solid #c9e5e1;border-radius:13px;box-shadow:0 5px 22px #183d4930}.transfer-row>div{display:flex;gap:12px;justify-content:space-between;font-size:12px;color:#315968}.transfer-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-percent{flex:none;color:#078c80;font-weight:700}.transfer-row progress{display:block;width:100%;height:7px;margin-top:8px;border:0;border-radius:8px;overflow:hidden;accent-color:#0aaf9c}.transfer-row progress::-webkit-progress-bar{background:#e5f0f0;border-radius:8px}.transfer-row progress::-webkit-progress-value{background:#0aaf9c;border-radius:8px}.transfer-row.failed .transfer-percent{color:#b43d3d}

.large-transfer{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:460px;z-index:155}

.case-controls>.select-all-icon{order:0}.case-controls>#trash-toggle{order:1}.case-controls>#delete-selected{order:2}

.invite-dialog{max-height:90dvh;overflow:auto}.invite-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.invite-heading button{border:0;font-size:22px}.invite-dialog>img{display:block;width:100%;max-height:40vh;object-fit:contain}.invite-dialog>p{text-align:center;margin:10px}.invite-sms{display:block;text-align:center;padding:12px}.invite-dialog>small{display:block;text-align:center}

.pdf-thumb{display:block;width:100%;max-width:240px;height:auto;background:white;border-radius:5px;min-height:100px}#chat-pdf-viewer{width:94vw;max-width:960px;height:90dvh;padding:0;border:0;border-radius:14px;background:#243340;color:white}#chat-pdf-viewer::backdrop{background:#102030bb}.pdf-pages{height:calc(100% - 120px);overflow:auto;text-align:center;padding:10px}.pdf-pages canvas{max-width:100%;height:auto;background:white}.pdf-navigation{display:flex;align-items:center;justify-content:center;gap:18px;height:58px}

.address-search-button{margin-top:7px;font-size:13px;background:#edf8f6;color:#087f83}.address-dialog{width:calc(100% - 24px);max-width:500px;height:620px;max-height:85dvh;padding:12px;border:1px solid #cddfe5;border-radius:16px}.address-dialog::backdrop{background:#16354466}.address-heading{display:flex;align-items:center;justify-content:space-between;height:44px;margin-bottom:8px}.address-heading button{border:0;font-size:24px}.address-search-frame{height:calc(100% - 52px)}

#intake [hidden]{display:none!important}.inline-address-search{margin-top:6px;border:1px solid #c8d9de;border-radius:10px;overflow:hidden;background:white}.inline-address-frame{height:190px;min-height:180px;font-weight:normal}.selected-address{display:flex;align-items:center;gap:8px;margin-top:6px;padding:10px;background:#eff8f6;border-radius:9px;font-size:14px;font-weight:normal}.selected-address>span{flex:1}.selected-address button{font-size:12px;padding:5px 9px}#address-detail:disabled{background:#edf1f3;color:#94a1a7;border-color:#dde4e8}

#intake .inline-address-frame{width:100%;height:300px;min-height:220px;max-height:340px;overflow:hidden}
#intake .inline-address-frame>div{width:100%!important;height:100%!important;min-width:0!important}
#intake .inline-address-frame iframe{display:block!important;width:100%!important;height:100%!important;min-width:0!important;border:0!important}
#intake .inline-address-search{width:100%;max-width:100%;box-sizing:border-box}

.info-edit-help{display:block;margin:8px 0 14px;color:#627d8b}.intake-edit-dialog{width:min(640px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;border:1px solid #d5e5ec;border-radius:18px;padding:24px;color:#173d4f}.intake-edit-dialog::backdrop{background:#173d4f66}.intake-edit-dialog input,.intake-edit-dialog textarea,.intake-edit-dialog select{box-sizing:border-box;width:100%}.edit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.edit-error{color:#b43e3e}

.repair-items{min-width:0;margin:0;padding:14px 16px;border:1px solid #d5e5ec;border-radius:12px}.repair-item-options{display:flex;flex-wrap:wrap;gap:12px 20px}.repair-item-options label{display:flex;align-items:center;gap:7px;margin:0}.repair-item-options input[type=checkbox],.intake-edit-dialog .repair-item-options input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#008c91}.repair-item-other{display:flex;align-items:center;gap:12px;margin-top:12px}.repair-item-other input{flex:1;min-width:0;width:auto}

/* Highlight only the field currently being edited. */
@property --intake-focus-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes intake-focus-orbit { to { --intake-focus-angle: 360deg; } }
#intake input:not([type=checkbox]):not([type=radio]):focus,
#intake textarea:focus,
.intake-edit-dialog input:not([type=checkbox]):not([type=radio]):focus,
.intake-edit-dialog textarea:focus,
.intake-edit-dialog select:focus {
 border: 2px solid transparent;
 outline: 2px solid #00b9b52b;
 outline-offset: 2px;
 background: linear-gradient(#fff,#fff) padding-box, conic-gradient(from var(--intake-focus-angle),#00a995,#6be8de,#168dff,#a965ed,#00a995) border-box;
 box-shadow: 0 0 11px #00b9b538;
 animation: intake-focus-orbit 1s linear infinite;
}
#intake input:not([type=checkbox]):not([type=radio]),#intake textarea,
.intake-edit-dialog input:not([type=checkbox]):not([type=radio]),.intake-edit-dialog textarea,.intake-edit-dialog select { border-width:2px; }
.repair-item-options input[type=radio],.intake-edit-dialog .repair-item-options input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#008c91}
.repair-items [data-repair-history-detail][hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){#intake input:focus,#intake textarea:focus,.intake-edit-dialog input:focus,.intake-edit-dialog textarea:focus,.intake-edit-dialog select:focus{animation:none}}

/* Refined intake layout, scoped to preserve conversation screens. */
.intake-card{padding:0;overflow:hidden;border:1px solid #e0e9ea;border-radius:24px;box-shadow:0 12px 40px #183b4710}
.intake-heading{padding:36px 36px 28px;background:linear-gradient(120deg,#f4faf9,#fff 75%);border-bottom:1px solid #edf1f2}
.intake-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#168d87}
.intake-heading h1{font-size:32px;letter-spacing:-1.3px;line-height:1.4;margin:10px 0}
.intake-heading p{font-size:14px;line-height:1.8;color:#73848c;margin:0}
#intake{padding:8px 36px 30px}#intake>.grid{gap:0 20px}
.intake-section-title{display:flex;align-items:center;gap:10px;margin:26px 0 18px;padding-top:12px}
.intake-section-title span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e9f6f3;color:#15887f;font-size:11px;font-weight:700}
.intake-section-title h2{margin:0;font-size:16px;letter-spacing:-.4px;color:#243f4a}
#intake label{font-size:13px;font-weight:600;color:#425b65;margin-bottom:18px}
#intake input:not([type=radio]):not([type=checkbox]),#intake textarea{font-family:inherit;font-size:15px;line-height:1.6;padding:12px 14px;margin-top:8px;min-height:48px;border-radius:12px;border-color:#e3eaed;background-color:#fbfcfd;transition:box-shadow .18s,border-color .18s}
#intake input::placeholder,#intake textarea::placeholder{color:#a0aeb4;font-size:13px;font-weight:400}
#intake textarea{min-height:115px}#intake .repair-items,#intake .shipping-choice{border:0;background:#f7f9fa;border-radius:14px;padding:18px;margin:0 0 14px;min-width:0}
#intake fieldset legend{float:left;width:100%;padding:0;margin:0 0 12px;font-size:13px;font-weight:700;color:#425b65}
#intake fieldset legend+*{clear:both}
#intake .repair-item-options{gap:8px;display:flex;flex-wrap:wrap}
#intake .repair-item-options label{display:flex;gap:8px;align-items:center;min-height:40px;margin:0;padding:8px 12px;border:1px solid #e1e8ea;border-radius:10px;background:#fff;font-size:13px;cursor:pointer;font-weight:500;transition:background .15s,border-color .15s}
#intake .repair-item-options label:has(input:checked),#intake .shipping-choice label:has(input:checked){background:#e8f7f3;border-color:#65bdb0;color:#087d70}
#intake input[type=checkbox],#intake input[type=radio]{accent-color:#0c9486;box-shadow:none}
#intake .repair-item-other{margin:12px 0 0;font-weight:500}#intake .repair-item-other input{margin-top:0;background:#fff}
#intake [data-repair-history-detail]{margin:16px 0 0}
#intake .shipping-choice label{display:flex;align-items:center;gap:10px;background:#fff;padding:13px 14px;border:1px solid #e1e8ea;border-radius:10px;font-weight:500;margin-bottom:8px;cursor:pointer}
#intake .shipping-choice label:last-child{margin-bottom:0}#intake .shipping-choice input{width:18px;height:18px;flex:0 0 18px;margin:0}
#intake #terms{padding:14px 16px;border:1px solid #e7edef;border-radius:12px;margin:14px 0 20px;background:#fff}
#intake #terms summary{font-size:13px;padding:0;color:#4b6570}#intake #terms p{color:#6d7e86;line-height:1.9;margin-top:14px}#intake #terms .check{margin:16px 0 6px;line-height:1.7}
#intake-submit-wrap{padding-top:4px;gap:14px}#intake-submit-wrap .primary{min-height:50px;border-radius:12px;padding:12px 28px;background:linear-gradient(110deg,#087d7e,#0ba291);border:0;font-weight:700;box-shadow:0 4px 12px #0c8e8220}
#intake-submit-wrap .primary:disabled{background:#e5ebed;color:#97a5ac;box-shadow:none;opacity:1}
#intake #shipping-hint{font-size:12px}
@media(max-width:540px){.intake-card{border-radius:18px}.intake-heading{padding:26px 22px 22px}.intake-heading h1{font-size:28px}#intake{padding:2px 20px 24px}#intake>.grid{display:grid;grid-template-columns:1fr;gap:0}#intake>.grid>*{grid-column:1}.intake-section-title{margin-top:22px}#intake .repair-items,#intake .shipping-choice{padding:14px}#intake .repair-item-options label{padding:8px 10px}.intake-heading p{font-size:13px}#intake .repair-item-other{align-items:flex-start;flex-direction:column;gap:4px}#intake .repair-item-other input{width:100%}}

.fixed-mobile{display:flex;align-items:center;gap:0;margin-top:8px;border:2px solid #e3eaed;border-radius:12px;background:#fbfcfd;overflow:hidden;min-height:48px}.fixed-mobile-prefix{padding:0 16px;flex:none;color:#3c5863;font-size:15px;font-weight:700;border-right:1px solid #dce5e8}.fixed-mobile:focus-within{border-color:#13b7ab;box-shadow:0 0 11px #00b9b538;animation:glow .7s infinite alternate}#intake .fixed-mobile input,.intake-edit-dialog .fixed-mobile input{flex:1;min-width:0;width:0;border:0!important;outline:0!important;margin:0!important;background:transparent!important;box-shadow:none!important;animation:none!important;padding:11px 14px}

.phone-validation{display:block;margin-top:6px;font-size:12px;color:#c24b49;font-weight:400}.phone-validation[hidden]{display:none!important}.fixed-mobile:has(input[aria-invalid="true"]){border-color:#d98d88}

.inline-address-results{border:1px solid #dce8eb;border-radius:12px;padding:10px;margin-top:8px;max-height:260px;overflow:auto;font-size:13px;background:white}.inline-address-results[hidden]{display:none}.inline-address-results button{width:100%;display:block;text-align:left;border:0;border-bottom:1px solid #edf2f3;border-radius:6px}.inline-address-results strong,.inline-address-results small{display:block}.inline-address-results button:hover{background:#e9f7f3}

#intake #terms .terms-checklist .check{padding:12px 0;margin:0;border-bottom:1px solid #edf1f2;font-size:13px;font-weight:400}#intake #terms .terms-all{padding:14px;border-radius:10px;background:#e9f7f3;margin:16px 0 0;font-weight:700}#intake #terms .check input{flex:0 0 18px;width:18px;height:18px}

#intake #terms .terms-all{font-size:20px;font-weight:800;min-height:68px;padding:18px 20px;gap:14px;align-items:center;cursor:pointer}#intake #terms .terms-all input[type=checkbox]{width:28px;height:28px;flex:0 0 28px;margin:0}#intake #terms .terms-all span{font-size:20px;line-height:1.4}

#intake #terms .terms-all,#intake #terms .terms-all span{font-size:22px}#intake #terms .terms-all input[type=checkbox]{width:32px;height:32px;flex-basis:32px}#intake #terms>summary{font-size:17px;font-weight:700;line-height:1.6}

#intake #terms{
 border:2px solid transparent;
 background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--intake-focus-angle),#09a998,#72ece0,#278df3,#a477df,#09a998) border-box;
 box-shadow:0 0 12px #0cb4aa22;
 animation:intake-focus-orbit 1s linear infinite;
}
@media(prefers-reduced-motion:reduce){#intake #terms{animation:none}}

@keyframes consent-pop{0%{transform:scale(1)}28%{transform:scale(1.035,.96)}52%{transform:scale(.985,1.06)}73%{transform:scale(1.012,.985)}100%{transform:scale(1)}}
#intake #terms .terms-all.consent-bounce{animation:consent-pop .55s ease-out 1;transform-origin:center}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-all.consent-bounce{animation:none}}

#intake #terms .terms-checklist .check{border-radius:8px;transition:background-color .15s;color:#425b65}
#intake #terms .terms-checklist .check:focus-within{font-size:18px;line-height:1.8;background:#eff9f6;color:#183f49}
@media(hover:hover){#intake #terms .terms-checklist .check:hover{font-size:18px;line-height:1.8;background:#eff9f6;color:#183f49}}

#intake #terms .terms-speak{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:9px;margin-left:12px;border:1px solid #c7e6e0;border-radius:50%;background:#eff9f6;color:#078578;cursor:pointer}
.terms-speak svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#intake #terms .terms-speak[aria-pressed=true]{background:#078578;color:#fff;box-shadow:0 0 0 4px #09ad9820}
#intake #terms .terms-speak:focus-visible{outline:2px solid #168cff;outline-offset:3px}

#intake #terms .terms-checklist .check{line-height:1.8;transition:font-size .26s cubic-bezier(.22,.61,.36,1),background-color .26s ease,color .26s ease,box-shadow .26s ease}
#intake #terms .terms-checklist .check:focus-within{box-shadow:0 4px 14px #138b7910}
@media(hover:hover){#intake #terms .terms-checklist .check:hover{box-shadow:0 4px 14px #138b7910}}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-checklist .check{transition:none}}

/* Overlay enlargement preserves each row's original dimensions. */
#intake #terms .terms-checklist .check,
#intake #terms .terms-checklist .check:hover,
#intake #terms .terms-checklist .check:focus-within{position:relative;font-size:13px;line-height:1.8;transition:background-color .2s ease;box-shadow:none}
#intake #terms .terms-checklist .check::after{content:attr(data-zoom-text);position:absolute;left:25px;right:0;top:50%;transform:translateY(-50%) scale(.97);transform-origin:left center;z-index:5;padding:12px 14px;border:1px solid #bfe5dc;border-radius:12px;background:#f1fbf7;box-shadow:0 6px 20px #163f4924;color:#183f49;font-size:18px;line-height:1.75;font-weight:400;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .24s cubic-bezier(.22,.61,.36,1),visibility .2s}
#intake #terms .terms-checklist .check:focus-within::after{opacity:1;visibility:visible;transform:translateY(-50%) scale(1)}
@media(hover:hover){#intake #terms .terms-checklist .check:hover::after{opacity:1;visibility:visible;transform:translateY(-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-checklist .check::after{transition:none}}

#intake #terms .terms-voice-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;margin:12px 0;background:#f3f8f8;border-radius:12px}
#intake #terms .terms-voice-controls label{font-size:13px;margin:0;font-weight:600}
.terms-voice-controls output{float:right;color:#078578;font-variant-numeric:tabular-nums}
#intake #terms .terms-voice-controls input[type=range]{width:100%;height:28px;min-height:28px;padding:0;border:0;background:transparent;box-shadow:none;animation:none;margin:8px 0 0;accent-color:#078578;cursor:pointer}
@media(max-width:380px){#intake #terms .terms-voice-controls{grid-template-columns:1fr}}

@keyframes consent-attention{0%,100%{background:#e9f7f3;box-shadow:0 0 0 2px #08a58c20}50%{background:#c4f2e7;box-shadow:0 0 16px #08a58c60}}
@keyframes consent-point{0%,100%{transform:translateY(2px)}50%{transform:translateY(-4px)}}
#intake #terms .terms-all.awaiting-consent{animation:consent-attention 1.2s ease-in-out infinite;flex-wrap:wrap}
#intake #terms .terms-all .consent-guide{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:14px;color:#087b69;white-space:nowrap}
#intake #terms .terms-all .consent-guide>span{font-size:25px;animation:consent-point .8s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-all.awaiting-consent,#intake #terms .terms-all .consent-guide>span{animation:none}#intake #terms .terms-all.awaiting-consent{outline:2px solid #08a58c}}

#intake #terms .terms-checklist .check::after{color:#c62828}

@keyframes reading-line-glow{0%,100%{box-shadow:0 0 0 2px #05bca480,0 0 10px #05bca425}50%{box-shadow:0 0 0 2px #2499ed,0 0 18px #2499ed45}}
#intake #terms .terms-reading{position:relative;z-index:6;background:#effbf7;border-radius:9px;animation:reading-line-glow 1.1s ease-in-out infinite;scroll-margin:100px}
#intake #terms .terms-checklist .check>span{transform-origin:left center;transition:transform .3s ease,color .3s ease}
#intake #terms .terms-checklist .check.terms-reading>span{transform:scale(1.035);color:#c62828}
#intake #terms .terms-checklist .check.terms-reading::after{opacity:1;visibility:visible;transform:translateY(-50%) scale(1);box-shadow:0 4px 18px #0ba18b35;border-color:#0bbda5}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-reading{animation:none;outline:2px solid #08a58c}#intake #terms .terms-checklist .check>span{transition:none}}

#intake-submit .submit-hand{display:none}#intake-submit.intake-ready .submit-hand{display:inline-block;margin-left:8px;animation:consent-point .6s ease-in-out infinite}
#intake-submit-wrap #intake-submit.intake-ready{border:2px solid transparent;background:linear-gradient(#078b80,#078b80) padding-box,conic-gradient(from var(--intake-focus-angle),#79ffe0,#138cff,#eaa2ff,#79ffe0) border-box;animation:intake-focus-orbit .7s linear infinite;box-shadow:0 0 16px #00b6a64a}
@media(prefers-reduced-motion:reduce){#intake-submit-wrap #intake-submit.intake-ready,#intake-submit.intake-ready .submit-hand{animation:none}}

.carrier-dialog{width:min(720px,calc(100vw - 28px));max-height:85vh;padding:22px;border:1px solid #dce8eb;border-radius:18px;color:#193642;background:#fff}.carrier-dialog::backdrop{background:#17374766}.carrier-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:19px}.carrier-dialog-top button{font-size:24px;padding:0;width:44px}.carrier-dialog .ship-carrier-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.carrier-dialog .ship-carrier{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid #e1eaed;border-radius:12px}.carrier-dialog .ship-carrier-logo{width:65px;max-height:42px;object-fit:contain}.carrier-dialog .ship-carrier-copy{flex:1;min-width:0}.carrier-dialog .ship-carrier-copy strong,.carrier-dialog .ship-carrier-copy small{display:block}.carrier-dialog .ship-carrier-call{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;background:#e9f7f3;border-radius:10px}.carrier-dialog .ship-carrier-call svg{width:20px;height:20px}.carrier-dialog .ship-carriers>p{font-size:13px;color:#627982}@media(max-width:600px){.carrier-dialog .ship-carrier-grid{grid-template-columns:1fr}}

#repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 48px}
#repair-header nav>#carrier-info{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;padding:10px 8px;border:1px solid #d7e5e9;border-radius:13px;background:#fff;color:#315260;font-size:13px;font-weight:700;line-height:1.4}
#repair-header nav>#copy,#repair-header nav>#login{min-width:0}
@media(max-width:540px){
 #repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"carrier carrier carrier" "copy login sound";gap:8px}
 #repair-header nav>#carrier-info{grid-area:carrier;min-height:42px;border-radius:11px}
 #repair-header nav>#copy{grid-area:copy}
 #repair-header nav>#login{grid-area:login}
 #repair-header nav>.sound-control{grid-area:sound;width:44px;height:48px;padding:8px}
 #repair-header nav>#copy,#repair-header nav>#login{font-size:12px;padding:10px 4px;gap:5px}
}

#intake .shipping-immediate-notice{margin:14px 0 0;padding:14px 16px;border:1px solid #efc5bb;background:#fff3ee;border-radius:10px;color:#b44730;font-size:16px;font-weight:700}
#intake .shipping-immediate-notice[hidden]{display:none}
#intake.shipping-not-ready>.grid>*:not(:first-child):not(.shipping-choice){display:none!important}
#intake.shipping-not-ready>#terms,#intake.shipping-not-ready>#intake-submit-wrap,#intake.shipping-not-ready>#error{display:none!important}

#repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px;grid-template-areas:"copy login sound"}
#repair-header nav>#copy{grid-area:copy}#repair-header nav>#login{grid-area:login}#repair-header nav>.sound-control{grid-area:sound}
.intake-carrier-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;min-height:44px;padding:10px 16px;border:1px solid #bfe2dc;border-radius:11px;background:#edf9f5;color:#087e73;font-size:14px;font-weight:700}
.intake-carrier-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:540px){#repair-header nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"copy login sound"}}

#intake-submit-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 14px}
#intake-submit-wrap #shipping-hint{order:0;flex:0 0 auto;white-space:nowrap;word-break:keep-all;margin:0;line-height:1.6}
#intake-submit-wrap #intake-submit{order:1;flex:0 0 auto;width:auto}
@media(max-width:540px){#intake-submit-wrap #shipping-hint{flex-basis:100%;text-align:right;font-size:12px}#intake-submit-wrap #intake-submit{min-width:130px}}

.quote-decision{padding:16px;margin:12px 0;border:1px solid #cfe5df;border-radius:13px;background:#f0faf7;color:#23564e}.quote-choice-buttons{display:flex;gap:10px;margin-top:12px}.quote-choice-buttons button{flex:1;min-height:48px;font-weight:700}.quote-decision.withdraw{background:#fff4ee;border-color:#efd4c6;color:#a35031}.quote-decision.proceed{font-weight:700}

.repair-title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}.repair-title-row h1{margin:0}#repair-shortcut{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#087f83;background:#edf9f5;padding:8px 11px;white-space:nowrap}.repair-shortcut-dialog{width:min(460px,calc(100vw - 32px));max-height:85vh;border:1px solid #d7e7e9;border-radius:18px;padding:24px;color:#193642}.repair-shortcut-dialog::backdrop{background:#16384666}.shortcut-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:20px}

.repair-title-row{justify-content:flex-start;gap:12px}.repair-title-row #repair-shortcut{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:0;line-height:1.45;padding:6px 10px;font-size:12px;flex-shrink:0}

.repair-title-row #repair-shortcut{flex-direction:row;align-items:center;gap:8px}.shortcut-icon-badge{width:36px;height:36px;object-fit:contain;border-radius:8px;flex-shrink:0}.shortcut-button-label{display:flex;flex-direction:column;line-height:1.45;text-align:left}

.repair-title-row{display:flex;flex-wrap:nowrap;align-items:center;gap:10px}
.repair-title-row h1{min-width:0;flex:1;margin:0;overflow-wrap:anywhere}
.repair-title-row #repair-shortcut{flex:0 0 auto;margin:0}
@media(max-width:540px){.repair-title-row{gap:8px}.repair-title-row h1{font-size:clamp(17px,4.7vw,23px);letter-spacing:-.7px;line-height:1.4}.repair-title-row #repair-shortcut{padding:6px;gap:5px;font-size:11px}.repair-title-row .shortcut-icon-badge{width:30px;height:30px}}

#quote-composer{width:min(580px,calc(100vw - 28px))}.quote-file-drop{padding:20px;text-align:center;border:2px dashed #9ecfc6;border-radius:12px;background:#eff9f6}.quote-file-drop p{font-size:14px}.quote-files>div{display:flex;align-items:center;justify-content:space-between;gap:10px;overflow-wrap:anywhere;margin-top:8px}.quote-error{color:#b44730}.quote-file-drop.file-drag{background:#d8f6ee;border-color:#0b9e89}

.quote-decision:has([data-quote-choice]){border:2px solid #20b8a2;background:#effbf7;padding:20px;scroll-margin:90px;box-shadow:0 0 14px #10b39c25}.quote-decision>strong{font-size:20px}.quote-choice-buttons{display:grid;grid-template-columns:1fr 1fr}.quote-choice-buttons button{font-size:16px;min-height:52px}

#required-quote{width:min(680px,calc(100vw - 24px));max-height:90dvh;box-sizing:border-box;border:1px solid #cce5df;border-radius:18px;padding:22px;background:#fff;color:#193642;overflow:auto}#required-quote::backdrop{background:#102f41bb}#required-quote .required-quote-files{max-height:62dvh;overflow:auto;margin:16px 0}#required-quote .attachment-media{width:100%;margin-bottom:12px}#required-quote .attachment-file{width:100%;display:flex;flex-direction:column;align-items:center}#required-quote img,#required-quote canvas{max-width:100%;height:auto;max-height:55dvh;object-fit:contain}#required-quote .quote-choice-buttons{position:sticky;bottom:0;background:white;padding:12px 0 0}#required-quote .required-quote-error{color:#b44730}

.case-controls #repair-shortcut{order:-1;display:inline-flex;align-items:center;gap:6px;width:auto;min-width:0;height:44px;padding:4px 8px;margin:0;font-size:11px;background:#edf9f5;flex-shrink:0}.case-controls #repair-shortcut .shortcut-icon-badge{width:30px;height:30px}.case-controls{align-items:center}

/* Repair billing: scoped styles, readable on narrow mobile screens. */
.payment-card{margin:16px 0 20px;border:1px solid #e2e8e7;border-radius:20px;background:#fff;overflow:hidden;padding:26px;box-shadow:0 8px 28px #17394709;color:#193642}.payment-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.payment-eyebrow{font-size:12px;font-weight:800;letter-spacing:.04em;color:#087f83}.payment-tag{padding:5px 10px;background:#fff5c5;color:#6b5500;font-size:11px;font-weight:700;border-radius:30px}.payment-card .payment-intro{margin:0 0 4px;font-size:14px;color:#65777b}.payment-total{font-size:clamp(30px,6vw,42px);font-weight:800;letter-spacing:-.05em;line-height:1.35;margin-bottom:24px;font-variant-numeric:tabular-nums}.payment-total>span{font-size:16px;font-weight:500;letter-spacing:0;margin-left:7px}.payment-bank{position:relative;padding:22px;border:1px solid #eee9c5;border-top:5px solid #ffe300;border-radius:14px;background:#fffef5}.payment-bank-logo{display:block;width:112px;height:auto;margin:0 0 20px}.payment-bank-name{font-size:12px;color:#676655;margin-bottom:4px}.payment-account{font-size:clamp(18px,4.8vw,25px);font-weight:750;letter-spacing:.02em;overflow-wrap:anywhere;color:#1e1e1e}.payment-holder{font-size:13px;color:#72705f;margin-top:5px}.payment-holder strong{color:#333;margin-left:5px}.payment-card .payment-copy{margin-top:17px;width:100%;min-height:42px;background:white;border:1px solid #ddd9be;color:#373625;font-size:13px;display:flex;align-items:center;justify-content:center;gap:9px}.payment-card .payment-submit{width:100%;margin-top:20px;min-height:54px;border:0;background:#ffe300;color:#1e1e1e;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;gap:12px}.payment-card .payment-submit:hover{background:#f1d700}.payment-card .payment-help{font-size:12px;text-align:center;color:#6a7b7b;margin:10px 0 0;line-height:1.6}.payment-card .payment-edit{margin-top:18px;width:100%;background:#eef7f5;border:1px solid #cee1dd;color:#087f83}.payment-card.is-paid .payment-tag{color:#087661;background:#e2f4eb}.payment-next{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding:17px;background:#eff8f4;border-radius:12px}.payment-next>span{flex:none;background:#128268;color:white;border-radius:50%;width:25px;height:25px;text-align:center}.payment-next strong{font-size:15px}.payment-next small{display:block;font-size:12px;margin-top:4px;line-height:1.6}.billing-composer{box-sizing:border-box;width:470px;max-width:calc(100vw - 28px);max-height:90vh;overflow:auto;border:0;border-radius:22px;padding:30px;background:white;color:#193642;box-shadow:0 24px 80px #001f3b44}.billing-composer::backdrop{background:#082b3e80}.billing-composer h2{font-size:23px;margin:9px 0}.billing-description{font-size:13px;color:#637b83;margin-bottom:25px}.billing-composer label{font-size:13px;margin-bottom:8px}.billing-amount-wrap{display:flex;align-items:center;border:2px solid #087f83;border-radius:13px;background:#f8fcfb;padding:4px 16px}.billing-amount-wrap input{width:100%;min-width:0;border:0;background:transparent;font-size:30px;font-weight:800;text-align:right;outline:none;padding:10px 8px;margin:0}.billing-amount-wrap span{font-size:18px}.billing-account-preview{margin:20px 0;padding:18px;border-radius:12px;background:#fffdf0;border-top:3px solid #ffe300}.billing-account-preview img{width:100px;height:auto;display:block;margin-bottom:12px}.billing-account-preview p{font-size:15px;font-weight:700;margin:0;overflow-wrap:anywhere}.billing-account-preview p span{display:block;font-size:12px;font-weight:400;color:#6f776d;margin-top:5px}.billing-error{font-size:13px;color:#b33535;min-height:1em}.billing-actions{display:flex;gap:8px}.billing-actions button{flex:1;padding:12px 8px;font-size:13px}.billing-actions button.primary{flex:2}@media(max-width:420px){.payment-card{padding:18px;border-radius:16px}.payment-bank{padding:17px}.billing-composer{padding:22px}.payment-card-head{margin-bottom:18px}.payment-total>span{font-size:14px}}

#shipment-photo-composer{width:min(580px,calc(100vw - 28px));max-height:88dvh;overflow:auto;border:0;box-shadow:0 22px 70px #122e3940;padding:26px;border-radius:20px}#shipment-photo-composer h2{margin-bottom:8px}.shipment-description{font-size:13px;color:#647b83}.shipment-drop{display:flex;flex-direction:column;align-items:center;gap:9px;padding:26px 16px;border:2px dashed #9fcfc7;border-radius:15px;background:#f0faf7;text-align:center}.shipment-drop.file-drag{border-color:#087f83;background:#d8f5e9}.shipment-photo-symbol{font-size:40px;line-height:1.1;color:#087f83}.shipment-drop strong{font-size:15px}.shipment-drop>span:not(.shipment-photo-symbol){font-size:12px;color:#627d79}.shipment-drop button{margin-top:5px;background:white;border-color:#a6cec6}.shipment-previews{display:grid;gap:10px;margin-top:16px}.shipment-preview{display:flex;align-items:center;gap:12px;padding:10px;background:#f5f8f9;border-radius:12px}.shipment-preview img{width:72px;height:72px;object-fit:contain;background:white;border-radius:6px}.shipment-preview>div{flex:1;min-width:0}.shipment-preview strong{display:block;font-size:13px;overflow-wrap:anywhere}.shipment-preview small{display:block;margin-top:4px}.shipment-preview button{flex:none;font-size:23px;padding:3px 10px}.shipment-error{color:#ad3434;font-size:13px;margin:12px 0 0}.shipment-progress{font-size:13px;color:#087f83;margin:8px 0 0}#status-menu [data-shipment-photo]{font-weight:800;color:#087f83;background:#edf9f5}#shipment-photo-composer input[hidden]{display:none} @media(max-width:420px){#shipment-photo-composer{padding:20px}.shipment-drop{padding:22px 10px}.shipment-drop strong{font-size:14px}}

.shipment-address-notice{display:flex;flex-direction:column;gap:7px;margin:16px 0;padding:20px;border:1px solid #e7ce79;border-left:5px solid #e9b82f;border-radius:13px;background:#fffae9;color:#614c13}.shipment-address-notice>span{font-size:12px;font-weight:700}.shipment-address-notice strong{font-size:19px;line-height:1.5}.shipment-address-notice small{color:#756333;font-size:13px}

.payment-confirm-request{margin-top:20px;border:1px solid #e5cd82;border-radius:13px;padding:17px;background:#fff9e7}.payment-confirm-request strong{font-size:15px;color:#624d11}.payment-confirm-request p{font-size:12px;line-height:1.65;margin:8px 0 12px;color:#756843}.payment-confirm-request button{width:100%;font-weight:700}

#required-shipment-address{width:min(780px,calc(100vw - 24px));max-height:94dvh;overflow:auto;padding:24px;border:0;border-radius:20px;background:white;color:#193642;box-shadow:0 24px 90px #102b3b66}#required-shipment-address::backdrop{background:#102b3bbb}.shipment-address-heading>span{font-size:12px;font-weight:800;color:#087f83}.shipment-address-heading h2{font-size:22px;margin:8px 0}.shipment-address-heading p{font-size:13px;color:#627982;margin:0 0 17px}.shipment-address-photo{padding:10px;text-align:center;background:#eef3f5;border:1px solid #dce6e9;border-radius:12px;overflow:auto;max-height:57dvh}.shipment-address-photo img{display:block;max-width:100%;max-height:53dvh;height:auto;margin:auto;object-fit:contain;cursor:zoom-in}.shipment-address-photo img[hidden]{display:none}.shipment-address-photo p{padding:22px 10px;font-size:13px}.shipment-address-choices{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;position:sticky;bottom:-24px;background:white;padding:16px 0 8px}.shipment-address-choices button{font-size:14px;font-weight:700;min-height:50px;padding:10px 5px}.shipment-address-choices [data-address-choice=wrong]{background:#fff3ec;border-color:#ebc3b1;color:#984421}.shipment-address-error{color:#ad3434;font-size:13px;margin:10px 0 0}.shipment-address-change{padding-top:16px}.shipment-address-change>div{display:flex;gap:8px;margin-top:14px}.shipment-address-change>div button{flex:1}.shipment-address-change small{display:block;font-size:12px}.shipment-address-result{margin:12px 0;padding:15px;border:1px solid #d6e4e5;border-radius:12px;background:#f2f7f8;font-size:14px}.shipment-address-result.address-ok{color:#0c725d;background:#eaf8f1;border-color:#b7dfcb}.shipment-address-result.address-attention{color:#913c21;background:#fff0e6;border:2px solid #e4aa86}.shipment-address-result p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.shipment-address-result small{display:block;color:inherit;margin-top:6px}#required-shipment-address [hidden]{display:none!important}@media(max-width:420px){#required-shipment-address{padding:18px}.shipment-address-heading h2{font-size:19px}.shipment-address-choices{gap:6px;bottom:-18px}.shipment-address-choices button{font-size:12px}.shipment-address-photo{max-height:52dvh}}

#repair-header nav>#login[hidden]{display:none!important}#repair-header:not(.is-admin) nav{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"copy sound"}

#chat-pdf-viewer .pdf-pages canvas{max-width:none;display:block;margin:0 auto}#chat-pdf-viewer .pdf-navigation{gap:7px;padding:6px;flex-wrap:nowrap}#chat-pdf-viewer .pdf-navigation button{min-width:36px;padding:6px 9px}#chat-pdf-viewer .pdf-page-count{white-space:nowrap;font-size:13px}#chat-pdf-viewer [data-fit]{font-size:12px;min-width:58px}#required-quote .pdf-thumb{width:100%;max-width:100%;object-fit:contain}

#required-quote .attachment-media{max-width:100%}#chat-photo-viewer [data-original]{width:auto;min-width:76px;font-size:12px;padding:0 8px}#chat-photo-viewer.original-size .photo-viewer-body{display:block}#chat-photo-viewer.original-size img{max-width:none;max-height:none;width:auto;height:auto;display:block;margin:auto}#chat-video-viewer{width:96vw;max-width:1200px;height:90dvh;margin:auto;padding:0;border:0;border-radius:14px;background:#17232d;color:white;overflow:hidden}#chat-video-viewer::backdrop{background:#07111bd9}#chat-video-viewer video{width:100%;height:calc(100% - 62px);object-fit:contain;background:#000}

.repair-queue{margin:16px 0 4px;padding:18px 22px;border:1px solid #b8e4df;border-radius:16px;background:linear-gradient(120deg,#e6f8f4,#f5fbff);color:#17646b;display:flex;align-items:center;justify-content:space-between;gap:12px}.repair-queue>strong{font-size:28px;color:#008c8b}.repair-queue>strong small{font-size:15px;margin-left:5px}.repair-queue form{width:100%;margin:0}.repair-queue form>label{font-weight:700}.repair-queue form>small{display:block;margin-top:10px;font-size:12px;color:#607e88}.queue-controls{display:flex;align-items:center;gap:10px;margin-top:10px}.queue-controls input{width:120px;margin:0}.queue-controls button{margin:0;min-width:80px}.queue-position{margin:14px 0;padding:14px 16px;background:#eefaf7;border-radius:12px;border-left:4px solid #00aaa0}.queue-position strong{display:block;font-size:19px;color:#087f83}.queue-position small{display:block;margin-top:7px;line-height:1.6;color:#577881}.queue-current-status{font-size:14px;color:#577881}

#repair-header.is-admin nav{grid-template-columns:minmax(0,1fr) minmax(200px,1fr) minmax(0,1fr) 48px;grid-template-areas:"copy queue login sound";align-items:center}#repair-header nav>.repair-queue{grid-area:queue;margin:0;padding:9px 12px;min-width:0}#repair-header nav>.repair-queue form>label{font-size:12px;display:block;margin:0}#repair-header nav .queue-controls{margin-top:5px;gap:5px}#repair-header nav .queue-controls input{width:65px;min-width:0;height:32px;padding:4px 6px}#repair-header nav .queue-controls button{min-width:44px;padding:5px;height:32px;font-size:12px}#repair-header nav .queue-controls>span{font-size:12px}@media(max-width:620px){#repair-header.is-admin nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"copy login sound" "queue queue queue"}#repair-header nav>.repair-queue form{display:flex;align-items:center;justify-content:space-between;gap:8px}#repair-header nav .queue-controls{margin:0}}

#repair-header.is-admin nav>#copy{display:none!important}#repair-header.is-admin nav{grid-template-columns:minmax(240px,1fr) minmax(0,1fr) 48px;grid-template-areas:"queue login sound"}#repair-header nav>.repair-queue form{display:flex;align-items:center;justify-content:center;gap:8px}#repair-header nav .queue-controls{margin:0}#repair-header nav #queue-saved-count[hidden]{display:none}@media(max-width:540px){#repair-header.is-admin nav{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"queue queue" "login sound"}}

/* Persistent heartbeat with a soft ambient halo. */
.queue-position{position:relative;isolation:isolate;border:1px solid #74d8d0;border-left:4px solid #00aaa0;background:linear-gradient(115deg,#e5fbf6,#f1fbff);padding:18px 20px;box-shadow:0 4px 18px #00a99c19}
.queue-position::before{content:"";position:absolute;inset:-4px;border-radius:16px;z-index:-1;pointer-events:none;box-shadow:0 0 18px 3px #00bca84a,0 0 36px 7px #39c8e526;opacity:.4;animation:queue-ambient 2.8s ease-in-out infinite}
.queue-position strong{font-size:clamp(19px,4.7vw,25px);font-weight:800;line-height:1.45;transform-origin:left center;animation:queue-heartbeat 2.8s ease-in-out infinite;text-shadow:0 0 12px #00bba52e}
.queue-position small{position:relative;font-size:12px}
@keyframes queue-heartbeat{0%,38%,100%{transform:scale(1)}12%{transform:scale(1.035)}20%{transform:scale(1)}29%{transform:scale(1.025)}}
@keyframes queue-ambient{0%,45%,100%{opacity:.3}14%{opacity:.9}23%{opacity:.5}32%{opacity:.75}}
@media(prefers-reduced-motion:reduce){.queue-position strong,.queue-position::before{animation:none}.queue-position::before{opacity:.45}}

#attach-tray.pending-previews,.quote-files.pending-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:start}#attach-tray.pending-previews[hidden]{display:none}.pending-preview{position:relative;margin:0;min-width:0;overflow:hidden;border:1px solid #c4ddd9;border-radius:12px;background:#fff;box-shadow:0 3px 10px #153f4910}.pending-preview-media{height:160px;background:#edf3f5;display:flex;align-items:center;justify-content:center}.pending-preview-media img,.pending-preview-media video{display:block;width:100%;height:100%;object-fit:contain}.pending-preview-media img{cursor:zoom-in}.pending-preview figcaption{padding:10px 12px}.pending-preview figcaption strong{display:block;font-size:12px;overflow-wrap:anywhere;padding-right:12px}.pending-preview figcaption small{display:block;color:#648087;font-size:11px;margin-top:5px}.pending-preview .pending-preview-remove{position:absolute;right:6px;top:6px;width:28px!important;height:28px;min-height:28px!important;padding:0!important;border:1px solid #d0dcdf;border-radius:50%;background:#fffffff0;color:#284653;font-size:20px;line-height:24px}.pending-file-icon{font-size:27px;font-weight:800;color:#087f83}.pending-preview-error{display:block;padding:8px;color:#985231;font-size:11px}.pending-preview-error[hidden]{display:none}

.pending-preview-media{position:relative}.pending-preview-media canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}.pending-pdf-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#edf3f5;font-size:12px;color:#426974}

@font-face{font-family:HwsPretendard;src:url('/extend/hws-pretendard-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
body{font-family:HwsPretendard,'Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;letter-spacing:-.02em}input,textarea,select,button{font-family:inherit}input[type=file][hidden]{display:none!important}
#quote-composer{padding:28px;border:1px solid #dbe9e9;border-radius:24px;box-shadow:0 24px 80px #102f4133;background:linear-gradient(160deg,#fff 65%,#f2faf8);max-height:90dvh;overflow:auto}#quote-composer::backdrop{background:#193b4b66;backdrop-filter:blur(4px)}.quote-heading{display:flex;gap:14px;align-items:center;margin-bottom:24px}.quote-heading-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;background:#e4f6f2;border-radius:15px;color:#087f83}.quote-heading-icon svg,.quote-upload-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#quote-composer h2{font-size:22px;font-weight:800;letter-spacing:-.04em;margin:0 0 4px}.quote-heading p{font-size:12px;color:#72858e;margin:0}#quote-composer label{font-size:13px;color:#3d5864;font-weight:700}#quote-composer textarea{font-family:inherit;font-size:14px;line-height:1.7;letter-spacing:-.015em;padding:14px 16px;border-radius:13px;min-height:110px;outline:none}#quote-composer textarea:focus{border-color:#19a99d;box-shadow:0 0 0 3px #14b8a615}#quote-composer textarea::placeholder{color:#97a7ad}.quote-file-drop{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 16px;border:1.5px dashed #a7d7cf;border-radius:16px;background:#f0faf7}.quote-file-drop .quote-upload-icon{display:grid;place-items:center;width:58px;height:58px;min-height:58px;padding:0;border:1px solid #c4e5df;border-radius:18px;background:white;color:#008c83;box-shadow:0 5px 16px #088a8014;transition:transform .18s,box-shadow .18s}.quote-upload-icon:hover{transform:translateY(-2px);box-shadow:0 8px 20px #088a8026}.quote-upload-icon:focus-visible{outline:3px solid #72cfc5;outline-offset:3px}.quote-file-drop strong{font-size:14px;font-weight:600;color:#37615e}.quote-file-drop p{font-size:12px;color:#79918c;margin:0}#quote-composer .shortcut-actions{gap:10px;margin-top:22px}#quote-composer .shortcut-actions button{font-size:14px;font-weight:700;border-radius:12px;padding:11px 20px}#quote-composer [data-send]{background:linear-gradient(120deg,#088b87,#087b8d);border:0;box-shadow:0 5px 14px #078b8225}@media(max-width:480px){#quote-composer{padding:20px;border-radius:19px}.quote-heading{gap:10px}.quote-heading p{font-size:11px}.quote-file-drop strong{font-size:12px}}

#billing-composer{width:min(620px,calc(100vw - 28px));max-height:90dvh;overflow:auto}.completion-photo-section{margin:22px 0}.completion-photo-section h3{font-size:14px;color:#37615e;margin:0 0 10px}.completion-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:12px}#billing-composer .billing-actions{position:sticky;bottom:-1px;background:white;padding-top:14px}

.attachment-type-icon{display:inline-flex;align-items:center;vertical-align:middle}.attachment-type-icon svg{width:48px;height:54px}.pending-file-icon .attachment-type-icon svg{width:64px;height:72px}

#completion-payment-popup{width:min(680px,calc(100vw - 24px));max-height:92dvh;padding:0;border:1px solid #c6e1dc;border-radius:22px;background:#f7fbfa;color:#193642;overflow:hidden;box-shadow:0 24px 80px #163c4833}#completion-payment-popup::backdrop{background:#173b4c99;backdrop-filter:blur(3px)}.completion-payment-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px;background:white;border-bottom:1px solid #e0ece9}.completion-payment-header span{font-size:12px;color:#098c83;font-weight:700}.completion-payment-header h2{font-size:21px;margin:4px 0 0}.completion-payment-header button{width:38px;min-height:38px;height:38px;padding:0;border-radius:50%;font-size:24px}.completion-payment-scroll{max-height:calc(92dvh - 140px);overflow-y:auto;overscroll-behavior:contain;padding:18px;scrollbar-gutter:stable}.completion-payment-photos h3{font-size:14px;color:#466c72;margin:0 0 12px}.completion-payment-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:22px}.completion-payment-media .attachment-media,.completion-payment-media .attachment-file{width:100%;max-width:100%}.completion-payment-media img,.completion-payment-media canvas,.completion-payment-media video{width:100%;max-height:440px;object-fit:contain}.completion-payment-media .attachment-media{padding:10px;border:1px solid #dce8e4;border-radius:12px;background:white}.completion-payment-account .payment-card{margin:0}.completion-payment-guide{font-size:11px;text-align:center;line-height:1.5;margin:0;padding:10px;background:white;color:#66828a}.completion-payment-open{margin:12px 0}@media(max-width:480px){.completion-payment-header{padding:16px}.completion-payment-header h2{font-size:18px}.completion-payment-scroll{padding:12px}.completion-payment-media{grid-template-columns:minmax(0,1fr)}}

/* Include connector space in each wrapped row before centering. */
#stages.stages{justify-content:center;column-gap:0;row-gap:18px;padding:8px 2px 12px}#stages.stages>button,#stages.stages>.status-dropdown{margin-left:28px}#stages.stages>:first-child{margin-left:0}

@media(max-width:600px){
 #stages.stages{justify-content:center;column-gap:0;row-gap:14px;padding:8px 0 12px}
 #stages.stages>button,#stages.stages>.status-dropdown{flex:0 0 calc((100% - 48px)/2);width:calc((100% - 48px)/2);min-width:0;max-width:150px;margin-left:24px}
 #stages.stages>:first-child{margin-left:0}
 #stages.stages>button~button:before,#stages.stages>.status-dropdown:before{left:-24px;width:20px;text-align:center}
 #stages.stages>button,#stages.stages>.status-dropdown>.change-status{padding:10px 4px;font-size:12px;white-space:normal;word-break:keep-all;text-align:center}
 #stages.stages>.status-dropdown>.change-status{width:100%;height:100%}
}

.intake-shipping-buttons{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin-top:18px}.intake-shipping-buttons .intake-carrier-button{margin-top:0}.intake-shipping-buttons svg{flex:none}.repair-shipping-address-card{padding:20px;margin:18px 0;background:#eef9f6;border:1px solid #c7e5de;border-radius:14px}.repair-shipping-address-card small,.repair-shipping-address-card strong{display:block}.repair-shipping-address-card strong{font-size:18px;line-height:1.6;margin-top:6px;word-break:keep-all}.repair-shipping-address-card p{margin:12px 0 0;color:#577980}@media(max-width:480px){.intake-shipping-buttons .intake-carrier-button{font-size:12px;padding:9px 10px}.intake-shipping-buttons{gap:6px}}

.required-quote-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.required-quote-heading h2{margin:0}.required-quote-heading [data-quote-close]{width:38px;height:38px;min-height:38px;flex:none;padding:0;border-radius:50%;font-size:24px;line-height:1}

.shipment-upload-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin:14px 0;border:1px solid #9cdacf;border-radius:16px;background:#edf9f5}.shipment-upload-action strong{color:#087f83;font-size:17px}.shipment-upload-action p{font-size:12px;color:#5d7d82;margin:6px 0 0}.shipment-upload-action button{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;font-weight:700}.shipment-upload-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:540px){.shipment-upload-action{flex-direction:column;align-items:stretch}.shipment-upload-action button{width:100%}}

#intake #terms .terms-intro{position:relative}
#intake #terms .terms-intro::after{content:attr(data-zoom-text);position:absolute;left:0;right:0;top:50%;transform:translateY(-50%) scale(.97);transform-origin:left center;z-index:5;padding:12px 14px;border:1px solid #bfe5dc;border-radius:12px;background:#f1fbf7;box-shadow:0 6px 20px #163f4924;color:#c62828;font-size:18px;line-height:1.75;font-weight:400;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .24s cubic-bezier(.22,.61,.36,1),visibility .2s}
#intake #terms .terms-intro.terms-reading::after{opacity:1;visibility:visible;transform:translateY(-50%) scale(1);box-shadow:0 4px 18px #0ba18b35;border-color:#0bbda5}
@media(prefers-reduced-motion:reduce){#intake #terms .terms-intro::after{transition:none}}

/* Keep intake guidance on its own row above the submit button. */
#intake-submit-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:12px;padding-top:12px}
#intake-submit-wrap #shipping-hint{order:0;flex:0 0 auto;max-width:100%;white-space:normal;text-align:right;line-height:1.6;margin:0}
#intake-submit-wrap #intake-submit{order:1;flex:0 0 auto;margin:0;max-width:100%}

#admin-payment-confirm-popup{position:fixed;inset:0;width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;margin:24px auto auto;border:0;border-radius:20px;padding:20px;background:#fff;box-shadow:0 20px 70px #123b4550;overflow:auto}
#admin-payment-confirm-popup::backdrop{background:rgb(13 40 48 / 55%);backdrop-filter:blur(3px)}
#admin-payment-confirm-popup .payment-confirm-request{margin:0}
#admin-payment-confirm-popup button{min-height:48px}

.admin-shipment-set{margin-top:22px;padding-top:18px;border-top:1px solid #dbe8eb}.admin-shipment-set h3{margin:0 0 14px}.admin-shipment-set [data-help]{font-size:13px;color:#587582}.admin-shipment-set [data-later]{display:block;margin:12px auto 0}.admin-shipment-set [data-later][hidden]{display:none}.admin-shipment-set .shipment-preview img{max-height:180px;object-fit:contain}

.return-method-fields{border:1px solid #b5d9dc;border-radius:14px;padding:16px;margin:20px 0;display:grid;gap:12px}.return-method-fields legend{font-weight:700;color:#087e85}.return-method-fields label{display:flex;gap:8px;align-items:center}.return-method-fields input[type=radio]{width:20px;height:20px}.return-method-fields .return-address{display:grid}.return-method-fields p{font-size:13px;line-height:1.7;color:#587582}

#quick-customer-popup{width:min(480px,calc(100% - 32px));box-sizing:border-box;border:1px solid #a7e1dc;border-radius:22px;padding:30px;background:#fff;box-shadow:0 20px 70px #123b4550}#quick-customer-popup h2{font-size:24px;color:#087e85;margin:12px 0 16px}#quick-customer-popup p{line-height:1.8;color:#587582;margin:0}#quick-customer-popup::backdrop{background:rgb(13 40 48 / 55%);backdrop-filter:blur(3px)}

.popup-chat-badge{display:block;margin:0 0 16px auto!important;width:auto!important;min-height:38px;padding:8px 15px;border:1px solid #77d2cb;border-radius:999px;background:#e5faf7;color:#067e80;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.popup-chat-badge:hover{background:#cbf2ed}.popup-chat-badge:focus-visible{outline:3px solid #17b9b0;outline-offset:3px}

/* Completed cases retain their status styling without the ambient animation. */
#stages.stages.situation-ended>.current-stage,.messages.situation-ended>.chat-status.is-current{animation:none!important;box-shadow:none!important}

/* Preserve the light chat palette regardless of OS dark-mode preference. */
:root{color-scheme:only light}html,body{color-scheme:only light;background-color:#f3f7f8;color:#193642}dialog,input,textarea,select,button{color-scheme:only light}

#repair-header #copy{display:none!important}.customer-title-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}.customer-title-actions #sound-control{margin:0;flex-shrink:0}.repair-title-row:has(.customer-title-actions){flex-wrap:wrap}.repair-title-row:has(.customer-title-actions) h1{flex:1 1 auto}

.customer-brand-contact{display:flex;align-items:center;gap:10px;max-width:100%}.customer-brand-contact>a{font-size:22px;font-weight:700;color:#087f83;text-decoration:none;white-space:nowrap}.customer-contact-icons{display:flex;align-items:center;gap:4px}.customer-contact-icons a{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e6f7f4;color:#087f83}.customer-contact-icons svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-title-actions #sound-control{display:grid;place-items:center;box-sizing:border-box;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px;padding:6px!important;border-radius:10px;flex:0 0 38px}.customer-title-actions #sound-control svg{width:24px!important;height:24px!important}.customer-title-actions #sound-control[data-sound-state=on]{background:#e2f8eb;border-color:#a4dcb9;color:#116b3e}.customer-title-actions #sound-control[data-sound-state=off]{background:#fff2f2;border-color:#e7baba;color:#a92e2e}
@media(max-width:400px){.customer-brand-contact{gap:6px}.customer-brand-contact>a{font-size:19px}}

#sound-control[data-sound-state=pending]{background:#e2f8eb;border-color:#a4dcb9;color:#116b3e}

#intake #terms.speech-active .terms-checklist .check:not(.terms-reading)::after{opacity:0!important;visibility:hidden!important;transform:translateY(-50%) scale(.97)!important}
#intake #terms.speech-active .terms-checklist .check:not(.terms-reading)>span{transform:none!important;color:inherit!important}

.repair-notice-dialog{width:min(600px,calc(100vw - 28px));max-height:88dvh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #b7ded9;border-radius:20px;background:#fff;color:#193642}.repair-notice-dialog::backdrop{background:#16384688}.repair-notice-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:16px;background:#eff9f7;border-radius:12px}#repair-notice-manage{white-space:nowrap;grid-column:1/-1}

#repair-notice-manage a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #badad6;border-radius:10px;text-decoration:none;font-size:13px}.repair-entry-notices details{border-bottom:1px solid #dce8eb;padding-bottom:12px}.repair-entry-notices .repair-notice-content{margin:10px 0;max-height:45dvh;overflow:auto}

#repair-header.is-admin{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px}#repair-header.is-admin>#repair-notice-write{grid-column:2;grid-row:1;font-size:11px;font-weight:700;white-space:nowrap;padding:5px 9px;border:1px solid #b8ddd7;border-radius:20px;background:#effaf7;color:#08756a;text-decoration:none;line-height:1.5}#repair-header.is-admin>.admin-login-badge{grid-column:3}@media(max-width:420px){#repair-header.is-admin>a:first-child{font-size:17px}#repair-header.is-admin{column-gap:5px}#repair-header.is-admin>#repair-notice-write{font-size:10px;padding:5px 7px}}

#customer-latest-notice{width:calc(100% - 32px);max-width:768px;margin:0 auto 14px;border:1px solid #cfe7e4;border-radius:12px;background:#fff;overflow:hidden}#customer-latest-notice>summary{padding:11px 14px;font-size:14px;line-height:1.5;color:#087f83;overflow-wrap:anywhere}#customer-latest-notice .customer-notice-body{padding:0 14px 14px;font-size:14px;color:#193642}#customer-latest-notice .customer-notice-body>div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:12px 0;border-top:1px solid #e4efed}#customer-latest-notice .customer-notice-body>button{display:block;margin-left:auto;padding:6px 16px;min-height:36px;font-size:13px}

#customer-latest-notice.notice-unread{border:2px solid #00b9a7;animation:noticeAmbientPulse 1.4s ease-in-out infinite}#customer-latest-notice.notice-unread>summary{font-weight:800}@keyframes noticeAmbientPulse{0%,100%{box-shadow:0 0 5px #00bfa555,inset 0 0 3px #00bfa522;background:#fff}50%{box-shadow:0 0 22px #00c9b5aa,0 0 8px #00c9b588,inset 0 0 12px #00c9b533;background:#d9fff5}}@media(prefers-reduced-motion:reduce){#customer-latest-notice.notice-unread{animation:none;box-shadow:0 0 14px #00c9b588;background:#d9fff5}}

#repair-header>.customer-brand-contact{width:100%;min-width:0}#repair-header .customer-brand-contact>#sound-control{margin-left:auto;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;padding:7px;border-radius:50%;display:grid;place-items:center}#repair-header .customer-brand-contact>#sound-control svg{width:20px;height:20px}#repair-header .customer-brand-contact>.customer-contact-icons{flex-shrink:0}@media(max-width:380px){#repair-header .customer-brand-contact{gap:6px}#repair-header .customer-brand-contact>a{font-size:19px}}

#repair-header.is-admin{grid-template-columns:minmax(0,1fr) auto auto auto}#repair-header.is-admin>#auto-customer-sync{grid-column:3;grid-row:1;display:flex;flex-direction:column;gap:3px}#auto-customer-sync label{display:flex;align-items:center;gap:5px;font-size:11px;margin:0;white-space:nowrap}#auto-customer-sync input{width:15px;height:15px;margin:0;accent-color:#087f83}#repair-header.is-admin>.admin-login-badge{grid-column:4}@media(max-width:640px){#repair-header.is-admin{grid-template-columns:1fr auto auto}#repair-header.is-admin>a:first-child{grid-column:1/-1}#repair-header.is-admin>#repair-notice-write{grid-column:1;grid-row:2;justify-self:start}#repair-header.is-admin>#auto-customer-sync{grid-column:2;grid-row:2}#repair-header.is-admin>.admin-login-badge{grid-column:3;grid-row:2}#repair-header.is-admin>span:not(.admin-login-badge){grid-row:3}#repair-header.is-admin>nav{grid-row:4}}

.customer-case-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}.customer-case-actions>button,.customer-case-actions>select{box-sizing:border-box;height:44px;min-height:44px;margin:0;font:inherit;line-height:1.2}.customer-case-actions>button{flex:0 0 auto}.customer-case-actions>select{flex:1 1 auto;min-width:0;max-width:100%;padding:0 32px 0 12px}.repair-items input:disabled+span{opacity:.45}

#completion-payment-popup.visit-schedule-dialog{display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}#completion-payment-popup.visit-schedule-dialog .completion-payment-scroll{flex:1 1 auto;min-height:0;overflow:auto}#completion-payment-popup .visit-schedule-form{flex:0 0 auto;margin:0;padding:14px 20px;background:#fff;border-top:1px solid #cce5e6}#completion-payment-popup .visit-schedule-form label{display:flex;align-items:center;gap:12px;font-weight:700}#completion-payment-popup .visit-schedule-form input{flex:1;min-width:0;height:44px}#completion-payment-popup .visit-schedule-form button{margin-top:8px;min-height:46px}#completion-payment-popup .visit-schedule-form p:empty{display:none}

/* Guidance stays before the submit button in one row; text may wrap within its column. */
#intake #intake-submit-wrap{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:14px;box-sizing:border-box;width:100%;min-width:0;padding-top:12px}
#intake #intake-submit-wrap #shipping-hint{position:static;transform:none;order:0;flex:1 1 0;min-width:0;max-width:none;margin:0;font-size:16px;font-weight:700;line-height:1.5;text-align:right;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;color:#a52d2d}
#intake #intake-submit-wrap #intake-submit{order:1;flex:0 0 auto;width:auto;min-width:104px;max-width:none;margin:0;padding:12px 18px;white-space:nowrap}

#repair-shipping-address-dialog .repair-shipping-address-card .contact-phone{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;white-space:nowrap;margin:6px 0 0}
#repair-shipping-address-dialog .contact-phone .contact-action{box-sizing:border-box;flex:0 0 36px;width:36px;height:36px;margin:0;padding:0;vertical-align:middle}
#repair-shipping-address-dialog .contact-phone .contact-action svg{display:block;flex:none;width:19px;height:19px}
@media(max-width:360px){#repair-shipping-address-dialog .repair-shipping-address-card{padding:14px}#repair-shipping-address-dialog .contact-phone{font-size:14px;gap:6px}}

#intake .intake-next-field{display:block;position:relative;width:100%;min-width:0}
#intake .intake-next-field>input,#intake .intake-next-field>textarea{box-sizing:border-box;width:100%;padding-right:52px}
#intake .intake-next-button{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:0;margin:0;padding:9px;border:0;border-radius:10px;background:#e5f6f3;color:#078487}
#intake .intake-next-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

#intake label.address-unused-choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:32px;margin:0;padding:0;font-size:15px;line-height:1.4;cursor:pointer}
#intake label.address-unused-choice[hidden]{display:none!important}
#intake label.address-unused-choice>input[type="checkbox"]{position:static;display:block;flex:0 0 18px;box-sizing:border-box;width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;transform:none;accent-color:#078487}

#large-transfer{position:fixed;top:max(16px,env(safe-area-inset-top));bottom:auto;z-index:2147483647;pointer-events:none}#large-transfer .transfer-row{border:2px solid #079e94;box-shadow:0 6px 24px #133a4940}#large-transfer .transfer-percent{font-size:16px}#large-transfer progress{height:10px}

/* Upload status belongs directly below the conversation, above the composer. */
#large-transfer{position:static;inset:auto;transform:none;box-sizing:border-box;width:100%;max-width:none;margin:0;z-index:auto;pointer-events:none}
#large-transfer .transfer-row{padding:6px 10px;border:0;border-radius:0;background:#f0faf8;box-shadow:none}
#large-transfer .transfer-row>div{font-size:11px;gap:8px;align-items:center}
#large-transfer .transfer-label{flex:1;min-width:0}
#large-transfer .transfer-percent{font-size:11px;white-space:nowrap}
#large-transfer progress{height:3px;margin-top:4px}

.messages #large-transfer,.shared-upload-message{box-sizing:border-box;width:90%;max-width:420px;margin:10px 8px 10px auto;border-radius:12px;overflow:hidden;background:#fff9bf;padding:10px}.shared-upload-message strong,.shared-upload-message span,.shared-upload-message small{display:block;overflow-wrap:anywhere}.shared-upload-message span{font-weight:700;color:#087e80;margin:6px 0}.shared-upload-message progress{width:100%;height:5px;accent-color:#079a91}.shared-upload-message small{font-size:11px;color:#657a7e}

#sticker-panel:not([hidden]){display:block!important;max-height:240px!important;overflow-y:auto!important;padding:9px!important;background:#fff!important;border-radius:14px!important}#sticker-panel[hidden]{display:none!important}#sticker-panel .sticker-tabs{display:flex!important;position:sticky;top:0;gap:4px;background:white;padding-bottom:7px;flex-wrap:wrap}#sticker-panel .sticker-tabs button{font-size:11px!important;min-height:28px!important;padding:4px 9px!important;border:1px solid #c7e3e5;border-radius:8px;background:white}#sticker-panel .sticker-tabs button[aria-pressed=true]{background:#d9f1ed;color:#087e82}#sticker-panel .sticker-grid{display:grid!important;grid-template-columns:repeat(auto-fill,32px)!important;gap:4px!important;overflow:visible!important;margin:0 0 7px!important}#sticker-panel .sticker-grid button{width:32px!important;height:32px!important;min-height:32px!important;padding:3px!important;border:1px solid #dfebed!important;border-radius:8px!important;background:#fff!important}.repair-emoji{width:24px!important;height:24px!important;display:inline-block!important;vertical-align:middle;object-fit:contain}.chat-row .chat-sticker{font-size:15px!important;line-height:1.5!important;padding:2px!important;overflow-wrap:anywhere}

/* Keep the shared bar outside the repair workspace layout. */
html body #hws-shared-topbar{max-width:none!important;grid-column:1/-1!important;flex:0 0 100%!important}

/* Logout belongs only to the shared top bar. */
#repair-header>.admin-login-badge{display:none!important}
#repair-header.is-admin{grid-template-columns:minmax(0,1fr) auto auto}

/* Shared consultation / intake landing layout */
body:has(#app .welcome) #repair-header{box-sizing:border-box;width:calc(100% - 40px);max-width:1000px;margin:0 auto;padding:26px 0 18px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
body:has(#app .welcome) #repair-header>.customer-brand-contact{width:auto;flex:1 1 auto}
body:has(#app .welcome) #repair-header>span{flex-basis:100%;order:3;margin:0}
body:has(#app .welcome) #repair-header>#repair-tone-choice{margin:0}
body:has(#app .welcome) #customer-latest-notice{box-sizing:border-box;width:calc(100% - 40px);max-width:1000px;margin:0 auto 20px;box-shadow:none;animation:none}
#hws-service-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;width:calc(100% - 40px);max-width:1000px;margin:0 auto 40px}
#hws-service-pair>#hws-consult-widget{display:block;min-width:0;position:static}
#hws-service-pair>#app{width:100%;max-width:none;min-width:0;margin:0;padding:0}
#hws-service-pair .card.welcome{width:100%;box-sizing:border-box;min-height:580px;margin:0;padding:32px 28px;border-radius:20px;display:flex;flex-direction:column;justify-content:center;border-color:#d6e7ea;box-shadow:0 8px 28px #163e4810}
#hws-service-pair .welcome-mark{font-size:48px}
#hws-service-pair .welcome-brand{font-size:29px}
#hws-service-pair .welcome h1{font-size:27px;line-height:1.45;margin:22px 0}
#hws-service-pair .welcome-features{gap:8px;margin:22px 0}
#hws-service-pair .welcome-features span{padding:7px 10px;font-size:12px}
#hws-service-pair .welcome .primary{margin-top:8px}
@media(max-width:760px){#hws-service-pair{grid-template-columns:minmax(0,1fr);gap:18px;width:calc(100% - 24px)}body:has(#app .welcome) #repair-header,body:has(#app .welcome) #customer-latest-notice{width:calc(100% - 24px)}#hws-service-pair .card.welcome{min-height:0;padding:30px 22px}#hws-service-pair .welcome-brand{font-size:27px}}

body:has(#app .welcome) #repair-header{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px 12px;padding:22px 24px;margin-top:20px;margin-bottom:16px;background:#fff;border:1px solid #d6e7ea;border-radius:18px;box-shadow:0 5px 20px #17394705}
body:has(#app .welcome) #repair-header>.customer-brand-contact{grid-column:1;grid-row:1;width:100%;min-width:0}
body:has(#app .welcome) #repair-header>span{grid-column:1/-1;grid-row:2;order:initial;line-height:1.5}
body:has(#app .welcome) #repair-header>#repair-tone-choice{grid-column:2;grid-row:1;align-self:center;justify-self:end;margin:0!important}
body:has(#app .welcome) #repair-header>nav{display:none}
@media(max-width:480px){body:has(#app .welcome) #repair-header{padding:16px 12px;gap:8px 6px}body:has(#app .welcome) .customer-brand-contact>a{font-size:17px}}

body:has(#app .welcome) #repair-header{grid-template-columns:auto minmax(0,1fr) 38px 38px;column-gap:16px}
body:has(#app .welcome) #repair-header>.customer-brand-contact{grid-column:1;grid-row:1}
body:has(#app .welcome) #repair-header>span{grid-column:1;grid-row:2}
body:has(#app .welcome) #repair-header>#sound-control{grid-column:3;grid-row:1/3;align-self:center;margin:0!important}
body:has(#app .welcome) #repair-header>#repair-tone-choice{grid-column:4;grid-row:1/3;align-self:center}
body:has(#app .welcome) #repair-header>#customer-latest-notice{grid-column:2;grid-row:1/3;align-self:center;justify-self:stretch;width:100%;max-width:none;margin:0;border:0;background:transparent;box-shadow:none;animation:none;overflow:visible;position:relative}
body:has(#app .welcome) #customer-latest-notice>summary{display:flex;justify-content:center;align-items:center;min-height:44px;padding:10px 12px;text-align:center;list-style:none;font-size:14px}
body:has(#app .welcome) #customer-latest-notice>summary::-webkit-details-marker{display:none}
body:has(#app .welcome) #customer-latest-notice>summary:before{content:'공지';flex:none;font-size:11px;padding:3px 7px;border-radius:6px;background:#e0f6f0;margin-right:8px;color:#087f83}
body:has(#app .welcome) #customer-latest-notice .customer-notice-body{position:absolute;top:100%;left:0;right:0;z-index:20;min-width:240px;padding:16px;background:#fff;border:1px solid #cce4e4;border-radius:12px;box-shadow:0 8px 24px #163e4820;text-align:left}
@media(max-width:760px){body:has(#app .welcome) #repair-header{grid-template-columns:minmax(0,1fr) 38px 38px;gap:8px}body:has(#app .welcome) #repair-header>#sound-control{grid-column:2;grid-row:1/3}body:has(#app .welcome) #repair-header>#repair-tone-choice{grid-column:3;grid-row:1/3}body:has(#app .welcome) #repair-header>#customer-latest-notice{grid-column:1/-1;grid-row:3}body:has(#app .welcome) #customer-latest-notice .customer-notice-body{position:static;min-width:0}}

body:has(#app .welcome) #repair-header>#customer-latest-notice{border:1px solid #c4afe3;border-radius:12px;background:#f6f1fc}
body:has(#app .welcome) #customer-latest-notice>summary{color:#653798;font-weight:700}
body:has(#app .welcome) #customer-latest-notice>summary:before{color:#653798;background:#e9ddf6}
body:has(#app .welcome) #customer-latest-notice>summary:hover{background:#ede3f8;border-radius:11px;color:#4e247c}
body:has(#app .welcome) #customer-latest-notice .customer-notice-body{border-color:#c4afe3}

/* Keep intake available above the conversation on phones. */
@media(max-width:760px){
 #hws-service-pair>#app{grid-row:1}
 #hws-service-pair>#hws-consult-widget{grid-row:2}
 #hws-service-pair .card.welcome{min-height:0;padding:14px 16px;text-align:left;border-radius:16px}
 #hws-service-pair .welcome-mark,#hws-service-pair .welcome-brand,#hws-service-pair .welcome>.muted,#hws-service-pair .welcome h1,#hws-service-pair .welcome>p,#hws-service-pair .welcome-features{display:none}
 #hws-service-pair .welcome .primary{margin:0;min-height:50px;font-size:17px}
 #hws-service-pair .welcome small{margin-top:7px;text-align:center;font-size:11px}
 #hws-service-pair{gap:12px}
}

/* Desktop intake form stays focused on registration. */
@media(min-width:761px){html body:has(#app #intake) #hws-consult-widget{display:none!important}}

@media(max-width:760px){body:has(#hws-service-pair){overflow:hidden}#hws-service-pair>#app{display:none}body:has(#hws-service-pair) #repair-header{visibility:hidden}}

@media(min-width:761px){#hws-service-pair .card.welcome{min-height:900px}}

.intake-first-step{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 12px;border:1px solid #a7dcd1;border-radius:12px;background:#eaf9f3;color:#165b57}.intake-first-step>span{font-size:32px;line-height:1;animation:intakeGuidePoint 1.3s ease-in-out infinite}.intake-first-step strong,.intake-first-step small{display:block}.intake-first-step strong{font-size:16px}.intake-first-step small{font-size:13px;margin-top:3px;color:#49746d}.intake-first-highlight{outline:2px solid #36b8a1;outline-offset:3px}@keyframes intakeGuidePoint{50%{transform:translateY(5px)}}@media(prefers-reduced-motion:reduce){.intake-first-step>span{animation:none}}

.intake-first-step>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#d3eee7;color:#087f83}.intake-first-step>span svg{width:24px;height:24px}

/* Keep expanded header notices above the paired consultation panels. */
@media(min-width:761px){
 body:has(#hws-service-pair) #repair-header{position:relative;z-index:30;overflow:visible}
 #hws-service-pair{position:relative;z-index:1;isolation:isolate}
 body:has(#hws-service-pair) #customer-latest-notice{z-index:31}
 body:has(#hws-service-pair) #customer-latest-notice .customer-notice-body{z-index:32}
}

@media(prefers-reduced-motion:no-preference){#intake .intake-first-highlight{transition:background-color .45s ease,box-shadow .45s ease,border-color .45s ease}#intake .intake-first-step{scroll-margin-block:36px}}

#intake .intake-first-step>span{width:46px;height:46px;flex-basis:46px;background:#352064;color:#ffcf45;border:1px solid #b88aff;box-shadow:0 0 12px #9a4fff88,0 0 24px #ffac4555;overflow:visible}
#intake .intake-first-step>span svg{width:32px;height:32px;overflow:visible;stroke-width:3}
#intake .guide-arrow-base{stroke:#ffc247;filter:drop-shadow(0 0 3px #ffad32)}
#intake .guide-arrow-flow{stroke:#fff9d9;stroke-width:4;stroke-dasharray:24 76;stroke-dashoffset:24;filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #ffc400);animation:intakeArrowFlow 1.15s linear infinite}
#intake .guide-arrow-tip{stroke:#ffe679;filter:drop-shadow(0 0 5px #ffca37);animation:intakeArrowTip 1.15s ease-in-out infinite}
@keyframes intakeArrowFlow{from{stroke-dashoffset:24}to{stroke-dashoffset:-76}}
@keyframes intakeArrowTip{0%,40%,100%{stroke:#ffc247;filter:drop-shadow(0 0 3px #ffad32)}75%{stroke:#fff;filter:drop-shadow(0 0 6px #fff3a0) drop-shadow(0 0 12px #ffbf00)}}
@media(prefers-reduced-motion:reduce){#intake .guide-arrow-flow,#intake .guide-arrow-tip{animation:none}}

#intake{position:relative}
#intake .intake-first-step{position:absolute;z-index:10;width:46px;height:46px;display:block;margin:0;padding:0;border:0;background:transparent;pointer-events:none}
#intake .intake-first-step>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#intake .intake-first-step>span{transform:translateX(-8px)}

/* Rainbow perimeter only while the customer is editing this field. */
#intake input:not([type=checkbox]):not([type=radio]):not([type=hidden]):focus,#intake textarea:focus,#intake select:focus,#intake .fixed-mobile:focus-within{
 border:2px solid transparent!important;outline:none!important;
 background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--intake-focus-angle),#ff477e,#ffaf35,#ffe665,#32db91,#26bfff,#7855ff,#ee55d2,#ff477e) border-box!important;
 animation:intake-focus-orbit 1.8s linear infinite!important;box-shadow:0 0 7px #b56aff55,0 0 16px #39caff30!important;
}
#intake .fixed-mobile input:focus{border:0!important;background:transparent!important;animation:none!important;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){#intake input:focus,#intake textarea:focus,#intake select:focus,#intake .fixed-mobile:focus-within{animation:none!important}}

#messages .repair-sender-profile{display:flex;align-items:center;gap:7px;margin-bottom:7px}#messages .chat-row.mine .repair-sender-profile{justify-content:flex-end}#messages .repair-sender-profile .chat-avatar{position:static;width:28px;height:28px;flex:0 0 28px;border-radius:10px;overflow:hidden;background:#edf9f7;display:grid;place-items:center;font-size:11px;color:#226573}#messages .repair-sender-profile .chat-sender{margin:0;font-size:12px;font-weight:600}

#case-list .record{position:relative;padding-right:58px}#case-list .record .case-unread-count{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#e53945;color:#fff;font-size:13px;font-weight:700;line-height:1;box-shadow:0 3px 9px #e539452b;font-variant-numeric:tabular-nums}

/* Sender photos are inside each bubble now; remove the obsolete avatar gutter. */
#messages.messages{padding-left:10px!important;padding-right:10px!important}
#messages>.chat-row{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:auto!important;align-self:flex-start!important;max-width:90%;box-sizing:border-box}
#messages>.chat-row.mine{margin-left:auto!important;margin-right:0!important;align-self:flex-end!important}

#chat-photo-viewer .photo-viewer-tools{position:relative;z-index:2;flex-shrink:0;background:#17232d}#chat-photo-viewer .photo-viewer-tools>[data-close]{width:auto;min-width:76px;flex-shrink:0;padding:0 12px;font-size:15px;font-weight:700;white-space:nowrap;border:1px solid #ffffff55}

.case-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;flex:1;min-width:0;border:1px solid #b9d6df;border-radius:12px;overflow:hidden;background:white}.case-summary .record{border:0!important;margin:0!important;min-width:0;width:100%;box-sizing:border-box}.case-link-copy{display:flex;align-items:center;justify-content:center;gap:5px;align-self:center;margin:8px;padding:9px;color:#087f83;background:#eff9f7;border:1px solid #cbe4e3;border-radius:10px;font-size:12px;white-space:nowrap}.case-summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.case-phone-row{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding:0 14px 12px;color:#486873;font-size:13px}.case-phone-row a{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf8f6;color:#087f83}.customer-device-note{font-size:12px;color:#6b8189;line-height:1.7}@media(max-width:480px){.case-link-copy span{display:none}.case-summary .record{padding:12px}.case-row{gap:7px}.case-link-copy{margin:6px;padding:9px}}

.intake-signature-dialog{width:min(560px,calc(100vw - 32px));box-sizing:border-box;max-height:90dvh;overflow:auto;border:1px solid #abd7d7;border-radius:18px;padding:22px;color:#163e49;background:#fff;box-shadow:0 18px 70px #001d3340}.intake-signature-dialog::backdrop{background:#092a3a80}.intake-signature-dialog h2{margin:0 0 12px}.intake-signature-dialog p{line-height:1.6}.intake-signature-dialog canvas{display:block;width:100%;height:auto;aspect-ratio:600/220;border:1px solid #93bdbd;border-radius:12px;background:#fbffff;touch-action:none;box-sizing:border-box}.signature-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.signature-actions button{min-height:44px}.signature-error{color:#b42318;min-height:24px;margin:8px 0}

.address-omit-option{grid-column:1/-1;display:flex!important;align-items:center;justify-content:flex-end;gap:7px;margin-bottom:-8px;font-size:13px}.address-omit-option[hidden]{display:none!important}.address-omit-option input{width:18px!important;height:18px!important;margin:0!important}.address-omitted{opacity:.55}#intake input,#intake textarea{scroll-margin-top:80px;scroll-margin-bottom:100px}

.address-field{display:flex;flex-direction:column;gap:8px}.address-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.address-field-heading .address-omit-option{margin:0;font-weight:400}.address-omitted .address-field-heading{opacity:1}

/* Keep address caption, checkbox and text on the same center line. */
#intake .address-field-heading{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;min-height:24px;line-height:20px}
#intake .address-field-heading>span{font-size:13px;font-weight:600;color:#425b65;line-height:20px}
#intake .address-field-heading label.address-omit-option{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:6px;margin:0!important;padding:0!important;min-height:24px;line-height:20px;white-space:nowrap;flex:0 0 auto}
#intake .address-field-heading label.address-omit-option[hidden]{display:none!important}
#intake .address-omit-option>input[type=checkbox]{display:block;position:static;box-sizing:border-box;flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px;min-height:18px;padding:0!important;margin:0!important;transform:none;align-self:center}
#intake .address-omit-option>span{display:block;line-height:20px;margin:0;padding:0}

@property --signature-border-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
.intake-signature-dialog{width:min(620px,calc(100vw - 24px));padding:22px}
.signature-pad-frame{position:relative;isolation:isolate;width:min(100%,420px);aspect-ratio:1;margin:18px auto 12px;border-radius:26px;padding:3px;box-sizing:border-box;background:conic-gradient(from var(--signature-border-angle),#00c9ba,#429cff,#ab65ed,#ff83ab,#ffd071,#00c9ba);box-shadow:0 0 18px #329ece35;animation:signature-border-orbit 3s linear infinite}
.intake-signature-dialog .signature-pad-frame canvas{width:100%;height:100%;aspect-ratio:1;border:0;border-radius:23px;background:#fbffff;touch-action:none;display:block}
@keyframes signature-border-orbit{to{--signature-border-angle:360deg}}
@media(max-width:480px){.intake-signature-dialog{padding:18px}.signature-pad-frame{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.signature-pad-frame{animation:none}}

@property --intake-start-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
#intake-start-guide{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:12px 26px;border:2px solid transparent;border-radius:16px;font:inherit;font-size:clamp(23px,5vw,30px);font-weight:800;line-height:1.3;color:#075a63;background:linear-gradient(#f2fffc,#e6f9ff) padding-box,conic-gradient(from var(--intake-start-angle),#ff6689,#ffc83d,#55e99f,#24d9ed,#6594ff,#c66bff,#ff6689) border-box;cursor:pointer;animation:intakeStartOrbit 1s linear infinite,intakeStartGlow 1.4s ease-in-out infinite}
#intake-start-guide:focus-visible{outline:3px solid #075a63;outline-offset:5px}
@keyframes intakeStartOrbit{to{--intake-start-angle:360deg}}
@keyframes intakeStartGlow{0%,100%{box-shadow:0 0 9px #30d6b966,0 0 17px #8580ff33}50%{box-shadow:0 0 17px #30d6b999,0 0 29px #bd70ff66}}
@media(prefers-reduced-motion:reduce){#intake-start-guide{animation:none}}

#intake-start-guide.is-in-progress{animation-duration:.7s,1s}

@property --intake-step-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
#intake .intake-current-step{position:relative;isolation:isolate;overflow:visible}
#intake .intake-current-step::after{content:"";position:absolute;inset:-5px;border-radius:14px;padding:3px;pointer-events:none;background:conic-gradient(from var(--intake-step-angle),#ff6689,#ffcf52,#54e9a2,#26dcec,#6594ff,#c66bff,#ff6689);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:intakeStepOrbit .9s linear infinite}
#intake .intake-current-step{box-shadow:0 0 15px #30cfbf40,0 0 24px #aa79ef25;border-radius:12px}
@keyframes intakeStepOrbit{to{--intake-step-angle:360deg}}
@media(prefers-reduced-motion:reduce){#intake .intake-current-step::after{animation:none}}

.intake-start-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.intake-start-controls h1{margin:0!important}.intake-voice-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;border-radius:14px;border:1px solid #ccd3d6;color:#7c858b;background:#edf0f2;font-size:13px;font-weight:700;cursor:pointer}.intake-voice-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.intake-voice-toggle .voice-waves{display:none}.intake-voice-toggle.is-enabled .voice-waves{display:block}.intake-voice-toggle.is-enabled .voice-muted{display:none}.intake-voice-toggle.is-enabled{background:#e5fff8;color:#008477;border-color:#38d6bc;animation:intakeStartGlow 1.4s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.intake-voice-toggle.is-enabled{animation:none}}

/* Keep the next icon inside the actual input box, independent of label spacing. */
#intake .intake-next-field{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;box-sizing:border-box}
#intake .intake-next-field>input,#intake .intake-next-field>textarea{grid-area:1/1;margin:0!important;min-height:50px;padding-right:54px!important;min-width:0}
#intake .intake-next-field>.intake-next-button{grid-area:1/1;position:relative;top:auto;right:auto;transform:none;justify-self:end;align-self:center;margin:0 6px 0 0!important;box-sizing:border-box;width:36px;height:36px;min-height:36px;max-height:36px;padding:7px;background:#4b5058!important;color:#fff!important;border:1px solid #60656d;border-radius:9px;z-index:1}
#intake .intake-next-button svg{display:block;flex:none;width:21px;height:21px;stroke:#fff}
#intake .intake-next-button:hover{background:#383d45!important}

.intake-start-controls{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}.intake-start-controls h1{flex:0 1 auto;min-width:0}.intake-voice-toggle{flex:0 0 auto}.intake-items-next{display:block;margin:12px 0 0 auto;padding:10px 18px;min-height:44px;background:#087f83;color:white;border:0;border-radius:10px;font-weight:700}
@media(max-width:480px){.intake-start-controls #intake-start-guide{font-size:19px;padding:11px 12px;min-height:48px}.intake-voice-toggle{padding:9px 8px;font-size:12px;gap:4px}.intake-voice-toggle svg{width:20px;height:20px}}

.case-summary .case-unread-count{position:static!important;display:inline!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;color:#e33545!important;font-size:11px!important;font-weight:600!important;margin-left:8px!important;padding:0!important;white-space:normal!important;width:auto!important;height:auto!important;min-width:0!important}
.case-sms-actions{align-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;max-width:164px}.case-sms-actions .case-sms-send{margin:0;line-height:1.5}.case-sms-send span{display:block!important}.case-sms-status{font-size:11px;line-height:1.5;text-align:center;color:#536e78;overflow-wrap:anywhere}.case-sms-bulk{display:block;margin:0 0 16px auto;padding:10px 14px;border:1px solid #b9d6df;border-radius:10px;background:#eff9f7;color:#087f83}@media(max-width:480px){.case-sms-actions{max-width:115px;padding:5px}.case-sms-send{font-size:11px!important;padding:7px!important}}

.case-sms-actions{width:166px;max-width:166px;box-sizing:border-box;padding:10px 8px;gap:5px;align-self:center}.case-sms-actions .case-sms-send{width:100%;padding:9px 6px!important;font-size:12px!important;white-space:nowrap;justify-content:center;line-height:1.4}.case-sms-actions .case-sms-status{font-size:11px;white-space:nowrap;line-height:1.3;font-variant-numeric:tabular-nums}.case-sms-status:empty{display:none}@media(max-width:480px){.case-sms-actions{width:142px;max-width:142px;padding:8px 5px}.case-sms-actions .case-sms-send{font-size:11px!important}}

/* SMS action spans both customer detail rows, vertically centered. */
.case-summary>.case-sms-actions{grid-column:2;grid-row:1 / 3;align-self:stretch;justify-content:center;align-items:center}
.case-summary>.case-phone-row{grid-column:1;grid-row:2;flex-wrap:wrap;min-width:0}
.case-sms-actions .case-sms-send:not(:disabled){background:#087f83;color:#fff;border-color:#087f83;cursor:pointer}
.case-sms-actions .case-sms-send:disabled{background:#eef1f2;color:#8b969b;border-color:#dde2e4;box-shadow:none;opacity:1;cursor:default;animation:none}

/* Keep accessory confirmation reachable during guided intake. */
#intake fieldset.repair-items{scroll-margin-top:90px}
#intake .repair-items.intake-current-step .intake-items-next{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:5;box-shadow:0 2px 8px #1234}

/* Point to the intake start action until the guide begins. */
#intake-start-guide:not(.is-in-progress){position:relative;padding-right:48px}
#intake-start-guide:not(.is-in-progress)::after{content:'👆';position:absolute;right:8px;top:50%;font-size:30px;line-height:1;pointer-events:none;transform:translateY(-35%);animation:intakeStartTap 1.6s ease-in-out infinite}
@keyframes intakeStartTap{0%,45%,100%{transform:translateY(-25%) rotate(-8deg)}15%,32%{transform:translateY(-48%) rotate(-8deg)}23%{transform:translateY(-25%) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){#intake-start-guide:not(.is-in-progress)::after{animation:none}}

#intake fieldset.intake-items-guided.intake-current-step{display:flex;flex-direction:column;box-sizing:border-box;height:auto;max-height:var(--intake-items-height,calc(100dvh - 110px));min-height:0;overflow:hidden}
#intake .intake-items-guided.intake-current-step>.intake-items-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px}
#intake .intake-items-guided.intake-current-step>.intake-items-next{position:static;flex:0 0 auto;align-self:flex-end;margin-top:10px;min-height:44px}

/* Keep the guided item frame visible; only its list scrolls. */
#intake fieldset.intake-items-guided.intake-current-step{overflow:visible}
#intake fieldset.intake-items-guided.intake-current-step::after{display:block;content:"";z-index:6;inset:-5px;border-radius:14px;pointer-events:none}

#intake .intake-current-step .intake-items-next{animation:intakeNextGlow 1.25s ease-in-out infinite}
@keyframes intakeNextGlow{0%,100%{background-color:#087f83;box-shadow:0 2px 8px #1234}50%{background-color:#12a9a3;box-shadow:0 0 0 3px #4eddd040,0 0 15px #14b8a680}}
@media(prefers-reduced-motion:reduce){#intake .intake-current-step .intake-items-next{animation:none;box-shadow:0 0 0 2px #45cbbd}}

.intake-signature-dialog.signature-has-ink [data-action="confirm"]{position:relative;padding-right:45px;border:2px solid #61e4cf;animation:signatureConfirmGlow 1.1s ease-in-out infinite}
.intake-signature-dialog.signature-has-ink [data-action="confirm"]::after{content:'👆';position:absolute;right:7px;top:50%;font-size:29px;line-height:1;pointer-events:none;animation:intakeStartTap 1.6s ease-in-out infinite}
@keyframes signatureConfirmGlow{0%,100%{background:#087f83;border-color:#61e4cf;box-shadow:0 0 4px #15c6ae66}50%{background:#12aaa2;border-color:#c3fff0;box-shadow:0 0 0 3px #44dec540,0 0 19px #16c8afa0}}
@media(prefers-reduced-motion:reduce){.intake-signature-dialog.signature-has-ink [data-action="confirm"],.intake-signature-dialog.signature-has-ink [data-action="confirm"]::after{animation:none}}

/* Enlarge the original terms row in normal flow instead of overlaying a duplicate. */
#intake #terms .terms-checklist .check::after,#intake #terms .terms-intro::after{content:none!important;display:none!important}
#intake #terms .terms-checklist .check>span{transform:none!important;min-width:0;overflow-wrap:anywhere}
#intake #terms .terms-checklist .check{height:auto!important;max-height:none!important;align-items:flex-start;box-sizing:border-box;overflow-wrap:anywhere;transition:background-color .15s ease}
#intake #terms .terms-checklist .check:focus-within,#intake #terms .terms-checklist .check.terms-reading,#intake #terms .terms-intro.terms-reading{font-size:18px!important;line-height:1.8!important;background:#effbf7;color:#a32929;padding:10px!important;box-sizing:border-box;transform:none!important;overflow-wrap:anywhere}
@media(hover:hover){#intake #terms .terms-checklist .check:hover{font-size:18px!important;line-height:1.8!important;padding:10px!important;box-sizing:border-box}}

#intake #terms .intake-consent-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#intake #terms .intake-consent-actions>.terms-all{flex:1;min-width:0}#intake #terms .intake-consent-cancel{flex:0 0 auto;font-size:11px;font-weight:400;padding:8px 10px;min-height:36px;border:0;background:transparent;color:#667681;text-decoration:underline;cursor:pointer}

#intake #intake-submit-wrap{flex-wrap:wrap}#intake #intake-submit-wrap #shipping-hint{white-space:nowrap;word-break:keep-all;overflow-wrap:normal;flex:1 0 auto;max-width:100%;font-size:clamp(12px,3.5vw,16px)}

#intake #terms .intake-consent-cancel{font-size:14px;font-weight:600;min-width:64px;min-height:44px;padding:10px 14px;border:1px solid #bdcbd2;border-radius:9px;background:#f3f6f8;color:#3c5362;text-decoration:none;line-height:1.3}

#intake #terms .terms-checklist .check,#intake #terms .terms-checklist .check:hover,#intake #terms .terms-checklist .check:focus-within,#intake #terms .terms-checklist .check.terms-reading{font-size:13px!important;line-height:1.8!important;padding:0!important;transform:none!important}
#intake #terms .terms-intro,#intake #terms .terms-intro.terms-reading{font-size:13px!important;line-height:1.8!important;padding:0!important;transform:none!important}
.intake-terms-zoom-layer{position:fixed;z-index:2147483645;box-sizing:border-box;padding:14px 18px;border:1px solid #80cbbd;border-radius:14px;background:#f1fbf7;color:#8a2929;box-shadow:0 8px 26px #183f4933;font:18px/1.8 sans-serif;overflow-wrap:anywhere;overflow:auto;pointer-events:none;opacity:0;visibility:hidden;transform:scale(.9);transform-origin:center;transition:transform .32s cubic-bezier(.2,.75,.25,1),opacity .2s ease,visibility .2s}
.intake-terms-zoom-layer.is-visible{opacity:1;visibility:visible;transform:scale(1)}
@media(prefers-reduced-motion:reduce){.intake-terms-zoom-layer{transition:none}}

/* Shipping recipient details directly below the return method. */
.shipment-recipient-details{display:grid;grid-template-columns:4em minmax(0,1fr);gap:8px 12px;margin:12px 0 0;text-align:left;font-size:15px;line-height:1.55;user-select:text}
.shipment-recipient-details dt{font-weight:600;white-space:nowrap}
.shipment-recipient-details dd{margin:0;min-width:0;overflow-wrap:anywhere;font-weight:700;color:inherit}

.shipment-recipient-details .shipment-recipient-phone{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shipment-recipient-phone>span{white-space:nowrap}.shipment-recipient-phone .contact-action{flex:0 0 36px;width:36px;height:36px;margin:0;padding:0;border-radius:10px}.shipment-recipient-phone .contact-action svg{width:19px;height:19px}

/* Keep the recipient number and both contact actions on the same line. */
.shipment-recipient-details .shipment-recipient-phone{flex-wrap:nowrap;gap:6px;white-space:nowrap}
.shipment-recipient-phone>span{flex:0 1 auto;min-width:0;font-variant-numeric:tabular-nums}
.shipment-recipient-phone .contact-action{flex:0 0 32px;width:32px;height:32px}
@media(max-width:480px){
 .shipment-recipient-details{grid-template-columns:3em minmax(0,1fr);column-gap:6px;font-size:14px}
 .shipment-recipient-details .shipment-recipient-phone{gap:4px}
 .shipment-recipient-phone .contact-action{flex-basis:30px;width:30px;height:32px}
}

@media(max-width:768px){.shipment-recipient.can-enlarge{cursor:zoom-in}.shipment-recipient.can-enlarge::after{content:'누르면 크게 보기';display:block;margin-top:10px;font-size:12px;font-weight:600;color:#087f83;text-align:right}}
.shipment-recipient-zoom{box-sizing:border-box;width:calc(100vw - 24px);max-width:520px;max-height:calc(100dvh - 32px);margin:auto;padding:0 20px 24px;border:1px solid #c8deda;border-radius:20px;background:#fff;color:#172f39;overflow-y:auto;box-shadow:0 16px 70px #0004}
.shipment-recipient-zoom::backdrop{background:#10242bcc}
.shipment-recipient-zoom>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -2px 14px;padding:16px 0;background:#fff;border-bottom:1px solid #dfe9e8;font-size:20px;color:#172f39}
.shipment-recipient-zoom>header button{flex:none;min-width:64px;min-height:44px;padding:8px 12px;border:1px solid #bddbd7;border-radius:12px;background:#eaf7f4;color:#125c54;font-size:17px;font-weight:700}
.shipment-recipient-zoom .shipment-recipient-details{display:block;margin:0;font-size:24px;line-height:1.6}
.shipment-recipient-zoom .shipment-recipient-details dt{margin-top:18px;font-size:16px;color:#53676d}
.shipment-recipient-zoom .shipment-recipient-details dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}
.shipment-recipient-zoom .shipment-recipient-details .shipment-recipient-phone{display:flex;flex-wrap:nowrap;gap:6px;font-size:clamp(18px,5.4vw,24px)}
.shipment-recipient-zoom .shipment-recipient-phone .contact-action{flex:0 0 40px;width:40px;height:44px}
.shipment-recipient-zoom .contact-action svg{width:22px;height:22px}

/* Search occupies the space to the left of the existing management buttons. */
#app .case-controls{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important}
#app .case-controls #admin-case-search{order:-10!important;flex:1 1 0!important;width:0!important;min-width:0!important;height:44px!important;margin:0 auto 0 0!important;padding:10px 12px!important;box-sizing:border-box!important}
#app .case-controls>button,#app .case-controls>.select-all-icon{flex-shrink:0!important}
@media(max-width:480px){#app .case-controls{gap:5px!important}#app .case-controls #admin-case-search{font-size:13px!important;padding:8px!important}}

/* Personal estimate uses the same server schedule as the customer view. */
.case-sms-actions .case-personal-queue{font-size:11px;line-height:1.4;white-space:nowrap;color:#087f83;font-variant-numeric:tabular-nums}.case-personal-queue strong{font-weight:700}

/* One fixed palette per repair stage, independent of selection and hover. */
#case-list .case-stage-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px}
#case-list .case-stage-badge{--stage-color:#526674;display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:var(--stage-color)!important;color:#fff!important;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;animation:case-stage-ambient 2.8s ease-in-out infinite}
#case-list .case-stage-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
#case-list .case-stage-badge[data-stage="0"]{--stage-color:#2864bd}
#case-list .case-stage-badge[data-stage="1"]{--stage-color:#007d91}
#case-list .case-stage-badge[data-stage="2"]{--stage-color:#13805d}
#case-list .case-stage-badge[data-stage="3"]{--stage-color:#aa6309}
#case-list .case-stage-badge[data-stage="4"]{--stage-color:#7650ad}
#case-list .case-stage-badge[data-stage="5"]{--stage-color:#95612c}
#case-list .case-stage-badge[data-stage="6"]{--stage-color:#bc4f24}
#case-list .case-stage-badge[data-stage="7"]{--stage-color:#257b35}
#case-list .case-stage-badge[data-stage="8"]{--stage-color:#b03d64}
#case-list .case-stage-badge[data-stage="9"]{--stage-color:#40637f}
#case-list .case-stage-badge[data-stage="10"]{--stage-color:#147a76}
#case-list .case-stage-badge[data-stage="11"]{--stage-color:#595ab3}
#case-list .case-stage-badge[data-stage="12"]{--stage-color:#126749}
#case-list .case-stage-badge[data-stage="13"]{--stage-color:#626c77}
#case-list .case-intake-time{font-size:11px;color:#617f90}
@keyframes case-stage-ambient{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 9px -2px var(--stage-color)}}
@media(prefers-reduced-motion:reduce){#case-list .case-stage-badge{animation:none}}

#case-list .case-phone-copy-text{background:transparent!important;border:0!important;padding:0!important;margin:0!important;font:inherit;color:inherit;cursor:pointer;box-shadow:none!important}#case-list .case-phone-copy-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:0;margin:0;border:1px solid transparent!important;border-radius:50%;background:#edf8f6!important;color:#087f83;cursor:pointer;box-shadow:none!important}#case-list [data-copy-phone]::before,#case-list [data-copy-phone]::after{display:none!important}#case-list .case-phone-copy-icon:hover{border-color:#087f83!important}#case-list [data-copy-phone]:active{transform:scale(.95);filter:brightness(.88)}

#case-list .case-google-message{position:relative;flex-shrink:0;box-sizing:border-box;border:1px solid transparent!important;background:#e8f0fe!important;color:#1967d2!important;box-shadow:none!important;animation:none!important}#case-list .case-google-message span{position:absolute;right:3px;bottom:1px;font:bold 10px Arial;color:#1967d2;background:#e8f0fe;line-height:11px}#case-list .case-google-message:hover{border-color:#1967d2!important;outline:none!important;box-shadow:none!important}#case-list .case-google-message::before,#case-list .case-google-message::after{display:none!important}#case-list .case-google-message:active{transform:scale(.95);filter:brightness(.88)}

#case-list .case-google-message{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;width:auto!important;height:36px;padding:0 9px;border-radius:9px;font-size:12px;text-decoration:none;white-space:nowrap}#case-list .case-google-message span{position:static!important;background:transparent!important;font:inherit!important;line-height:1.3!important}#case-list .case-google-message svg{width:17px;height:17px;flex-shrink:0}

@media(max-width:760px){#case-list .case-google-message.case-google-message{display:none!important}}

#intake.awaiting-voice-choice{display:none!important}.intake-voice-toggle[hidden]{display:none!important}.intake-voice-choice{padding:24px;border:1px solid #c8e4e4;border-radius:14px;background:#f2faf9;margin:20px 0;color:#24515d}.intake-voice-choice h2{font-size:20px;margin:0 0 12px}.intake-voice-choice p{line-height:1.7}.intake-voice-choice>div{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.intake-voice-choice button{flex:1;min-width:180px;padding:14px;border:1px solid #bddbdc;border-radius:10px;background:white;color:#24515d;font:inherit;font-weight:700;cursor:pointer}.intake-voice-choice [data-voice="on"]{background:#087f83;color:white;border-color:#087f83}.intake-voice-choice small{display:block;line-height:1.7;color:#617d85}.intake-voice-choice button:active{transform:scale(.97)}

/* Mobile admin list: keep desktop rules unchanged. */
@media(max-width:760px){
 #app .case-controls{flex-wrap:wrap!important;gap:8px!important}
 #app .case-controls #admin-case-search{flex:0 0 100%!important;width:100%!important;margin:0 0 2px!important;font-size:16px!important;padding:10px 12px!important}
 #app .case-sms-bulk{width:100%;margin:0 0 16px;font-size:13px;white-space:normal}
 #app .card:has(#case-list){padding:14px}
 #case-list .case-date{margin:18px 0 8px;padding:9px 12px;font-size:14px}
 #case-list .case-row{align-items:flex-start;gap:7px;margin-bottom:8px}
 #case-list .case-row>input{width:18px;height:18px;margin-top:17px}
 #case-list .case-summary{grid-template-columns:minmax(0,1fr);min-width:0}
 #case-list .case-summary>.record{grid-column:1;grid-row:1;padding:12px!important;text-align:left}
 #case-list .record>strong{font-size:15px;line-height:1.5;word-break:normal;overflow-wrap:anywhere}
 #case-list .case-summary>.case-phone-row{grid-column:1;grid-row:2;flex-wrap:nowrap;gap:7px;padding:0 12px 12px;font-size:13px}
 #case-list .case-phone-copy-text{white-space:nowrap;flex:0 0 auto;min-height:36px;font-variant-numeric:tabular-nums}
 #case-list .case-phone-row>a{flex-shrink:0}
 #case-list .case-summary>.case-sms-actions{grid-column:1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none;padding:10px 12px;gap:5px;border-top:1px solid #e3eded;background:#f8fbfb;justify-items:start}
 #case-list .case-sms-actions .case-sms-send{width:100%;margin:0;min-height:38px;font-size:12px!important}
 #case-list .case-sms-actions .case-personal-queue,#case-list .case-sms-actions .case-sms-status{white-space:normal;text-align:left;font-size:11px}
}

/* Voice choice precedes the intake heading and all form fields. */
body:has(#intake.awaiting-voice-choice) #app> :not(.intake-card){display:none!important}
.intake-card:has(#intake.awaiting-voice-choice)>.intake-heading{display:none!important}
.intake-card:has(#intake.awaiting-voice-choice){padding:0;overflow:hidden}
.intake-card .intake-voice-choice{display:grid;grid-template-columns:minmax(0,1fr) 40%;margin:0;padding:0;border:0;border-radius:20px;background:linear-gradient(125deg,#fff,#eff8f6);overflow:hidden}
.intake-voice-choice>.intake-voice-copy{display:block;margin:0;padding:32px;min-width:0}
.intake-voice-eyebrow{font-size:11px;letter-spacing:.7px;color:#16847e}
.intake-voice-choice h2{font-size:25px;line-height:1.4;margin:12px 0}
.intake-voice-options{display:grid;gap:10px;margin:22px 0 16px}
.intake-voice-choice .intake-voice-options button{display:flex;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;padding:14px;background:#fff;color:#24515d;border:1px solid #cbdedb;border-radius:12px}
.intake-voice-choice .intake-voice-options [data-voice=on]{background:#e8f5f1;color:#165f58;border-color:#acd0c6}
.intake-voice-options svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.intake-voice-options b{font-size:15px}.intake-voice-options small{font-size:12px;margin-top:4px;font-weight:400}
.intake-guide-portrait{width:100%;height:100%;min-height:380px;object-fit:cover;object-position:center}
@media(max-width:600px){
 body:has(#intake.awaiting-voice-choice) #repair-header{padding:12px 16px;gap:3px}
 body:has(#intake.awaiting-voice-choice) #repair-header nav{display:none}
 .intake-card .intake-voice-choice{display:block;position:relative}
 .intake-voice-choice>.intake-voice-copy{padding:22px 18px;position:relative;z-index:1}
 .intake-voice-choice h2{font-size:20px;max-width:65%;margin:10px 0}
 .intake-voice-choice p{font-size:13px;max-width:65%;margin-bottom:18px}
 .intake-voice-choice>.intake-guide-portrait{position:absolute;right:0;top:0;width:30%;height:155px;min-height:0;object-position:center top;border-radius:0 0 0 18px}
 .intake-voice-options{margin:18px 0 12px}
 .intake-voice-choice .intake-voice-options button{min-height:65px;padding:12px}
 .intake-voice-copy>small{font-size:11px}
}

#intake .repair-items .repair-item-other{display:flex;align-items:center;gap:12px;white-space:nowrap;word-break:keep-all}#intake .repair-items .repair-item-other>input,#intake .repair-items .repair-item-other>div{flex:1 1 0;min-width:0;width:0;margin-top:0}

.intake-voice-choice h2{white-space:nowrap;font-size:clamp(17px,2.5vw,25px)}@media(max-width:600px){.intake-voice-choice h2{max-width:none;font-size:clamp(15px,4.3vw,20px);letter-spacing:-.6px}.intake-voice-choice>.intake-guide-portrait{width:26%}}

#intake #terms .terms-speak{width:auto;gap:7px;height:38px;min-height:38px;padding:7px 12px;border-radius:10px;white-space:nowrap}#intake #terms .terms-speak span{font-size:13px;font-weight:600;line-height:1}#intake #terms .terms-speak svg{width:20px;height:20px;flex-shrink:0}

/* Intake contact and mobile portrait spacing. */
.intake-company-contact{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.intake-company-contact>span{font-weight:600;margin-right:4px}
.intake-parking-note{position:relative;overflow:hidden;width:fit-content;max-width:100%;isolation:isolate}
.intake-parking-note::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.85) 50%,transparent 75%);transform:translateX(-140%);animation:intake-parking-glass 4s ease-in-out infinite}
@keyframes intake-parking-glass{0%,55%{transform:translateX(-140%)}90%,100%{transform:translateX(140%)}}
@media(prefers-reduced-motion:reduce){.intake-parking-note::after{animation:none}}
@media(max-width:600px){
 .intake-card .intake-voice-choice{display:grid;grid-template-columns:minmax(0,1fr) 28%;column-gap:12px;padding:20px 18px}
 .intake-voice-choice>.intake-voice-copy{display:contents}
 .intake-voice-choice .intake-voice-eyebrow{grid-column:1;grid-row:1;align-self:end}
 .intake-voice-choice h2{grid-column:1;grid-row:2;white-space:normal;max-width:none;margin:8px 0;font-size:clamp(16px,4.3vw,20px)}
 .intake-voice-choice p{grid-column:1;grid-row:3;max-width:none;margin:0;font-size:13px}
 .intake-voice-choice>.intake-guide-portrait{position:static;grid-column:2;grid-row:1/4;align-self:center;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;border-radius:14px}
 .intake-voice-choice .intake-voice-options{grid-column:1/-1;grid-row:4;margin:20px 0 12px}
 .intake-voice-copy>small{grid-column:1/-1;grid-row:5}
}

/* Voice option: glass sheen and travelling border light only. */
@property --intake-voice-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.intake-voice-choice .intake-voice-options [data-voice=on]{position:relative;isolation:isolate;overflow:hidden;border:2px solid transparent;background:linear-gradient(#e8f5f1,#e8f5f1) padding-box,conic-gradient(from var(--intake-voice-angle),#acd0c6 0deg,#acd0c6 280deg,#19b6b0 315deg,#fff 340deg,#acd0c6 360deg) border-box;animation:intake-voice-border 3s linear infinite}
.intake-voice-choice .intake-voice-options [data-voice=on]::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);transform:translateX(-140%);animation:intake-voice-glass 4s ease-in-out infinite}
.intake-voice-options button>span{min-width:0}
.intake-voice-options small{display:block;white-space:normal}
@keyframes intake-voice-border{to{--intake-voice-angle:360deg}}
@keyframes intake-voice-glass{0%,55%{transform:translateX(-140%)}90%,100%{transform:translateX(140%)}}
@media(prefers-reduced-motion:reduce){.intake-voice-choice .intake-voice-options [data-voice=on],.intake-voice-choice .intake-voice-options [data-voice=on]::after{animation:none}}

/* Replace the nested company card outline with one section divider. */
.intake-card .intake-company-info{border:0;border-bottom:1px solid #d6e5e8;border-radius:0;box-shadow:none;background:transparent}

.intake-card .intake-company-info{position:relative;border-bottom:0}
.intake-card .intake-company-info::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:1px;background:#d6e5e8;pointer-events:none}

#chat .chat-tools #repair-customer-notify{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;height:34px;padding:6px 10px;margin:0 0 0 5px;border:1px solid #bfdddd;border-radius:7px;background:#e8f0fe;color:#1967d2;font:600 12px/1.3 HwsHomePretendard,sans-serif;white-space:nowrap;cursor:pointer;transition:transform .12s,box-shadow .12s}
#chat .chat-tools #repair-customer-notify:hover{transform:translateY(1px);box-shadow:inset 0 2px 4px #173e4826;color:#1967d2}
#chat .chat-tools #repair-customer-notify:active{transform:translateY(2px) scale(.97);box-shadow:inset 0 3px 5px #173e4840}
#chat .chat-tools #repair-customer-notify:disabled{opacity:.6;cursor:wait}

.carrier-dialog .ship-carrier-actions{display:flex;align-items:center;gap:8px;margin-top:6px}.carrier-dialog .ship-carrier-actions .carrier-site{margin-top:0!important}.carrier-dialog .ship-carrier-actions .ship-carrier-call{width:30px;height:30px;flex:0 0 30px;border:1px solid #b9dedb;border-radius:7px}
