/* V14 commerce / support — shared product tokens, quiet grouped rows. */
.v13-workspace{--v13-ink:var(--v14-ink,#17211f);--v13-muted:var(--v14-muted,#6e7b76);--v13-line:var(--v14-line,#e5eae7);--v13-soft:var(--v14-bg,#f4f6f5);--commerce-accent:var(--v14-accent,#177a65);color:var(--v13-ink);padding-bottom:20px;min-width:0}
.v13-workspace *{box-sizing:border-box}.v13-workspace h1,.v13-workspace h2,.v13-workspace h3,.v13-workspace p{margin:0}.v13-workspace a{color:inherit;text-decoration:none}.v13-workspace button,.v13-workspace input,.v13-workspace select,.v13-workspace textarea{font:inherit}.v13-workspace .icon{width:20px;height:20px;flex:none}
.v13-section,.v13-record-card,.v14-details,.v14-state-block,.v14-settings-group{background:#fff;border:0;border-radius:16px;padding:16px;margin:12px 0;min-width:0;overflow-wrap:anywhere;box-shadow:none}.v13-record-card{display:block}.v14-record-list>.v13-record-card{margin:0;border-radius:0;border-bottom:1px solid var(--v13-line)}.v14-record-list{background:#fff;border-radius:16px;overflow:hidden;margin:10px 0 16px}.v14-record-list>.v13-record-card:last-child{border-bottom:0}.v13-record-card:active,.v14-chat-row:active,.v14-list-link:active{background:#f0f5f2}
.v13-section-title,.v13-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;min-width:0}.v13-section-title h2{font-size:15px;line-height:1.4;font-weight:650}.v13-record-heading>span:first-child{font-size:12px;font-weight:600}.v13-record-heading>small{color:var(--v13-muted);font-size:11px}.v13-record-heading h3{font-size:16px;line-height:1.4;font-weight:600;min-width:0}
.v13-status{display:inline-flex;align-items:center;flex-shrink:0;background:#f2f3f0;color:#776444;font-size:11px!important;line-height:1.4;font-weight:550;padding:4px 7px;border-radius:5px;white-space:nowrap}.v13-status.is-good{color:var(--commerce-accent);background:#edf6f1}
.v13-tabs{display:flex;gap:24px;min-width:0;border-bottom:1px solid var(--v13-line);margin:14px 0 4px;overflow-x:auto;scrollbar-width:none}.v13-tabs button{position:relative;border:0;border-radius:0;background:none;color:var(--v13-muted);min-height:44px;padding:10px 0;font-size:14px;white-space:nowrap}.v13-tabs button.active{font-weight:650;color:var(--v13-ink)}.v13-tabs button.active:after{content:'';position:absolute;height:3px;bottom:0;left:0;right:0;border-radius:3px;background:var(--commerce-accent)}.v14-list-toolbar{display:flex;align-items:center;gap:14px}.v14-list-toolbar>.v13-tabs{flex:1;margin:0}.v14-icon-action{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;min-width:44px;min-height:44px;padding:10px;color:var(--commerce-accent);border-radius:12px}.v14-icon-action:disabled{opacity:.35}
.v13-product-line{display:flex;align-items:center;gap:12px;padding:2px 0;min-width:0}.v13-product-line>div:last-child{min-width:0;flex:1}.v13-product-line h3{font-size:14px;font-weight:600;line-height:1.45}.v13-product-line p{font-size:12px;color:var(--v13-muted);line-height:1.5;margin:4px 0}.v13-product-line strong{font-size:13px;font-weight:600}.v13-product-art,.v13-product-placeholder{width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:10px!important;margin:0!important}.v13-product-placeholder{display:grid;place-items:center;background:var(--v13-soft);color:var(--v13-muted)}
.v13-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--v13-line);font-size:12px;line-height:1.5}.v13-card-footer>span{color:var(--v13-muted)}.v13-card-footer>b{display:flex;align-items:center;gap:4px;font-weight:600;flex-shrink:0}.v13-card-footer .icon{width:14px;height:14px}.v13-card-footer .btn{min-height:38px;padding:8px 12px;font-size:12px}
.v13-workspace .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.35;font-weight:600;box-shadow:none}.v13-workspace .btn.primary{background:var(--commerce-accent);border:1px solid var(--commerce-accent);color:#fff}.v13-workspace .btn.outline{background:#fff;border:1px solid var(--v13-line);color:var(--v13-ink)}.v13-workspace .btn:disabled{opacity:.45}.v13-workspace .full{width:100%}.v13-workspace button:focus-visible,.v13-workspace a:focus-visible{outline:3px solid #96cbbb;outline-offset:3px}
.v14-action-dock{display:flex;gap:10px;position:sticky;bottom:var(--v14-bottom-offset,0px);z-index:8;margin:16px -1px 0;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:linear-gradient(#f4f6f500,var(--v13-soft) 12px);isolation:isolate}.v14-action-dock>.btn{flex:1}.v14-secondary-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:12px 0}.v14-secondary-row>.btn{background:transparent!important;color:var(--v13-muted)!important;border:0!important;min-height:44px;padding:8px 12px;font-size:13px}
.v14-state-title{display:flex;align-items:flex-start;gap:12px}.v14-state-symbol{width:38px;height:38px;border-radius:12px;background:#f4f3ed;color:#89734e;display:grid;place-items:center;flex:none}.v14-state-symbol.done{background:#e9f5ee;color:var(--commerce-accent)}.v14-state-title h1{font-size:20px;line-height:1.4;letter-spacing:-.4px;font-weight:650}.v14-state-title p,.v14-state-copy{font-size:13px;color:var(--v13-muted);line-height:1.65;margin-top:5px!important}.v14-amount-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--v13-line)}.v14-amount-line>span{font-size:13px;color:var(--v13-muted)}.v14-amount-line>strong{font-size:25px;line-height:1.2;font-weight:650;letter-spacing:-.5px}.v14-amount-line small{display:block;font-size:10px;line-height:1.5;letter-spacing:0;color:var(--v13-muted);font-weight:400;margin-top:4px;text-align:right}.v14-next-row{display:flex;gap:10px;justify-content:space-between;font-size:12px;margin-top:16px}.v14-next-row>span{color:var(--v13-muted)}.v14-next-row>b{font-weight:500}
.v13-facts{margin:0}.v13-facts>div{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid var(--v13-line);font-size:13px;line-height:1.55}.v13-facts>div:last-child{border:0}.v13-facts dt{color:var(--v13-muted);font-weight:400;flex-shrink:0;max-width:45%}.v13-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.v14-details{padding:0}.v14-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:15px 16px;font-size:14px;font-weight:550;cursor:pointer}.v14-details>summary::-webkit-details-marker{display:none}.v14-details>summary .icon{width:16px;height:16px;color:var(--v13-muted);transform:rotate(90deg)}.v14-details[open]>summary .icon{transform:rotate(-90deg)}.v14-details>div{padding:0 16px 16px}.v14-details p,.v14-detail-copy{font-size:12px;color:var(--v13-muted);line-height:1.75;margin-top:10px!important}.v13-address>b{font-size:14px;font-weight:600}.v13-address>b span{font-size:13px;font-weight:400;margin-left:8px}.v13-address>p{font-size:13px;line-height:1.65;margin:7px 0}.v13-address>small{font-size:11px;color:var(--v13-muted);line-height:1.65;display:block}
.v14-page-caption{font-size:12px!important;line-height:1.65!important;color:var(--v13-muted);padding:4px 4px 8px!important}.v14-field-hint{font-size:12px;line-height:1.6;color:var(--v13-muted);margin:8px 0 12px!important}.v13-note{font-size:12px;line-height:1.7;color:var(--v13-muted);padding:8px 4px;margin:8px 0}.v13-muted,.v13-optional{font-size:12px;color:var(--v13-muted);line-height:1.6}.v13-optional{font-size:11px;font-weight:400}
.v13-workspace .field{display:block;font-size:13px;font-weight:550;line-height:1.6;margin:16px 0}.v13-workspace .field:first-child{margin-top:0}.v13-workspace .field:last-child{margin-bottom:0}.v13-workspace .field small{display:block;font-size:11px;font-weight:400;color:var(--v13-muted);margin-top:6px;line-height:1.6}.v13-workspace input:not([type=checkbox]),.v13-workspace textarea,.v13-workspace select{width:100%;min-width:0;min-height:46px;border:1px solid var(--v13-line);background:#fafbfa;color:var(--v13-ink);border-radius:10px;padding:12px;outline:none;font-size:14px;line-height:1.5;margin-top:7px;box-shadow:none}.v13-workspace textarea{resize:vertical;min-height:88px}.v13-workspace input:focus,.v13-workspace select:focus,.v13-workspace textarea:focus{border-color:var(--commerce-accent);box-shadow:0 0 0 3px #177a6512}.v13-workspace input[type=file]{font-size:11px}.v13-workspace input[type=file]::file-selector-button{border:0;border-radius:6px;background:#eaf2ed;color:var(--commerce-accent);padding:8px 10px;margin-right:8px}.v13-workspace [hidden]{display:none!important}.v13-workspace input[type=checkbox]{width:20px;height:20px;accent-color:var(--commerce-accent);margin:0;flex:none}
.v13-apply-item+.v13-apply-item{border-top:1px solid var(--v13-line);padding-top:16px;margin-top:16px}.v13-product-select{display:flex;align-items:center;gap:12px}.v13-product-select .v13-product-line{flex:1;min-width:0}.v13-quantity{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--v13-muted);margin-top:10px;padding-left:32px}.v13-workspace .v13-quantity input{width:70px;min-height:36px;padding:5px 8px;text-align:center;margin:0}
.v13-evidence{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.v13-evidence>div{position:relative;flex:0 0 72px}.v13-evidence img{width:72px;height:72px;display:block;object-fit:cover;border-radius:10px}.v13-evidence button{position:absolute;right:-6px;top:-6px;width:28px;height:28px;border-radius:50%;border:2px solid #fff;background:var(--commerce-accent);color:#fff;padding:4px;display:grid;place-items:center}.v13-evidence button .icon{width:15px;height:15px}.v13-evidence-remote{width:72px;height:72px;display:grid;place-items:center;font-size:10px;background:var(--v13-soft);border-radius:10px;text-align:center;overflow:hidden}.v13-receipt-label{font-size:12px;margin-top:16px!important}.v13-action-grid{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.v13-action-grid>.btn{flex:1 1 110px;min-width:0}
.v14-person{display:flex;align-items:center;gap:11px;min-width:0;padding:8px 0}.v14-person>img,.v14-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;display:grid;place-items:center;flex:none;background:#e7efea;color:var(--commerce-accent);font-size:17px;font-weight:600}.v14-person>div{min-width:0}.v14-person b{font-size:16px;font-weight:600;line-height:1.5}.v14-person small{display:block;font-size:12px;color:var(--v13-muted);line-height:1.5;margin-top:2px}.v14-booking-row .v14-person{padding:0}.v14-booking-row .v14-person>img,.v14-booking-row .v14-avatar{width:36px;height:36px}.v14-booking-row .v14-person b{font-size:14px}.v13-slot{display:block;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.2px}.v13-slot.large{font-size:21px;line-height:1.5;font-variant-numeric:tabular-nums}.v14-duration{font-size:12px!important;color:var(--v13-muted);font-weight:400!important}.v13-role-switch{display:flex;border-radius:12px;background:#e8ece9;padding:3px;gap:3px}.v13-role-switch button{flex:1;border:0;background:none;border-radius:9px;min-height:40px;font-size:13px;color:var(--v13-muted)}.v13-role-switch button.active{color:var(--v13-ink);background:#fff;box-shadow:0 1px 4px #17211f0c;font-weight:600}.v13-slot-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 18px}.v13-slot-options button{border:1px solid var(--v13-line);background:#fff;color:var(--v13-muted);border-radius:10px;min-height:44px;padding:10px 7px;font-size:11px;line-height:1.5}.v13-slot-options button.selected{border-color:var(--commerce-accent);background:#eff7f2;color:var(--commerce-accent)}
.v13-fulfillment{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--v13-line);padding:12px 4px;margin:8px 0 16px;color:var(--v14-ink,#17211f);text-decoration:none}.v13-fulfillment>div{display:grid;grid-template-columns:auto auto;gap:4px 12px;align-items:baseline}.v13-fulfillment span{font-size:12px;color:var(--v14-muted,#6e7b76)}.v13-fulfillment b{font-size:14px;font-weight:600}.v13-fulfillment small{grid-column:1/-1;font-size:10px;color:var(--v14-muted,#6e7b76);line-height:1.5}.v13-fulfillment>.icon{width:16px;height:16px}.v13-fulfillment.compact{padding:10px 0;margin:0 20px 14px}.v13-shortcuts{display:flex;gap:8px;padding:8px 0}.v13-shortcuts a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;background:#fff;border-radius:10px;font-size:12px;color:var(--v14-ink,#17211f);text-decoration:none}.v13-shortcuts .icon{width:16px;height:16px}
.v14-section-label{display:flex;align-items:center;gap:8px;padding:18px 4px 8px;font-size:12px;color:var(--v13-muted)}.v14-section-label>span{font-variant-numeric:tabular-nums}.v14-section-label>.text-btn{margin-left:auto;display:flex;align-items:center;gap:4px;min-height:32px;color:var(--commerce-accent);font-size:12px}.v14-settings-group{padding:0;margin:0 0 10px}.v14-toggle-row,.v14-slot-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border-bottom:1px solid var(--v13-line);min-width:0}.v14-toggle-row:last-child,.v14-slot-row:last-child{border:0}.v14-toggle-row>span,.v14-slot-row>div{min-width:0}.v14-toggle-row b,.v14-slot-row b{display:block;font-size:14px;font-weight:550;line-height:1.45}.v14-toggle-row small,.v14-slot-row small{display:block;font-size:11px;line-height:1.6;color:var(--v13-muted);margin-top:4px}.v13-workspace .v14-toggle-row input{appearance:none;width:46px;height:28px;border:0;border-radius:16px;background:#d5ddd8;position:relative;cursor:pointer;transition:background 160ms}.v13-workspace .v14-toggle-row input:before{content:'';position:absolute;width:24px;height:24px;top:2px;left:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform 160ms}.v13-workspace .v14-toggle-row input:checked{background:var(--commerce-accent)}.v13-workspace .v14-toggle-row input:checked:before{transform:translateX(18px)}.v14-save-row{display:flex;justify-content:flex-end;margin:4px 0 16px}.v14-save-row>.btn{min-height:40px;font-size:13px}
.v14-list-link,.v13-service-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:15px 16px;border-radius:13px;min-height:54px;margin:10px 0;font-size:13px;color:var(--v14-ink,#17211f);text-decoration:none}.v14-list-link>.icon,.v13-service-entry>.icon{width:16px;height:16px;color:var(--v13-muted)}.v13-service-entry>span{display:flex;align-items:center;gap:8px}.v14-support-shortcuts{display:flex;gap:10px}.v14-support-shortcuts>.v14-list-link{flex:1;font-weight:550;padding:14px 12px}.v14-chat-list{background:white;border-radius:16px;overflow:hidden}.v14-chat-row{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--v13-line)}.v14-chat-row:last-child{border:0}.v14-chat-row>div{min-width:0;flex:1}.v14-chat-title{display:flex;gap:8px;align-items:baseline;justify-content:space-between}.v14-chat-title b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v14-chat-title time{font-size:10px;color:var(--v13-muted);flex-shrink:0}.v14-chat-row p{font-size:12px;color:var(--v13-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0!important;line-height:1.5}.v14-chat-row small{font-size:10px;color:var(--commerce-accent)}.v14-chat-row>.icon{width:14px;height:14px;color:var(--v13-muted)}
.v14-chat-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0 14px;border-bottom:1px solid var(--v13-line)}.v14-chat-context h2{font-size:14px;font-weight:600;line-height:1.5}.v14-chat-context small{display:flex;align-items:center;gap:5px;color:var(--v13-muted);font-size:11px;line-height:1.5;margin-top:4px}.v14-chat-context .text-btn{font-size:12px;min-height:44px;color:var(--commerce-accent);flex-shrink:0}.v14-presence{width:6px;height:6px;border-radius:50%;background:var(--commerce-accent)}.v14-presence.closed{background:#a1aba5}.v14-order-context{font-size:11px;color:var(--v13-muted);padding:12px 0;overflow-wrap:anywhere}.v13-messages{display:flex;flex-direction:column;gap:16px;padding:20px 0;min-height:220px}.v13-message{align-self:flex-start;max-width:88%}.v13-message.mine{align-self:flex-end}.v13-message>small{display:block;font-size:10px;color:var(--v13-muted);line-height:1.5;margin:0 4px 5px}.v13-message.mine>small{text-align:right}.v13-message>p{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:15px 15px 15px 4px;padding:11px 14px}.v13-message.mine>p{background:#e1f1e8;color:#183e30;border-radius:15px 15px 4px 15px}.v14-chat-compose{position:sticky;bottom:var(--v14-bottom-offset,0px);display:flex;align-items:flex-end;gap:8px;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:var(--v13-soft);z-index:8}.v13-workspace .v14-chat-compose textarea{margin:0;min-height:46px;max-height:140px;resize:none;border:1px solid var(--v13-line);background:white;border-radius:23px;padding:11px 16px;font-size:14px;line-height:22px;flex:1}.v14-send{border:0;border-radius:50%;width:46px;height:46px;flex:none;display:grid;place-items:center;background:var(--commerce-accent);color:#fff}.v14-send>.icon{transform:rotate(-90deg);width:20px;height:20px}.v14-chat-ended{text-align:center;border-top:1px solid var(--v13-line);padding:16px}.v14-chat-ended p{font-size:12px;color:var(--v13-muted);line-height:1.7;margin-bottom:12px}.v13-empty-note{padding:30px 16px;text-align:center;color:var(--v13-muted);font-size:13px;line-height:1.7}
.v13-timeline{list-style:none;padding:8px 0 0;margin:0}.v13-timeline li{position:relative;margin-left:3px;border-left:1px solid var(--v13-line);padding:0 0 18px 17px}.v13-timeline li:last-child{border-left-color:transparent;padding-bottom:0}.v13-timeline li:before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;border-radius:50%;background:#bdcbc2;box-shadow:0 0 0 4px white}.v13-timeline li:first-child:before{background:var(--commerce-accent)}.v13-timeline b{display:block;font-size:12px;font-weight:500;line-height:1.6}.v13-timeline time{display:block;font-size:10px;color:var(--v13-muted);margin-top:4px}.v13-status-hero{padding:18px 4px;text-align:center}.v13-status-hero h1{font-size:22px;line-height:1.4;font-weight:650}.v13-status-hero p{color:var(--v13-muted);font-size:12px;line-height:1.7;margin-top:8px}.v13-status-hero>strong{display:block;font-size:32px;margin-top:12px}.v13-hero-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#e5f2eb;color:var(--commerce-accent);margin:0 auto 12px}.v13-rule{margin-top:20px;padding-top:16px;border-top:1px solid var(--v13-line);font-size:12px;line-height:1.7}.v13-rule p{margin-top:8px;color:var(--v13-muted)}
@media(max-width:350px){.v13-section,.v13-record-card,.v14-state-block{padding:14px}.v13-product-art,.v13-product-placeholder{width:56px!important;height:56px!important;flex-basis:56px!important}.v13-slot.large{font-size:18px}.v13-status{font-size:10px!important;padding:4px 6px}.v13-record-heading{gap:8px}.v14-person{gap:8px}.v13-tabs{gap:20px}.v13-workspace .btn{padding:11px 12px;font-size:13px}.v14-chat-row{padding:14px 12px}.v14-chat-row>.v14-avatar{width:36px;height:36px}.v14-chat-title time{font-size:9px}.v14-chat-title{flex-wrap:wrap;gap:2px}.v14-toggle-row,.v14-slot-row{padding:14px}.v14-toggle-row small{font-size:10px}.v13-facts>div{gap:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.v13-workspace *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.v14-chat-workspace{display:flex;flex-direction:column;min-height:calc(100dvh - 92px);padding-bottom:0}.v14-chat-workspace>.v13-messages{flex:1}.v14-chat-compose{margin-top:auto}.v14-sheet-content{padding-bottom:0}.v14-sheet-content .v13-note{padding-left:0;padding-right:0}
.v13-workspace button.v14-list-link{width:100%;border:0;text-align:left}
.v14-wait-title{font-size:21px;line-height:1.4;font-weight:650}.v14-live-meter{padding:24px 0;display:flex;flex-direction:column;align-items:center;gap:7px}.v14-live-meter>strong{font-size:44px;line-height:1.2;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-1.5px}.v14-live-meter>span{font-size:11px;color:var(--v13-muted)}
