/* Scoped reference styling: no replacement conversation layout. */
.tim-makeup-app .tm-composer .tm-quick-order-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:44px;padding:6px;border:0;background:transparent;color:#00865f}
.tm-quick-order-button svg{width:24px;height:24px}
.tm-order-dialog,.tm-order-card{--order-ink:#0d1626;--order-green:#329c78;--order-border:#d3dbe4;color:var(--order-ink);font-family:Arial,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tm-order-dialog *,.tm-order-card *{box-sizing:border-box}
.tm-order-icon{display:inline-block;flex:none;width:20px;height:20px;color:var(--order-green);vertical-align:middle}
.tm-order-dialog{box-sizing:border-box;width:min(100%,600px);height:100dvh;max-width:100%;max-height:100dvh;margin:auto;padding:0;border:0;background:linear-gradient(160deg,#fff 5%,#f2fbf8 70%,#edfaf5);overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:76px}
.tm-order-dialog::backdrop{background:#183f354d}
.tm-order-nav{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:12px 14px;background:#ffffffed;backdrop-filter:blur(12px)}
.tm-order-nav h2{text-align:center;font-size:20px;line-height:1.4;margin:0;font-weight:700;color:var(--order-ink)}
.tm-order-nav button{display:grid;place-items:center;border:0;background:transparent;min-height:44px;cursor:pointer}
.tm-order-nav button svg{color:var(--order-ink);width:23px;height:23px}
.tm-order-form{margin:4px 14px 20px;padding:0 12px 12px;background:#ffffffed;border:2px solid #fff;border-radius:25px;box-shadow:0 8px 35px #67ad9112;overflow:hidden}
.tm-order-heading{position:relative;isolation:isolate;min-height:84px;margin:0 -12px;padding:16px 14px 18px;background:linear-gradient(110deg,#eff9f4,#fbfefd)}
.tm-order-heading h3{position:relative;z-index:1;font-size:clamp(17px,4.2vw,25px);line-height:1.25;margin:0 0 6px;font-weight:750;letter-spacing:-.4px}
.tm-order-heading p{position:relative;z-index:1;font-size:clamp(12px,3vw,16px);line-height:1.4;color:#5a6977;margin:0;max-width:80%}
.tm-order-art{position:absolute;z-index:0;right:0;bottom:0;width:125px;height:88px;pointer-events:none;opacity:.83}
.tm-order-fields{position:relative;padding:12px 0 0;background:#fff;border-radius:20px 20px 0 0}
.tm-order-field{margin:0 0 13px}
.tm-order-field,.tm-order-location-pair{scroll-margin-top:76px}
.tm-order-field-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:7px;min-height:30px}
.tm-order-field-head label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-width:0;margin:0;font-size:clamp(12px,3.1vw,17px);font-weight:700;line-height:1.3}
.tm-order-field-head .tm-order-icon{width:18px;height:18px}
.tm-order-quick{display:flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:30px;padding:5px 9px;border:0;border-radius:20px;background:#effaf4;color:#278b69;font:500 11px/1.3 Arial,sans-serif;cursor:pointer}
.tm-order-quick svg{width:14px;height:14px;color:#24bc83}
.tm-order-field input,.tm-order-field textarea,.tm-order-location-pair input{display:block;width:100%;min-width:0;padding:10px 11px;border:1px solid var(--order-border);border-radius:8px;background:#fff;color:var(--order-ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.35;box-shadow:inset 0 1px 2px #1c385004}
.tm-order-field textarea{resize:none;min-height:46px;max-height:146px;overflow-y:auto;line-height:1.45}
.tm-order-field input{height:44px}
.tm-order-field textarea[name="field0"]{min-height:48px;max-height:108px}
.tm-order-field textarea[name="field7"]{min-height:48px;max-height:118px}
.tm-order-field textarea[name="field8"]{min-height:54px;max-height:146px}
.tm-order-field input:focus,.tm-order-field textarea:focus,.tm-order-location-pair input:focus{outline:2px solid #329c78;outline-offset:1px}
.tm-order-location-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:-5px 0 13px}
.tm-order-location-pair label{position:relative;min-width:0}
.tm-order-location-pair svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:17px;height:17px;pointer-events:none}
.tm-order-location-pair input{height:39px;padding-left:34px;font-size:14px}
.tm-order-location-pair input[readonly]{cursor:pointer;background:#fff}
.tm-order-location-pair input[readonly]::placeholder{color:#73857c;opacity:1}
.tm-order-province-picker{grid-column:1/-1;margin-top:2px;padding:12px;border:1px solid #cfe5d9;border-radius:13px;background:#fff;box-shadow:0 9px 24px #173f2b17}
.tm-order-province-picker[hidden]{display:none}
.tm-order-province-backdrop[hidden]{display:none}
.tm-order-province-head{display:none}
.tm-order-province-picker>label{display:block;margin:0 0 7px;color:#284739;font-size:12px;font-weight:700}
.tm-order-province-picker>input{height:42px;padding:9px 12px;font-size:14px}
.tm-order-province-picker [data-order-province-status]{min-height:18px;margin:7px 0;color:#587268;font-size:11px}
.tm-order-province-picker [role="listbox"]{max-height:min(260px,35dvh);overflow-y:auto;overscroll-behavior:contain}
.tm-order-province-picker [role="listbox"] button{display:block;width:100%;min-height:42px;padding:9px 12px;border:0;border-bottom:1px solid #eaf1ec;background:#fff;color:#173e2f;text-align:left;font:500 13px/1.35 Arial,sans-serif;cursor:pointer}
.tm-order-province-picker [role="listbox"] button:hover,.tm-order-province-picker [role="listbox"] button:focus-visible,.tm-order-province-picker [role="listbox"] button[aria-selected="true"]{outline:none;background:#eaf7ef;color:#087b50}
.tm-order-duration-backdrop[hidden],.tm-order-duration-picker[hidden]{display:none}
.tm-order-duration-backdrop:not([hidden]){position:fixed;inset:0;z-index:8;width:100%;height:100%;padding:0;border:0;background:#122d2a9c;cursor:pointer}
.tm-order-duration-picker:not([hidden]){position:fixed;z-index:9;inset:auto 0 0;display:flex;flex-direction:column;width:100%;max-height:min(80dvh,680px);padding:8px 18px max(18px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -12px 40px #123a3033;animation:tm-order-sheet-in .22s ease-out both}
.tm-order-duration-picker:not([hidden])::before{content:"";display:block;flex:none;width:38px;height:4px;margin:0 auto 10px;border-radius:4px;background:#cbded5}
.tm-order-duration-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;color:#143d30;font-size:16px;line-height:1.3}
.tm-order-duration-head strong,.tm-order-province-head strong{font-weight:700;letter-spacing:-.2px}
.tm-order-duration-head button,.tm-order-province-head button{min-height:34px;padding:6px 12px;border:0;border-radius:18px;background:#edf8f2;color:#177d58;font:600 13px/1.3 Arial,sans-serif;cursor:pointer}
.tm-order-duration-picker>p{margin:0 0 12px;color:#647c70;font-size:12px;line-height:1.45}
.tm-order-duration-picker [role="listbox"]{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.tm-order-duration-picker [role="listbox"] button{display:block;width:100%;min-height:52px;padding:12px 9px;border:0;border-bottom:1px solid #eaf1ec;background:#fff;color:#173e2f;text-align:left;font:500 16px/1.35 Arial,sans-serif;cursor:pointer}
.tm-order-duration-picker [role="listbox"] button[aria-selected="true"]{background:#eaf7ef;color:#087b50;font-weight:700}
.tm-order-service-picker [role="listbox"] button{min-height:54px;padding:13px 9px}
.tm-order-service-picker [role="listbox"] p{margin:12px 8px;color:#647c70;font-size:13px;line-height:1.45}
.tm-order-performer-picker [role="listbox"] button{min-height:62px;padding:13px 9px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.tm-order-note-picker [role="listbox"] button{min-height:68px;padding:13px 9px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
@keyframes tm-order-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(max-width:767px){
  .tm-order-province-picker:not([hidden])::before{content:"";display:block;flex:none;width:38px;height:4px;margin:0 auto 10px;border-radius:4px;background:#cbded5}
  .tm-order-province-backdrop:not([hidden]){position:fixed;inset:0;z-index:8;width:100%;height:100%;padding:0;border:0;background:#122d2a9c;cursor:pointer}
  .tm-order-province-picker:not([hidden]){position:fixed;z-index:9;inset:auto 0 0;display:flex;flex-direction:column;width:100%;height:min(72dvh,630px);min-height:300px;margin:0;padding:8px 18px max(16px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;box-shadow:0 -12px 40px #123a3033}
  .tm-order-province-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:42px;color:#143d30;font-size:16px;line-height:1.3}
  .tm-order-province-picker>label{font-size:13px;margin:4px 0 8px}
  .tm-order-province-picker>input{flex:none;height:46px;font-size:16px}
  .tm-order-province-picker [data-order-province-status]{flex:none;margin:9px 0 5px;font-size:12px}
  .tm-order-province-picker [role="listbox"]{flex:1;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .tm-order-province-picker [role="listbox"] button{min-height:50px;padding:12px 9px;font-size:15px}
}
.tm-order-suggestions{display:flex;gap:7px;flex-wrap:wrap;padding:8px 0 0;font-size:12px;line-height:1.5;color:#5d7269}
.tm-order-suggestions[hidden]{display:none}
.tm-order-suggestions button{padding:8px 12px;border:1px solid #d2e9dc;border-radius:18px;background:#f2faf6;color:#197757;cursor:pointer}
.tm-order-submit,.tm-order-apply{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:43px;padding:11px 12px;border:1px solid #21956b;border-radius:10px;background:linear-gradient(105deg,#34a27c,#35976f);color:#fff;font-family:inherit;font-size:17px;font-weight:700;line-height:1.25}
.tm-order-submit svg,.tm-order-apply svg{color:#fff;width:23px;height:23px}
.tm-order-submit{margin-top:3px;cursor:pointer}
.tm-order-submit:disabled{opacity:.65}
.tm-order-error{color:#b42318;font-size:13px}
.tm-order-privacy{font-size:11px;line-height:1.4;color:#6e8078;text-align:center;margin:8px 0 0}
.tm-order-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tim-makeup-app .tm-order-card{width:100%;max-width:100%;padding:0;border:0;border-radius:18px;background:#f4faf6;box-shadow:none;overflow:hidden;white-space:normal;text-align:left}
.tim-makeup-app .tm-message:has(.tm-order-card){width:min(86%,460px);max-width:86%;min-width:0}
.tim-makeup-app .tm-message-content:has(.tm-order-card){display:block;max-width:100%;width:100%;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.tm-order-card-head{position:relative;isolation:isolate;padding:16px;background:linear-gradient(120deg,#e2f3eb,#eff9f4);border:0;overflow:hidden}
.tm-order-card-head .tm-order-art{width:62px;height:42px;opacity:.5;right:12px;top:8px;bottom:auto}
.tm-order-card .tm-order-status{position:relative;z-index:1;display:inline-flex;align-items:center;gap:9px;min-height:24px;padding:0 9px 0 0;border-radius:18px;background:#dff8ed;color:#078454;font-size:11px;line-height:1.3}
.tm-order-status>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:linear-gradient(135deg,#13ae64,#35a47a)}
.tm-order-status svg{width:17px;height:17px;color:#fff}
.tm-order-card[data-order-state="failed"] .tm-order-status{background:#fff0ee;color:#b42318}
.tm-order-card[data-order-state="failed"] .tm-order-status>span{background:#cc3e35}
.tm-order-card[data-order-state="pending"] .tm-order-status{background:#fff5db;color:#936510}
.tm-order-card[data-order-state="pending"] .tm-order-status>span{background:#b98423}
.tm-order-card h3{position:relative;z-index:1;margin:13px 0 6px;font-size:17px;line-height:1.35;color:var(--order-ink);font-weight:700;letter-spacing:-.25px;max-width:100%;text-wrap:balance}
.tm-order-card-head p{position:relative;z-index:1;margin:0!important;font-size:11.5px!important;line-height:1.5!important;color:#52685d;max-width:100%;text-wrap:pretty}
.tm-order-card-body{position:relative;padding:16px;background:#f4faf6;border-radius:0}
.tm-order-card dl{margin:0}
.tm-order-detail{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:8px;row-gap:6px;align-items:center;margin:0 0 12px}
.tm-order-detail>div{display:contents}
.tm-order-card .tm-order-detail dt{grid-column:2;margin:0}
.tm-order-detail dd{grid-column:1 / -1}
.tm-order-detail>.tm-order-icon{width:18px;height:18px;margin-top:0}
.tm-order-card dt{margin:0 0 6px;font-size:12px;font-weight:600;line-height:1.4;color:#273d33}
.tm-order-card dd{margin:0;padding:9px 10px;border:0;border-radius:9px;background:#fff;font-size:12.5px;line-height:1.5;min-height:36px;color:#172b22;overflow-wrap:anywhere}
.tm-order-area-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:-4px 0 14px}
.tm-order-area-pair>div{min-width:0}
.tm-order-area-pair dd{display:flex;align-items:center;gap:6px;min-height:36px;padding:8px;font-size:11px}
.tm-order-area-pair svg{width:16px;height:16px}
.tm-order-apply{min-height:44px;margin-top:4px;font-size:13px;font-weight:600;border:0;border-radius:11px;gap:8px}
.tm-order-apply:disabled{opacity:1;cursor:not-allowed}
.tim-makeup-app .tm-order-card .tm-order-apply,.tim-makeup-app .tm-order-card .tm-order-apply span{color:#fff}
.tm-order-apply svg{width:20px;height:20px}
@media(min-width:600px){.tm-order-form{margin:8px 22px 26px;padding:0 20px 20px}.tm-order-heading{margin:0 -20px;padding:24px 20px;min-height:125px}.tm-order-art{width:175px;height:115px}.tm-order-fields{padding-top:20px}.tm-order-field{margin-bottom:18px}.tm-order-field-head{margin-bottom:10px}.tm-order-quick{font-size:13px;padding:7px 14px}.tm-order-field input{height:47px}.tm-order-location-pair input{height:45px}.tm-order-location-pair{margin-bottom:20px}.tm-order-submit{min-height:48px}}
@media(min-width:768px){
  .tm-order-dialog[open]{display:flex;flex-direction:column;width:min(760px,calc(100vw - 64px));height:min(790px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);border-radius:24px;background:#fff;box-shadow:0 28px 85px #123a3047;overflow:hidden}
  .tm-order-dialog::backdrop{background:#122d2ab3;backdrop-filter:blur(3px)}
  .tm-order-nav{position:relative;flex:none;padding:14px 24px;border-bottom:1px solid #e7eee9;background:#fff}
  .tm-order-nav button{width:44px;border-radius:12px}
  .tm-order-nav button:hover{background:#edf8f2}
  .tm-order-nav button:focus-visible{outline:2px solid #16805d;outline-offset:2px}
  .tm-order-form{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0;padding:0 28px 0;border:0;border-radius:0;box-shadow:none}
  .tm-order-heading{margin:20px 0 0;min-height:108px;border-radius:18px;padding:20px 24px;background:linear-gradient(110deg,#edf8f2,#f8fcf9)}
  .tm-order-heading h3{font-size:23px}
  .tm-order-heading p{font-size:14px}
  .tm-order-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:18px;row-gap:12px;padding:20px 4px 8px}
  .tm-order-fields>.tm-order-field:first-child,.tm-order-location-pair,.tm-order-fields>.tm-order-field:nth-last-child(-n+2){grid-column:1/-1}
  .tm-order-field{min-width:0;margin:0}
  .tm-order-field-head{margin-bottom:7px}
  .tm-order-field-head label{font-size:14px}
  .tm-order-quick{font-size:11px;padding:6px 9px}
  .tm-order-location-pair{margin:0;gap:12px}
  .tm-order-field input,.tm-order-location-pair input{height:43px}
  .tm-order-field textarea[name="field0"]{min-height:52px}
  .tm-order-field textarea[name="field8"]{min-height:52px}
  .tm-order-actions{position:sticky;bottom:0;z-index:2;margin:0 -28px;padding:12px 28px 16px;background:#fff;box-shadow:0 -8px 22px #224b3a12}
  .tm-order-submit{min-height:46px;font-size:15px}
  .tm-order-privacy{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.tm-order-dialog *{scroll-behavior:auto!important}}
@media(prefers-reduced-motion:reduce){.tm-order-duration-picker:not([hidden]){animation:none}}
/* Order card follows the supplied white-card reference; data and actions stay live. */
.tim-makeup-app .tm-order-card{overflow:hidden;border:1px solid #e0e8e4;border-radius:20px;background:#fff;box-shadow:0 3px 12px #204b3d0b;color:#193a33}
.tim-makeup-app .tm-message:has(.tm-order-card){width:min(86%,520px)!important;max-width:86%!important}
@media(max-width:600px){.tim-makeup-app .tm-message:has(.tm-order-card){width:calc(100vw - 56px)!important;max-width:calc(100vw - 56px)!important}}
@media(max-width:600px){.tim-makeup-app.tm-chat-page.tm-chat-detail-page.tm-inbox-reference .tm-message[data-chat-bubble].is-mine:has(.tm-order-card){width:calc(100vw - 56px)!important;max-width:calc(100vw - 56px)!important}}
.tm-order-card-head{padding:17px 15px 0;background:#fff}
.tm-order-card-head .tm-order-art{display:none}
.tm-order-head-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tm-order-number{font-size:11px;font-weight:500;color:#788782;letter-spacing:.1px;white-space:nowrap}
.tm-order-card .tm-order-status{display:inline-flex;align-items:center;gap:6px;min-height:23px;padding:3px 9px;border-radius:30px;background:#eaf6f1;color:#238c78;font-size:10px;font-weight:650;line-height:1.2;white-space:nowrap}
.tm-order-card .tm-order-status:before{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:currentColor}
.tm-order-card[data-order-accepting="no"] .tm-order-status{background:#f8eef0;color:#b85466}
.tm-order-card h3{margin:12px 0 4px;color:#163a32;font-size:clamp(20px,5.7vw,25px);line-height:1.2;font-weight:760;letter-spacing:-.45px;text-wrap:normal}
.tm-order-card-head p{display:block;margin:0!important;color:#657a72!important;font-size:13px!important;line-height:1.4!important}
.tm-order-separator{padding:0 2px}
.tm-order-prices{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);align-items:center;min-height:91px;margin:16px 0 0;padding:15px 14px;border-radius:15px;background:#0d554d;color:#fff}
.tm-order-prices>div{min-width:0}
.tm-order-prices>div+div{min-height:52px;padding-left:15px;border-left:1px solid #40877d}
.tm-order-prices span{display:block;color:#c1dcd4;font-size:11px;line-height:1.35;white-space:nowrap}
.tm-order-prices strong{display:block;margin-top:7px;color:#fff;font-size:clamp(24px,6.5vw,34px);font-weight:750;line-height:1.05;overflow-wrap:anywhere;letter-spacing:-.5px}
.tm-order-price-receive strong{font-size:clamp(20px,6.1vw,31px)}
.tm-order-prices>div+div strong{margin-top:8px;color:#fff;font-size:clamp(15px,4.1vw,21px);letter-spacing:-.2px}
.tm-order-card-body{padding:17px 15px 12px;background:#fff}
.tm-order-address{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start}
.tm-order-address svg{width:18px;height:18px;margin-top:1px;color:#278d7b;stroke-width:1.8}
.tm-order-address strong{display:block;color:#1d3933;font-size:14px;font-weight:700;line-height:1.35}
.tm-order-address span{display:block;margin-top:5px;color:#84918d;font-size:12px;line-height:1.4}
.tm-order-details{display:grid;gap:14px;margin-top:17px;padding-top:15px;border-top:1px solid #e0e8e4}
.tm-order-copy{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;margin:0}
.tm-order-copy>span{color:#84918d;font-size:12px;line-height:1.45}
.tm-order-copy p{margin:0!important;color:#657a72;font-size:12.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-order-applicants{display:flex;align-items:center;gap:9px;width:100%;min-height:47px;margin-top:19px;padding:7px 10px;border:0;border-radius:13px;background:#f0f8f4;color:#1b8672;text-align:left;cursor:pointer}
.tm-order-applicants:disabled{cursor:default;opacity:.7}
.tm-order-applicants>strong{flex:1;min-width:0;font-size:13px;font-weight:700;white-space:nowrap}
.tm-order-applicants>.tm-order-icon{flex:none;width:17px;height:17px;stroke-width:2}
.tm-order-avatars{display:flex;align-items:center;flex:none;min-width:0;padding-left:4px}
.tm-order-avatars img,.tm-order-avatars>span{display:grid;place-items:center;flex:none;width:26px;height:26px;margin-left:-5px;border:2px solid #fff;border-radius:50%;background:#e5f2eb;color:#237e6d;font-size:10px;font-weight:700;object-fit:cover}
.tm-order-avatars .tm-order-avatar-more{background:#e3f2ea;color:#278e78}
.tm-order-apply{min-height:44px;margin-top:12px;border-radius:11px;background:#008e79;font-size:13px;font-weight:700;cursor:pointer}
.tm-order-apply:disabled{background:#8abdae;cursor:default}
.tm-order-owner-actions{margin-top:12px}
.tm-order-owner-actions button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:35px;padding:6px 10px;border:1px solid #d9a2ad;border-radius:11px;background:#fff;color:#bf5365;font-family:inherit;font-size:13px;font-weight:680;line-height:1.2;cursor:pointer}
.tm-order-owner-actions button:disabled{border-color:#e9d4d9;background:#fbf7f8;color:#a98e95;cursor:default}
.tm-order-owner-actions button svg{flex:none;width:16px;height:16px;stroke-width:1.8}
.tm-order-apply-note{margin:8px 0 0!important;color:#a2ada7;font-size:10px;line-height:1.4;text-align:center}
.tm-order-footer-time{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:10px;color:#8c9a94;font-size:10px;line-height:1}
.tm-order-footer-time svg{width:12px;height:12px;stroke-width:2.2}
.tim-makeup-app .tm-message:has(.tm-order-card)>small{display:none}
.tm-order-applicant-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;height:min(75dvh,760px);max-height:calc(100dvh - 28px);margin:0;padding:0;border:0;border-radius:28px 28px 0 0;background:#fff;color:#243d36;box-shadow:0 -12px 48px #0f302e30;overflow:hidden;font-family:inherit}
.tm-order-applicant-dialog[open]{animation:tm-order-sheet-up .22s ease-out both}
.tm-order-applicant-dialog:focus{outline:none}
.tm-order-applicant-dialog::backdrop{background:#193e3590}
.tm-order-applicant-sheet{display:flex;flex-direction:column;height:100%;min-height:0}
.tm-order-sheet-handle{flex:none;width:34px;height:4px;margin:11px auto 4px;border-radius:9px;background:#dce5df}
.tm-order-applicant-dialog header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:6px 20px 13px}
.tm-order-applicant-dialog header h2{margin:0;color:#1d3930;font-size:19px;font-weight:750;line-height:1.25}
.tm-order-applicant-dialog header .tm-order-sheet-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#f3f7f4;color:#879c91;font-size:24px;font-weight:300;line-height:1;cursor:pointer}
.tm-order-applicant-summary{display:flex;flex:none;align-items:center;gap:12px;min-height:66px;margin:0 20px;padding:10px 13px;border-radius:13px;background:#f3f8f5}
.tm-order-applicant-summary-icon{display:grid;place-items:center;flex:none;width:36px;height:40px;border-radius:10px;background:#e1f2eb;color:#188e75;font-size:25px}
.tm-order-applicant-summary-icon svg{width:22px;height:22px}
.tm-order-applicant-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.tm-order-applicant-summary strong{overflow:hidden;color:#29453b;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.tm-order-applicant-summary span:not(.tm-order-applicant-summary-icon){color:#95a9a0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-order-applicant-hint{flex:none;margin:0;padding:14px 21px 8px;color:#93a79d;font-size:11px;line-height:1.35}
.tm-order-applicant-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.tm-order-applicant-list{margin:0;padding:0 20px;list-style:none}
.tm-order-applicant-list li{display:flex;align-items:center;gap:11px;min-height:75px;border-bottom:1px solid #edf1ee;color:#344e44}
.tm-order-applicant-list li img,.tm-order-applicant-list li .tm-order-avatar-fallback{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:50%;background:#e9f3ed;color:#648f7f;font-size:16px;font-weight:600;object-fit:cover}
.tm-order-applicant-person{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.tm-order-applicant-person strong{overflow:hidden;color:#2b4139;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.tm-order-applicant-person small{overflow:hidden;color:#9dafaa;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.tm-order-applicant-profile{flex:none;padding:9px 4px;border:0;background:transparent;color:#3f9b83;font:inherit;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}
.tm-order-applicant-profile:focus-visible{outline:2px solid #168b75;outline-offset:2px;border-radius:4px}
.tm-order-profile-dialog{position:fixed;inset:0;width:min(360px,calc(100vw - 36px));max-width:calc(100vw - 36px);margin:auto;padding:0;border:0;border-radius:20px;background:#fff;color:#24443a;box-shadow:0 20px 60px #13352c33}
.tm-order-profile-dialog::backdrop{background:#153a3480}
.tm-order-profile-card{position:relative;display:flex;align-items:center;flex-direction:column;gap:9px;padding:32px 24px 25px;text-align:center}
.tm-order-profile-close{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:#eef6f2;color:#56766a;font-size:24px;cursor:pointer}
.tm-order-profile-card>img,.tm-order-profile-fallback{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#e9f3ed;color:#648f7f;font-size:28px;object-fit:cover}
.tm-order-profile-card h2{margin:3px 0 0;font-size:19px;line-height:1.3}
.tm-order-profile-card p{margin:0;color:#718c80;font-size:13px;line-height:1.45}
.tm-order-profile-card>a{display:block;width:100%;margin-top:13px;padding:12px;border-radius:11px;background:#087d69;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.tm-order-profile-card .tm-order-profile-note{margin-top:10px}
.tm-order-applicant-choice{flex:none;width:19px;height:19px;border:1px solid #d1dfd7;border-radius:50%;background:#fff}
.tm-order-applicant-list .tm-order-applicant-empty{justify-content:center;min-height:110px;color:#84998f;font-size:13px;text-align:center}
.tm-order-applicant-dialog footer{flex:none;padding:10px 20px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid #edf1ee;background:#fff}
.tm-order-applicant-dialog footer p{margin:0 0 10px;color:#9bafa4;font-size:11px;text-align:center}
.tm-order-applicant-dialog footer button{display:block;width:100%;min-height:47px;border:0;border-radius:12px;background:#008d77;color:white;font-size:13px;font-weight:700}
.tm-order-applicant-dialog footer button:disabled{background:#edf3ef;color:#a1b4a9}
.tm-order-applicant-more{display:block;width:calc(100% - 40px);min-height:42px;margin:8px 20px 14px;border:0;border-radius:10px;background:#eaf7f1;color:#148469;font-weight:700;cursor:pointer}
.tm-order-applicant-more[hidden]{display:none}
@keyframes tm-order-sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.tm-order-applicant-dialog[open]{animation:none}}
@media(max-width:430px){.tm-order-card-head,.tm-order-card-body{padding-left:14px;padding-right:14px}.tm-order-card .tm-order-status{font-size:9px}.tm-order-prices{padding-left:12px;padding-right:10px}.tm-order-prices>div+div{padding-left:11px}}

/* Ticket reference: mint header, tear line and compact footer controls. */
.tim-makeup-app .tm-order-card{border:0;border-radius:22px;background:#fff;overflow:hidden}
.tm-order-card-head{padding:18px 16px 20px;background:#e9f6ef}
.tm-order-card .tm-order-number{color:#218c79;font-size:11px;font-weight:750;letter-spacing:0}
.tm-order-card .tm-order-status{padding:0;background:transparent;color:#238c79;font-size:10px;font-weight:680}
.tm-order-card[data-order-accepting="no"] .tm-order-status{background:transparent;color:#b85466}
.tm-order-card h3{margin:16px 0 0;font-size:clamp(22px,6.2vw,28px);line-height:1.18}
.tm-order-service{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px 14px;background:#fff}
.tm-order-service strong{min-width:0;color:#173c34;font-size:clamp(15px,4.4vw,18px);font-weight:720;line-height:1.25;overflow-wrap:anywhere}
.tm-order-service>span{flex:none;padding:5px 10px;border-radius:999px;background:#eaf6f1;color:#238c79;font-size:11px;font-weight:650;white-space:nowrap}
.tm-order-ticket-cut{position:relative;height:16px;margin:0 11px;background:repeating-linear-gradient(to right,#d7e2dd 0 5px,transparent 5px 12px) center/100% 1px no-repeat}
.tm-order-ticket-cut:before,.tm-order-ticket-cut:after{content:"";position:absolute;top:0;width:15px;height:15px;border-radius:50%;background:#f3f8f6}
.tm-order-ticket-cut:before{left:-19px}.tm-order-ticket-cut:after{right:-19px}
.tm-order-card-body{padding-top:0}
.tm-order-card-body .tm-order-prices{margin:12px 0 19px}
.tm-order-details{display:block;margin-top:17px;padding-top:0;border:0}
.tm-order-details summary{display:flex;align-items:center;gap:9px;padding:13px 0;border-top:1px solid #e0e8e4;list-style:none;cursor:pointer;color:#58716a;font-size:13px;font-weight:650}
.tm-order-details summary::-webkit-details-marker{display:none}
.tm-order-details summary>.tm-order-icon:first-child{flex:none;width:18px;height:18px;color:#238c79;stroke-width:1.8}
.tm-order-details summary>span:nth-child(2){flex:1;min-width:0}
.tm-order-details-action{color:#238c79;font-weight:680;white-space:nowrap}
.tm-order-details-hide,.tm-order-details[open] .tm-order-details-show{display:none}
.tm-order-details[open] .tm-order-details-hide{display:inline}
.tm-order-details summary>.tm-order-icon:last-child{flex:none;width:17px;height:17px;color:#238c79;transition:transform .18s ease}
.tm-order-details[open] summary>.tm-order-icon:last-child{transform:rotate(180deg)}
.tm-order-details-content{display:grid;gap:13px;padding:8px 0 13px}
.tm-order-applicants{margin-top:10px;min-height:54px;padding:8px 11px;border-radius:14px;background:#f0f8f4}
.tm-order-owner-actions button{min-height:40px;border:0;border-radius:14px;background:#fff1f3;color:#bd5365}
.tm-order-owner-actions button:disabled{border:0;background:#fbf1f3}
@media(max-width:430px){.tm-order-card-head,.tm-order-service,.tm-order-card-body{padding-left:14px;padding-right:14px}.tm-order-card .tm-order-status{font-size:9px}.tm-order-card .tm-order-number{font-size:10px}.tm-order-service strong{font-size:15px}.tm-order-details summary{font-size:12px}.tm-order-details-action{font-size:12px}}

/* Reference layout: requirements are always visible above one applicant strip. */
.tm-order-card .tm-order-details{display:grid;gap:15px;margin-top:19px;padding-top:16px;border-top:1px solid #e1e9e5}
.tm-order-card .tm-order-copy{grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:start}
.tm-order-card .tm-order-copy>span{color:#7c8984;font-size:12.5px;font-weight:500;line-height:1.55}
.tm-order-card .tm-order-copy p{color:#61736b;font-size:13px;line-height:1.55}
.tm-order-card .tm-order-applicants{gap:11px;min-height:61px;margin-top:19px;padding:10px 12px;border-radius:15px;background:#f0f8f4;color:#207f70}
.tm-order-card .tm-order-applicants>strong{font-size:14px;font-weight:720}
.tm-order-card .tm-order-applicants-readonly{cursor:pointer}
.tm-order-card .tm-order-applicants-readonly>.tm-order-icon:first-child{width:22px;height:22px;margin:0 4px 0 2px}
.tm-order-card .tm-order-applicant-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.tm-order-card .tm-order-applicant-copy strong{font-size:14px;line-height:1.2}
.tm-order-card .tm-order-applicant-copy small{color:#71867e;font-size:11px;line-height:1.3}
.tm-order-card .tm-order-avatars img,.tm-order-card .tm-order-avatars>span{width:29px;height:29px;margin-left:-6px;border-width:2px}
.tm-order-card .tm-order-avatars .tm-order-avatar-more{background:#e5f4ed;color:#238a77}
@media(max-width:390px){.tm-order-card .tm-order-copy{grid-template-columns:61px minmax(0,1fr);gap:9px}.tm-order-card .tm-order-applicants{gap:8px;padding-left:10px;padding-right:10px}.tm-order-card .tm-order-applicants>strong{font-size:13px}}

/* 0.9.1262: compact white order card matching the supplied chat reference. */
.tim-makeup-app .tm-order-card{border:0;border-radius:18px;background:#fff;box-shadow:0 3px 14px rgba(26,72,58,.075);color:#203d35}
.tm-order-card .tm-order-card-head{padding:13px 15px 0;background:#fff}
.tm-order-card .tm-order-number{color:#7c8a85;font-size:10px;font-weight:550}
.tm-order-card .tm-order-status{min-height:22px;padding:3px 10px;border-radius:999px;background:#eaf6f1;color:#178d7b;font-size:10px;font-weight:650}
.tm-order-card[data-order-accepting="no"] .tm-order-status{background:#fbf0f2;color:#b85466}
.tm-order-card h3{margin:10px 0 4px;color:#183c34;font-size:clamp(20px,5.5vw,24px);line-height:1.17;letter-spacing:-.45px}
.tm-order-card .tm-order-service{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;background:transparent}
.tm-order-card .tm-order-service strong{font-size:13px;font-weight:450;color:#61766d}
.tm-order-card .tm-order-service>span{display:inline-flex;align-items:center;gap:5px;flex:none;padding:0;background:transparent;color:#61766d;font-size:12px;font-weight:450}
.tm-order-card .tm-order-service .tm-order-icon{width:15px;height:15px;stroke-width:1.8}
.tm-order-card .tm-order-card-body{padding:16px 15px 8px;background:#fff}
.tm-order-card .tm-order-address{grid-template-columns:17px minmax(0,1fr);gap:9px}
.tm-order-card .tm-order-address svg{width:17px;height:17px;color:#139782}
.tm-order-card .tm-order-address strong{font-size:13px;line-height:1.3}
.tm-order-card .tm-order-address span{margin-top:4px;font-size:11px;color:#879892}
.tm-order-card .tm-order-prices,.tm-order-card-body .tm-order-prices{grid-template-columns:1fr 1fr;min-height:56px;margin:13px 0 0;padding:9px 12px;border-radius:14px;background:#f1f8f4;color:#213d35}
.tm-order-card .tm-order-prices>div+div{min-height:39px;padding-left:13px;border-left:1px solid #d9e7df}
.tm-order-card .tm-order-prices span{font-size:10px;color:#8b9d94}
.tm-order-card .tm-order-prices strong,.tm-order-card .tm-order-prices>div+div strong{margin-top:4px;font-size:clamp(19px,5.7vw,24px);line-height:1.05;letter-spacing:-.3px;color:#203d35}
.tm-order-card .tm-order-price-receive strong,.tm-order-card .tm-order-prices>div+div.tm-order-price-receive strong{color:#078c78}
.tm-order-card .tm-order-details{display:block;gap:0;margin-top:12px;padding-top:0;border:0;border-top:1px solid #e4ebe7}
.tm-order-card .tm-order-details summary{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 0;border:0;color:#60776c;font-size:12px;font-weight:600}
.tm-order-card .tm-order-details summary>.tm-order-icon:first-child{width:17px;height:17px;color:#0e967f}
.tm-order-card .tm-order-details summary>.tm-order-icon:last-child{width:15px;height:15px}
.tm-order-card .tm-order-details-action{font-size:11px;color:#188c79}
.tm-order-card .tm-order-details-content{gap:9px;padding:3px 0 11px}
.tm-order-card .tm-order-copy{grid-template-columns:57px minmax(0,1fr);gap:9px}
.tm-order-card .tm-order-copy>span,.tm-order-card .tm-order-copy p{font-size:11px;line-height:1.45}
.tm-order-card .tm-order-applicants{min-height:45px;margin-top:3px;padding:7px 10px;border-radius:13px;background:#f2f8f5}
.tm-order-card .tm-order-applicants>strong{font-size:12px;font-weight:680}
.tm-order-card .tm-order-avatars img,.tm-order-card .tm-order-avatars>span{width:24px;height:24px;margin-left:-5px}
.tm-order-card .tm-order-applicants>.tm-order-icon{width:15px;height:15px}
.tm-order-card .tm-order-owner-actions{margin-top:8px}
.tm-order-card .tm-order-owner-actions button{min-height:32px;padding:6px;border:0;border-radius:13px;background:#fff1f3;color:#bd5365;font-size:12px}
.tm-order-card .tm-order-owner-actions button svg{width:15px;height:15px}
.tm-order-card .tm-order-apply{min-height:37px;margin-top:11px;border-radius:12px;font-size:12px}
.tm-order-card .tm-order-footer-time{margin-top:5px;font-size:9px}
@media(max-width:430px){.tm-order-card .tm-order-card-head,.tm-order-card .tm-order-card-body{padding-left:15px;padding-right:15px}.tm-order-card .tm-order-status{font-size:9px}.tm-order-card .tm-order-service strong{font-size:12px}.tm-order-card .tm-order-details summary{font-size:11px}.tm-order-card .tm-order-details-action{font-size:10px}}

/* Keep applicant portraits centered and large enough to read in the compact mobile ticket. */
.tm-order-card .tm-order-applicants-readonly{display:grid;grid-template-columns:max-content minmax(0,1fr) 15px;align-items:center;column-gap:10px;min-height:55px;padding:8px 12px}
.tm-order-card .tm-order-applicants-readonly>.tm-order-avatars{align-items:center;height:34px;padding-left:0}
.tm-order-card .tm-order-applicants-readonly .tm-order-avatars img,.tm-order-card .tm-order-applicants-readonly .tm-order-avatars>span{width:34px;height:34px;margin-left:-8px;border:2px solid #fff}
.tm-order-card .tm-order-applicants-readonly .tm-order-avatars>:first-child{margin-left:0}
.tm-order-card .tm-order-applicants-readonly>.tm-order-icon:first-child{margin:0 6px 0 0}
.tm-order-card .tm-order-applicants-readonly>.tm-order-icon:last-child{justify-self:end}
.tm-order-card .tm-order-applicants-readonly .tm-order-applicant-copy{justify-content:center;gap:2px}
.tm-order-card .tm-order-applicants-readonly .tm-order-applicant-copy strong{font-size:13px;line-height:1.25}
.tm-order-card .tm-order-applicants-readonly .tm-order-applicant-copy small{font-size:10.5px;line-height:1.25}

/* A focused chat message must not draw a rectangular halo around the rounded order card. */
.tim-makeup-app .tm-message[data-chat-bubble]:has(.tm-order-card):focus-visible{outline:none!important}
.tim-makeup-app .tm-message[data-chat-bubble]:has(.tm-order-card):focus-visible .tm-order-status{box-shadow:0 0 0 2px color-mix(in srgb,var(--tm-color-primary,#008274) 45%,transparent)}
.tim-makeup-app .tm-order-details summary:focus-visible{outline:2px solid var(--tm-color-primary,#008274)!important;outline-offset:2px;border-radius:5px}

/* Stopped applications: preserve the ticket layout, but make its inactive state unmistakable. */
.tim-makeup-app .tm-order-card[data-order-accepting="no"]{background:#f8f9f9;color:#465059;box-shadow:0 3px 14px rgba(44,58,66,.055)}
.tm-order-card[data-order-accepting="no"] .tm-order-card-head,.tm-order-card[data-order-accepting="no"] .tm-order-card-body{background:#f8f9f9}
.tm-order-card[data-order-accepting="no"] .tm-order-number,.tm-order-card[data-order-accepting="no"] .tm-order-service strong,.tm-order-card[data-order-accepting="no"] .tm-order-service>span,.tm-order-card[data-order-accepting="no"] .tm-order-address span{color:#858d94}
.tm-order-card[data-order-accepting="no"] h3,.tm-order-card[data-order-accepting="no"] .tm-order-address strong{color:#424b54}
.tm-order-card[data-order-accepting="no"] .tm-order-status{background:#e9ebed;color:#626b74}
.tm-order-card[data-order-accepting="no"] .tm-order-address svg,.tm-order-card[data-order-accepting="no"] .tm-order-details .tm-order-icon,.tm-order-card[data-order-accepting="no"] .tm-order-details-action{color:#69737c}
.tm-order-card[data-order-accepting="no"] .tm-order-service>span .tm-order-icon,.tm-order-card[data-order-accepting="no"] .tm-order-details summary>.tm-order-icon:first-child,.tm-order-card[data-order-accepting="no"] .tm-order-details summary>.tm-order-icon:last-child,.tm-order-card[data-order-accepting="no"] .tm-order-applicants>.tm-order-icon,.tm-order-card[data-order-accepting="no"] .tm-order-footer-time svg{color:#69737c}
.tm-order-card[data-order-accepting="no"] .tm-order-avatars .tm-order-avatar-more{background:#e4e8ea;color:#66717a}
.tm-order-card[data-order-accepting="no"] .tm-order-prices,.tm-order-card[data-order-accepting="no"] .tm-order-applicants{background:#eceff1;color:#59636c}
.tm-order-card[data-order-accepting="no"] .tm-order-prices>div+div{border-color:#d6dce0}
.tm-order-card[data-order-accepting="no"] .tm-order-prices span,.tm-order-card[data-order-accepting="no"] .tm-order-prices strong,.tm-order-card[data-order-accepting="no"] .tm-order-prices>div+div strong,.tm-order-card[data-order-accepting="no"] .tm-order-applicants>strong{color:#606972}
.tm-order-card[data-order-accepting="no"] .tm-order-owner-actions button:disabled,.tm-order-card[data-order-accepting="no"] .tm-order-apply:disabled{background:#a9b2ba;color:#fff;opacity:1;cursor:default}

/* Quiet single-tone stop action; the icon and label share the same red ink. */
.tim-makeup-app .tm-order-card[data-order-accepting="yes"] .tm-order-owner-stop{min-height:38px;border:0!important;border-radius:12px;background:#fff0f2;color:#c04759;box-shadow:none;font-size:12px;font-weight:700}
.tim-makeup-app .tm-order-card[data-order-accepting="yes"] .tm-order-owner-stop:hover{background:#ffe8ec;color:#b83c50}
.tim-makeup-app .tm-order-card[data-order-accepting="yes"] .tm-order-owner-stop svg{width:17px;height:17px;color:inherit;stroke:currentColor;stroke-width:2}
.tm-order-closed-note{margin:9px 0 0!important;color:#939ca3!important;font-size:10px!important;line-height:1.35!important;text-align:center}
