
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20221d;background:#f5f6f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #ad7000;outline-offset:3px}button{color:inherit}header{background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid #ededeb}header>div{max-width:680px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:6px 20px;gap:12px}header>div>a{display:flex;align-items:center;min-height:44px}header img{display:block;width:130px;height:auto}header #role{padding:6px 12px;min-height:44px;white-space:nowrap}header span{font-size:12px;color:#686d62;text-align:right}main{max-width:680px;margin:auto;padding:24px 20px 48px}h1{font-size:29px;letter-spacing:-1px;line-height:1.08;margin:0 0 10px}h2{font-size:17px;line-height:1.35;margin:0}.hero{padding:24px;background:#ffca05;border-radius:25px;margin-bottom:16px}.hero p{max-width:380px;font-size:15px;line-height:1.5;margin:12px 0 22px}.stats{display:flex;justify-content:space-between;font-size:14px;font-weight:650}.hint{font-size:12px;line-height:1.5;color:#74776e;margin:12px 2px 20px}.tabs{display:flex;background:#e8eae3;padding:4px;border-radius:13px;gap:4px;margin-bottom:20px}.tabs button{flex:1;border:0;background:transparent;padding:11px 6px;font-size:14px;border-radius:10px}.tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 4px #0000000b;font-weight:650}.search{width:100%;border:1px solid #dedfd8;border-radius:13px;background:#fff;padding:13px 15px;font-size:15px;margin-bottom:14px}.filters{display:flex;gap:8px;margin-bottom:18px}.filters button{border:1px solid #dedfd8;background:transparent;border-radius:30px;padding:9px 14px;font-size:13px}.filters button[aria-pressed=true]{background:#20221d;color:#fff;border-color:#20221d}.card{border:1px solid #eeeeea;background:white;padding:20px;border-radius:22px;margin-bottom:14px}.top{display:flex;align-items:flex-start;gap:12px}.num{flex:0 0 33px;display:grid;place-items:center;background:#f2f3ef;border-radius:9px;font-size:12px;font-weight:650;color:#777b70;height:33px;font-variant-numeric:tabular-nums}.detail{font-size:13px;line-height:1.55;color:#72766b;margin:6px 0 0}.availability{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px;font-size:14px;cursor:pointer;min-height:36px}.switch{appearance:none;width:46px;height:28px;border-radius:20px;background:#e1e3dc;position:relative;cursor:pointer;margin:0;flex-shrink:0}.switch:before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch:checked{background:#20221d}.switch:checked:before{transform:translateX(18px)}.pricebar{border-top:1px solid #f0f1ec;display:flex;justify-content:space-between;align-items:center;padding-top:13px;margin-top:13px;gap:10px}.pricebar small{display:block;color:#777b70;font-size:11px;margin-bottom:4px}.price{font-size:20px;font-weight:750;letter-spacing:-.5px}.edit{padding:10px 14px;border:0;border-radius:12px;background:#f0f1eb;font-size:13px;font-weight:600}.off{font-size:11px;color:#85897e;margin:6px 0 0}.empty{text-align:center;padding:50px 10px;color:#74776e}.saved{font-size:12px;color:#626858;min-height:18px;margin:0 0 14px}.preview-title{font-size:23px;margin:12px 0 8px}.preview-price{font-size:19px;font-weight:750;margin:14px 0 0}.badge{font-size:10px;color:#68715e;border:1px solid #dce1d5;border-radius:5px;padding:3px 5px;letter-spacing:.4px}dialog{border:0;border-radius:26px;padding:0;width:min(480px,calc(100% - 28px));color:#20221d;box-shadow:0 16px 80px #0003}dialog::backdrop{background:#15181270}form{padding:25px}form h2{font-size:22px;margin:0 0 10px}form p{line-height:1.5;font-size:14px;color:#73776b}.field{display:flex;align-items:center;border:1px solid #d8dbd1;background:#f7f8f4;border-radius:13px;margin-top:8px;padding:0 14px}.field input{width:100%;min-width:0;border:0;background:transparent;padding:17px 0;font-size:25px;font-weight:600;outline:none}.field span{color:#7b7e72}form label{display:block;margin-top:24px;font-size:13px;font-weight:650}.actions{display:flex;gap:10px;margin-top:24px}.actions button{border:0;padding:14px;border-radius:13px;font-size:14px;font-weight:600}.cancel{background:#f0f1eb}.save{flex:1;background:#ffca05}.error{color:#b1291a;font-size:13px;line-height:1.4;min-height:0}.hidden{display:none!important}@media(max-width:370px){main{padding:16px 12px}.card{padding:16px}h1{font-size:26px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.filter-summary{font-size:14px;font-weight:650;margin:0 0 16px;color:#505747}.saved:empty{display:none}
.total{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffca05;padding:22px;border-radius:22px;margin:20px 0 0}.total small{display:block;font-size:12px;margin-top:6px;color:#555838}.total strong{font-size:25px;white-space:nowrap;font-variant-numeric:tabular-nums}.total b{font-size:18px}@media(max-width:370px){.total{padding:18px;flex-wrap:wrap}}
main{padding-bottom:140px}.total{position:fixed;z-index:3;bottom:14px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:640px;margin:0;box-shadow:0 6px 28px #0002;padding:18px 22px}
body{padding-bottom:76px}main{padding-bottom:36px;min-height:calc(100vh - 150px)}a{color:inherit}button,select,textarea,input{font:inherit}button{min-height:44px}h1{font-size:32px;line-height:1.15}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.4px;text-transform:uppercase;color:#68715e;margin:0 0 10px}.lead{font-size:15px;line-height:1.55;color:#70766a}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 14px}.heading h2{font-size:20px}.primary,.secondary,.danger{border:0;border-radius:14px;padding:14px 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;gap:8px}.primary{background:#ffca05;color:#20221d}.secondary{background:#e9ece3;color:#20221d}.danger{color:#a52119;background:#ffefeb}.wide{width:100%}.stack{display:grid;gap:10px}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.muted{color:#72766b;font-size:13px;line-height:1.5}.tag{background:#f1f3ed;padding:6px 10px;border-radius:30px;font-size:11px;display:inline-block}.tag.new,.tag.inProgress{background:#fff1bc;color:#755000}.tag.completed,.tag.done{background:#e3f1e6;color:#236136}.tag.issue{background:#ffebe8;color:#a12e22}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.metric{padding:16px;background:white;border-radius:18px;border:1px solid #eee}.metric strong{display:block;font-size:28px;margin:5px 0}.metric span{font-size:12px;color:#73786c}.order{width:100%;text-align:left;display:block;color:inherit;cursor:pointer}.order h2{font-size:20px}.order .row{margin-top:12px}.avatar{width:45px;height:45px;flex:none;border-radius:14px;display:grid;place-items:center;background:#e7ecdf;font-weight:750;color:#506146}.person{display:flex;gap:12px;align-items:center}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.progress{display:flex;gap:5px;margin:15px 0}.progress span{height:5px;background:#e3e6da;flex:1;border-radius:6px}.progress span.on{background:#ffca05}.steps{display:flex;justify-content:space-between;font-size:11px;color:#777d70}.choice{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:15px 0;border-bottom:1px solid #eeefe9}.choice:last-child{border-bottom:0}.choice input{width:21px;height:21px;margin-top:3px;accent-color:#20221d;flex:none}.choice h2{font-size:16px}.choice .detail{margin-top:5px}.form-field{display:block;margin:16px 0;font-size:13px;font-weight:650}.form-field input,.form-field select,.form-field textarea{display:block;width:100%;border:1px solid #dce0d4;border-radius:12px;background:#fff;padding:14px;margin-top:7px;font-weight:400;color:#20221d;min-height:48px}.form-field textarea{min-height:100px;resize:vertical;line-height:1.5}.button-bar{display:flex;gap:10px;margin-top:20px}.button-bar .primary{flex:1}.summary-line{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eee;font-size:14px}.summary-line span:last-child{text-align:right;font-weight:650}.sum{background:#ffca05;border-radius:18px;padding:20px;margin:18px 0}.sum strong{font-size:26px}.note{padding:16px;border:1px solid #e5e7df;border-radius:16px;background:#eef1e7;font-size:12px;line-height:1.6;color:#65705a}.empty{padding:30px 15px}.result-note{white-space:pre-wrap;font-size:14px;line-height:1.6}.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.media-grid img,.media-grid video{width:100%;border-radius:12px;max-height:240px;object-fit:contain;background:#e8eae3}.media-grid figcaption{font-size:11px;color:#777;margin:7px 0;overflow-wrap:anywhere}figure{margin:0}.equipment{display:flex;gap:12px;align-items:center;min-height:50px;border-bottom:1px solid #efefec;font-size:14px}.equipment input{width:20px;height:20px;accent-color:#20221d}.chosen{border:2px solid #d9aa00;background:#fffdf3}.report-block{border-left:3px solid #ffca05;padding-left:15px;margin:18px 0}.report-block h3{font-size:15px}.text-link{border:0;background:none;text-decoration:underline;color:#586645;padding:8px 0}.warn{color:#94611d}.flex-wrap{flex-wrap:wrap}#message:empty{display:none}#message{position:fixed;top:62px;left:50%;transform:translateX(-50%);z-index:10;width:calc(100% - 32px);max-width:630px;background:#20221d;color:white;padding:16px;border-radius:14px;box-shadow:0 4px 20px #0002;font-size:13px;line-height:1.5}#navigation{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #ddd;z-index:4;padding:7px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom))}#navigation a{flex:1;max-width:170px;min-height:50px;text-align:center;text-decoration:none;font-size:11px;padding:8px 3px;border-radius:12px;color:#73796b}#navigation a b{display:block;font-size:19px;margin-bottom:4px}#navigation a.active{color:#20221d;background:#ffedaa;font-weight:700}dialog{max-height:88vh;overflow:auto}dialog .inside{padding:24px}input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #ad7000;outline-offset:3px}button:disabled{opacity:.45;cursor:default}@media(max-width:420px){.hero{padding:20px}h1{font-size:29px}.card{padding:17px}.grid-two{grid-template-columns:1fr}.metrics{gap:6px}.metric{padding:12px}}@media print{header,nav,#message,.button-bar,button,.note{display:none!important}main{max-width:none;padding:0}body{background:white}article,.card,.report-block{break-inside:avoid}.media-grid video{display:none}}

/* Service coverage, with text/icons as well as colour. */
.match-count{display:flex;justify-content:space-between;gap:12px;margin:20px 0 10px;font-size:14px}.match-count span{color:#64705b;font-size:12px}.match-progress{height:6px;background:#f4e4df;border-radius:8px;overflow:hidden}.match-progress span{display:block;height:100%;background:#38824b}.match-services{display:grid;gap:8px;margin:18px 0}.match-service{display:flex;gap:10px;padding:11px 13px;border-radius:12px;font-size:13px;align-items:flex-start}.match-service.available{background:#edf6ef;color:#225d32}.match-service.missing{background:#fff0ed;color:#9e3930}.match-service strong{font-weight:650}.match-service small{display:block;margin-top:4px;font-size:11px}.match-service>span{font-weight:800}.inspector-match>.person h2{font-size:20px}

.service-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#fff4c7;color:#33372b}.service-icon svg{display:block;width:27px;height:27px}

.selection-label{color:#74776e}.selection-label.is-selected{color:#286341;font-weight:600}

.service-list-button{width:100%;border:0;text-align:left;cursor:pointer;gap:12px}.service-list-button:hover{background:#f2bf00}.service-list-button:active{transform:translateY(1px)}@media(max-width:420px){.service-list-button{flex-wrap:wrap}.service-list-button strong{font-size:19px}}

/* Stable public portraits, with private photos revealed per demo order. */
.avatar.portrait{display:inline-flex;overflow:hidden;padding:0;flex-shrink:0;width:64px;height:64px;background:#e7ece7;border-radius:20px}
.avatar.portrait svg,.avatar.portrait img{display:block;width:100%;height:100%;object-fit:cover}
.person.compact{display:inline-flex;gap:10px}.compact .portrait{width:32px;height:32px;border-radius:10px}
.avatar-previews{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.avatar-previews>div{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center}.avatar-previews .portrait{width:100px;height:100px;border-radius:28px}.avatar-previews small{color:#74796e}
.avatar-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px;max-width:420px}.avatar-option{padding:4px;border:2px solid transparent;border-radius:22px;background:transparent;min-height:44px}.avatar-option svg{display:block;width:100%;border-radius:16px}.avatar-option[aria-pressed=true]{border-color:#22251d;background:#ffcc00}.avatar-option:focus-visible{outline:3px solid #ad8100;outline-offset:3px}

.equipment-required{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fff5d4;color:#554824;font-size:15px;line-height:1.5}.equipment-required strong{font-weight:700}

/* Compact shared navigation: 44px touch targets within a 57px header. */
header>div{gap:8px;padding:6px 14px}header>div>a{margin-right:auto;min-width:0}header img{width:120px;max-width:100%}.header-icon{border:0;background:transparent;min-width:44px;min-height:44px;padding:6px;color:#20221d;border-radius:10px;flex-shrink:0}#app-back{font-size:26px}#language{font-size:12px;font-weight:700}#app-back:disabled{opacity:.25}header #role{flex-shrink:0;font-size:12px;padding:6px 10px}header{overscroll-behavior-x:contain}.language-option{width:100%;justify-content:space-between;min-height:48px}.language-option[aria-pressed=true]{background:#ffedaa}@media(max-width:380px){header>div{padding-inline:8px;gap:4px}header img{width:96px}header #role{font-size:11px;padding-inline:7px}}

#language{display:inline-flex;align-items:center;justify-content:center;gap:4px}

.metrics a.metric{display:block;text-decoration:none;color:inherit;cursor:pointer}.metrics a.metric span{display:flex;justify-content:space-between;gap:6px}.metrics a.metric b{font-weight:400;color:#73796b}.metrics a.metric:hover{background:#fff9df;border-color:#e2c864}.metrics a.metric:active{background:#ffedaa}

.inspector-match.is-chosen{border-color:#d9ad00;box-shadow:0 0 0 2px #d9ad00}.inspector-match button[aria-pressed="true"]{background:#20241d;color:#fff}

/* Approved navigation variant 2: floating capsule. */
body{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
#navigation{left:50%;right:auto;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 28px);max-width:640px;padding:6px;gap:4px;border:1px solid #e6e8e0;border-radius:44px;background:#fff;backdrop-filter:none;box-shadow:0 5px 20px #20231c0c}
#navigation a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:none;min-height:54px;padding:8px 2px;border-radius:34px;font-size:11px;font-weight:500;line-height:1.15;color:#717869;transition:background .15s,color .15s}
#navigation a svg{width:22px;height:22px;flex-shrink:0}
#navigation a.active{background:#ffca05;color:#20231c;font-weight:700}
#navigation a:focus-visible{outline-offset:1px}
@media(prefers-reduced-motion:reduce){#navigation a{transition:none}}

/* Conversation UI, shared by participant and read-only admin preview. */
.chat-list-item{display:block;text-decoration:none;color:inherit}.chat-list-item h2{font-size:18px}.chat-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#626959}.chat-badge{margin-left:auto;border-radius:20px;padding:4px 9px;background:#ffca05;font-size:12px;font-weight:700}.chat-messages{display:flex;flex-direction:column;gap:14px;margin:22px 0}.chat-bubble{align-self:flex-start;max-width:88%;padding:15px 18px;background:white;border:1px solid #e6e8df;border-radius:19px 19px 19px 4px;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:#fff1b3;border-color:#f3df8c;border-radius:19px 19px 4px 19px}.chat-bubble strong{font-size:11px;color:#66705a}.chat-bubble p{white-space:pre-wrap;line-height:1.55;margin:8px 0}.chat-bubble time{font-size:10px;color:#707568}.chat-composer textarea{display:block;width:100%;resize:vertical;border:1px solid #dce0d4;border-radius:12px;padding:12px;margin:10px 0 14px;min-height:80px}.chat-composer label{font-weight:650}.chat-composer .row{align-items:center}.chat-composer button{flex-shrink:0}@media(max-width:380px){#navigation a{font-size:10px}.chat-composer .row{flex-wrap:wrap}.chat-composer button{width:100%}}

/* Inspector search */
.inspector-filters h2{margin:0}.city-search-row{display:flex;gap:10px;align-items:center}.city-search-row input{min-width:0;flex:1}.city-search-row button{flex-shrink:0}.city-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.city-shortcuts button{padding:8px 12px;font-size:14px}.inspector-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.proximity{color:#376544;font-weight:600}.search-result-count{font-weight:700}.inspector-filters input:disabled,.inspector-filters select:disabled{opacity:.5}@media(max-width:540px){.inspector-filter-grid{grid-template-columns:1fr}.city-search-row{flex-wrap:wrap}.city-search-row button{width:100%}.inspector-filters .row{gap:12px}.inspector-filters h2{font-size:20px}}
.inspector-filters label{display:block;font-weight:600;font-size:15px}.inspector-filters .availability{display:flex}.inspector-filter-grid label{margin:10px 0}.inspector-filters input:not(.switch),.inspector-filters select{display:block;width:100%;box-sizing:border-box;margin-top:8px;min-height:46px;border:1px solid #dce0d4;border-radius:13px;background:#fff;padding:11px 13px;font:inherit;color:#20241c}.inspector-filters input:not(.switch):focus,.inspector-filters select:focus{outline:2px solid #e4b600;outline-offset:2px}.inspector-filters input:invalid{border-color:#af302b}.city-search-row input{margin-top:0!important}.city-search-row{margin-top:8px}.inspector-filters .hint{font-weight:400}.inspector-filters .availability{margin-top:20px}.city-shortcuts button{font-size:13px;padding:8px 10px}

/* Report sections and chat attachments */
.attachment-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.attachment-tools button{font-size:14px;padding:10px 14px}.media-grid figure,.message-attachments figure{margin:12px 0;min-width:0}.media-grid audio,.message-attachments audio{width:100%;max-width:100%}.message-attachments img,.message-attachments video{max-width:100%;max-height:340px;border-radius:12px;object-fit:contain}.message-attachments figcaption{font-size:12px;overflow-wrap:anywhere}.chat-bubble{min-width:0}.media-grid figcaption{overflow-wrap:anywhere}

/* Prefix suggestions keep free typing available; never substitute a result silently. */
.car-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.car-fields .form-field{min-width:0}.car-fields input{width:100%;min-width:0}
.suggestions{max-height:290px;overflow:auto;background:#fff;border:1px solid #dce0d5;border-radius:14px;margin:6px 0 12px;box-shadow:0 8px 24px #20231c12;overscroll-behavior:contain}
.suggestions[hidden]{display:none}.suggestions button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;border:0;border-radius:0;background:transparent;padding:12px 14px;color:var(--ink,#20231c);min-height:44px;font-size:16px;gap:3px}
.suggestions button+button{border-top:1px solid #f0f0eb}.suggestions button:hover,.suggestions button[aria-selected="true"]{background:#fff3b9}
.suggestions small{font-size:12px;font-weight:400;color:#73786b}.suggestions p{padding:12px 14px;font-size:14px;color:#73786b;margin:0}.suggestions .suggestions-more{font-weight:700;color:#685200}
.autocomplete-credit{font-size:12px;color:#73786b}.city-search-row{display:block}.city-search-row>button{margin-top:8px}

.draft-link{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--ink,#20241d);text-decoration:none}.draft-link>b{flex-shrink:0;white-space:nowrap}.draft-link small{display:block;color:#73786b;margin-top:6px}.draft-link:hover{border-color:#cda900}.draft-link:focus-visible{outline:3px solid #b37900;outline-offset:3px}

.reputation{margin:18px 0;padding:16px;background:#f6f7f2;border-radius:18px}.reputation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.reputation-stats strong{display:block;font-size:16px}.reputation-stats small{display:block;color:#71776a;margin-top:5px}.reputation summary{cursor:pointer;font-weight:600;min-height:32px}.customer-review{padding:16px 0;border-top:1px solid #dde1d5}.review-stars{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:10px}.review-stars legend{margin-bottom:12px}.review-stars label{display:flex;align-items:center;gap:4px;padding:10px;background:#f4f4ed;border-radius:12px}.review-stars label:has(input:checked){background:#ffcc00}.review-stars input{width:auto;margin:0}

.rating-badge{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.rating-badge strong{font-size:23px;font-weight:800}.rating-stars{position:relative;display:inline-block;font-size:22px;line-height:1.2;letter-spacing:1px;color:#d5d8ce;white-space:nowrap}.rating-stars>span{position:absolute;inset:0 auto 0 0;overflow:hidden;color:#b77900;white-space:nowrap}
.server-reputation .reputation-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.server-reputation .reputation-stats>div:first-child{grid-column:1/-1}
.server-reputation [data-server="more-reviews"][hidden]{display:none}
[data-order-feedback]>summary{min-height:44px;align-content:center;cursor:pointer;font-weight:650}
.route-choice-group{scroll-margin-top:90px}
#server-checkout [hidden]{display:none}
html[data-public-report] body{padding-bottom:0}
html[data-public-report] body>header,html[data-public-report] #navigation,html[data-public-report] #message{display:none!important}
html[data-public-report] #app{padding-top:20px;min-height:100vh}
.public-report-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.public-report-brand img{width:130px;height:auto}
.public-report-brand label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.public-report-brand select{min-height:44px}
.public-report-services{margin:0;padding:0;list-style:none}
.public-report-services li{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #e5e7df}
.public-report-services li:last-child{border:0}
.public-report-services strong,.public-report h2{overflow-wrap:anywhere}
.public-report-media{display:grid;gap:14px}
.public-report-media img,.public-report-media video,.report-share-file img,.report-share-file video{display:block;width:100%;height:auto;max-height:500px;object-fit:contain;border-radius:12px}
.report-share-files{min-width:0;margin:18px 0;border:1px solid #e5e7df;border-radius:12px;padding:0 12px}
.report-share-file{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e5e7df}
.report-share-file:last-child{border:0}
.report-share-file>div,.report-share-file>p{grid-column:1/-1}
.report-share-file>div:empty{display:none}
.report-share-confirm{margin-bottom:12px}
#server-report-share .server-check{min-height:44px}

/* Compact inspector results: full details are opt-in. */
.compact-reputation{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:12px 0}.compact-reputation .rating-badge{display:flex;align-items:center;gap:8px}.compact-reputation .rating-stars{font-size:19px}.compact-reputation .rating-badge strong{font-size:19px}.compact-cost{padding:14px 16px;background:#fff5d4;border-radius:16px;margin-top:14px}.compact-cost .row strong{font-size:22px}.compact-cost p{font-size:14px;margin:6px 0 0}.compact-missing{margin:6px 0;font-size:14px}.inspector-disclosure{margin-top:14px}.inspector-disclosure>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:12px 16px;background:#f0f1eb;border-radius:14px;font-weight:650;list-style:none}.inspector-disclosure>summary::-webkit-details-marker{display:none}.inspector-disclosure>summary:focus-visible{outline:3px solid #b68000;outline-offset:3px}.inspector-disclosure .hide-details{display:none}.inspector-disclosure[open]>.inspector-full-details{padding-top:16px}.inspector-disclosure[open]>summary .show-details{display:none}.inspector-disclosure[open]>summary .hide-details{display:inline}.inspector-disclosure[open]>summary .disclosure-arrow{transform:rotate(180deg)}

.inspector-disclosure + .primary{margin-top:12px}

.service-coverage{display:grid;gap:8px;padding:18px;border-radius:16px;margin:18px 0;border:2px solid}.service-coverage strong{font-size:20px;line-height:1.35}.service-coverage span{font-size:14px;line-height:1.5}.service-coverage.complete{background:#edf6ef;border-color:#81b88c;color:#225d32}.service-coverage.partial{background:#fff1e8;border-color:#d87335;color:#8b3515}

/* Two-card browse shortcut, separate from disclosure and booking actions. */
.inspector-scroll{position:fixed;right:max(18px,calc((100vw - 680px)/2));bottom:100px;z-index:5;display:flex;align-items:center;gap:12px;border:1px solid #e2dfcf;background:#fffef8;color:#20231c;border-radius:30px;padding:7px 7px 7px 16px;box-shadow:0 4px 18px #20231c26;cursor:pointer;text-align:left}.inspector-scroll b{display:block;font-size:13px}.inspector-scroll small{display:block;font-size:11px;color:#69705f;margin-top:2px}.inspector-scroll-arrow{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffca05;font-size:26px;font-weight:700}.inspector-scroll:hover{border-color:#b38b00}.inspector-scroll:focus-visible{outline:3px solid #ae7900;outline-offset:3px}#inspector-results{padding-bottom:70px}@media print{.inspector-scroll{display:none!important}}

/* Compact inspector filters: keep the choices visible without a tall card. */
.inspector-filters.card{padding:8px 18px;border-radius:20px}
.inspector-filters .row{min-height:24px;gap:10px}
.inspector-filters h2{font-size:15px}
.inspector-filters .text-link{min-height:24px;padding:3px 0;font-size:13px}
.inspector-filters .inspector-filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.inspector-filters .inspector-filter-grid label{margin:2px 0 0;font-size:12px;line-height:1.2;min-width:0}
.inspector-filters input:not(.switch),.inspector-filters select{margin-top:3px;min-height:40px;height:40px;padding:6px 10px;border-radius:11px;font-size:14px}
.inspector-filters .availability{margin:4px 0 0;min-height:32px;font-size:13px}
.inspector-filters .hint{font-size:11px;line-height:1.35;margin:2px 0 0}
@media(max-width:380px){.inspector-filters.card{padding:8px 12px}.inspector-filters .inspector-filter-grid{gap:8px}.inspector-filters select{font-size:12px;padding-inline:6px}}

.service-coverage.actionable{width:100%;text-align:left;font-family:inherit;cursor:pointer;font-weight:400;white-space:normal}.service-coverage.actionable:hover{background:#ffe7d7}.service-coverage.actionable:focus-visible{outline:3px solid #a96a00;outline-offset:3px}.service-coverage .coverage-link{font-weight:700;text-decoration:underline}.missing-review-item{padding:16px;border:1px solid #eed9cc;border-radius:16px}.missing-review-item h3{margin:0 0 8px}.missing-review-item p{font-size:15px;line-height:1.5}.missing-review-item.is-removed{background:#f4f4f0}.missing-review-item.is-removed h3{text-decoration:line-through}

/* Keep dismissal available while a long unavailable-services list scrolls. */
dialog.missing-services-modal{padding:0}
.missing-modal-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#fff;border-bottom:1px solid #eee}
.missing-modal-header h2{margin:0;font-size:20px}
.missing-modal-close{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f0f2ec;color:#20221d;font-size:30px;line-height:1;cursor:pointer}
.missing-modal-close:hover{background:#e3e7db}
.missing-modal-close:focus-visible{outline:3px solid #ad7000;outline-offset:2px}
dialog.missing-services-modal .inside{padding-top:8px}

/* Service prices stay prominent beside the description. */
.match-service{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px}.match-service-description{min-width:0;overflow-wrap:anywhere}.match-service .match-service-price{font-size:20px;font-weight:800;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;line-height:1.2}.match-service.missing .match-service-description{grid-column:2 / -1}@media(max-width:400px){.match-service{column-gap:8px;padding:11px 10px}.match-service .match-service-price{font-size:18px}}

/* Standalone inspector directory */
.directory-person .primary{margin-top:18px}.directory-service{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #e7e8e2}.directory-service input{width:24px;height:24px;flex-shrink:0}.directory-service span{flex:1}.directory-service small{display:block;font-weight:400;color:#74796b}.directory-service b{white-space:nowrap}.directory-person .row strong{white-space:nowrap}.directory-person .row{gap:16px}

.directory-travel-rate{background:#fff5d2;border-radius:16px;padding:7px 16px;margin:12px 0}.directory-travel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.directory-travel-heading span{font-size:16px;font-weight:650}.directory-travel-heading strong{font-size:24px;line-height:1.15;font-weight:800;white-space:nowrap}.directory-travel-rate p{margin:3px 0 0;font-size:12px;line-height:1.25;color:#62552f}

.directory-service-count{display:flex;align-items:center;gap:10px;margin:12px 0;color:#20241d;font-size:18px;font-weight:750;line-height:1.3}.directory-service-count strong{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:3px 9px;border-radius:9px;background:#ffcc00;color:#20241d;font-size:22px;font-weight:800}

.support-chat-card{border:2px solid #ffcc00;background:#fffdf3}.support-pin{display:block;font-size:13px;font-weight:700;color:#665400;margin-bottom:12px}.support-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:56px;height:56px;border-radius:18px;background:#ffcc00;color:#20241d;font-size:34px}.support-chat-card h2{margin:0}.support-chat-card .person .muted{margin:4px 0 0}

.directory-route-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}
.directory-route-summary .proximity{margin:0;flex:1 1 180px;font-size:18px}
.directory-route-summary .proximity span{display:block;font-size:13px;font-weight:500;margin-top:3px}
.directory-route-return{text-align:right;background:#fff5d2;border-radius:14px;padding:10px 14px;flex:0 1 auto;margin-left:auto}
.directory-route-return span{display:block;font-size:14px;font-weight:650}
.directory-route-return strong{display:block;font-size:22px;line-height:1.3;margin:2px 0}
.directory-route-return small{display:block;font-size:11px;color:#62552f}

.directory-service-travel{margin:12px 0}
.directory-service-travel-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.directory-service-travel-row .directory-service-count{margin:0;flex-wrap:wrap;gap:6px}
.directory-service-travel-row .directory-travel-heading{flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;flex-shrink:0;background:#fff5d2;border-radius:12px;padding:8px 12px;text-align:right}
.directory-service-travel-row .directory-travel-heading span{font-size:13px}
.directory-travel-rule{margin:8px 0 0;font-size:12px;line-height:1.35;color:#62552f}
@media(max-width:380px){.directory-service-travel-row .directory-service-count{font-size:15px}.directory-service-travel-row .directory-travel-heading strong{font-size:20px}}

/* Inspector-specific service selection, separate from the current draft. */
.service-picker{padding-bottom:220px}.picker-person{margin:20px 0}.picker-person h2{margin:0}.picker-person p{margin:4px 0}
.picker-service{border:2px solid #e9ebe4;transition:border-color .15s,background .15s}.picker-service.is-selected{border-color:#dec100;background:#fffef6}
.picker-service .catalog-service-heading h2{font-size:18px}.picker-service .catalog-service-actions>strong{font-size:22px;white-space:nowrap}.picker-service .muted{font-size:14px;margin:12px 0}.picker-service .availability{margin-top:12px}
.picker-summary{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:640px;box-sizing:border-box;background:#fff;border:1px solid #e3e5db;box-shadow:0 4px 24px #20231c21;border-radius:22px;padding:12px 18px;z-index:6}
.picker-breakdown,.picker-total{display:flex;justify-content:space-between;align-items:center;gap:12px}.picker-breakdown{font-size:13px;line-height:1.5}.picker-travel{color:#65705d}.picker-total{border-top:1px solid #e9eade;padding-top:7px;margin:6px 0 9px;font-weight:700}.picker-total>strong{font-size:25px;white-space:nowrap}.picker-summary .primary{padding:11px 16px;min-height:44px}
@media(max-width:420px){.picker-service .catalog-service-heading h2{font-size:16px}.picker-service .catalog-service-actions>strong{font-size:20px}.picker-summary{bottom:90px;padding:10px 14px}.picker-total{font-size:14px}.picker-travel{font-size:12px}}

/* Services are edited directly within the inspector review step. */
body:has(.inline-inspector-review) main{padding-bottom:300px}
#review-services{scroll-margin-top:100px}
.review-services-link{display:none}
.inline-inspector-review .reputation{margin-bottom:16px}

.vehicle-secondary-fields{align-items:stretch}.vehicle-secondary-fields .form-field{display:flex;flex-direction:column;gap:8px}.vehicle-secondary-fields input{margin-top:auto}

.picker-services-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-weight:700}.picker-services-price small{display:block;font-size:12px;font-weight:400;color:#72766b;margin-top:2px}.picker-services-price>strong{font-size:30px;white-space:nowrap;line-height:1.2}.picker-travel-equation{border-top:1px solid #e9eade;padding-top:7px;margin-bottom:10px;font-size:14px;line-height:1.5}.picker-travel-equation>span{color:#65705d;font-size:12px}.picker-travel-equation>div{font-variant-numeric:tabular-nums}.picker-travel-equation strong{white-space:nowrap}

/* Account-backed workspace */
.server-mode{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#65705d;margin-bottom:18px}
#server-message:not(:empty){padding:14px;border-radius:14px;background:#fff3c9;margin-bottom:18px;position:sticky;top:68px;z-index:5}
#server-auth{max-width:580px;margin-inline:auto}
#server-auth .registration-role{min-width:0;margin:0 0 28px;padding:0 0 26px;border:0;border-bottom:1px solid #e7e7e7;color:#111}
#server-auth .registration-role legend{padding:0;font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.6px}
#server-auth .registration-role>p{margin:10px 0 18px;color:#111;font-size:14px;line-height:1.5;font-weight:400}
#server-auth .registration-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#server-auth .registration-role-option{position:relative;display:flex;min-width:0;margin:0;cursor:pointer}
#server-auth .registration-role-option>input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#server-auth .registration-role-card{display:flex;flex:1;flex-direction:column;min-width:0;padding:18px 16px 20px;border:2px solid #dedede;border-radius:20px;background:#fff;color:#111;box-shadow:0 3px 0 #e7e7e7;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
#server-auth .registration-role-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#server-auth .registration-role-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f3f3f3}
#server-auth .registration-role-icon svg{display:block;width:32px;height:32px}
#server-auth .registration-role-check{display:grid;place-items:center;flex:none;width:25px;height:25px;border:2px solid #c4c4c4;border-radius:50%;background:#fff;color:#fff}
#server-auth .registration-role-check svg{width:19px;height:19px;visibility:hidden}
#server-auth .registration-role-card>strong{display:block;margin-bottom:7px;font-size:21px;line-height:1.2;font-weight:800;letter-spacing:-.4px;overflow-wrap:anywhere}
#server-auth .registration-role-description{display:block;font-size:13px;line-height:1.5;font-weight:400;overflow-wrap:anywhere}
#server-auth .registration-role-option>input:checked+.registration-role-card{border-color:#111;background:#ffcc00;box-shadow:0 4px 0 #111}
#server-auth .registration-role-option>input:checked+.registration-role-card .registration-role-icon{background:#fff7}
#server-auth .registration-role-option>input:checked+.registration-role-card .registration-role-check{border-color:#111;background:#111}
#server-auth .registration-role-option>input:checked+.registration-role-card .registration-role-check svg{visibility:visible}
#server-auth .registration-role-option>input:focus-visible+.registration-role-card{outline:3px solid #111;outline-offset:5px}
@media(hover:hover){#server-auth .registration-role-option:hover .registration-role-card{border-color:#111;transform:translateY(-2px)}}
@media(max-width:430px){#server-auth .registration-role-options{grid-template-columns:1fr;gap:14px}#server-auth .registration-role-card{display:grid;grid-template-columns:48px minmax(0,1fr) 25px;column-gap:12px;padding:16px}#server-auth .registration-role-top{display:contents}#server-auth .registration-role-icon{grid-column:1;grid-row:1/3;align-self:center}#server-auth .registration-role-check{grid-column:3;grid-row:1/3;align-self:center}#server-auth .registration-role-card>strong{grid-column:2;grid-row:1;font-size:20px}#server-auth .registration-role-description{grid-column:2;grid-row:2}}
#server-auth .form-field,#server-contact .form-field,#server-profile .form-field,#server-book .form-field{display:block;margin-bottom:18px}
.server-check{display:flex;gap:12px;align-items:center;padding:12px 0;cursor:pointer}
.server-check input,.server-service input{width:24px;height:24px;flex-shrink:0;accent-color:#23271f}
.server-offer{border-top:1px solid #e5e7df;padding:14px 0;display:grid;grid-template-columns:1fr 140px;gap:12px}
.server-offer h3,.server-offer-equipment{grid-column:1/-1;margin:0}
#server-auth .server-offer .form-field,.server-offer .form-field{margin-bottom:0}
.server-offer-equipment .server-check{padding:6px 0}
#server-registration-offers{min-width:0;margin:0 0 16px;padding:0;border:0}
#server-registration-offers legend{font-weight:700;padding:0}
.server-offer small{grid-column:1/-1;color:#65705d}
.server-service{border-bottom:1px solid #e5e7df;padding:20px 0}
.server-amount{font-size:32px;white-space:nowrap}
.server-total{position:sticky;bottom:95px;box-shadow:0 -6px 25px #20251c12}
.server-order{display:block;color:inherit;text-decoration:none}
.server-bio{overflow-wrap:anywhere}
#account-link{white-space:nowrap;text-decoration:none}
@media(max-width:540px){.server-offer{grid-template-columns:1fr 100px}.server-mode{flex-wrap:wrap}#account-link{padding:8px;font-size:12px}header #role{font-size:12px;padding:10px}header img{max-width:125px}.server-total{bottom:80px}}

.catalog-service-heading{display:grid;grid-template-columns:42px minmax(0,1fr) 44px;align-items:center;gap:10px}
.catalog-service-heading h2,.catalog-service-heading h3{margin:0;grid-column:auto;overflow-wrap:anywhere}
.catalog-service-info{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:#edf0e7;color:#293021;font-size:24px;line-height:1}
.catalog-service-info:hover{background:#fff0a7}
.catalog-service-demo{font-size:14px;min-height:44px;padding:10px 14px}
.catalog-service-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.catalog-service-choice{display:inline-flex;align-items:center;gap:9px;min-height:44px;cursor:pointer}
.catalog-service-choice strong{white-space:nowrap}
.open-job-service.catalog-option{padding:12px 0;border-bottom:1px solid #e5e7df}
.server-offer>.catalog-service-heading,.server-offer>.catalog-service-demo{grid-column:1/-1}
.server-offer>.catalog-service-demo{justify-self:start}
#service-dialog{width:min(620px,calc(100% - 28px));max-height:88vh;max-height:88dvh;overscroll-behavior:contain}
body:has(#service-dialog[open]){overflow:hidden}
.catalog-dialog-header{position:sticky;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;z-index:1}
.catalog-dialog-header h2{margin:0;overflow-wrap:anywhere}
.catalog-dialog-header .eyebrow{margin-bottom:5px}
.catalog-dialog-close{flex:none;width:44px;height:44px;padding:0;font-size:26px;line-height:1}
.catalog-dialog-body{padding:0 18px 18px;font-size:16px;line-height:1.5}
.catalog-dialog-body p{margin:0}
.catalog-dialog-image{display:block;width:100%;height:auto;border-radius:14px}
.catalog-dialog-image[hidden]{display:none}
.catalog-dialog-body [data-service-motion]{margin-top:10px}
.catalog-dialog-body .catalog-demo-caption{margin-top:12px}

.inline-voice-controls{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.voice-recording{background:#fff0ed;color:#a82019;border:2px solid #a82019;border-radius:16px;padding:12px 18px;font-weight:750;min-height:44px}.voice-recording [role="timer"]{font-variant-numeric:tabular-nums}

/* Service title and inline price/equipment editor. */
form[data-service-editor] .secondary{margin-top:12px}form[data-service-editor] .form-field{max-width:260px}

/* Inspector cabinet: one entry point for profile and service settings. */

#navigation a{position:relative}
#navigation .nav-order-count{position:absolute;top:5px;right:15%;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#c52f32;color:#fff;font-size:12px;font-weight:800;line-height:20px;text-align:center}
#navigation .server-orders-nav{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px}
#navigation .server-orders-nav .nav-order-count{position:static;flex:none}

.server-report-edit{border:0;padding:0;margin:0;min-inline-size:0}
.server-report-file{display:grid;gap:6px;min-width:0;padding:12px 0;overflow-wrap:anywhere}
.server-report-file+.server-report-file{border-top:1px solid #e8e5da}
.server-report-file img,.server-report-file video{display:block;max-width:100%;max-height:60vh;object-fit:contain}
.server-report-file audio{max-width:100%}
.server-report-file [data-report-preview] a{display:inline-block;margin-top:8px}

.server-chat-log{min-height:60px;max-height:50vh;overflow-y:auto;padding:6px;overscroll-behavior:auto}
.server-chat-log>.chat-bubble{flex:none}
.server-chat-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px}
.server-chat-files img,.server-chat-files video{max-width:100%;max-height:240px;object-fit:contain}
.server-chat-picker{position:relative;overflow:hidden;cursor:pointer;font-size:14px;padding:10px 14px}
.server-chat-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:inherit}
.server-chat-picker:focus-within{outline:2px solid currentColor;outline-offset:2px}
.server-chat-picker:has(input:disabled){opacity:.55;cursor:default}
#server-chat-unread[hidden]{display:none}
.server-chat-order-link{display:block;margin-top:10px;text-align:center}
.media-transfer{display:grid;gap:8px;justify-items:start;margin:8px 0;color:#586645;font-size:13px;overflow-wrap:anywhere}
.media-transfer[hidden]{display:none}
.media-transfer>div{display:flex;gap:8px;align-items:center;width:100%}
.media-transfer progress{width:100%;min-width:0;height:12px;accent-color:#38824b}
.media-transfer>div>span{min-width:4ch;text-align:end;font-variant-numeric:tabular-nums}
[data-chat-action="record"],[data-action="record-chat"]{display:inline-flex;align-items:center;gap:7px}
[data-chat-action="record"]::before,[data-action="record-chat"]::before{content:"";width:16px;height:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='13' rx='3'/%3E%3Cpath d='M5 10v2a7 7 0 0 0 14 0v-2M12 19v3'/%3E%3C/svg%3E") center/contain no-repeat}

.portfolio-item [data-preview],.portfolio-gallery [data-preview]{margin:12px 0}
.portfolio-media{display:block;width:100%;max-height:480px;object-fit:contain;border-radius:14px;background:#edf0e8}
.portfolio-status.pending{background:#fff1bc;color:#755000}
.portfolio-status.approved{background:#e3f1e6;color:#236136}
.portfolio-status.rejected{background:#ffebe8;color:#a12e22}
.portfolio-checklist{margin:16px 0 6px;padding:12px 14px;border:1px solid #e0e5da;border-radius:12px;min-inline-size:0}
.portfolio-checklist legend,.portfolio-gallery figcaption{font-weight:650}
.portfolio-checklist .server-check{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.4}
.portfolio-checklist .server-check input{flex:none;margin-top:3px}
.portfolio-checklist:disabled{opacity:.6}
.portfolio-withdraw{margin-top:14px}
.portfolio-withdraw summary{min-height:44px;display:list-item;line-height:44px;cursor:pointer}
.portfolio-gallery-items{display:grid;gap:12px;margin-top:14px}
.portfolio-gallery-items figure{min-width:0;padding:12px 0}
.portfolio-gallery-items figure+figure{border-top:1px solid #edf0e8}

/* Service card 9: switches and state left, price and save right. */
#server-offers{margin-top:22px}
.server-offer.offer-compact{display:block;padding:16px;margin:14px 0;border:1px solid #e4e7de;border-radius:20px;background:#fff;box-shadow:0 4px 18px #20251c03}
.offer-compact .catalog-service-heading{grid-template-columns:36px minmax(0,1fr) 44px;gap:10px;margin-bottom:12px}
.offer-compact .catalog-service-heading h3{font-size:17px;line-height:1.2}
.offer-compact .service-icon{width:36px;height:40px;border-radius:12px}
.offer-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
.offer-switches,.offer-price-actions{min-width:0;display:grid;gap:8px}
.offer-switch-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;cursor:pointer;font-size:13px;font-weight:650;line-height:1.35}
.offer-switch-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.offer-switch{position:relative;display:block;flex:0 0 48px;width:48px;height:44px}
.offer-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.offer-switch>span{position:absolute;left:0;right:0;top:8px;height:28px;border-radius:20px;background:#dfe3da;transition:background .2s ease}
.offer-switch>span:after{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #18251d26;transition:transform .2s ease}
.offer-switch input:checked+span{background:#28654b}.offer-switch input:checked+span:after{transform:translateX(20px)}
.offer-switch input:focus-visible+span{outline:3px solid #d6a900;outline-offset:3px}.offer-switch input:disabled+span{opacity:.5}
.offer-price-zone{display:block;padding:9px 10px;border-radius:15px;background:#f1f4ed;border:1px solid #e8ecdf;min-width:0}
.offer-price-zone>span:first-child{display:block;font-size:12px;font-weight:650;color:#66705e;margin-bottom:5px}
.offer-price-input{display:flex;align-items:center;min-height:44px;background:white;border:1px solid #dde2d4;border-radius:11px;overflow:hidden}
.offer-price-input input{appearance:textfield;-moz-appearance:textfield;width:100%;min-width:0;padding:8px;border:0;background:transparent;font-size:24px;font-weight:750;line-height:1.15;border-radius:0;color:#20251c}
.offer-price-input input::-webkit-inner-spin-button,.offer-price-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.offer-price-input>span{flex:none;padding-right:8px;font-size:13px;color:#73796d}
.offer-price-actions .offer-save{display:block;width:100%;min-height:44px;padding:10px 8px;font-size:13px;border-radius:12px;text-align:center}
.offer-compact .offer-status{font-size:11px;line-height:1.45;color:#71786b;margin:5px 0 0;overflow-wrap:anywhere}
.offer-status:before{content:'●';color:#8b9185;margin-right:5px;font-size:8px}.offer-status[data-enabled="true"]:before{color:#28654b}.offer-status[data-dirty="true"]:before{color:#a77506}
.catalog-dialog-body [data-service-media]{margin-top:18px}
@media(max-width:430px){.server-offer.offer-compact{padding:14px}.offer-compact .catalog-service-heading{grid-template-columns:32px minmax(0,1fr) 44px;gap:8px}.offer-compact .catalog-service-heading h3{font-size:16px}.offer-compact .service-icon{width:32px;height:36px}.offer-columns{gap:12px}.offer-switch-row{font-size:12px;gap:5px}.offer-switch{flex-basis:44px;width:44px}.offer-switch input:checked+span:after{transform:translateX(16px)}.offer-price-zone{padding:8px}.offer-price-input input{font-size:22px;padding:7px}.offer-price-actions .offer-save{font-size:12px}.offer-compact .offer-status{font-size:10px}}
@media(max-width:350px){.offer-columns{grid-template-columns:minmax(0,1fr)}.offer-price-actions{grid-template-columns:minmax(0,1fr) auto;align-items:end}.offer-price-actions .offer-save{width:auto;min-width:88px}.offer-switch-row{font-size:14px}}
@media(prefers-reduced-motion:reduce){.offer-switch>span,.offer-switch>span:after{transition:none}}
#server-offers{padding:0}.offer-compact label{margin:0}
section.card:has(#server-cabinet-name)>.row{flex-wrap:wrap}

#inspector-scroll-top{position:fixed;z-index:4;right:max(18px,calc((100vw - 640px)/2));bottom:var(--scroll-top-bottom,100px);width:50px;height:50px;min-height:50px;display:grid;place-items:center;padding:0;border:1px solid #e6b900;border-radius:50%;background:var(--ios-yellow,#f5c600);color:#202321;box-shadow:0 4px 15px #20251c24;animation:scroll-top-appear .18s ease-out}
#inspector-scroll-top[hidden]{display:none}#inspector-scroll-top:hover{background:#ffda35}#inspector-scroll-top:active{transform:scale(.95)}
body:has(dialog[open]) #inspector-scroll-top{visibility:hidden;pointer-events:none}
@keyframes scroll-top-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#inspector-scroll-top{animation:none}}

/* Inspector-owned service editor, below the standard price list. */
#server-custom-services{margin-top:28px;scroll-margin-top:90px}
.custom-service-editor{margin-top:14px}
.custom-service-editor summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;font-weight:700;min-height:44px}
.custom-service-editor summary span:last-child:not(:first-child){font-size:.85rem;color:var(--muted)}
.custom-service-editor form{display:grid;gap:14px;margin-top:16px;padding:0}
.custom-service-editor textarea{font:inherit;width:100%;box-sizing:border-box;border:1px solid #d9ddcf;border-radius:16px;padding:14px;resize:vertical}
.custom-service-editor form .form-field{margin:0;display:grid;gap:8px}
.custom-service-editor .offer-switch-row{margin:0}
#server-custom-add{border:2px dashed #dfc76b}

.custom-service-editor summary span{min-width:0;overflow-wrap:anywhere}
[data-service-heading^="custom_"] h3{overflow-wrap:anywhere}

/* Open requests: visible between filters and results, including empty results. */
.open-request-entry{margin:18px 0 24px;padding:20px;border:1px solid #e9de9c;border-radius:24px;background:#fff9df}
.open-request-entry p{margin:12px 0 0;color:var(--muted,#73796c);font-size:15px;line-height:1.5}
.directory-filters{display:grid;gap:14px}.directory-filters h2{margin:0}
.server-directory-service-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;padding-top:16px}
.server-directory-service-filters label{display:flex;align-items:center;gap:10px;font-size:15px}.server-directory-service-filters input{width:20px;height:20px;flex:none;accent-color:#286344}
.open-request-entry button{white-space:normal;text-align:center}

/* Personal cabinet hero: decorative motion ends after one short introduction. */
.cabinet-hero{position:relative;isolation:isolate;overflow:hidden;padding:28px;border-radius:30px;background:var(--ios-yellow,#f6c600);color:#20241d;margin:0 0 18px;box-shadow:0 8px 24px #b6970910;animation:cabinet-arrive .55s ease-out both}
.cabinet-hero-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:1}
.cabinet-hero-copy{min-width:0;flex:1}.cabinet-hero h1{font-size:clamp(24px,3vw,32px);line-height:1.12;margin:0 0 18px;letter-spacing:-.7px}
.cabinet-hero h2{font-size:22px;line-height:1.3;margin:0 0 10px;overflow-wrap:anywhere}
.cabinet-hero-city{display:inline-block;margin:0;padding:5px 12px;border-radius:999px;background:#fff5;font-size:14px;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.cabinet-hero-city[hidden]{display:none}.cabinet-hero-avatar{flex:none;padding:8px;background:#fff6;border:1px solid #fff7;border-radius:29px;box-shadow:0 6px 18px #6e590012;animation:cabinet-float 3.6s ease-in-out 1}
.cabinet-hero-avatar .avatar.portrait{display:block;width:88px;height:88px;border-radius:22px;overflow:hidden}.cabinet-hero-avatar svg{width:100%;height:100%;display:block}
.cabinet-hero-footer{position:relative;z-index:1;margin-top:22px;padding-top:16px;border-top:1px solid #20241d20}
.cabinet-hero-footer p{margin:0;font-size:14px;line-height:1.5}.cabinet-hero-footer .cabinet-hero-email{font-size:12px;opacity:.7;margin-top:4px;overflow-wrap:anywhere}
.cabinet-hero-orbit{position:absolute;width:210px;height:210px;right:-48px;top:-75px;border:32px solid #fff3;border-radius:50%;pointer-events:none;animation:cabinet-orbit 3.6s ease-in-out 1}
.cabinet-hero-orbit:after{content:'';position:absolute;width:108px;height:108px;right:102px;top:104px;border:1px solid #fff6;border-radius:50%}
.cabinet-account-actions>.row{flex-wrap:wrap}.cabinet-account-actions .reputation-card{margin-top:0}
@keyframes cabinet-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes cabinet-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(2deg)}}
@keyframes cabinet-orbit{0%,100%{transform:translate(0,0)}50%{transform:translate(-12px,10px)}}
@media(max-width:420px){.cabinet-hero{padding:20px;border-radius:24px}.cabinet-hero-top{gap:12px}.cabinet-hero h1{font-size:24px;margin-bottom:14px}.cabinet-hero h2{font-size:19px}.cabinet-hero-avatar{padding:6px;border-radius:23px}.cabinet-hero-avatar .avatar.portrait{width:68px;height:68px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.cabinet-hero,.cabinet-hero-avatar,.cabinet-hero-orbit{animation:none;transform:none}}

/* Address and pricing share one travel settings card. */
#server-travel-settings > form{padding:0}
#server-travel-settings > hr{border:0;border-top:1px solid #e3e5dc;margin:24px 0}

.cabinet-portfolio-entry{margin-bottom:16px}

/* Profile disclosure — chosen option 2. */
.card.cabinet-profile{padding:0;border:1px solid #e7e7d9;border-radius:26px;background:linear-gradient(105deg,#fffef6,#fff 70%);box-shadow:0 7px 24px #303a2010}
.cabinet-profile>summary{display:flex;align-items:center;gap:16px;min-height:108px;padding:24px;cursor:pointer;list-style:none}
.cabinet-profile>summary::-webkit-details-marker{display:none}
.cabinet-profile>summary::after{content:none}
.cabinet-profile>summary:focus-visible{outline:3px solid #ad7000;outline-offset:3px;border-radius:26px}
.cabinet-profile-icon{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;border-radius:19px;background:#fff0af;transition:background .3s,transform .3s}
.cabinet-profile-icon svg,.cabinet-profile-chevron svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.cabinet-profile-copy{flex:1;min-width:0}.cabinet-profile-copy strong{display:block;font-size:18px;line-height:1.25;letter-spacing:-.4px}.cabinet-profile-copy small{display:block;margin-top:5px;font-size:12px;line-height:1.4;font-weight:400;color:#747b6e}
.cabinet-profile-chevron{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;color:#68715e;background:#f2f3e9;transition:transform .3s}
.cabinet-profile[open]:not([data-expanded=false]) .cabinet-profile-icon{background:#ffcd00;transform:rotate(-5deg)}
.cabinet-profile[open]:not([data-expanded=false]) .cabinet-profile-chevron{transform:rotate(180deg)}
.cabinet-profile-content{padding:20px;border-top:1px solid #eceee5}.cabinet-profile-content>:last-child{margin-bottom:0}
@media(max-width:480px){.cabinet-profile>summary{padding:19px;gap:12px;min-height:96px}.cabinet-profile-icon{width:48px;height:48px;border-radius:16px}.cabinet-profile-copy strong{font-size:16px}.cabinet-profile-copy small{font-size:11px}.cabinet-profile-chevron{width:25px;height:25px}.cabinet-profile-content{padding:14px}}
@media(prefers-reduced-motion:reduce){.cabinet-profile-icon,.cabinet-profile-chevron{transition:none}}

.settings-identity{margin:16px 0 20px;padding:14px 16px;border-radius:16px;background:#f5f6f1;text-align:left}.settings-identity span{display:block;color:#74776e;font-size:12px;margin-bottom:5px}.settings-identity strong{display:block;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;user-select:text}

/* Inspector honor board: selected cover 13, real account reputation. */
.cabinet-honor{--honor-yellow:#ffcf00;position:relative;isolation:isolate;overflow:hidden;background:var(--honor-yellow);color:#23281d;border-radius:30px;padding:27px;margin:0 0 22px;box-shadow:0 10px 25px -20px #77600066}
.honor-masthead{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:2px solid #23281d;font-size:10px;letter-spacing:1.2px;text-transform:uppercase}.honor-masthead>span:first-child{font-size:12px;letter-spacing:-.3px;font-weight:850}.honor-masthead>span:last-child{text-align:right}
.honor-person{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,150px);align-items:center;gap:24px;margin:28px 0}.honor-person-copy{min-width:0}.cabinet-honor #server-cabinet-name{font-size:clamp(27px,5vw,39px);font-weight:850;line-height:1.08;letter-spacing:-1.5px;margin:0;overflow-wrap:anywhere}.honor-city{font-size:13px;font-weight:550;margin:12px 0 0;opacity:.75;overflow-wrap:anywhere}.honor-city[hidden]{display:none}
.honor-avatar{width:100%;padding:8px;background:#ffe56b;border-radius:50%;justify-self:end;transform:rotate(5deg);animation:honor-portrait-in 1.05s ease-out both}.honor-avatar .avatar.portrait{width:100%;height:auto;aspect-ratio:1;border-radius:50%;display:block;overflow:hidden}.honor-avatar svg,.honor-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.honor-rating-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#23281d;color:#ffda2c;margin:0 -27px;padding:24px 27px;animation:honor-banner-in .85s .15s ease-out both}.honor-score{min-width:0}.honor-rating-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px 16px}.honor-rating-line>strong{font-size:clamp(76px,14vw,116px);letter-spacing:-7px;line-height:.96;font-weight:850;font-variant-numeric:tabular-nums}.honor-out-of{font-size:14px;opacity:.75}.honor-rating-line .rating-stars{font-size:17px;letter-spacing:1px;color:#736a32;align-self:center}.honor-rating-line .rating-stars>span{color:#ffda2c}.honor-score>p{margin:12px 0 0;font-size:12px;line-height:1.4;color:#ffda2c;opacity:.9}.honor-symbol{font-size:64px;line-height:1;opacity:.65;flex:none;animation:honor-star-in 1.3s .3s ease-out both}
.honor-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:23px 0}.honor-metrics>div{min-width:0;animation:honor-metric-in .65s .25s ease-out both}.honor-metrics>div:nth-child(2){animation-delay:.4s}.honor-metrics>div:nth-child(3){animation-delay:.55s}.honor-metrics strong{display:block;font-weight:800;font-size:31px;line-height:1.2;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.honor-metrics span{display:block;margin-top:7px;font-size:11px;line-height:1.4;opacity:.75}
.honor-reviews{border-top:1px solid #23281d55;margin-top:20px}.honor-reviews>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding-top:12px;list-style:none;font-size:13px;font-weight:650;cursor:pointer}.honor-reviews>summary::-webkit-details-marker{display:none}.honor-reviews>summary:focus-visible{outline:3px solid #5f4a05;outline-offset:3px;border-radius:5px}.honor-review-arrow{font-size:24px;transition:transform .25s}.honor-reviews[open] .honor-review-arrow{transform:rotate(90deg)}.honor-reviews [data-server="more-reviews"][hidden]{display:none}.honor-reviews .hint{color:#4c482d;line-height:1.5}.honor-reviews .customer-review{border-color:#23281d33}.honor-reviews .rating-stars{color:#93812d}.honor-reviews .rating-stars>span{color:#23281d}.honor-reviews [data-review-status]:empty{display:none}
@keyframes honor-portrait-in{from{opacity:0;transform:rotate(18deg) scale(.8)}to{opacity:1;transform:rotate(5deg)}}@keyframes honor-banner-in{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}@keyframes honor-star-in{from{opacity:0;transform:rotate(-110deg) scale(.7)}to{opacity:.65;transform:none}}@keyframes honor-metric-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:420px){.cabinet-honor{padding:22px;border-radius:26px}.honor-person{grid-template-columns:minmax(0,1fr) 110px;gap:15px;margin:25px 0}.cabinet-honor #server-cabinet-name{font-size:28px;letter-spacing:-1.2px}.honor-rating-banner{margin-inline:-22px;padding:22px}.honor-rating-line>strong{font-size:85px;letter-spacing:-5px}.honor-rating-line{gap:7px 10px}.honor-rating-line .rating-stars{font-size:14px}.honor-symbol{font-size:45px}.honor-metrics{gap:12px}.honor-metrics strong{font-size:27px}.honor-metrics span{font-size:10px}.honor-masthead{font-size:8px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.cabinet-honor *{animation:none!important;transition:none!important}}

/* Original rating insignia, one step per 0.05. */
.honor-rank{flex:0 0 132px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#ffdf77;border-radius:18px;cursor:pointer;animation:rank-arrive .85s .25s ease-out both}.honor-rank svg{display:block;width:132px;height:132px;filter:drop-shadow(0 6px 10px #0005);transition:transform .25s}.honor-rank span{font-size:10px;line-height:1.3;font-weight:700;text-align:center;letter-spacing:.3px}.honor-rank:hover svg{transform:translateY(-3px) rotate(-3deg)}.honor-rank:focus-visible{outline:2px solid #ffdf77;outline-offset:5px}.rank-dialog{width:min(430px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #536149;border-radius:26px;background:#232b20;color:#fff4c2;box-shadow:0 28px 90px #0007;overflow:auto}.rank-dialog::backdrop{background:#0e160bb0;backdrop-filter:blur(5px)}.rank-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.rank-dialog h2{font-size:22px;margin:0;color:inherit}.rank-dialog p{font-size:13px;line-height:1.5;color:#dadac5}.rank-close{border:1px solid #ffffff30;border-radius:50%;width:38px;height:38px;flex:none;padding:0;background:#ffffff0c;color:#fff4c2;font-size:26px;cursor:pointer}.rank-preview{display:flex;align-items:center;flex-direction:column;padding:8px 0 24px;gap:8px}.rank-preview svg{width:190px;height:190px;filter:drop-shadow(0 8px 18px #0006)}.rank-preview strong{font-size:22px;color:#ffdc65}.rank-preview>span{font-size:32px;font-weight:800;font-variant-numeric:tabular-nums}.rank-preview small{font-size:12px;color:#c2c8b9}.rank-slider-label{display:block;font-size:13px;margin-bottom:10px}.rank-dialog input[type=range]{width:100%;accent-color:#ffcf00;cursor:pointer;padding:0;min-height:30px}.rank-dialog .rank-preview-note{font-size:11px;color:#b9c0ad;margin-bottom:0}.rank-dialog button:focus-visible,.rank-dialog input:focus-visible{outline:2px solid #ffcf00;outline-offset:4px}@keyframes rank-arrive{from{opacity:0;transform:translateY(10px) scale(.8)}to{opacity:1;transform:none}}
@media(max-width:420px){.honor-rank{flex-basis:96px}.honor-rank svg{width:96px;height:96px}.honor-rank span{font-size:9px}.honor-rating-banner{gap:9px}.honor-rating-line>strong{font-size:74px;letter-spacing:-5px}}
@media(prefers-reduced-motion:reduce){.honor-rank,.honor-rank svg{animation:none!important;transition:none!important}}

/* Chat composer: four resolutions, a sliding gold selection, restrained motion. */
.chat-studio{padding:24px;border:1px solid #e7e8df;border-radius:28px;background:linear-gradient(145deg,#fff 65%,#fffdf3);box-shadow:0 12px 36px #272e1710;animation:chat-studio-arrive .45s ease-out both}
.chat-studio .chat-studio-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.chat-studio-heading label{font-size:16px;margin:0;line-height:1.35}
.chat-studio-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff2b5;color:#39361c}
.chat-studio .chat-tool-icon{display:block;width:22px;height:22px;flex:none;transition:transform .25s ease}
.chat-studio textarea{min-height:100px;margin:0;padding:15px 16px;border:1px solid #e4e7dc;border-radius:18px;background:#f8f9f5;font-size:15px;line-height:1.5;transition:border-color .2s,box-shadow .2s,background .2s}
.chat-studio textarea::placeholder{color:#828878}
.chat-studio textarea:focus{outline:none;border-color:#c0aa35;box-shadow:0 0 0 4px #ffca051c;background:#fff}
.chat-studio .attachment-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 20px;align-items:stretch}
.chat-studio .attachment-tools .server-chat-picker,.chat-studio .attachment-tools>.chat-voice-tool{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;margin:0;padding:12px 8px;border-radius:15px;border:1px solid #e5e8dd;background:#fff;color:#323a2c;font-size:14px;line-height:1.2;font-weight:650;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.chat-studio .chat-voice-tool::before{display:none}
.chat-studio .server-chat-picker:hover,.chat-studio .chat-voice-tool:not(:disabled):hover{background:#fff8d7;border-color:#e7ce67;transform:translateY(-2px);box-shadow:0 5px 12px #4c441013}
.chat-studio .server-chat-picker:hover .chat-tool-icon,.chat-studio .chat-voice-tool:hover .chat-tool-icon{transform:rotate(-7deg) scale(1.08)}
.chat-studio .server-chat-picker:active,.chat-studio .chat-voice-tool:active{transform:scale(.97)}
.chat-studio .inline-voice-controls{grid-column:1/-1}
.chat-studio .chat-video-quality{display:block;min-width:0;margin:0;padding:18px;border:0;border-radius:21px;color:#fff;background:radial-gradient(ellipse at 90% 0,#414b2d 0,transparent 65%),#242a20;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff12}
.chat-video-quality legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chat-quality-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:650;letter-spacing:.01em;margin-bottom:15px}
.chat-quality-signal{display:flex;gap:3px;align-items:flex-end;height:19px;color:#ffce12}
.chat-quality-signal i{width:4px;border-radius:2px;background:currentColor;transform-origin:bottom;animation:chat-signal 1s ease-in-out 2}
.chat-quality-signal i:nth-child(1){height:6px;animation-delay:.05s}.chat-quality-signal i:nth-child(2){height:10px;animation-delay:.15s}.chat-quality-signal i:nth-child(3){height:14px;animation-delay:.25s}.chat-quality-signal i:nth-child(4){height:18px;animation-delay:.35s}
.chat-quality-track{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;border-radius:15px;background:#ffffff0b;border:1px solid #ffffff10;isolation:isolate}
.chat-quality-thumb{position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/4);border-radius:11px;background:linear-gradient(140deg,#ffde56,#ffcb05);box-shadow:0 3px 10px #0003,inset 0 1px 0 #fff8;transform:translateX(calc(var(--quality-index)*100%));transition:transform .38s cubic-bezier(.2,.85,.25,1.1)}
.chat-studio .chat-quality-option{position:relative;display:block;margin:0;padding:0;cursor:pointer;color:#c3c8b8;min-width:0}
.chat-quality-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:2}
.chat-quality-option>span{display:flex;min-height:58px;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px 2px;border-radius:11px;transition:color .2s,transform .2s}
.chat-quality-option strong{font-size:18px;line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.chat-quality-option small{font-size:12px;font-weight:500;margin-left:1px}
.chat-quality-option em{font-size:9px;line-height:1;letter-spacing:.07em;font-style:normal;font-weight:600;opacity:.7}
.chat-quality-option input:checked+span{color:#242719}
.chat-quality-option input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.chat-quality-option:active>span{transform:scale(.94)}
.chat-studio .chat-quality-help{color:#b9c1ad;font-size:11px;line-height:1.55;margin:12px 0 0;max-width:46ch}
.chat-video-quality:disabled .chat-quality-track{opacity:.6}.chat-video-quality:disabled input{cursor:wait}
.chat-studio .chat-studio-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.chat-upload-limit{color:#858c7a;font-size:11px}
.chat-studio .chat-studio-send{display:inline-flex;align-items:center;justify-content:center;gap:14px;width:auto;min-height:48px;border-radius:16px;padding:12px 18px;font-size:14px;font-weight:750;box-shadow:0 4px 12px #d9ae001b;transition:transform .2s,box-shadow .2s,background .2s;white-space:normal}
.chat-studio .chat-studio-send:disabled{background:#f0f1e8;color:#9b9f91;opacity:1;box-shadow:none}
.chat-studio .chat-studio-send:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 16px #d9ae003d}
.chat-studio .chat-studio-send:not(:disabled):hover svg{transform:translate(2px,-2px)}
.chat-studio .chat-studio-send:active{transform:scale(.97)}
.chat-studio .media-transfer{display:grid;gap:10px;justify-items:stretch;margin-top:18px;padding:16px;border:1px solid #eee3ac;border-radius:16px;background:#fff9df;animation:chat-studio-arrive .3s ease-out both}
.chat-studio .media-transfer[hidden]{display:none}
.chat-studio [data-chat-transfer-name]{font-size:12px;font-weight:650;color:#5e592f;overflow-wrap:anywhere}
.chat-studio .media-transfer progress{appearance:none;-webkit-appearance:none;height:8px;border:0;border-radius:10px;overflow:hidden;background:#e6e2ca}
.chat-studio .media-transfer progress::-webkit-progress-bar{background:#e6e2ca;border-radius:10px}
.chat-studio .media-transfer progress::-webkit-progress-value{border-radius:10px;background:repeating-linear-gradient(110deg,#ffca05 0 12px,#ffdf5c 12px 24px);background-size:48px 100%;transition:width .25s linear;animation:chat-progress-flow 1s linear infinite}
.chat-studio .media-transfer progress::-moz-progress-bar{border-radius:10px;background:#ffca05}
.chat-studio [data-chat-percent]{font-size:12px;font-weight:750;color:#5e592f}
.chat-studio [data-chat-cancel-upload]{justify-self:start;font-size:11px;padding:7px 10px;border-radius:9px;background:#fff;min-height:32px;width:auto}
.chat-studio.is-transferring .chat-quality-signal i{animation:chat-signal .8s ease-in-out infinite alternate}
.chat-studio.is-transferring .chat-quality-signal i:nth-child(2){animation-delay:.2s}.chat-studio.is-transferring .chat-quality-signal i:nth-child(3){animation-delay:.4s}.chat-studio.is-transferring .chat-quality-signal i:nth-child(4){animation-delay:.6s}
.chat-studio .server-chat-files figure{padding:14px;border:1px solid #e8eadf;border-radius:15px;background:#f8f9f4;animation:chat-studio-arrive .3s ease-out both}
.server-chat-files small{display:block;font-size:12px;color:#626958;margin:8px 0}
.video-preparation-source{position:fixed;left:-4px;top:-4px;width:2px;height:2px;opacity:.01;pointer-events:none}
@keyframes chat-studio-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes chat-signal{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.35)}}
@keyframes chat-progress-flow{to{background-position:48px 0}}
@media(max-width:420px){.chat-studio{padding:17px;border-radius:24px}.chat-studio .chat-video-quality{padding:15px}.chat-studio .attachment-tools{gap:7px}.chat-studio .attachment-tools .server-chat-picker,.chat-studio .attachment-tools>.chat-voice-tool{gap:6px;font-size:13px}.chat-quality-option strong{font-size:17px}.chat-studio .chat-studio-send{padding:12px 15px;gap:9px;max-width:70%}}
@media(prefers-reduced-motion:reduce){.chat-studio,.chat-studio *, .chat-studio *::before{animation:none!important;transition:none!important}}
/* Attachment options open only after choosing Photo or Video. */
.chat-studio .chat-attachment-options[hidden]{display:none}
.chat-studio .chat-attachment-options{animation:chat-studio-arrive .24s ease-out both;margin-bottom:16px}
.chat-studio .attachment-tools button[aria-expanded="true"]{background:#fff0ac;border-color:#e7c83a;box-shadow:0 0 0 2px #ffcf1920}
.chat-studio .chat-quality-track{grid-template-columns:repeat(var(--quality-count,4),minmax(0,1fr))}
.chat-studio .chat-quality-thumb{width:calc((100% - 8px)/var(--quality-count,4))}
.chat-studio .chat-choose-files{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;margin-top:16px;padding:12px;border:1px solid #ffffff25;border-radius:12px;background:#ffffff15;color:#fff;font-size:13px;cursor:pointer;overflow:hidden;transition:background .2s,transform .2s}
.chat-choose-files input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.chat-studio .chat-choose-files:hover{background:#ffffff25;transform:translateY(-1px)}
.chat-choose-files:focus-within{outline:2px solid #ffce12;outline-offset:3px}
.chat-studio .chat-photo-quality .chat-quality-option strong{font-size:15px;letter-spacing:0}
.chat-studio .chat-photo-quality .chat-quality-option em{font-size:10px;letter-spacing:0}

/* Voice opens deliberately: permission is requested only by Start recording. */
.chat-studio .chat-voice-meter{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:5px 0 18px}
.chat-voice-wave{display:flex;align-items:center;gap:5px;height:36px;color:#ffcf24}
.chat-voice-wave i{display:block;width:4px;height:var(--bar-height);border-radius:5px;background:currentColor;opacity:.45;transform:scaleY(.45);transition:transform .25s,opacity .25s}
.chat-voice-options.is-recording .chat-voice-wave i{opacity:1;animation:chat-voice-pulse .75s var(--bar-delay) ease-in-out infinite alternate}
.chat-voice-time{font-size:29px;line-height:1;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#fff7d8}
.chat-voice-actions{display:flex;gap:10px}
.chat-studio .chat-voice-actions button{min-height:46px;margin:0;border-radius:13px;font-size:13px;line-height:1.3;padding:12px 16px;transition:transform .2s,background .2s}
.chat-studio .chat-voice-main{flex:1;background:#ffcf24;color:#242a20;border:1px solid #ffcf24;font-weight:700}
.chat-studio .chat-voice-cancel{background:#ffffff10;color:#fff;border:1px solid #ffffff25}
.chat-studio .chat-voice-actions button:not(:disabled):hover{transform:translateY(-2px)}
.chat-studio .chat-voice-actions button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.chat-studio .chat-voice-main:disabled{opacity:.5}
@keyframes chat-voice-pulse{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
/* Chat attachments: visual tiles, compact voice players and a full-window gallery. */
.message-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.message-attachments:empty{display:none}
.chat-bubble:has(.chat-media-card){width:min(440px,94%);max-width:94%;padding:13px}
.message-attachments .chat-media-card,.chat-studio .server-chat-files .chat-media-card{margin:0;min-width:0;overflow:hidden;border-radius:16px;border:1px solid #626c3520;background:#ffffff80;padding:0}
.chat-media-card.chat-audio-card{grid-column:1/-1}
.chat-visual-card:only-child{grid-column:1/-1}
.chat-media-thumb{position:relative;display:block;width:100%;padding:0;border:0;background:#e7e8dd;color:#778066;aspect-ratio:4/3;overflow:hidden;cursor:zoom-in;isolation:isolate;border-radius:15px;min-height:0}
.chat-media-visual{display:grid;place-items:center;position:absolute;inset:0;pointer-events:none}
.chat-media-visual>svg{width:38px;height:38px;opacity:.5}
.message-attachments .chat-media-visual img,.message-attachments .chat-media-visual video,.server-chat-files .chat-media-visual img,.server-chat-files .chat-media-visual video{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;transition:transform .3s;background:#e7e8dd}
.chat-media-thumb:hover img,.chat-media-thumb:hover video{transform:scale(1.035)}
.chat-media-overlay{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#18201599;color:white;backdrop-filter:blur(8px);pointer-events:none}
.chat-media-overlay svg{width:17px;height:17px}
[data-media-kind=video] .chat-media-overlay{width:46px;height:46px;inset:50% auto auto 50%;transform:translate(-50%,-50%);background:#171f20a8}
[data-media-kind=video] .chat-media-overlay svg{width:24px;height:24px}
.chat-media-duration{position:absolute;bottom:8px;right:8px;background:#17201ca8;color:white;border-radius:6px;font-size:10px;padding:3px 6px;font-variant-numeric:tabular-nums}
.chat-media-duration:empty{display:none}
.chat-media-note{display:block;font-size:11px;line-height:1.4;color:#8b362a;padding:8px 10px}
.chat-media-note:empty{display:none}
.chat-media-card.is-loading .chat-media-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,#ffffff50 50%,transparent 70%);background-size:200% 100%;animation:chat-media-loading 1.3s linear infinite}
.chat-audio-row{display:flex;align-items:center;gap:12px;padding:13px}
.chat-audio-play{display:grid;place-items:center;width:46px;height:46px;min-height:46px;flex:0 0 46px;border:0;border-radius:50%;background:#273326;color:#ffda36;cursor:pointer;transition:transform .2s,background .2s}
.chat-audio-play svg{width:23px;height:23px}.chat-audio-play:hover{transform:scale(1.07);background:#3e5033}
.chat-audio-body{display:grid;gap:5px;flex:1;min-width:0}.chat-audio-title{font-size:11px;font-weight:650;color:#46523a}
.chat-audio-body [data-media-time]{font-size:10px;color:#717c65;font-variant-numeric:tabular-nums}
.chat-audio-body input[type=range]{display:block;width:100%;margin:0;padding:0;height:22px;min-height:22px;accent-color:#597348;cursor:pointer}
.chat-media-card.is-playing .chat-audio-play{box-shadow:0 0 0 5px #617c4218}
.chat-studio .server-chat-files .chat-media-card>small,.chat-studio .server-chat-files .chat-media-card>.text-link{margin:5px 12px;font-size:11px}
.chat-gallery{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101610;color:#fff;overflow:hidden;box-shadow:none}
.chat-gallery[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;animation:chat-studio-arrive .18s ease-out both}
.chat-gallery::backdrop{background:#101610}
.chat-gallery .chat-gallery-header{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;background:transparent;border:0;padding:calc(15px + env(safe-area-inset-top)) 18px 15px;backdrop-filter:none}
.chat-gallery-header>div{display:grid;gap:5px;min-width:0}.chat-gallery-header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9b3a4;font-size:11px;max-width:70vw}
.chat-gallery-header [data-gallery-count]{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.chat-gallery button{display:grid;place-items:center;background:#ffffff12;border:1px solid #ffffff18;color:#fff;border-radius:50%;width:46px;height:46px;padding:10px;cursor:pointer;flex:none}
.chat-gallery button svg{width:23px;height:23px}.chat-gallery button:disabled{opacity:.2;cursor:default}
.chat-gallery-stage{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:hidden;touch-action:pan-y pinch-zoom;color:#bdc6b7}
.chat-gallery-stage>img,.chat-gallery-stage>video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0}
.chat-gallery .chat-gallery-nav{position:static;display:flex;align-items:center;justify-content:center;gap:24px;padding:16px 15px calc(16px + env(safe-area-inset-bottom));background:transparent;border:0}
.chat-gallery-nav span{font-size:11px;color:#a9b3a4;text-align:center}.chat-gallery-error{text-align:center;padding:20px}.chat-gallery-error button{width:auto;border-radius:14px;margin:12px auto}
.chat-gallery button:focus-visible,.chat-audio-play:focus-visible,.chat-media-thumb:focus-visible{outline:3px solid #c7a827;outline-offset:-3px}
.chat-voice-actions{flex-wrap:wrap}.chat-studio .chat-voice-actions button{flex:1;min-width:80px}.chat-studio .chat-voice-actions [data-chat-action=discard]{flex-basis:100%;background:transparent;border:0;min-height:32px;padding:6px}
@keyframes chat-media-loading{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.chat-gallery,.chat-media-card *,.chat-media-card *::after{animation:none!important;transition:none!important}}

/* Compact playback speed controls for voice and fullscreen video. */
.chat-playback-speed{display:flex;gap:3px;padding:3px;background:#e9ede2;border-radius:12px;width:max-content;max-width:100%;box-sizing:border-box}
.chat-playback-speed button,.chat-gallery .chat-playback-speed button{display:grid;place-items:center;width:42px;height:32px;min-height:32px;padding:0;border:0;border-radius:9px;background:transparent;color:#5e6a53;font:600 12px/1 system-ui;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.chat-playback-speed button[aria-pressed=true]{background:#fff;color:#233d2b;box-shadow:0 2px 5px #24382215}
.chat-playback-speed button:focus-visible{outline:2px solid #ad8900;outline-offset:1px}
.chat-gallery-speed{display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 15px 0}
.chat-gallery-speed[hidden]{display:none}
.chat-gallery-speed>span{font-size:11px;color:#a9b3a4}
.chat-gallery .chat-playback-speed{background:#ffffff12}
.chat-gallery .chat-playback-speed button{color:#c5cebf;width:48px;height:36px}
.chat-gallery .chat-playback-speed button[aria-pressed=true]{background:#ffda36;color:#20281c;box-shadow:0 2px 12px #ffda3620}
@media(max-width:420px){.chat-gallery-speed{flex-direction:column;gap:7px}.chat-audio-row{gap:9px;padding:11px}.chat-audio-card .chat-playback-speed{width:100%}.chat-audio-card .chat-playback-speed button{width:auto;flex:1;min-width:0}}
@media(prefers-reduced-motion:reduce){.chat-playback-speed button{transition:none!important}}

/* Per-video outbox preview: independent quality, before any conversion/upload. */
.chat-video-draft{display:grid;gap:10px;padding:14px 4px 8px;min-width:0}
.chat-video-draft>strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-video-draft>span{font-size:12px;color:var(--muted,#73796b)}
.chat-video-draft-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;gap:3px;border-radius:16px;background:#edefe7}
.chat-video-draft-rates button{border:0;border-radius:12px;background:transparent;padding:9px 2px;font-size:13px;font-weight:750;min-width:0;transition:background .2s,box-shadow .2s,transform .2s;color:#252a20}
.chat-video-draft-rates button[aria-pressed=true]{background:#ffcf00;box-shadow:0 2px 8px #b59a2130;transform:translateY(-1px)}
.chat-video-draft>small{font-size:12px;line-height:1.4;color:#73796b}
.chat-video-reselect{position:relative;display:block;padding:10px;background:#fff0ab;border-radius:12px;font-size:13px;text-align:center;overflow:hidden;cursor:pointer}
.chat-video-reselect input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
@media(prefers-reduced-motion:reduce){.chat-video-draft-rates button{transition:none}}

/* Original video remains a full-width option on narrow screens. */
.chat-studio .chat-quality-original{margin-top:8px;border:1px solid #ffffff24;border-radius:12px}
.chat-quality-original>span{min-height:48px;flex-direction:row;gap:10px;padding:8px 12px}
.chat-quality-original strong{font-size:14px;letter-spacing:0}
.chat-quality-original em{font-size:11px;letter-spacing:0}
.chat-quality-original input:checked+span{background:linear-gradient(140deg,#ffde56,#ffcb05);box-shadow:0 3px 10px #0003}
.chat-video-quality:has(.chat-quality-original input:checked) .chat-quality-thumb{opacity:0}
.chat-video-draft-rates button[data-quality="original"]{grid-column:1/-1;font-size:12px;padding:10px 4px}

/* Explicit fallback for browsers/devices without a suitable fast codec. */
.chat-server-processing{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #ffffff26;border-radius:16px;background:#ffffff08;cursor:pointer}
.chat-server-processing input{flex:0 0 20px;width:20px;height:20px;accent-color:#ffd000}

/* Video processing: one clear choice, with motion that follows the selection. */
.chat-processing{margin:20px 0 24px;padding-top:20px;border-top:1px solid #ffffff1c}
.chat-processing[hidden]{display:none}
.chat-processing-title{font-size:14px;font-weight:600;color:#d4dac8;margin-bottom:12px}
.chat-processing-track{display:grid;grid-template-columns:1fr 1fr;position:relative;isolation:isolate;padding:5px;border:1px solid #ffffff20;border-radius:18px;background:#10150e55}
.chat-processing-thumb{position:absolute;z-index:-1;inset:5px auto 5px 5px;width:calc(50% - 5px);border-radius:13px;background:#f6f5e9;box-shadow:0 3px 14px #0002;transition:transform .32s cubic-bezier(.22,1,.36,1),background .25s}
.chat-processing.is-server .chat-processing-thumb{transform:translateX(100%);background:#ffda35}
.chat-processing-option{position:relative;cursor:pointer;margin:0!important;padding:0!important;min-width:0}
.chat-processing-option input{position:absolute;opacity:0;width:1px;height:1px}
.chat-processing-option>span{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:10px 8px;color:#bec6b0;font-size:15px;font-weight:700;transition:color .2s;line-height:1.25}
.chat-processing-option input:checked+span{color:#242a1e}
.chat-processing-option svg{width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.chat-processing-option:has(input:focus-visible){outline:2px solid #ffd000;outline-offset:3px;border-radius:13px}
.chat-processing-hint{color:#c0c7b3!important;font-size:13px!important;line-height:1.5!important;margin:12px 2px 0!important;max-width:52ch;min-height:39px}
.chat-video-quality:disabled .chat-processing{opacity:.6}
@media(max-width:420px){.chat-processing-option>span{font-size:13px;gap:6px;padding-inline:4px}.chat-processing-option svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.chat-processing-thumb,.chat-processing-option>span{transition:none}}

/* The composer footer contains only its send action. */
.server-chat .chat-studio-footer{justify-content:flex-end}
#server-chat .chat-studio-footer{justify-content:flex-end}

.chat-studio .chat-studio-quick-send{display:flex;align-items:center;justify-content:flex-end;margin:16px 0}
.chat-studio .chat-studio-quick-send[hidden]{display:none}
.chat-studio .chat-studio-quick-send .chat-studio-send,.chat-studio .chat-studio-footer .chat-studio-send{width:180px;max-width:100%;min-height:48px;margin:0}

/* Keep the closed composer actions together without stacking two margins. */
.chat-studio:has([data-chat-quick-send][hidden]):has([data-chat-files]:empty) .attachment-tools{margin-bottom:0}
.chat-studio:has([data-chat-quick-send][hidden]):has([data-chat-files]:empty) .chat-studio-footer{margin-top:12px}
.chat-studio .server-chat-files:empty{display:none}

/* Client workspace: two related views inside each main section. */
.client-section-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin:0 0 22px;background:#e9ece3;border:1px solid #e1e5d9;border-radius:20px}
.client-section-switch a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border-radius:15px;text-decoration:none;text-align:center;font-weight:700;color:#68705e;transition:background .18s,color .18s,box-shadow .18s}
.client-section-switch a.active{background:#ffca05;color:#20231c;box-shadow:0 3px 10px #a9890015}
@media(prefers-reduced-motion:reduce){.client-section-switch a{transition:none}}

/* Compact inspector directory filters */
.directory-filters.card{padding:20px;border-radius:24px;display:grid;gap:16px;border:1px solid #e5e7dd;box-shadow:0 5px 20px #28311b05}
.directory-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.directory-filter-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:19px;line-height:1.25}
.directory-filter-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff3b5;color:#333b29}
.directory-filter-icon svg{width:21px;height:21px}
.directory-filter-heading button{border:0;border-radius:12px;background:#f1f3eb;color:#5f6855;padding:9px 13px;font-size:12px;font-weight:650;min-height:40px;transition:background .18s,opacity .18s}
.directory-filter-heading button:not(:disabled):hover{background:#ffed9a}
.directory-filters .form-field{margin:0;font-size:12px;color:#69705f;letter-spacing:.1px}
.directory-filters .form-field input{margin-top:7px;min-height:48px;padding:12px 14px;background:#f8f9f5;border:1px solid #e1e5d8;border-radius:14px;font-size:15px;transition:border-color .2s,background .2s}
.directory-filters .form-field input:focus{background:#fff;border-color:#c4a522}
.directory-filters .form-field input::placeholder{color:#979d8e}
.directory-services{background:#f7f8f3;border:1px solid #e8eadf;border-radius:16px;overflow:hidden}
.directory-services summary{display:flex;align-items:center;gap:10px;padding:15px;min-height:52px;cursor:pointer;list-style:none;font-size:14px;font-weight:650}
.directory-services summary::-webkit-details-marker{display:none}
.directory-services summary>span:first-child{flex:1}
.directory-services summary:focus-visible{outline:2px solid #a98100;outline-offset:-3px;border-radius:16px}
.directory-chevron{width:19px;height:19px;flex:none;color:#777f6c;transition:transform .22s}
.directory-services[open] .directory-chevron{transform:rotate(180deg)}
.directory-service-count{background:#ffcc00;border-radius:20px;padding:3px 9px;font-size:12px;font-variant-numeric:tabular-nums}
.directory-service-count[hidden]{display:none}
.directory-services .server-directory-service-filters{padding:0 10px 12px;gap:5px;animation:directory-services-in .2s ease-out}
.directory-services .server-directory-service-filters label{margin:0;padding:10px;border:1px solid transparent;border-radius:11px;background:#fff;font-size:13px;line-height:1.4;min-height:44px;cursor:pointer;transition:background .18s,border-color .18s}
.directory-services .server-directory-service-filters label:has(input:checked){background:#fff5bf;border-color:#e6cc64}
.directory-services .server-directory-service-filters input{width:18px;height:18px;margin:0;accent-color:#4c6542}
@keyframes directory-services-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:380px){.directory-filters.card{padding:16px;gap:14px}}
@media(prefers-reduced-motion:reduce){.directory-services .server-directory-service-filters{animation:none}.directory-chevron{transition:none}}

/* Vehicle identity: model, year, make stay on one row. */
:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.72fr);gap:12px;align-items:start}
:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row .form-field{min-width:0;margin:8px 0}
:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row input{min-width:0;width:100%;padding-inline:12px}
:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row .suggestions{overflow-wrap:anywhere}
@media(max-width:420px){:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row{gap:8px}:is(#open-request-form,#inspection-request-form) .open-request-vehicle-row input{padding-inline:8px}}

/* Compact service selection in free requests. */
:is(#open-request-form,#inspection-request-form) .open-service-list{border:0;padding:0;margin:24px 0;min-width:0;display:grid;gap:10px}
:is(#open-request-form,#inspection-request-form) .open-service-list legend{padding:0;margin-bottom:16px;font-size:20px;font-weight:750}
:is(#open-request-form,#inspection-request-form) .open-service-choice{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:12px;padding:14px;border:1px solid #e5e7df;border-radius:20px;background:#f8f9f5;transition:background .22s,border-color .22s,box-shadow .22s}
:is(#open-request-form,#inspection-request-form) .open-service-choice:has(input:checked){background:#fff8d7;border-color:#ecd46c;box-shadow:0 3px 12px #b59a1710}
:is(#open-request-form,#inspection-request-form) .open-service-choice .catalog-service-heading{grid-template-columns:40px minmax(0,1fr) 40px;gap:10px}
:is(#open-request-form,#inspection-request-form) .open-service-choice h3{font-size:16px;line-height:1.3;margin:0}
:is(#open-request-form,#inspection-request-form) .open-service-choice .service-icon{width:40px;height:44px}
:is(#open-request-form,#inspection-request-form) .open-service-choice .catalog-service-info{width:40px;height:44px;min-height:44px;background:transparent;color:#737b68;font-size:23px}
:is(#open-request-form,#inspection-request-form) .open-service-choice .catalog-service-info:hover{background:#fff0a7}
:is(#open-request-form,#inspection-request-form) .open-service-switch{display:grid;align-items:center;position:relative;width:52px;height:44px;margin:0;cursor:pointer}
:is(#open-request-form,#inspection-request-form) .open-service-switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
:is(#open-request-form,#inspection-request-form) .open-service-switch>span{display:block;position:relative;height:30px;width:52px;border-radius:99px;background:#dce0d6;transition:background .22s}
:is(#open-request-form,#inspection-request-form) .open-service-switch>span:after{content:"";position:absolute;left:4px;top:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #18211526;transition:transform .24s cubic-bezier(.2,.8,.2,1)}
:is(#open-request-form,#inspection-request-form) .open-service-switch input:checked+span{background:#287d50}
:is(#open-request-form,#inspection-request-form) .open-service-switch input:checked+span:after{transform:translateX(22px)}
:is(#open-request-form,#inspection-request-form) .open-service-switch input:focus-visible+span{outline:3px solid #b28a00;outline-offset:4px}
:is(#open-request-form,#inspection-request-form) .open-service-switch input:disabled+span{opacity:.5}
@media(max-width:420px){:is(#open-request-form,#inspection-request-form) .open-service-choice{padding:10px;gap:8px;border-radius:16px}:is(#open-request-form,#inspection-request-form) .open-service-choice .catalog-service-heading{grid-template-columns:32px minmax(0,1fr) 32px;gap:6px}:is(#open-request-form,#inspection-request-form) .open-service-choice .service-icon{width:32px}:is(#open-request-form,#inspection-request-form) .open-service-choice .catalog-service-info{width:32px}:is(#open-request-form,#inspection-request-form) .open-service-choice h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){:is(#open-request-form,#inspection-request-form) .open-service-choice,:is(#open-request-form,#inspection-request-form) .open-service-switch>span,:is(#open-request-form,#inspection-request-form) .open-service-switch>span:after{transition:none}}

/* Clear icon navigation for the four client sections. */
#navigation.client-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;border-radius:25px;border-color:#e2e5da;background:#fff;box-shadow:0 3px 14px #20231c08}
#navigation.client-bottom-nav a{min-height:64px;min-width:0;padding:7px 4px;gap:4px;border-radius:19px;font-size:14px;font-weight:600;line-height:1.2;color:#51594a;letter-spacing:-.15px;transition:background .22s,color .22s,transform .22s}
#navigation.client-bottom-nav a svg{width:23px;height:23px;stroke-width:1.6;transition:color .18s}
#navigation.client-bottom-nav a.active{background:#ffcc00;color:#20251b;font-weight:700;box-shadow:none}
#navigation.client-bottom-nav a.active svg{transform:none}
#navigation.client-bottom-nav a:hover:not(.active){background:#f3f5ee;color:#252d20}
#navigation.client-bottom-nav a:active{transform:scale(.97)}
#navigation.client-bottom-nav .client-nav-label{max-width:100%;white-space:normal;overflow-wrap:normal;text-overflow:clip}
#navigation.client-bottom-nav .nav-order-count{right:calc(50% - 28px);top:5px}
@media(max-width:420px){#navigation.client-bottom-nav{gap:2px;padding:6px;border-radius:25px}#navigation.client-bottom-nav a{font-size:12px;min-height:60px;padding:8px 2px;border-radius:20px}#navigation.client-bottom-nav a svg{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){#navigation.client-bottom-nav a,#navigation.client-bottom-nav a svg{transition:none}}

/* Client cabinet shares the inspector's yellow profile card. */
.client-cabinet-person{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 0}
.client-cabinet-person>div:first-child{min-width:0}.client-cabinet-role{font-size:12px;margin:0 0 8px;opacity:.7}
.client-cabinet #client-cabinet-name{font-size:clamp(27px,5vw,37px);font-weight:800;letter-spacing:-1px;line-height:1.12;margin:0;overflow-wrap:anywhere}
.client-cabinet-avatar{width:80px;height:80px;flex:none;display:grid;place-items:center;border-radius:50%;background:#ffe56b;border:1px solid #fff6;box-shadow:0 0 0 8px #fff2}
.client-cabinet-avatar svg{width:48px;height:48px}
/* A raised black key: polished bevel, satin face and a yellow inset medallion. */
.client-cabinet-find{
 position:relative;isolation:isolate;overflow:visible;display:flex;align-items:center;justify-content:space-between;
 gap:22px;width:100%;min-height:122px;padding:28px 30px;margin-bottom:10px;
 border:1px solid #171719;border-radius:30px;
 background:linear-gradient(165deg,#f3f1e9 0%,#a8a7a3 9%,#414144 28%,#1b1b1d 55%,#69696c 100%);
 color:#fff;font-size:clamp(23px,3.8vw,27px);line-height:1.18;font-weight:800;letter-spacing:-.65px;text-align:left;
 cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 box-shadow:0 2px 0 #f8e18c,0 7px 0 #080809,0 9px 0 #393729,0 15px 15px #49340042,0 27px 35px -12px #49340055;
 transform:translateY(0);transform-origin:50% 70%;
 transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease;
}
.client-cabinet-find:before{
 content:"";position:absolute;z-index:-1;inset:2px;border-radius:27px;pointer-events:none;
 background:radial-gradient(ellipse at 16% -30%,#ffffff30,transparent 60%),linear-gradient(177deg,#38393d 0%,#26272a 37%,#111113 78%,#1b1b1e 100%);
 box-shadow:inset 0 1px 1px #ffffff55,inset 0 -2px 1px #000,inset 0 0 0 1px #0008;
}
.client-cabinet-find:after{
 content:"";position:absolute;inset:7px;border-radius:22px;pointer-events:none;
 border:1px solid #ffffff0a;border-top-color:#ffffff24;
 background:radial-gradient(ellipse at 32% 0%,#ffffff0c,transparent 65%);
 opacity:calc(.65 + var(--haichyk-cue,0)*.35);
}
.client-order-label{position:relative;z-index:1;min-width:0;text-wrap:balance;text-shadow:0 2px 3px #0009}
.client-cabinet-find>.client-order-arrow{
 position:relative;z-index:1;display:grid;place-items:center;flex:none;width:62px;height:62px;
 border:1px solid #ffe982;border-radius:50%;
 background:radial-gradient(ellipse at 34% 12%,#fff0a8 0%,#ffdc3d 34%,#ffce00 68%,#efb800 100%);color:#141414;
 box-shadow:0 3px 0 #b08700,0 5px 0 #050505,0 8px 13px #0009,0 0 0 5px #080809,inset 0 2px 1px #fff8;
 transition:box-shadow .22s ease,transform .22s ease;
}
.client-order-arrow:before{content:"";position:absolute;inset:4px;border-radius:50%;border:1px solid #fff4;border-bottom-color:#a7750026;pointer-events:none}
.client-order-arrow svg{display:block;width:29px;height:29px;stroke-width:2.3;filter:drop-shadow(0 1px 0 #fff5);transition:transform .22s ease}
@media(hover:hover) and (pointer:fine){
 .client-cabinet-find:hover{transform:translateY(-2px);box-shadow:0 2px 0 #fff0b0,0 9px 0 #080809,0 11px 0 #393729,0 19px 20px #49340048,0 31px 40px -12px #49340060}
 .client-cabinet-find:hover>.client-order-arrow{transform:translateY(-1px);box-shadow:0 4px 0 #b08700,0 6px 0 #050505,0 10px 16px #0009,0 0 0 5px #080809,inset 0 2px 1px #fffb}
}
.client-cabinet-find:active{transform:translateY(6px);box-shadow:0 1px 0 #f8e18c,0 2px 0 #080809,0 3px 0 #393729,0 6px 10px #49340045,0 12px 18px -10px #49340055;transition-duration:.08s}
.client-cabinet-find:active>.client-order-arrow{transform:translateY(2px);box-shadow:0 1px 0 #b08700,0 2px 0 #050505,0 3px 6px #0008,0 0 0 5px #080809,inset 0 1px 2px #fff8;transition-duration:.08s}
.client-cabinet-find:focus-visible{outline:3px solid #171717;outline-offset:7px}
.client-orders-empty{display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 20px;text-align:center;color:#6d7566;font-size:15px}
.client-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#f4f4e9;color:#828b76}.client-empty-icon svg{width:27px;height:27px}
@media(max-width:420px){.client-cabinet-person{gap:16px}.client-cabinet-avatar{width:62px;height:62px}.client-cabinet-avatar svg{width:38px;height:38px}.client-cabinet #client-cabinet-name{font-size:27px}.client-cabinet-find{font-size:21px;padding:25px 22px;min-height:116px;gap:18px;border-radius:27px}.client-cabinet-find:before{border-radius:24px}.client-cabinet-find:after{border-radius:19px}.client-cabinet-find>.client-order-arrow{width:48px;height:48px}.client-order-arrow svg{width:25px;height:25px}}
/* Animated Haichyk styles are in haichyk.css. */
@media(prefers-reduced-motion:reduce){.client-cabinet-find,.client-cabinet-find>.client-order-arrow,.client-order-arrow svg{transition:none}}
/* Edit a client identity directly from the profile header. */
.client-cabinet-person>div:first-child{flex:1;min-width:0}
.client-cabinet-name-row{display:flex;align-items:flex-start;gap:8px}
.client-cabinet-name-row h1{min-width:0}
.client-name-edit{flex:none;display:grid;place-items:center;width:36px;min-height:40px;padding:8px;border:0;border-radius:50%;background:transparent;color:#171717;cursor:pointer}
.client-name-edit svg{width:18px;height:18px}
.client-name-edit:hover{background:#fff4}
button.client-cabinet-avatar{position:relative;padding:0;border:1px solid #fff7;color:#171717;cursor:pointer}
.client-cabinet-avatar [data-client-photo-content]{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;overflow:hidden}
.client-cabinet-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.client-cabinet-avatar .client-avatar-edit{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:28px;height:28px;background:#fff;color:#171717;border:1px solid #1717171a;border-radius:50%;box-shadow:0 2px 5px #0001}
.client-cabinet-avatar .client-avatar-edit svg{width:15px;height:15px}
.client-name-edit:focus-visible,.client-cabinet-avatar:focus-visible{outline:3px solid #171717;outline-offset:3px}
.client-profile-dialog{width:min(430px,calc(100vw - 32px));max-height:85dvh;padding:26px;border:1px solid #e2e2da;border-radius:24px;background:#fff;color:#20221d;box-shadow:0 24px 80px #0004}
.client-profile-dialog::backdrop{background:#10101070;backdrop-filter:blur(4px)}
.client-profile-dialog h2{margin:0 0 22px;font-size:24px;letter-spacing:-.5px}
.client-profile-dialog .button-bar{margin-top:24px}
.client-profile-dialog .error{margin:14px 0 0;white-space:normal}
.client-profile-photo-preview{display:grid;place-items:center;width:160px;height:160px;overflow:hidden;border-radius:50%;background:#ffdf57;margin:0 auto 24px;box-shadow:0 0 0 6px #f5f5ef}
.client-profile-photo-preview img{width:100%;height:100%;object-fit:cover}
.client-profile-photo-preview svg{width:80px;height:80px}
/* Vehicle-first client booking. */
.inspection-flow-heading{display:flex;gap:18px;align-items:center;margin:20px 0 28px}.inspection-flow-heading h1{font-size:clamp(26px,4vw,38px);margin:0 0 8px}.inspection-flow-heading p{margin:0;color:#717867}.inspection-step{flex-shrink:0;background:#ffcc00;border-radius:20px;padding:18px;font-weight:800}.inspection-summary{display:flex;justify-content:space-between;align-items:center;gap:16px}.inspection-summary p{margin:6px 0 0}.inspection-fallback{padding:24px;background:#fff5c5;border:1px solid #ead782;border-radius:26px;margin:24px 0;display:flex;gap:24px;align-items:center}.inspection-fallback h2{font-size:22px;margin:0 0 8px}.inspection-fallback p{margin:0;font-size:15px;color:#686c59}.inspection-fallback button{flex-shrink:0}.inspection-coverage{display:flex;gap:12px;align-items:center;margin:20px 0;padding:14px 18px;border-radius:16px;background:#fff3cb}.inspection-coverage.complete{background:#eaf5ed;color:#276542}.inspection-match-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.inspection-match-footer strong{font-size:24px}.inspection-match-footer small{display:block;color:#747b6a;margin-top:6px}.inspection-partial{display:flex;gap:12px;align-items:center;font-size:14px}.inspection-partial input{width:22px;height:22px;accent-color:#287d50}.inspection-error{padding:16px;background:#fff0eb;color:#a5281d;border-radius:16px;margin-bottom:16px}.inspection-match{animation:inspection-enter .28s ease-out}.inspection-match .person h2{font-size:23px}@keyframes inspection-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){.inspection-fallback{display:block}.inspection-fallback button{margin-top:18px;width:100%}.inspection-match-footer{align-items:stretch;flex-direction:column}.inspection-summary{align-items:flex-start}.inspection-summary button{font-size:14px;padding:12px}.inspection-flow-heading{gap:12px}.inspection-step{padding:14px}.inspection-coverage{font-size:14px}}@media(prefers-reduced-motion:reduce){.inspection-match{animation:none}}

/* Matching cards reuse the approved compact inspector design. */
.inspection-match .inspection-partial{position:relative;padding:16px;background:#f5f6f0;border-radius:16px;cursor:pointer;gap:12px;margin-top:16px}
.inspection-match .inspection-partial input{position:absolute;opacity:0;width:1px;height:1px}
.inspection-consent-switch{width:44px;height:26px;border-radius:20px;background:#d9ddd2;flex-shrink:0;position:relative;transition:background .2s}
.inspection-consent-switch:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}
.inspection-partial input:checked+.inspection-consent-switch{background:#287d50}.inspection-partial input:checked+.inspection-consent-switch:after{transform:translateX(18px)}
.inspection-partial input:focus-visible+.inspection-consent-switch{outline:3px solid #b68000;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.inspection-consent-switch,.inspection-consent-switch:after{transition:none}}

/* Compact edition of the inspector cabinet's honor board. */
.mini-honor{background:#ffcf00;color:#23281d;border-radius:22px;padding:18px;overflow:hidden;isolation:isolate}
.mini-honor .honor-rating-banner{margin:-18px -18px 0;padding:18px 20px;gap:16px;animation:honor-banner-in .45s ease-out both}
.mini-honor .honor-rating-line{gap:8px 12px}
.mini-honor .honor-rating-line>strong{font-size:48px;letter-spacing:-2px;line-height:1}
.mini-honor .honor-out-of{font-size:12px}
.mini-honor .honor-rating-line .rating-stars{font-size:18px;letter-spacing:2px}
.mini-honor .honor-score>p{font-size:12px;margin-top:8px}
.mini-honor .honor-rank{flex-basis:74px;gap:0;border-radius:12px}
.mini-honor .honor-rank svg{width:74px;height:74px}
.mini-honor .honor-rank span{font-size:9px}
.mini-honor .honor-metrics{gap:12px;margin:17px 0 14px}
.mini-honor .honor-metrics>div+div{border-left:1px solid #23281d30;padding-left:12px}
.mini-honor .honor-metrics strong{font-size:25px;letter-spacing:-.5px}
.mini-honor .honor-metrics span{font-size:11px;line-height:1.4;margin-top:4px;opacity:.85}
.mini-honor .honor-reviews{margin-top:0;border-color:#23281d35}
.mini-honor .honor-reviews>summary{min-height:38px;padding-top:10px;font-size:13px}
.mini-honor .honor-review-arrow{font-size:20px}
@media(max-width:380px){.mini-honor{padding:14px}.mini-honor .honor-rating-banner{margin:-14px -14px 0;padding:15px 14px}.mini-honor .honor-rating-line{gap:6px}.mini-honor .honor-rating-line>strong{font-size:40px}.mini-honor .honor-rating-line .rating-stars{font-size:15px;letter-spacing:0}.mini-honor .honor-metrics{gap:8px}.mini-honor .honor-metrics>div+div{padding-left:8px}.mini-honor .honor-metrics span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mini-honor *{animation:none!important;transition:none!important}}

.inspection-trip-line{margin-top:10px;gap:12px}.inspection-trip-line b{white-space:nowrap}.inspection-trip-total{border-top:1px solid #b49a4340;padding-top:12px;margin-top:12px}.compact-cost .route-choice-group button{width:100%;text-align:left}

/* Explain why partial-service selection needs confirmation. */
.inspection-match .needs-consent .inspection-partial{background:#fff5df;box-shadow:inset 0 0 0 2px #d79728}

.inspection-match .consent-nudge .inspection-partial{animation:consent-nudge .48s ease-in-out}
@keyframes consent-nudge{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
@media(prefers-reduced-motion:reduce){.inspection-match .consent-nudge .inspection-partial{animation:none}}

.client-cabinet-resume{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;margin-bottom:12px;border:1px solid #23281d30;border-radius:17px;background:#fff7ce;color:#23281d;text-decoration:none;transition:background .2s}
.client-cabinet-resume strong{display:block;font-size:16px;font-weight:750}.client-cabinet-resume small{display:block;margin-top:4px;font-size:12px;line-height:1.4;opacity:.75}.client-cabinet-resume>span:last-child{font-size:24px}.client-cabinet-resume:hover{background:#fffbea}.client-cabinet-resume:focus-visible{outline:3px solid #596d46;outline-offset:3px}
@media(max-width:420px){.client-cabinet-resume{padding:14px 16px}.client-cabinet-resume strong{font-size:14px}}

/* Reveal the summary evenly into the space left by the final form card. */
#server-book .server-total{--summary-inset:0px;--summary-opacity:1;--summary-compact-opacity:0;isolation:isolate;background:transparent;border-color:transparent;box-shadow:none;pointer-events:none;clip-path:inset(var(--summary-inset) 0 0 round 16px);transition:none}
#server-book .server-total::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid #e5e6dc;border-radius:24px;background:#fff;clip-path:inset(var(--summary-inset) 0 0 round 16px);transition:none}
.booking-total-full{opacity:var(--summary-opacity);transform:translateY(var(--summary-inset));pointer-events:auto;transition:none}
.server-total.is-compact .booking-total-full{pointer-events:none}
.booking-total-compact{display:flex;position:absolute;bottom:0;left:0;right:0;width:100%;min-height:48px;padding:10px 16px;align-items:center;gap:12px;border:1px solid #e5e6dc;border-radius:16px;background:#fff;color:#23281d;cursor:pointer;text-align:left;opacity:var(--summary-compact-opacity);pointer-events:auto;transition:none}
.booking-total-compact[inert]{pointer-events:none}
.booking-total-compact>span:first-child{flex:1;font-size:14px;font-weight:600}.booking-total-compact strong{font-size:20px;white-space:nowrap}.booking-total-compact>span:last-child{font-size:20px;color:#68715d}
.booking-total-compact:focus-visible{outline:3px solid #d2a700;outline-offset:-3px}
@media(prefers-reduced-motion:reduce){#server-book .server-total,#server-book .server-total::before,.booking-total-full,.booking-total-compact{transition:none}}

/* Make the final payable amount the main visual anchor of checkout. */
.booking-total-full .booking-payable{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:12px;padding:16px 18px;border:1px solid #b8d9c2;border-radius:18px;background:#e8f5ec;color:#185b35}
.booking-payable>span{font-size:18px;font-weight:750}
.booking-payable>strong{font-size:34px;font-weight:850;line-height:1.15;letter-spacing:-.7px;white-space:nowrap}
.booking-total-full .server-amount{font-size:24px}
.booking-total-compact{background:#e8f5ec;border-color:#b8d9c2;color:#185b35}
.booking-total-compact>span:last-child{color:#185b35}

/* Booking route updates stay beside the address, without moving focus or the page. */
.booking-travel-status{min-height:1.5em;margin:8px 0!important}
.booking-travel-status[data-state="pending"]{color:#657044}
.booking-travel-status[data-state="error"]{color:#a52b20}
#server-book-route{overflow-anchor:none}

/* Checkout presents the services already chosen in the previous step. */
.booking-selected-services h2{margin:0 0 10px}
.booking-service-list{list-style:none;margin:0;padding:0}
.booking-service-line{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 0}
.booking-service-line+.booking-service-line{border-top:1px solid #e9ebe2}
.booking-service-line .service-icon{width:40px;height:40px;border-radius:12px}
.booking-service-line .service-icon svg{width:24px;height:24px}
.booking-service-name{font-size:16px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.booking-service-price{font-size:19px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.booking-services-subtotal{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e4e7da;margin-top:4px;padding-top:16px;color:#646d59;font-size:14px}
.booking-services-subtotal strong{color:#24291e;font-size:19px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:380px){.booking-service-line{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.booking-service-line .service-icon{width:32px;height:36px}.booking-service-name{font-size:14px}.booking-service-price{font-size:16px}}

/* Booking: edit the chosen set without reopening the full selection form. */
.booking-selected-services .booking-service-line{grid-template-columns:40px minmax(0,1fr) auto 36px;gap:10px}
.booking-service-action{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #e6e8df;border-radius:50%;background:#f6f7f2;color:#747b6b;font-size:24px;font-weight:400;line-height:1;transition:background .18s,color .18s,transform .18s}
.booking-service-action:hover{background:#fff0ea;color:#a84229;transform:scale(1.05)}
.booking-service-action.is-add{background:#fff2ac;border-color:#f4df7b;color:#353d25}
.booking-service-action.is-add:hover{background:#ffd000;color:#202718}
.booking-extra-toggle{display:flex;align-items:center;gap:10px;width:100%;margin-top:20px;padding:13px 16px;border:1px solid #eadb91;border-radius:15px;background:#fff7cf;color:#303723;font-size:16px;font-weight:700;text-align:left}
.booking-extra-toggle>span:first-child{font-size:23px;line-height:1}
.booking-extra-chevron{margin-left:auto;transition:transform .2s}
.booking-extra-toggle[aria-expanded="true"] .booking-extra-chevron{transform:rotate(180deg)}
.booking-extra-services{margin-top:10px;padding:0 12px;border-radius:15px;background:#f7f8f3}
.booking-extra-services[hidden]{display:none}
.booking-extra-services>.hint{padding:16px 0;margin:0;font-size:14px;line-height:1.5}
.booking-extra-services .booking-service-name{font-size:14px}
.booking-extra-services .booking-service-price{font-size:16px}
@media(max-width:420px){.booking-selected-services .booking-service-line{grid-template-columns:32px minmax(0,1fr) auto 32px;gap:8px}.booking-service-action{width:32px;height:32px;min-height:32px}.booking-selected-services .service-icon{width:32px;height:36px}.booking-selected-services .booking-service-name{font-size:14px}.booking-selected-services .booking-service-price{font-size:16px}.booking-extra-services{padding:0 8px}}
@media(prefers-reduced-motion:reduce){.booking-service-action,.booking-extra-chevron{transition:none}}

/* Quiet travel tariff and fare underneath the address details. */
.booking-travel-info{margin-top:16px;padding-top:12px;border-top:1px solid var(--line,#e3e5dc);color:var(--muted,#737a6b);font-size:14px;font-weight:400;line-height:1.5}
.booking-travel-info p{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:6px 0;font-size:inherit;font-weight:400}
.booking-travel-info p span:last-child{text-align:right;font-variant-numeric:tabular-nums;color:#4e5848}

/* Even spacing between booking travel explanations; empty status takes no space. */
#server-book-travel-status:empty,#server-book-address-options:empty{display:none}
#server-book-travel-status{min-height:0;margin:12px 0!important}
#server-book-route{display:grid;gap:12px;align-content:start;margin-top:12px}
#server-book-route>.hint{margin:0;line-height:1.5}
#server-book-route>.booking-travel-info{margin-top:0}
#server-book .hint:has(+ #server-book-travel-status){margin:12px 0}

/* Explain the pending client request directly on the order page. */
.order-sent-notice{display:flex;align-items:flex-start;gap:14px;padding:22px;margin:0 0 20px;border:1px solid #f0d250;border-radius:24px;background:#fff4bd;color:#20221d}
.order-sent-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#ffcc00;color:#20221d;font-size:24px;font-weight:700}
.order-sent-notice h2{margin:0 0 8px;font-size:21px;line-height:1.25;color:#20221d}
.order-sent-notice p{margin:0 0 14px;font-size:15px;line-height:1.5;color:#20221d}
.order-sent-notice a{color:#20221d;font-size:15px;font-weight:650;text-underline-offset:4px}
@media(max-width:400px){.order-sent-notice{padding:18px;gap:10px}.order-sent-notice h2{font-size:19px}}

/* Full order amount is the primary price. */
.order-services-subtotal{border-bottom:0;font-weight:700}
.order-payable{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;color:#20221d}
.order-payable>span{font-size:18px;font-weight:700}
.order-payable>strong{font-size:32px;font-weight:700;line-height:1.2;white-space:nowrap}

/* Inspector's price proposal: explicit terms, then client approval. */
.price-editor{margin:20px 0;border:1px solid #e4e4df;border-radius:22px;overflow:hidden}
.price-editor>summary{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;font-size:16px;font-weight:700;cursor:pointer;background:#fff5bf;list-style:none;color:#181818}
.price-editor>summary::-webkit-details-marker{display:none}
.price-editor>summary span{transition:transform .2s}
.price-editor[open]>summary span{transform:rotate(45deg)}
.price-editor form{padding:20px;display:grid;gap:18px}
.price-editor form>label,.price-extra>label{display:grid;gap:8px;font-size:14px;font-weight:700;color:#181818}
.price-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:12px;font-size:14px;color:#181818}
.price-input{position:relative}.price-input input{width:100%;padding-right:36px!important;margin:0}.price-input>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px}
.price-extra{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:12px;padding-top:18px;border-top:1px solid #e4e4df}
.price-editor textarea{min-height:90px}.price-editor button{margin:0}
.price-proposal{background:#fff9da;border:1px solid #efcd46;margin:20px 0;padding:22px;color:#181818}
.price-proposal-heading{display:flex;align-items:flex-start;gap:12px}.price-proposal-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:14px;background:#ffcc00;font-size:25px}
.price-proposal h2{margin:0 0 6px}.price-proposal-heading p{margin:0;font-size:14px}
.price-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.price-comparison>div{display:grid;gap:6px;background:#fff;padding:16px;border-radius:18px}.price-comparison>div:last-child{background:#ffcc00}
.price-comparison span{font-size:13px}.price-comparison strong{font-size:25px}.price-comparison>div:first-child strong{text-decoration:line-through;font-size:20px}
.price-reason{margin:18px 0;padding:14px;background:#fff;border-radius:14px}.price-reason p{white-space:pre-wrap;margin:6px 0 0;font-size:14px}
.price-proposal>.text-link{display:block;margin:16px auto 0;color:#181818}
@media(max-width:430px){.price-extra{grid-template-columns:1fr}.price-edit-row{grid-template-columns:minmax(0,1fr) 110px}.price-editor form{padding:14px}.price-proposal{padding:16px}.price-comparison strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.price-editor>summary span{transition:none}}
.price-editor form input,.price-editor form textarea{box-sizing:border-box;display:block;width:100%;min-width:0;border:1px solid #deded6;border-radius:14px;background:#fff;padding:12px 14px;font:inherit;font-weight:500;color:#181818;outline:none}
.price-editor form input:focus,.price-editor form textarea:focus{border-color:#d8ae00;box-shadow:0 0 0 3px #ffcc0026}
.price-editor form input[type=number]{font-size:17px;font-weight:700;min-height:46px}
.price-editor form label{margin:0;padding:0}.price-editor form>.hint{margin:0 0 2px;line-height:1.5;color:#646464}
.price-editor form>.price-edit-row{padding:3px 0}.price-editor form>.order-payable{margin-top:0}
.price-editor .price-extra{align-items:end}

/* Signed price adjustment: two fields and a compact total. */
.price-editor form{gap:16px}
.price-editor .price-delta-label{display:grid;gap:10px}
.price-editor .price-delta-label .price-input{max-width:320px}
.price-editor .price-delta-label input{font-size:26px;font-weight:750;padding:14px 50px 14px 16px}
.price-editor form textarea{min-height:90px;resize:vertical}
.price-adjustment-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#fff4bd;border-radius:18px}
.price-adjustment-preview strong{font-size:26px;color:#181818}
.price-proposal .price-comparison{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.price-proposal .price-comparison strong{font-size:clamp(18px,3vw,28px)}
.price-proposal .price-reject{color:#b42318;display:block;margin:16px auto 0}
@media(max-width:420px){.price-proposal .price-comparison{gap:6px}.price-proposal .price-comparison>div{padding:12px 8px}}

/* Choose the sign separately; enter only the amount. */
.price-editor .price-direction{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#f3f3ee;border:1px solid #e7e7df;border-radius:19px;max-width:420px}
.price-editor .price-direction label{position:relative;cursor:pointer;min-width:0}
.price-editor .price-direction input{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}
.price-editor .price-direction span{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 16px;border-radius:14px;font-size:16px;font-weight:700;color:#181818;transition:background .18s ease,box-shadow .18s ease}
.price-editor .price-direction b{font-size:24px;line-height:1}
.price-editor .price-direction input:checked+span{background:#ffcc00;box-shadow:0 2px 6px #0000000a}
.price-editor .price-direction input:focus-visible+span{outline:2px solid #181818;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.price-editor .price-direction span{transition:none}}

/* Keep short conversations above a bottom-aligned composer; long content still scrolls. */
body:has(#server-chat [data-chat-form]){display:flex;flex-direction:column;min-height:100dvh}
body:has(#server-chat [data-chat-form])>header{flex-shrink:0}
#app:has(#server-chat [data-chat-form]){display:flex;flex-direction:column;flex:1;width:100%;min-height:0;padding-bottom:0}
#server-chat:has([data-chat-form]){display:flex;flex-direction:column;flex:1;min-width:0}
#server-chat>[data-chat-form]{margin-top:auto;margin-bottom:0;flex-shrink:0}

/* Publish stays within reach while choosing services. */
.open-publish-dock{position:fixed;z-index:35;display:flex;justify-content:flex-end;pointer-events:none}
.open-publish-dock[hidden]{display:none}
.open-publish-dock .primary{pointer-events:auto;min-height:48px;padding:12px 22px;box-shadow:0 5px 22px #0002;animation:open-publish-appear .16s ease-out}
@keyframes open-publish-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:540px){.open-publish-dock .primary{width:100%}}
@media(prefers-reduced-motion:reduce){.open-publish-dock .primary{animation:none}}

.open-request-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}

/* Clearly distinguish editing an existing request from creating one. */
#open-request-form.open-request-editing{background:#fffbea;border:1px solid #f0d56a}
#open-request-form>h2{background:#ffce00;color:#171717;border-radius:18px;padding:18px 20px;margin:0 0 18px;line-height:1.25}
#open-request-form.open-request-editing>.field input{background:#fff}

/* Brief confirmation on the newly published request, after scrolling to it. */
[data-open-request].open-request-published{animation:open-request-published 2s ease-in-out both}
@keyframes open-request-published{
  0%,100%{background-color:#fff;border-color:#e9eae5;box-shadow:0 0 0 0 #ffcc0000}
  18%,65%{background-color:#fff8d8;border-color:#f2d66a;box-shadow:0 0 0 5px #ffcc001c}
}
@media(prefers-reduced-motion:reduce){
  [data-open-request].open-request-published{animation:none;background:#fff8d8;border-color:#f2d66a}
}

/* The open-request invitation has its own dark stage and a raised yellow key. */
.open-request-hero{position:relative;isolation:isolate;margin:0 0 30px;padding:24px 24px 30px;border:1px solid #454545;border-radius:30px;background:radial-gradient(ellipse at 98% 0,#ffffff13,transparent 65%),linear-gradient(145deg,#28292b,#111214 70%);color:#fff;box-shadow:inset 0 1px 0 #ffffff29,0 12px 26px #00000015}
.open-request-hero:before{content:"";position:absolute;inset:7px;border:1px solid #ffffff0c;border-radius:23px;pointer-events:none;z-index:-1}
.open-request-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:10px;line-height:1.2;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:#fff}
.open-request-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#ffce00;box-shadow:0 0 0 4px #ffce0017}
.open-request-invite{position:relative;display:flex;align-items:center;min-height:210px}
.open-request-copy{position:relative;z-index:1;width:56%;padding:16px 0 20px}
.open-request-copy h2{margin:0;font-size:clamp(23px,4.4vw,32px);font-weight:850;line-height:1.13;letter-spacing:-.045em;color:#fff}
.open-request-copy h2 span{color:#ffce00}
.open-request-copy p{max-width:230px;margin:15px 0 0;font-size:14px;line-height:1.5;color:#ffffffb8}
.open-request-hero .open-request-mascot{inset:auto -8px 6px auto;width:46%;height:210px}
.open-request-hero .open-request-mascot:before{content:"";position:absolute;width:150px;height:150px;right:8px;bottom:10px;border:1px solid #ffffff0b;border-radius:50%;background:radial-gradient(ellipse,#ffffff0c,transparent 70%)}
.open-request-hero .open-request-mascot .haichyk{width:198px;height:176px;bottom:-13.2px;filter:drop-shadow(0 6px 3px #0003)}
.haichyk[data-haichyk-placard="false"] [data-part="sign"]{display:none}
.open-request-hero [data-part="body"]>path:first-child{fill:#fff}
.open-request-hero :is([data-part="larm"],[data-part="rarm"],[data-part="lleg"],[data-part="rleg"],[data-part="attention"],[data-part="dust"],[data-part="burst"],[data-part="speed"]){stroke:#fff}
.open-request-hero :is([data-part="lhand"],[data-part="rhand"]),.open-request-hero :is([data-part="lshoe"],[data-part="rshoe"])>path:first-child{fill:#ffce00}
.open-request-hero [data-part="shadow"]{fill:#ffce00}
.open-request-create{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:84px;padding:16px 18px 16px 22px;border:1px solid #fff1a1;border-radius:20px;background:linear-gradient(165deg,#ffe785 0%,#ffd527 39%,#ffca00 80%);color:#111;font-size:clamp(18px,3.6vw,23px);font-weight:850;line-height:1.2;letter-spacing:-.025em;text-align:left;text-shadow:0 1px 0 #fff5;box-shadow:inset 0 2px 0 #fff8,inset 0 -2px 0 #dea900,0 5px 0 #b68c00,0 7px 0 #080808,0 12px 18px #0008;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.open-request-create:before{content:"";position:absolute;inset:5px;border:1px solid #fff5;border-radius:15px;pointer-events:none}
.open-request-create>span:first-child{position:relative}
.open-request-create-plus{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #4c4c4c;border-radius:14px;background:linear-gradient(145deg,#303133,#111);box-shadow:inset 0 1px 1px #fff3,0 2px 0 #755a00,0 4px 8px #0003;color:#ffda35}
.open-request-create-plus svg{width:27px;height:27px;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;transition:transform .25s ease}
@media(hover:hover){.open-request-create:hover{transform:translateY(-2px);box-shadow:inset 0 2px 0 #fff9,inset 0 -2px 0 #dea900,0 7px 0 #b68c00,0 9px 0 #080808,0 16px 23px #0009}.open-request-create:hover svg{transform:rotate(90deg)}}
.open-request-create:active{transform:translateY(5px);box-shadow:inset 0 1px 0 #fff6,inset 0 -1px 0 #dea900,0 1px 0 #b68c00,0 2px 0 #080808,0 4px 7px #0006}
.open-request-create:focus-visible{outline:3px solid #fff;outline-offset:10px}
.open-request-create:disabled{opacity:.6;cursor:wait;transform:none}
@media(max-width:420px){.open-request-hero{padding:20px 18px 25px;border-radius:26px}.open-request-invite{min-height:184px}.open-request-copy{width:57%}.open-request-copy h2{font-size:24px}.open-request-copy p{font-size:12px;line-height:1.45;margin-top:12px}.open-request-hero .open-request-mascot{right:-12px;width:45%;height:184px}.open-request-hero .open-request-mascot .haichyk{left:-16px;width:160px;height:142.22px;bottom:-10.67px}.open-request-hero .open-request-mascot:before{width:115px;height:115px;right:8px}.open-request-create{min-height:78px;padding:15px;gap:10px;font-size:19px}.open-request-create-plus{flex-basis:40px;width:40px;height:40px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.open-request-create,.open-request-create-plus svg{transition:none}.open-request-create:hover,.open-request-create:active,.open-request-create:hover svg{transform:none}}

/* Quick access to the creation form while browsing a long request list. */
.open-new-request-shortcut{position:fixed;z-index:5;right:20px;bottom:100px;display:inline-flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);min-height:48px;padding:13px 20px;border:1px solid #eac000;border-radius:24px;background:#ffcc00;color:#171717;font-size:15px;font-weight:750;box-shadow:0 5px 20px #00000018;cursor:pointer;transition:box-shadow .18s ease,transform .18s ease}
.open-new-request-shortcut[hidden]{display:none}
.open-new-request-shortcut span{font-size:24px;line-height:1;font-weight:500}
.open-new-request-shortcut:hover{box-shadow:0 7px 24px #00000024;transform:translateY(-2px)}
.open-new-request-shortcut:active{transform:translateY(0)}
@media(max-width:420px){.open-new-request-shortcut{font-size:13px;padding:11px 15px}}
@media(prefers-reduced-motion:reduce){.open-new-request-shortcut{transition:none;transform:none}}

/* Automatic order context at the start of the client–inspector conversation. */
.server-chat-log>.chat-order-context{flex:none;align-self:center;width:min(100%,560px);box-sizing:border-box;padding:20px 22px;border:1px solid #f1d46a;border-radius:22px;background:#fff8d9;color:#171717;overflow-wrap:anywhere}
.chat-order-context .chat-order-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.chat-order-context .chat-order-brand{font-size:11px;font-weight:850;letter-spacing:.12em;color:#171717}
.chat-order-context a{color:#171717;font-size:14px;font-weight:750;text-decoration:none}
.chat-order-context a:hover{text-decoration:underline}
.chat-order-context .chat-order-state{display:inline-block;margin:12px 0 10px;padding:5px 10px;border-radius:8px;background:#ffcc00;font-size:12px;font-weight:650;color:#171717}
.chat-order-context h2{margin:0;font-size:21px;line-height:1.25;color:#171717}
.chat-order-context .chat-order-city{margin:4px 0 12px;font-size:14px;color:#171717}
.chat-order-context .chat-order-services{margin:0;font-size:13px;line-height:1.5;color:#171717}
.chat-order-context .chat-order-total{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #e8d78c;font-size:13px;color:#171717}
.chat-order-context .chat-order-total strong{font-size:17px;color:#171717}
.chat-order-context .chat-order-footnote{margin:8px 0 0;font-size:12px;line-height:1.4;color:#171717}
@media(max-width:420px){.server-chat-log>.chat-order-context{padding:16px;border-radius:18px}.chat-order-context h2{font-size:19px}}

/* Inspector verification: native Stripe forms own sensitive inputs. */
.ab-verify-head{display:flex;align-items:center;gap:18px}.ab-verify-head>span{display:grid;place-items:center;background:#ffcf00;color:#20231b;border-radius:20px;width:64px;height:64px;font-size:30px;flex-shrink:0}.ab-verify-head h2,.ab-verify-step h3{margin:0}.ab-verify-head p{margin:8px 0}.ab-verify-step{display:grid;grid-template-columns:40px 1fr;gap:14px;padding:24px 0;border-bottom:1px solid #e6e6de}.ab-verify-number{font-weight:800;padding-top:3px}.ab-verify-step p{margin:8px 0}.ab-verify-step button{grid-column:2;justify-self:start}.ab-verify [data-steps]>button{margin-top:20px}.ab-verify [data-stripe-form]{scroll-margin-top:120px}.ab-verify[aria-busy=true] [data-verify]{pointer-events:none;opacity:.55}.ab-verify [data-note]:empty{display:none}

/* Confirmed payment: prominent permission to begin inspection. */
.order-paid-notice{background:#e7f5eb;border-color:#9bc9a8}
.order-paid-notice .order-sent-icon{background:#238449;color:#fff}
.order-paid-notice>div{min-width:0;flex:1}
.order-paid-notice .order-paid-amount{display:block;margin:4px 0 14px;font-size:28px;line-height:1.2;font-weight:750}
.order-paid-notice p.hint{margin-bottom:0;font-size:12px;opacity:.75}

.order-reference>span{display:block;font-size:14px;line-height:1.4;font-weight:600;margin-bottom:6px}

/* AUTOBAM report score: printed quality seals, 0–11. */
.quality-score-picker{border:0;padding:0;margin:28px 0;min-width:0}
.quality-score-picker legend{font-size:20px;font-weight:750;margin-bottom:16px;color:#20231c}
.quality-score-picker legend>span{font-size:14px;font-weight:500;margin-left:8px}
.quality-score-options{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px}
.quality-score-option{position:relative;display:block;cursor:pointer;min-width:0}
.quality-score-option input{position:absolute;opacity:0;width:1px;height:1px}
.quality-score-option>span{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 3px;border:1px solid #e3e3da;border-radius:15px;background:#fff;color:#20231c;transition:background .18s,border-color .18s,transform .18s}
.quality-score-option svg{width:22px;height:24px}.quality-score-option b{font-size:17px}
.quality-score-option input:checked+span{background:#ffcd00;border-color:#20231c;box-shadow:0 0 0 1px #20231c;transform:translateY(-2px)}
.quality-score-option input:focus-visible+span{outline:3px solid #20231c;outline-offset:3px}
.quality-score-option input:disabled+span{cursor:default;opacity:.7}
.quality-seal{display:flex;align-items:center;gap:28px;padding:24px;border:1px solid #e4dbb0;background:#fff9dd;border-radius:24px;margin:22px 0;color:#20231c;break-inside:avoid}
.quality-seal-emblem{position:relative;width:168px;height:168px;flex:0 0 168px;color:#20231c}
.quality-seal-ring{width:100%;height:100%;fill:#ffcf17;stroke:currentColor;stroke-width:1.2}
.quality-seal-ring circle{fill:none}
.quality-seal-face{position:absolute;inset:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.quality-seal-brand{font-size:11px;font-weight:850;letter-spacing:2.2px}
.quality-seal-face>svg{width:29px;height:31px}
.quality-seal-number{font-size:44px;font-weight:850;line-height:1;letter-spacing:-2px;white-space:nowrap}
.quality-seal-number>span{font-size:20px;font-weight:650;letter-spacing:-.5px;margin-left:3px}
.quality-seal-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;font-weight:700}
.quality-seal .quality-seal-copy h3{font-size:26px;line-height:1.15;margin:9px 0 12px;color:#20231c}
.quality-seal .quality-seal-copy p{font-size:14px;line-height:1.45;margin:0;color:#20231c}
.quality-seal--critical{background:#fff5f3;border-color:#ebc5bc}.quality-seal--critical .quality-seal-emblem{color:#a4261c}.quality-seal--critical .quality-seal-ring{fill:#fff8f6}
.quality-seal--attention .quality-seal-ring{fill:#fff2ad}
/* Distinct premium finishes for the two highest inspection scores. */
.quality-seal--gold{background:linear-gradient(120deg,#fffaf0,#f5e7bd);border-color:#ccb16d;box-shadow:inset 0 1px 0 #fff,0 5px 18px #8b6b1510}
.quality-seal--gold .quality-seal-ring{stroke:#594619}
.quality-seal--gold .quality-seal-emblem{filter:drop-shadow(0 4px 5px #85621b28)}
.quality-seal--elite{background:linear-gradient(120deg,#30312a,#161814);border-color:#b69948;box-shadow:inset 0 1px 0 #edcf7740,0 6px 20px #15161118;color:#f4d97f}
.quality-seal--elite .quality-seal-emblem{color:#f4d97f;filter:drop-shadow(0 4px 6px #0005)}
.quality-seal--elite .quality-seal-ring{stroke:#e6c66b;stroke-width:1.5}
.quality-seal--elite .quality-seal-copy h3{color:#fff9e9}
.quality-seal--elite .quality-seal-copy p{color:#eee9db}
.quality-seal--elite .quality-seal-kicker{color:#f4d97f}
.quality-score-option input[value="10"]:checked+span{background:linear-gradient(135deg,#e6c16b,#fff0b7 45%,#c89b3e);border-color:#70551d}
.quality-score-option input[value="11"]:checked+span{background:linear-gradient(135deg,#36372e,#171914);color:#f4d97f;border-color:#d4b65d;box-shadow:0 0 0 1px #d4b65d}
.quality-score-prompt{padding:20px;background:#f6f6f1;border-radius:16px;font-size:15px}
[data-quality-preview] .quality-seal{animation:quality-seal-in .22s ease-out}
@keyframes quality-seal-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:650px){.quality-score-options{grid-template-columns:repeat(6,minmax(0,1fr))}.quality-seal{gap:16px;padding:16px}.quality-seal-emblem{width:120px;height:120px;flex-basis:120px}.quality-seal-face{inset:16px;gap:3px}.quality-seal-brand{font-size:8px;letter-spacing:1.4px}.quality-seal-face>svg{width:22px;height:24px}.quality-seal-number{font-size:32px}.quality-seal-number>span{font-size:15px}.quality-seal .quality-seal-copy h3{font-size:20px}.quality-seal .quality-seal-copy p{font-size:12px}.quality-seal-kicker{font-size:10px;letter-spacing:.6px}}
@media(prefers-reduced-motion:reduce){[data-quality-preview] .quality-seal{animation:none}.quality-score-option>span{transition:none}}
@media print{.quality-seal{-webkit-print-color-adjust:exact;print-color-adjust:exact}.quality-seal-copy{color:#000}}

/* Report media uses the same gallery and players as chat. */
.report-media-tabs{display:flex;gap:10px}.report-media-tabs>button{flex:1}.report-media-tabs>button[aria-expanded=true]{background:#fff0a8;box-shadow:inset 0 0 0 1px #ffd000}.report-media-panel[hidden]{display:none}.report-media-controls{background:#242820;color:#fff;border-radius:24px;padding:24px;margin:20px 0}.report-media-controls h4,.report-media-controls p,.report-media-controls label{color:#fff}.report-quality-choices{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.report-quality-choices button{flex:1;min-width:64px;padding:12px 10px;border:1px solid #d8dacf;border-radius:14px;background:#fff;color:#20231c;font:inherit;font-weight:700;transition:background .18s,transform .18s}.report-quality-choices button[aria-pressed=true]{background:#ffd000;border-color:#ffd000}.report-file-picker{display:block;position:relative;text-align:center;overflow:hidden;background:#fff;color:#20231c!important;border-radius:16px;padding:17px;cursor:pointer;font-weight:700}.report-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.report-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-media-item{min-width:0;border:1px solid #e4e5dc;border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:10px}.report-media-item>strong{overflow-wrap:anywhere;font-size:15px}.report-media-item .chat-media-card{margin:0;width:100%}.report-media-item .button-bar{display:flex;gap:12px;flex-wrap:wrap}.report-media-item .chat-media-visual{aspect-ratio:4/3}.report-media-item .report-quality-choices button{font-size:13px;min-width:48px;padding:9px 6px}.report-voice-status{display:flex;align-items:center;gap:12px;margin:18px 0}.report-voice-status strong{margin-left:auto;font-variant-numeric:tabular-nums}.report-voice-dot{width:10px;height:10px;border-radius:50%;background:#ffd000}.report-media-controls .button-bar{display:flex;gap:12px}.report-media-group{margin-top:22px}.report-media-studio>.button-bar{display:flex;justify-content:flex-end;margin-top:22px}.report-media-controls select{color:#20231c}.report-media-panel{animation:reportMediaReveal .18s ease-out}@keyframes reportMediaReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@media(max-width:600px){.report-media-grid{grid-template-columns:1fr}.report-media-controls{padding:16px}.report-media-tabs>button{padding:12px 8px}}@media(prefers-reduced-motion:reduce){.report-media-panel{animation:none}.report-quality-choices button{transition:none}}

.report-media-tabs button{display:flex;align-items:center;justify-content:center;gap:10px}.report-media-tabs svg{flex:none}.report-media-group[hidden],.report-media-studio>.button-bar[hidden]{display:none}

.report-quality-video{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.report-quality-video button{min-width:0!important;white-space:nowrap}.report-quality-video button:last-child{grid-column:1/-1}.report-media-item .chat-audio-title,.report-media-item .chat-media-time,.report-media-item .link{color:#242820}

/* Client acceptance stays expanded; keep the consent visible during review. */
#server-accept-report{padding:12px 0 0}
#server-accept-report .server-check{margin-top:0;align-items:flex-start}
#server-accept-report .primary{background:#b8ddb3;color:#20221d}
#server-accept-report .primary:hover:not(:disabled){background:#a5d39f}
#server-accept-report .primary:focus-visible{outline:3px solid #20221d;outline-offset:3px}
#server-accept-report .hint{margin-bottom:0}

/* Published report photos and videos stay in two compact columns, including narrow screens. */
.report-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.report-visual-grid>.report-media-item{padding:8px;border-radius:16px;gap:8px}
.report-visual-grid .report-media-item>strong{font-size:13px;line-height:1.3}
.report-visual-grid .chat-media-thumb{border-radius:10px}
.report-visual-grid .chat-media-visual img,.report-visual-grid .chat-media-visual video{width:100%;height:100%;max-height:none;object-fit:contain}
.report-visual-grid .button-bar,.report-visual-grid [data-report-preview]:empty{display:none}
.report-visual-grid>p{grid-column:1/-1}

/* Report section labels use the AUTOBAM yellow accent. */
#server-report .report-section-title{width:fit-content;max-width:100%;padding:8px 14px;border-radius:10px;background:#ffd000;color:#20221d;line-height:1.25}

/* Rating and explicit acceptance share one client review card. */
#server-accept-report .acceptance-review{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #e4e5dc}
#server-accept-report .acceptance-review h3{margin:0 0 14px}
#server-accept-report .acceptance-review .result-note{margin-bottom:0}
#server-accept-report .review-stars{gap:8px}
#server-accept-report .review-stars label{flex:1;justify-content:center;padding:10px 6px;min-width:0}
#server-accept-report .review-stars input{flex:none}
#server-accept-report .review-stars span{white-space:nowrap}
#server-accept-report [data-feedback-error]{color:#b42318}

/* Make the dispute entry easy to distinguish from accepting the work. */
#server-dispute-card [data-server-dispute]{color:#b42318;background:#fff1f0;border:1px solid #f2b8b5;border-radius:14px;padding:14px 16px}
#server-dispute-card [data-server-dispute]:hover{background:#ffe4e1}
#server-dispute-card [data-server-dispute]:focus-visible{outline:2px solid #b42318;outline-offset:3px}

/* Edit only the client's saved stars; keep acceptance separate from saving a rating. */
.review-rating-editor{margin-top:16px}
#server-accept-report .review-rating-editor{margin-top:0}
.review-rating-editor>summary{width:fit-content;padding:10px 14px;border-radius:12px;cursor:pointer;font-weight:650}
.review-rating-editor>summary:focus-visible{outline:2px solid #20221d;outline-offset:3px}
.review-rating-editor .review-stars{margin:16px 0}
.review-rating-editor .button-bar{display:flex;gap:10px;flex-wrap:wrap}
.review-rating-editor [data-rating-error]{color:#b42318}
#server-accept-report .review-rating-editor .primary{background:#ffd000;color:#20221d}
#server-accept-report .review-rating-editor .primary:hover:not(:disabled){background:#f0c000}

/* A saved review shows its medal and text; editing opens the full picker. */
.customer-review-summary>.inspector-rating-badge{margin:0 0 14px}
.customer-review-summary>.result-note{margin:0 0 16px}
.review-rating-editor[data-compact-review]>summary{list-style:none}
.review-rating-editor[data-compact-review]>summary::-webkit-details-marker{display:none}
.review-rating-editor[data-compact-review][open]>summary,
[data-acceptance-review-content]:has(>[data-compact-review][open])>.customer-review-summary,
#server-review-card:has(>[data-compact-review][open])>.customer-review-summary{display:none}

/* Inspector scores share the honor-board medals and the report's 0–11 picker. */
.inspector-rating-badge{display:flex;align-items:center;gap:20px;padding:14px 18px;margin:16px 0;border:1px solid #e4e4dd;border-radius:22px;background:#fafaf7;color:#20221e}
.inspector-rating-badge .honor-rank{flex:0 0 132px;animation:none;color:#20221e}
.inspector-rating-badge .honor-rank>span{display:none}
.inspector-rating-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.inspector-rating-copy>span{font-size:12px;font-weight:700;color:#20221e}
.inspector-rating-copy>strong{font-size:42px;line-height:1.1;font-variant-numeric:tabular-nums}
.inspector-rating-copy small{font-size:21px;font-weight:600}
.inspector-rating-copy>b{font-size:17px;line-height:1.3}
.inspector-score-options{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto;gap:10px 8px;overflow:visible;padding:4px 2px}
.inspector-score-options .quality-score-option>span{gap:3px;padding:7px 2px}
.inspector-score-options .quality-score-option svg{width:100%;height:auto;max-width:60px}
.inspector-rating-picker{margin:14px 0 20px}
.reputation-stats .inspector-rating-badge{padding:6px;gap:10px;margin:0;border:0;background:transparent}
.reputation-stats .inspector-rating-badge .honor-rank{flex-basis:70px}
.reputation-stats .inspector-rating-badge .honor-rank svg{width:70px;height:70px}
.reputation-stats .inspector-rating-copy>strong{font-size:28px}
.reputation-stats .inspector-rating-copy>b{font-size:12px}
@media(max-width:420px){.inspector-rating-badge{gap:12px;padding:10px}.inspector-rating-badge .honor-rank{flex-basis:96px}.inspector-rating-copy>strong{font-size:34px}.inspector-rating-copy>b{font-size:14px}.inspector-score-options{gap:5px}}

/* While editing, show the live medal once, below the edit control. */
#server-review-card:has(>[data-rating-editor][open])>.inspector-rating-badge,
[data-acceptance-review-content]:has(>[data-rating-editor][open])>.inspector-rating-badge{display:none}

/* Twelve medals in two rows of six, with readable individual descriptions. */
.inspector-score-picker{min-width:0;max-width:100%}
.inspector-score-options .quality-score-option>span{height:100%;padding:8px 4px;box-sizing:border-box;border-radius:14px}
.inspector-score-options .inspector-score-caption{display:block;max-width:100%;font-size:11px;font-weight:600;line-height:1.25;min-height:2.5em;text-align:center;overflow-wrap:anywhere;color:inherit}

/* Keep six columns on narrow client screens as well. */
.inspector-score-options .quality-score-option svg{max-width:60px}
.inspector-score-options .quality-score-option b{font-size:16px}
@media(max-width:420px){.inspector-score-options{gap:8px 4px}.inspector-score-options .inspector-score-caption{font-size:10px}.inspector-score-options .quality-score-option>span{padding:6px 2px;border-radius:10px}.inspector-score-options .quality-score-option b{font-size:14px}}

/* Confirmed acceptance and transfer. */
.card.settlement-success{background:#dff0da;border-color:#b8ddb3;color:#20221d}
.card.settlement-success>h2{font-size:22.1px}
.card.settlement-success>p{font-size:20.8px}

/* Client review attachments, shared chat controls and two-column previews. */
.review-media-editor.chat-studio{padding:0;margin:20px 0;background:transparent;border:0;box-shadow:none}
.review-media-editor h3{font-size:16px;margin:0 0 8px}
.review-media-editor .attachment-tools{margin:10px 0 14px}
.review-media-editor .attachment-tools .server-chat-picker{color:#20221d}
.review-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0;align-items:start}
.review-media-grid:empty{display:none}
.review-media-grid .chat-media-card{min-width:0;margin:0}
.review-media-grid .chat-visual-card:only-child{grid-column:auto}
.review-media-grid .chat-visual-card[data-media-kind=video]{grid-column:span 2;grid-row:span 2}
.review-media-grid .chat-media-visual{height:100%}
.review-media-grid .chat-media-visual img,.review-media-grid .chat-media-visual video{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.review-media-grid figcaption{font-size:12px;overflow-wrap:anywhere;margin:8px 0}
.review-media-grid .review-file-remove{font-size:12px;padding:7px 12px;margin:0 8px 8px}
.review-media-grid .chat-audio-card{grid-column:1/-1}
.review-audio-options{display:flex;gap:8px;flex-wrap:wrap;padding:14px;border-radius:16px;background:#f7f7f3}
.review-audio-options[hidden]{display:none}
.review-audio-options button{font-size:13px;padding:10px 12px}
.review-audio-options .hint{flex-basis:100%;margin:0}
.review-audio-options [role=timer]{align-self:center;font-variant-numeric:tabular-nums;font-weight:700}
.review-media-editor [data-review-status]:empty{display:none}
.review-media-editor [hidden]{display:none!important}

/* Make the client review title the primary heading of its card. */
#server-review-card>h2{font-size:clamp(19.2px,3.36vw,22.4px);font-weight:800;line-height:1.2;color:#171717;background:#ffce00;padding:14px 18px;border-radius:14px;margin:0 0 24px;letter-spacing:-.4px}

/* Review attachments use the private-chat panels and voice recorder. */
.review-media-editor .attachment-tools>.chat-voice-tool{color:#20221d}
.review-media-editor .chat-voice-actions button{white-space:normal}
.review-media-editor .chat-video-quality{margin-bottom:12px}

/* Client open requests: highlighted section heading. */
.open-request-group.card{padding:0;border-color:#dce6d7}
.open-request-list-heading{width:100%;box-sizing:border-box;margin:0;padding:16px 20px;border:0;border-bottom:1px solid #b3dcae;border-radius:21px 21px 0 0;background:#e0f1da;color:#20241d;font-weight:800}
.open-request-group>[data-request-list]>.card{margin:0;padding:24px 20px;border:0;border-radius:0;background:transparent}
.open-request-group>[data-request-list]>.card+.card{border-top:1px solid #e2e5dd}
.open-request-group>[data-request-list]>.card>h3{margin-top:0}
.open-request-group>[data-request-list]>p{margin:0;padding:24px 20px}

/* Report sharing actions must fit narrow phone screens. */
#server-report-share .button-bar{display:flex;flex-wrap:wrap;gap:10px}
#server-report-share .button-bar>*{flex:1 1 140px;min-width:0;overflow-wrap:anywhere;text-align:center}

/* Email ownership gate: one clear action, no business navigation until verified. */
.email-verification{max-width:640px;margin:24px auto;padding:clamp(24px,5vw,48px);text-align:center}
.email-verification h1{font-size:clamp(28px,5vw,42px);line-height:1.12;margin:12px 0 20px}
.verification-symbol{display:grid;place-items:center;width:84px;height:84px;margin:auto;background:#ffd000;border:3px solid #171717;border-radius:24px;box-shadow:0 5px 0 #171717;font-size:48px;color:#171717}
.verification-brand{font-weight:850;letter-spacing:.12em;margin-top:22px}
.verification-address{font-weight:750;overflow-wrap:anywhere;background:#fff4b8;padding:12px;border-radius:12px}
.verification-delivery{padding:18px 0;line-height:1.6}
.email-verification button,.email-verification a{white-space:normal}
.email-verification [hidden]{display:none!important}
