:root{--ink:#4A2A20;--paper:#F6F5F2;--grey:#E6E5E3;--taupe:#8A7264;--yellow:#F1E3B4;--sage:#657362;--line:#c7bdb5;--rose:#a55e51;font-family:'Hiragino Maru Gothic ProN','Yu Gothic','PingFang SC',sans-serif;color:var(--ink);background:var(--grey);font-size:14px}*{box-sizing:border-box}body{margin:0;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background-image:url('/speckle-grey.svg');background-size:400px}button,a,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{border:1.5px solid var(--ink);border-radius:14px;padding:9px 14px;color:var(--ink);background:var(--paper);cursor:pointer;transition:background .15s,transform .15s}button:hover{background:var(--yellow)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--ink);color:var(--yellow)}button.soft{background:var(--yellow)}button.small{padding:6px 10px;font-size:12px}button.danger{color:#922f29;border-color:#922f29}a{color:inherit;text-underline-offset:3px}input,textarea,select{border:1.5px solid var(--line);background:#fffefb;color:var(--ink);padding:10px 12px;border-radius:10px;width:100%;min-width:0}textarea{resize:vertical;line-height:1.8;min-height:100px}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #b5a67c;outline-offset:3px}label{display:grid;gap:7px;font-weight:600}label small{font-weight:400}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:.04em}h2{font-size:23px}h3{font-size:16px}p{line-height:1.85}.muted{color:#766256;font-size:12px}.top{height:77px;flex-shrink:0;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:space-between;padding:10px 28px;border-bottom:4px solid var(--taupe)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:21px;font-weight:700;letter-spacing:.1em}.brand img{width:48px;height:48px;object-fit:contain}.brand small{display:block;font-size:11px;letter-spacing:.1em;margin-top:5px;font-weight:400;color:var(--yellow)}.top-actions{display:flex;gap:18px;align-items:center;font-size:13px}.top-actions button{color:var(--paper);border-color:var(--taupe);background:transparent}.local-notice{padding:6px 24px;background:var(--yellow);font-size:11px;letter-spacing:.04em;flex-shrink:0}#app{min-height:0;flex:1;display:flex;flex-direction:column}.loading{text-align:center;margin:auto}.auth-wrap{margin:auto;display:grid;grid-template-columns:290px 380px;max-width:94vw;border:2px solid var(--ink);border-radius:38px 16px 30px 16px;background:var(--paper);overflow:auto;box-shadow:9px 9px 0 #8a726440}.auth-welcome{display:flex;flex-direction:column;justify-content:center;gap:20px;align-items:center;padding:28px;background:var(--yellow);text-align:center;border-right:2px dashed var(--taupe)}.auth-welcome img{width:175px;height:195px;object-fit:cover;border-radius:48% 48% 46% 46%;border:2px solid var(--ink)}.auth-form{display:grid;gap:17px;padding:30px}.auth-switch{display:flex;gap:8px}.auth-switch button{flex:1}.auth-form h1{font-size:25px}.setup-note{font-size:12px;overflow-wrap:anywhere}.workspace{display:grid;grid-template-columns:236px minmax(350px,1fr) 310px;gap:0;min-height:0;flex:1}.directory{background:#ece9e3;border-right:2px solid var(--line);overflow:auto;padding:24px 15px}.directory-title{display:flex;align-items:center;justify-content:space-between;margin:0 4px 20px}.directory h1{font-size:23px}.order-button{width:100%;display:block;text-align:left;margin-bottom:12px;border-color:var(--line);padding:15px 13px;border-radius:22px 12px 18px 12px}.order-button[aria-current=true]{background:var(--yellow);border:2px solid var(--ink);box-shadow:3px 3px 0 var(--taupe)}.order-button strong{display:block;margin:6px 0;font-size:15px}.order-button small{display:block;line-height:1.8;color:#715d50}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sage);margin-right:5px}.room{display:flex;flex-direction:column;min-height:0;background:#f6f5f2e8}.room-heading{padding:22px 25px 14px;border-bottom:1px solid var(--line)}.room-heading h1{font-size:24px;margin:8px 0 10px}.room-heading .meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.pill{display:inline-block;border:1px solid var(--line);border-radius:99px;padding:5px 10px;background:var(--paper)}.pill.highlight{background:var(--yellow);border-color:var(--taupe)}.line-tabs{display:flex;gap:7px;overflow:auto;padding:12px 22px 4px;flex-shrink:0}.line-tabs button{white-space:nowrap;border-radius:12px 12px 0 0}.line-tabs button.active{background:var(--ink);color:var(--yellow)}.section-tabs{display:flex;gap:22px;padding:12px 24px 0;border-bottom:1px solid var(--line);flex-shrink:0}.section-tabs button{background:none;border:0;border-radius:0;padding:8px 0 12px;white-space:nowrap}.section-tabs button.active{border-bottom:3px solid var(--ink);font-weight:700}.content{padding:24px;overflow:auto;min-height:0;flex:1}.sheet{background:#fffefb;border:1px solid var(--line);padding:20px 22px;border-radius:5px 22px 5px 5px;position:relative;margin-bottom:18px}.sheet h2,.sheet h3{margin-bottom:12px}.sheet>p+p{margin-top:12px}.brief{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95}.specs{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin:15px 0}.specs div{border-bottom:1px dashed #d8cec4;padding-bottom:9px}.specs dt{color:#7b685b;font-size:11px;margin-bottom:4px}.specs dd{margin:0;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.banner{padding:13px 16px;background:var(--yellow);border-left:4px solid var(--taupe);margin-bottom:18px;line-height:1.8;font-size:13px}.empty{padding:55px 20px;text-align:center;color:#766256;display:grid;justify-items:center;gap:15px}.empty img{width:100px;opacity:.8}.empty h2{font-size:23px;color:var(--ink)}.hint-bird{display:flex;align-items:center;gap:12px;padding:14px 17px;background:#e9e5dc;border-radius:15px;margin-bottom:20px}.hint-bird img{width:45px;height:50px;object-fit:cover;border-radius:50%}.hint-bird p{font-size:12px}.previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.preview{border:1px solid var(--line);padding:10px;background:#fffdf8;border-radius:10px;display:grid;gap:9px;align-content:start}.preview.selected{border:3px solid var(--sage);padding:8px}.preview img{width:100%;height:240px;object-fit:contain;background:#e9e5e0;border-radius:6px}.preview p{font-size:12px}.preview strong{font-size:14px;overflow-wrap:anywhere}.upload-form{display:grid;gap:12px;padding:17px;border:2px dashed var(--taupe);border-radius:16px;margin-top:20px}.upload-form input[type=file]{background:var(--paper);font-size:12px}.upload-form textarea{min-height:64px}.files{display:grid;gap:9px}.file{border:1px solid var(--line);background:#fffefb;padding:12px;display:flex;gap:12px;align-items:center;border-radius:9px}.file img{width:64px;height:64px;object-fit:contain;background:var(--grey);border-radius:6px}.file-info{min-width:0;flex:1}.file strong{display:block;overflow-wrap:anywhere;font-size:13px}.file small{display:block;color:#766256;font-size:11px;margin-top:5px}.file a{font-size:12px;white-space:nowrap}.checklist{padding:0;list-style:none}.checklist li{border-bottom:1px dashed var(--line);display:flex;gap:10px;align-items:center;padding:12px 0;font-size:13px}.checklist li span{flex:1}.checkmark{color:var(--sage);font-weight:bold}.chat{border-left:2px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#ebe7e0}.chat-head{padding:18px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.chat-head img{width:42px;height:47px;object-fit:cover;border-radius:47%}.chat-head h2{font-size:18px}.chat-head small{display:block;margin-top:4px;font-size:11px;color:#766256}.messages{flex:1;overflow:auto;padding:18px;min-height:0}.message{display:grid;gap:5px;margin-bottom:18px;max-width:94%}.message.mine{margin-left:auto}.message small{font-size:10px;color:#766256}.bubble{padding:11px 13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:#fffefb;border:1px solid #d7cbbd;border-radius:3px 16px 16px 16px;font-size:13px}.mine .bubble{background:var(--ink);color:var(--paper);border-radius:16px 3px 16px 16px}.bubble a{display:block;margin-top:6px}.message-scope{font-size:10px;color:#766256}.composer{padding:13px;border-top:1px solid var(--line);display:grid;gap:9px}.composer textarea{min-height:77px;max-height:160px;font-size:13px;background:#fffefb}.composer .row{display:flex;justify-content:space-between;align-items:center;gap:8px}.composer input[type=file]{border:0;padding:0;font-size:10px;max-width:180px}.composer button{font-size:12px}.composer select{font-size:11px;padding:6px}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;border-left:2px solid var(--line);padding:0 0 25px 18px;margin-left:6px;font-size:13px;line-height:1.8}.timeline li:before{content:'';width:9px;height:9px;position:absolute;left:-5.5px;top:7px;background:var(--taupe);border-radius:50%}.timeline small{display:block;font-size:10px;color:#766256}.feedback{border-bottom:1px dashed var(--line);padding:16px 0}.feedback p{white-space:pre-wrap;font-size:13px}.feedback select{margin-top:10px}.feedback textarea{margin-top:9px;min-height:60px}.feedback .pill{font-size:11px;margin-bottom:8px}#notice{position:fixed;top:94px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:13px 24px;border:2px solid var(--yellow);border-radius:12px;box-shadow:0 4px 20px #4a2a2040;z-index:100;max-width:80vw;white-space:pre-wrap}#notice.error{background:#7f3930}.checkout{width:min(850px,94vw);margin:24px auto;overflow:auto;padding:10px}.checkout h1{margin-bottom:16px}.checkout .total{font-size:27px;font-weight:700}.checkout footer{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--yellow);padding:20px;border-radius:15px;position:sticky;bottom:0}.receipt{color:var(--sage);font-weight:bold}.saved-note{border:1px dashed var(--taupe);padding:13px;margin-bottom:16px}dialog{border:2px solid var(--ink);border-radius:24px;background:var(--paper);color:var(--ink);max-width:480px;width:90vw;padding:25px}dialog::backdrop{background:#4a2a2077}dialog p{margin:15px 0}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}.check-option{display:flex;gap:8px;align-items:center;font-size:12px}.check-option input{width:auto}.activity-preview{color:#8b493e;font-size:12px}@media(min-width:1600px){.workspace{grid-template-columns:280px minmax(400px,1fr) 370px}.content{padding:30px 40px}.preview img{height:300px}}@media(max-width:1080px){.workspace{grid-template-columns:190px minmax(300px,1fr) 270px}.directory{padding:18px 10px}.content{padding:16px}.room-heading{padding:18px}.section-tabs{gap:14px;padding-left:18px;padding-right:18px}.preview img{height:190px}}@media(max-width:800px){body{height:auto;min-height:100dvh;overflow:auto}.top{padding:10px 16px}.brand{font-size:18px}.brand small{display:none}.top-actions{gap:10px;font-size:11px}.workspace{display:flex;flex-direction:column}.directory{max-height:180px;border-right:0;border-bottom:2px solid var(--line)}.directory-title{margin-bottom:10px}.order-button{display:inline-block;width:220px;vertical-align:top;margin-right:10px}.room{min-height:550px}.content{overflow:visible}.chat{border-top:2px solid var(--line);border-left:0;height:620px}.auth-wrap{grid-template-columns:1fr;margin:25px auto}.auth-welcome{padding:20px;border-right:0;border-bottom:2px dashed var(--taupe)}.auth-welcome img{width:90px;height:100px}.auth-welcome p{display:none}.auth-form{padding:24px}.auth-welcome h2{font-size:19px}.checkout footer{flex-wrap:wrap}.section-tabs{gap:18px}.section-tabs button{font-size:13px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
.social-login{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.provider{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;border-radius:18px 9px 16px 9px;text-align:left;font-weight:700}
.provider small{font-size:10px;white-space:nowrap;font-weight:400}
.provider.wechat{background:#edf2e6;border-color:#617653;color:#38542c}
.provider.qq{background:#e7edf0;border-color:#6b7e8d;color:#3c5669}
.provider:hover{filter:brightness(.97)}
.login-status{font-size:12px;color:#766256;line-height:1.7;margin-top:-7px}
.auth-wrap{grid-template-columns:310px 430px;max-height:calc(100dvh - 140px)}
.auth-form{gap:14px}
.auth-welcome h2{font-size:21px}
.demo-invite{display:block;border-top:1px dashed var(--taupe);padding-top:18px;line-height:1.7;font-weight:700;text-decoration:none}
.demo-invite small{font-size:11px;font-weight:400}
.demo-invite:hover{text-decoration:underline}
.demo-overview{display:grid;grid-template-columns:minmax(320px,1fr) minmax(380px,.95fr);gap:45px;width:min(1140px,94vw);margin:24px auto;min-height:0;overflow:auto;padding:8px 14px 15px}
.demo-intro{align-self:start;padding:8px 0}
.demo-title{display:flex;gap:18px;align-items:start}
.demo-title img{width:80px;height:92px;object-fit:contain;transform:rotate(-7deg);margin-top:23px}
.demo-title h1{font-size:29px;margin:17px 0 12px;letter-spacing:.02em}
.demo-title p{font-size:13px}
.demo-title .pill{background:var(--yellow);font-size:12px;border-color:var(--taupe)}
.demo-route{counter-reset:route;list-style:none;margin:24px 0 22px 20px;padding:0}
.demo-route li{counter-increment:route;position:relative;padding:2px 0 19px 43px;border-left:1.5px dashed var(--taupe);margin-left:10px}
.demo-route li:last-child{border-color:transparent;padding-bottom:0}
.demo-route li:before{content:counter(route,decimal-leading-zero);position:absolute;left:-18px;top:0;display:grid;place-items:center;width:36px;height:39px;background:var(--yellow);border:1.5px solid var(--ink);border-radius:48% 48% 44% 44%;font-weight:700;font-size:12px}
.demo-route b{font-size:16px;display:block;letter-spacing:.03em}
.demo-route span{display:block;font-size:13px;color:#766256;margin-top:7px}
.demo-footnote{font-size:12px;line-height:1.9;border-top:1px dashed var(--taupe);padding:15px 5px 0}
.demo-request{display:grid;gap:15px;margin:0;box-shadow:6px 6px 0 #8a72642b;align-content:start;border-radius:6px 30px 6px 6px;padding:24px}
.demo-request h2{font-size:21px;margin:0}
.demo-request>.row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.demo-request .pill{font-size:11px;white-space:nowrap}
.demo-request textarea{min-height:230px;max-height:320px;font-size:13px;resize:vertical}
.demo-request .primary{min-height:45px}
#demo-guide{flex-shrink:0;padding:13px 24px 11px;background:#faf7ec;border-bottom:2px solid var(--taupe)}
.demo-bar,.demo-next{display:flex;justify-content:space-between;align-items:center;gap:20px}
.demo-progress{min-width:0;display:grid;gap:6px}
.demo-progress b{font-size:16px;letter-spacing:.03em}
.demo-progress span{font-size:12px;line-height:1.65}
.demo-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}
.demo-tools>a{font-size:12px}
.role-switch{display:flex;border:1px solid var(--taupe);border-radius:15px;padding:3px;background:var(--paper)}
.role-switch button{border:0;background:transparent;font-size:12px;padding:8px 11px;border-radius:11px}
.role-switch button.active{background:var(--ink);color:var(--yellow)}
.demo-next{margin-top:10px;padding-top:9px;border-top:1px dashed var(--line);min-height:40px}
.demo-next>span{font-size:12px;color:#766256}
.demo-next>button{padding:8px 16px;font-size:13px}
.demo-next>b{font-size:13px}
@media(max-width:1080px){.demo-overview{gap:24px}.demo-title{gap:12px}.demo-title img{width:55px}.demo-title h1{font-size:25px}.demo-tools{gap:8px}#demo-guide{padding:10px 16px}.demo-bar{gap:15px}}
@media(max-width:800px){.auth-wrap{grid-template-columns:1fr;max-height:none}.demo-overview{grid-template-columns:1fr;overflow:visible;gap:25px;width:min(560px,94vw)}.demo-title h1{font-size:26px}.demo-title img{width:65px}.demo-bar,.demo-next{align-items:stretch;flex-direction:column;gap:10px}.demo-tools{flex-wrap:wrap}.demo-next{margin-top:10px}.demo-request{padding:20px}.auth-welcome .demo-invite{padding-top:10px}}
/* The returned order reads like a letter, with concerns and money kept distinct. */
.order-review{border:2px solid var(--taupe);border-radius:8px 26px 8px 8px;background:#fffdf7}
.review-title{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin-bottom:18px}
.review-title h2{margin:0;font-size:21px}.review-title .pill{font-size:12px}
.review-steps{display:flex;gap:9px;list-style:none;padding:0;margin:0 0 16px;counter-reset:review}
.review-steps li{flex:1;counter-increment:review;font-size:12px;line-height:1.7;padding:10px;border:1px dashed var(--line);border-radius:16px 8px;background:var(--paper)}
.review-steps li:before{content:counter(review);display:inline-grid;place-items:center;width:22px;height:26px;margin-right:7px;border:1px solid var(--taupe);border-radius:48% 48% 43% 43%;font-weight:700;background:var(--yellow)}
.review-steps li.done{border-color:var(--sage);background:#ecf0e7}.review-steps li.done:before{content:'✓';color:var(--sage)}
.review-message,.review-concerns{margin-top:20px;padding:16px 18px;border-left:4px solid var(--taupe);background:#f4eee2}
.review-concerns{background:#f9ebda;border-color:#ab7049}.review-concerns h3{color:#814a28}
.review-original{margin:18px 0;padding:14px;background:var(--paper);border:1px dashed var(--taupe);border-radius:12px}
.review-original summary,.review-extra summary,.review-history summary{cursor:pointer;line-height:1.8;font-weight:700}
.review-original article{padding:18px 0;border-bottom:1px dashed var(--line)}.review-original>p{margin-top:13px}
.review-charges{margin:20px 0}.review-charge{padding:15px;border:1px solid #b28a71;border-radius:14px 5px;margin-bottom:10px;background:#fff5e9}
.review-charge-top{display:flex;justify-content:space-between;gap:14px;align-items:start}.review-charge-top b{line-height:1.7;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.review-charge-top strong{color:#963b29;font-size:23px;white-space:nowrap}
.review-change{display:grid;gap:6px;margin:12px 0;font-size:13px;border-left:2px solid var(--taupe);padding-left:12px;overflow-wrap:anywhere}.review-change span:first-child{color:#766256}.review-charge small{display:block;line-height:1.8}.review-charge button{margin-top:9px}
.review-charge.cancelled{background:var(--paper);border-color:var(--line);color:#766256}.review-charge.cancelled strong{text-decoration:line-through;color:#766256}
.review-money{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 0;border-top:1px dashed var(--taupe)}.review-money strong,.review-due{color:#963b29}.review-due{background:#fff0de;border-color:#b28a71}
.review-no-charge{color:var(--sage);margin:18px 0}.review-base-money{font-size:13px;line-height:1.9;padding:12px 0;border-top:1px dashed var(--line)}
.review-payment-note{padding:13px;background:var(--yellow);margin-top:12px;font-size:13px}.review-form{display:grid;gap:17px}.review-form h2{margin-bottom:0;font-size:21px}
.review-extra{border:1.5px dashed var(--taupe);padding:14px;border-radius:16px;background:#fcf8ed}.review-extra[open]{display:grid;gap:15px}.review-correction-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-history{border-bottom:1px dashed var(--line);padding:14px 0}.review-history>.brief{margin:12px 0}
@media(max-width:1080px){.review-steps{flex-direction:column}.review-steps li{padding:7px 10px}}
@media(max-width:550px){.review-correction-fields{grid-template-columns:1fr}.review-title h2{font-size:19px}.review-charge-top{flex-wrap:wrap}.order-review,.review-form{padding:17px}.review-message,.review-concerns{padding:13px}}

/* A short append form stays with the sent review, above the full editor. */
.review-supplement{margin-top:24px;padding-top:20px;border-top:2px dashed var(--line,#d5c3a8)}
.review-supplement label{display:block;margin:12px 0}
.review-supplement textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px}
.review-new-supplement{background:#f4e8bb;border-left:4px solid #8b6b38;padding:16px 18px;margin:18px 0;border-radius:4px 16px 16px 4px}

/* Replies and order consent have separate, persistent states. */
.reply-badge,.review-badge,.accepted-badge{display:block;width:fit-content;border-radius:12px;padding:5px 9px;font-size:13px;line-height:1.5;margin:7px 0;font-weight:700}
.reply-badge{background:#983f30;color:#fff9ed}.review-badge{background:#f4da91;color:#50331f}.accepted-badge{background:#e0ecdc;color:#315538}
.attention-banner{margin-top:16px;border-radius:16px;padding:14px 18px;background:#f4eee3;border:1px solid #cbb99b}.attention-banner:empty{display:none}.attention-banner p{margin:6px 0 10px;font-size:14px}.attention-banner.needs-review{background:#fff0bc;border:2px solid #bd8538}.attention-banner.is-confirmed{background:#e7efe1;border-color:#71936a;color:#345c38}.attention-banner .new-reply{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px;color:#913c2f}
.order-review.review-pending{border:2px solid #bc853d;background:#fffaf0}.order-review.review-accepted{border:2px solid #709265}.review-accepted .review-title .pill{background:#dcebd6;color:#305634}.review-pending .review-title .pill{background:#f1d081;color:#563921}.review-accepted .review-new-supplement{background:#edf3e8;border-color:#91ab84}
.message.message-unread .bubble{background:#fff1c9;border:2px solid #b15c40;box-shadow:3px 3px 0 #e7d8b8}.unread-label{color:#963c2f;margin-left:6px}.unread-tools{padding:12px 16px;background:#fff0cd;border-bottom:1px solid #c8af82;display:grid;gap:7px}.unread-tools small{color:#6e5543}.unread-tools button{justify-self:start}
.auth-form .remember-login,#mail-preferences-form .remember-login{display:flex;align-items:center;gap:10px;margin-top:8px}.auth-form .remember-login input,#mail-preferences-form .remember-login input{width:18px;height:18px;flex:none}.login-help{font-size:13px;line-height:1.7}.login-help summary{cursor:pointer;color:#774a30;text-decoration:underline}
.account-wrap{width:min(700px,94vw);margin:24px auto;overflow:auto;min-height:0;padding:8px}.account-sheet{line-height:1.8}.account-heading{display:flex;gap:16px;align-items:center}.account-heading img{width:62px;border-radius:48%}.account-heading h1{font-size:23px}.account-sheet form{display:grid;gap:18px;margin:20px 0}.account-sheet button:disabled{cursor:not-allowed}.account-ok{background:#e7efe1;border:1px solid #78966b;border-radius:14px;padding:16px}.account-result{white-space:pre-wrap;color:#653c27;font-weight:700}.account-result:empty{display:none}

/* Email setup belongs to the existing quail account form. */
.auth-email{border-top:1px dashed var(--taupe);padding-top:12px;display:grid;gap:8px}.auth-email summary{cursor:pointer;font-weight:700}.auth-email[open] summary{margin-bottom:12px}.auth-email small{display:block;line-height:1.7;margin-top:6px}
@media(min-width:801px){.auth-welcome{position:sticky;top:0;align-self:start;min-height:min(580px,calc(100dvh - 140px));gap:16px}}

/* Quail action bookmarks: persistent labels, strong contrast and keyboard focus. */
.order-shortcuts{flex-shrink:0;background:#f8edce;border-top:1px dashed #b69865;border-bottom:2px solid #92724e;padding:10px 24px 12px}
.shortcut-caption{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:13px;color:#4a2a20}
.shortcut-caption img{width:23px;height:28px;object-fit:contain}.shortcut-caption small{font-weight:400}
.shortcut-buttons{display:flex;gap:7px;flex-wrap:wrap}.shortcut-buttons button{padding:7px 11px;font-size:13px;background:#fffdf5;border:1.5px solid #73523d;border-radius:15px 15px 10px 10px;color:#4a2a20;font-weight:700}
.shortcut-buttons .action-primary{background:#723c26;color:#fff9e9;border-color:#4a2a20;box-shadow:0 3px 0 #c5a071}
.action-spotlight{outline:4px solid #a85329!important;outline-offset:4px;background-color:#fff3cf!important;scroll-margin:16px}
.action-spotlight:focus{outline:4px solid #a85329!important}.payment-entry .refund-entry{display:inline-block;padding:9px 13px;margin-top:10px;border:2px solid #75482f;background:#f1e3b4;color:#4a2a20;font-weight:800;border-radius:12px;cursor:pointer}
#refund-settle-form{padding:18px;border:3px solid #996037;border-radius:18px;background:#fff8df;margin-top:18px}
.message.system-notice{max-width:100%}.system-notice .bubble{background:#fff1c4;border:2px solid #a58348;color:#4a2a20}
.notice-jump{display:block;margin-top:10px;background:#593823;color:#fff9e9;border:1px solid #593823;font-weight:700;padding:7px 12px;border-radius:10px}
@media(max-width:800px){.order-shortcuts{padding:12px 16px}.shortcut-buttons button{min-height:40px}.shortcut-caption small{width:100%}}

.room-heading .attention-banner{padding:9px 12px;margin-top:10px}.room-heading .attention-banner .new-reply{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}.room-heading .attention-banner button{padding:5px 10px}.room-heading{padding-top:14px;padding-bottom:14px}.room-heading h1{margin:6px 0 10px}.shortcut-caption{margin-bottom:5px}.order-shortcuts{padding-top:8px;padding-bottom:9px}

/* Keep the quail palette while separating pending work, replies and old versions. */
.feedback-pending{border-left:5px solid #a65a29;background:#fff9e9}
.feedback-response{background:#f2e2b5;border-left:4px solid #795032;padding:12px 14px;color:#4b2b20;white-space:pre-wrap}
.delivery-history{margin-top:20px;border-top:1px dashed #bba184;padding-top:12px}
.delivery-history summary{cursor:pointer;color:#715645;padding:8px 0}
.upload-form.action-spotlight{scroll-margin-top:16px}
/* Mobile workspace: switch regions without replacing drafts or selected files. */
.mobile-work-nav{display:none}
@media(max-width:800px){
 body{height:100dvh;min-height:0;overflow:hidden}
 .top{height:auto;min-height:66px;padding:8px 12px;gap:10px;align-items:center}
 .brand{font-size:16px;gap:6px;flex-shrink:0}.brand img{width:32px;height:40px}
 .top-actions{min-width:0;overflow-x:auto;white-space:nowrap;gap:12px;padding:3px 0}.top-actions>*{flex-shrink:0}.top-actions a,.top-actions button{min-height:40px;display:inline-flex;align-items:center;font-size:12px}
 #identity{display:none}.local-notice{padding:5px 12px;font-size:10px}
 .mobile-work-nav{display:flex;flex:none;gap:6px;padding:8px 10px;background:var(--yellow);border-bottom:2px solid var(--taupe)}
 .mobile-work-nav button{flex:1;min-height:44px;padding:7px 4px;font-size:13px;border-radius:20px 14px 18px 14px}
 .mobile-work-nav [aria-pressed=true]{background:var(--ink);color:var(--yellow)}
 .workspace{min-height:0;overflow:hidden;display:flex;flex:1}
 .workspace>.directory,.workspace>.room,.workspace>.chat{display:none}
 .workspace[data-mobile-panel=directory]>.directory{display:block}
 .workspace[data-mobile-panel=room]>.room{display:flex}
 .workspace[data-mobile-panel=chat]>.chat{display:flex}
 .directory{max-height:none;height:100%;width:100%;overflow:auto;padding:18px;border:0}
 .order-button{width:100%;margin:0 0 12px;display:block;min-height:90px}
 .room{min-height:0;height:100%;overflow:auto;flex:1}
 .room-heading{padding:12px 14px;flex-shrink:0}.room-heading h1{font-size:21px;overflow-wrap:anywhere}.room-heading .meta{gap:5px;font-size:11px}
 .content{overflow:visible;flex:none;padding:14px;min-height:auto}
 .section-tabs{overflow:auto;min-height:48px;gap:20px;padding:0 14px;background:var(--paper);position:sticky;top:0;z-index:5}
 .section-tabs button{min-height:48px}.line-tabs{padding:10px 14px 4px}.line-tabs button{min-height:42px}
 .sheet{padding:16px 14px;border-radius:5px 20px 5px 5px}.sheet h2{font-size:20px}
 .chat{height:100%;min-height:0;border:0;flex:1}.chat-head{padding:10px 14px}.chat-head img{width:32px;height:36px}.chat-head h2{font-size:18px}
 .messages{padding:12px 14px;overscroll-behavior:contain}.composer{padding:9px 12px calc(9px + env(safe-area-inset-bottom));gap:7px}
 .composer textarea{min-height:65px;max-height:120px}.composer .row{flex-wrap:wrap}.composer input[type=file]{max-width:215px;min-height:30px}.composer button{min-height:44px}
 input,textarea,select,.composer select,.composer textarea,.upload-form input[type=file]{font-size:16px}
 button,summary,.file a{min-height:44px}summary{cursor:pointer;line-height:1.7}
 .unread-tools{padding:8px 14px;flex-shrink:0}.unread-tools button{min-height:38px}
 .auth-wrap{grid-template-columns:1fr;max-height:100%;width:min(460px,100%);max-width:100%;margin:0 auto;border:0;border-radius:0;box-shadow:none}.auth-welcome{padding:14px;gap:10px}.auth-welcome img{width:60px;height:68px}.auth-form{padding:20px;gap:14px}
 .account-wrap{padding:10px!important;overflow:auto;min-height:0}.account-sheet{width:100%!important;max-width:none!important;padding:16px!important}.account-heading h1{font-size:25px}
 .checkout{margin:0 auto;width:100%;max-height:100%;padding:16px;overflow:auto}.checkout h1{font-size:24px}.checkout footer{padding:12px;bottom:0}.checkout footer button{width:100%;min-height:46px}
 .previews{grid-template-columns:1fr}.preview img{height:270px}.file{gap:9px;flex-wrap:wrap}.file img{width:52px;height:52px}.file a{display:flex;align-items:center;padding:0 7px}
 .review-steps{grid-template-columns:1fr!important}.review-steps>div{min-width:0}.row{flex-wrap:wrap}.specs{gap:10px}
 .action-shortcuts{flex-shrink:0;padding:10px 14px!important}.action-shortcuts button{min-height:44px}.shortcut-grid{grid-template-columns:1fr 1fr!important}
 .demo-overview{display:block;width:100%;margin:0;overflow:auto;padding:16px}.demo-intro{margin-bottom:20px}.demo-title h1{font-size:24px}.demo-title img{width:50px}.demo-request{padding:16px}
 #demo-guide{max-height:25dvh;overflow:auto;flex-shrink:0}.demo-bar{padding:8px 12px}.demo-next{padding:7px 12px}.demo-tools{flex-wrap:wrap}.demo-next button{font-size:12px}
 #notice{top:74px;width:calc(100vw - 24px);max-width:none;font-size:13px;padding:12px;max-height:35dvh;overflow:auto}
 dialog:not(.annotation-editor){width:calc(100vw - 24px);max-height:85dvh;overflow:auto;padding:18px}.dialog-actions{flex-wrap:wrap}.dialog-actions button{flex:1}
}
@media(max-width:800px){body{height:var(--quail-visible-height,100dvh)}#account-entry{order:-1}}
/* Phone review v2: reserve the screen for the current draft or conversation. */
@media(max-width:800px){
 .top{min-height:48px;height:48px;padding:4px 10px;background:var(--yellow);color:var(--ink);border-bottom:1px solid #bba88e}
 .brand{font-size:14px;gap:5px}.brand img{width:28px;height:32px;background:var(--ink);border-radius:45%;padding:2px}
 .top-actions{gap:10px}.top-actions button{color:var(--ink);border-color:#bba88e}.top-actions a,.top-actions button{min-height:38px}
 .mobile-work-nav{padding:5px 10px}.mobile-work-nav button{min-height:40px}
 .chat-head{padding:7px 12px}.chat-head h2{font-size:17px}
 .shortcut-caption small{font-size:10px;width:auto}.order-shortcuts{padding:8px 12px}.shortcut-buttons{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.shortcut-buttons button{flex-shrink:0}
 .composer .row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.composer input[type=file]{width:100%;min-width:0;max-width:100%}
 body:has(.workspace[data-mobile-panel=chat]) #demo-guide{max-height:85px}
}

/* Phone review v3: unread controls must leave room to read the conversation. */
@media(max-width:800px){
 .unread-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:5px 12px}
 .unread-tools b{font-size:12px;line-height:1.4}
 .unread-tools button{min-height:36px;padding:5px 8px;font-size:12px}
 .unread-tools small{grid-column:1/-1;font-size:10px;line-height:1.4}
 .mobile-work-nav button{line-height:1.25;font-size:12px}
 .chat-head h2{line-height:1.2;margin:0}
 .chat-head small{line-height:1.3;margin-top:2px}
 .composer{gap:5px;padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
 .composer textarea{height:60px;min-height:60px;padding:8px 10px;line-height:1.5}
 .composer button{min-height:40px}
 body:has(.workspace[data-mobile-panel=chat]) #demo-guide{max-height:44px}
}

/* Cancellation keeps the egg palette, while distinguishing action from information. */
.cancellation-panel{border:2px solid #946434;background:#fffaf0}.cancellation-panel h2{font-size:20px}.cancellation-active{border-color:#aa5738;box-shadow:inset 5px 0 #aa5738}.cancel-result{border-radius:14px;background:#f2e4bd;padding:14px;margin:12px 0}.cancel-result p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.cancellation-panel form{margin:14px 0}.cancel-check{display:flex!important;gap:10px;align-items:flex-start}.cancel-check input{width:auto!important;flex:0 0 auto;margin-top:5px}.cancellation-panel button{white-space:normal;min-height:44px;margin:5px 5px 5px 0}@media(max-width:600px){.cancellation-panel .payment-heading{align-items:flex-start;flex-wrap:wrap}.cancellation-panel{padding:16px}.cancellation-panel h2{font-size:18px}}

@media(max-width:800px){.action-spotlight,.upload-form.action-spotlight{scroll-margin-top:64px}}

/* Notice must never cover the three mobile navigation controls. */
#notice{cursor:pointer;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);max-height:28vh;overflow:auto}
@media(max-width:760px){
 body:has(.composer textarea:focus) .chat-head,body:has(.composer textarea:focus) .unread-tools{display:none}
 body:has(.composer textarea:focus) .topbar{display:none}
 .composer{flex-shrink:0}.composer textarea{min-height:44px;max-height:18vh}
 .mobile-work-nav button,.topbar button{min-height:44px}
}

/* Actual unread notices; the dot stays inside the tab's touch area. */
.nav-label{position:relative;display:inline-block;padding-right:9px}
.unread-dot{position:absolute;right:-3px;top:-2px;width:9px;height:9px;border-radius:50%;background:#d43c37;box-shadow:0 0 0 2px #fff6df;pointer-events:none}
.mobile-work-nav button{overflow:visible}

/* Keep the studio paper/ink identity; one destination, one scroll area. */
html:has(.workspace),body:has(.workspace){overflow:hidden;overscroll-behavior:none}
body:has(.workspace){height:var(--quail-visible-height,100dvh);min-height:0}
.top,.local-notice,.mobile-work-nav{flex-shrink:0}
.workspace{display:flex;min-height:0;overflow:hidden}
.workspace>.directory,.workspace>.room,.workspace>.chat{display:none}
.workspace[data-mobile-panel=directory]>.directory{display:block}
.workspace[data-mobile-panel=room]>.room,.workspace[data-mobile-panel=chat]>.chat{display:flex}
.mobile-work-nav{display:flex;gap:8px;padding:6px 12px;background:var(--yellow);border-bottom:1px solid var(--line)}
.mobile-work-nav button{flex:1;min-height:44px}
.mobile-work-nav [aria-pressed=true]{background:var(--ink);color:var(--yellow)}
.workspace>.directory{width:100%;max-height:none;height:100%;overflow:auto;overscroll-behavior:contain;padding:20px max(16px,calc((100% - 760px)/2));border:0}
.personal-heading{display:flex;gap:14px;align-items:center;margin-bottom:15px}.personal-heading img{width:48px;height:58px;object-fit:contain}.personal-heading h1{margin:2px 0;font-size:25px}.personal-heading p{font-size:12px;color:#796556;margin:0}
.personal-actions{display:flex;gap:8px;flex-wrap:wrap}.personal-actions a{display:inline-flex;align-items:center;min-height:44px;padding:7px 12px;border:1px solid var(--ink);border-radius:18px;background:var(--yellow);color:var(--ink)}.home-intro{font-size:13px;line-height:1.8;margin:18px 0}.directory-title h1{font-size:18px}
.directory .order-button{display:block;width:100%;min-height:0;margin:0 0 12px}
.workspace>.room{height:100%;min-height:0;flex:1;overflow:hidden}
.room-page-heading{flex:none;padding:8px 14px;border-bottom:1px solid var(--line);background:var(--paper);display:flex;align-items:center;gap:12px}
.room-page-heading button{border:0;background:transparent;padding:6px 0;font-size:12px;min-height:40px;flex:none}.room-page-heading h1{font-size:16px;margin:0;line-height:1.4}
.room .room-page-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px max(14px,calc((100% - 820px)/2));scroll-padding-top:12px}
.room-page-content>h2{font-size:18px;margin:18px 0 10px}.room-page-content .order-number{font-size:11px;margin:14px 0}
.room-page-list{display:grid;gap:0;border-top:1px solid var(--line)}
.room-page-row{width:100%;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px 5px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}
.room-page-row>span:first-child{min-width:0}.room-page-row strong{font-size:16px;overflow-wrap:anywhere}.room-page-row small{display:block;font-size:12px;color:#776253;line-height:1.6;margin-top:5px}.room-page-row>span:last-child{font-size:26px;color:var(--taupe);flex:none}.room-page-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.line-chat-entry{margin-top:20px;width:100%}
.workspace>.chat{height:100%;min-height:0;flex:1;overflow:hidden;border:0}
.chat-head{flex:none;padding:8px 14px;min-height:48px}.chat-head small{max-width:100%;overflow-wrap:anywhere}.chat .messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px max(14px,calc((100% - 760px)/2));touch-action:pan-y}
.chat .composer{flex:none;display:block;padding:8px max(12px,calc((100% - 760px)/2));max-height:45%;overflow:auto;overscroll-behavior:contain;background:var(--paper)}
.compose-main{display:flex;align-items:flex-end;gap:8px}.compose-main textarea{flex:1;min-width:0;height:46px;min-height:46px;max-height:100px;resize:vertical;font-size:16px;padding:10px}.compose-main button{flex:none;min-height:44px;padding:8px 12px}
.composer details{margin-top:5px}.composer summary{font-size:12px;min-height:28px;line-height:28px}.composer-options{display:grid;gap:8px;padding:8px 0}.composer select{width:100%;font-size:16px}.composer input[type=file]{width:100%;max-width:none;font-size:12px}.composer-options small{font-size:11px}
.chat .unread-tools{flex:none;display:flex;align-items:center;justify-content:space-between;padding:4px 12px;gap:8px}.unread-tools small{display:none}.unread-tools b{font-size:11px}.unread-tools button{font-size:11px;min-height:32px}
.message-detail{margin-top:10px;border-top:1px dashed #bba88e;padding-top:8px;white-space:normal}.message-detail strong{display:block;font-size:12px}.message-detail p{white-space:pre-wrap;margin:3px 0 12px;line-height:1.7}
.message .notice-jump{font-size:12px;min-height:40px}.room-page-content .action-spotlight{scroll-margin-top:8px}
.message-preview{display:block;width:100%;max-height:180px;object-fit:contain;background:var(--paper);border-radius:8px}
.message .message-image{margin:10px 0 0;white-space:normal;min-width:0}
.message-image-open{display:block;width:100%;padding:6px;border:0;border-radius:8px;background:var(--paper);color:var(--ink)}
.message-image img{display:block;width:100%;height:clamp(100px,24dvh,200px);object-fit:contain;border-radius:5px}
.message-image-open>span{display:block;font-size:11px;line-height:22px}
.message-image figcaption{font-size:11px;overflow-wrap:anywhere;margin:5px 0;color:inherit;opacity:.8}
.message-image .annotation-entry{display:block;width:100%;min-height:44px;margin-top:8px;font-size:14px}
.message .annotation-card{width:100%;max-width:none}.message-file{display:block;overflow-wrap:anywhere}
.message .annotation-mini{width:fit-content;max-width:100%;margin:auto}.message .annotation-mini img{width:auto;max-width:100%;max-height:clamp(100px,24dvh,200px);height:auto}
dialog.message-lightbox{position:fixed;inset:0;margin:auto;width:100vw;max-width:100vw;height:var(--quail-visible-height,100dvh);max-height:100dvh;padding:0;border:0;border-radius:0;background:var(--paper);overflow:hidden}
dialog.message-lightbox[open]{display:flex;flex-direction:column}
.message-lightbox>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));background:var(--yellow);border-bottom:1px solid var(--taupe)}
.message-lightbox>header button{min-height:44px;flex:none;font-size:14px}
.lightbox-picture{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden}
.lightbox-picture img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.message-lightbox>p{flex:none;margin:0;padding:8px 12px max(8px,env(safe-area-inset-bottom));font-size:11px;overflow-wrap:anywhere;max-height:60px;overflow:auto}
/* Do not move message buttons between pointer-down and blur/click. */
body:has(.composer textarea:focus) .chat-head,body:has(.composer textarea:focus) .unread-tools{display:flex}
@media(max-width:800px){.top{height:48px;min-height:48px}.room .room-page-content{padding:14px}.workspace>.directory{padding:16px}.chat .messages{padding:12px}.chat .composer{padding:7px 10px}.chat-head h2{font-size:16px}.chat-head small{font-size:10px}.chat-head img{width:27px;height:32px}.room-page-content .payment-summary{margin:0}.room-page-heading h1{font-size:15px}}

.owner-directory .personal-heading h1{font-size:24px}.owner-directory .personal-heading>button{margin-left:auto;min-width:44px;min-height:44px}.owner-directory .home-intro{margin:10px 0 16px}.owner-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:18px}.owner-filters button{min-height:44px;padding:8px 3px;font-size:12px;background:var(--paper);border:1px solid var(--line)}.owner-filters [aria-pressed=true]{background:var(--ink);color:var(--yellow);border-color:var(--ink)}.owner-filters b{margin-left:3px}.owner-order-list{margin-bottom:20px}.owner-order{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:16px 12px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.owner-order-top{display:flex;justify-content:space-between;gap:8px;align-items:center;width:100%}.owner-order-top strong{font-size:17px}.owner-status{font-size:12px;font-weight:700;color:var(--ink);background:var(--yellow);padding:4px 7px;border-radius:5px;flex:none}.owner-order-title{font-size:15px;overflow-wrap:anywhere}.owner-order small{font-size:11px;overflow-wrap:anywhere}.owner-next{display:flex;justify-content:space-between;width:100%;font-weight:700;font-size:13px;margin-top:4px}.owner-order[aria-current=true]{box-shadow:inset 3px 0 var(--ink)}.owner-empty{padding:25px 5px;line-height:1.7}.owner-order-intro p{margin-top:0;font-size:14px;font-weight:700}.owner-order-intro h2{font-size:20px;overflow-wrap:anywhere}.owner-order-intro small{font-size:11px}.owner-primary{width:100%;min-height:48px;margin:18px 0 8px}

.review-amount{margin:16px 0;padding:14px 0;border-top:1px solid var(--line)}.review-amount input{font-size:22px;font-weight:700;min-height:48px}.review-amount small{font-size:12px}.conversation-inbox{padding:0}.conversation-heading{padding:16px 16px 8px;flex:none}.conversation-heading h1{margin:0;font-size:22px}.conversation-heading p{font-size:12px;line-height:1.6;margin:6px 0}.conversation-filters{display:flex;gap:8px;padding:0 16px 12px;flex:none}.conversation-filters button{min-height:44px;flex:1}.conversation-filters [aria-pressed=true]{background:var(--ink);color:var(--yellow)}.conversation-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 16px 16px}.conversation-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;padding:15px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.conversation-top{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:17px}.conversation-count{background:#ba3933;color:white;border-radius:15px;min-width:23px;padding:3px 6px;text-align:center;font-size:12px}.conversation-order{font-size:12px;overflow-wrap:anywhere}.conversation-snippet{font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.conversation-row>small{font-size:11px;color:var(--taupe)}.conversation-empty{padding:20px 0;line-height:1.7}.conversation-thread-head{display:flex;align-items:center;gap:8px}.conversation-thread-head>div{flex:1;min-width:0}.conversation-thread-head h2{margin:0;font-size:16px}.conversation-thread-head small{display:block;overflow-wrap:anywhere}.conversation-thread-head>button{font-size:11px;min-height:40px;padding:5px;flex:none}.message-scope{display:block;font-size:11px;margin-top:5px;opacity:.75}

.order-progress{padding:14px 14px 12px;margin:0 0 18px;border-bottom:1px solid #cbbb99;background:#f8f2dc;border-radius:12px;color:#4b2d22}
.order-progress-title{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.order-progress-title>small{font-size:11px;letter-spacing:.1em;color:#806d53}.order-progress-title>strong{font-size:17px}
.order-progress-track{list-style:none;display:flex;padding:0!important;margin:0!important;width:100%;gap:0}.order-progress-track li{position:relative;flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.order-progress-track li:before{content:"";height:3px;background:#d5cab1;position:absolute;top:12px;left:-50%;right:50%}.order-progress-track li:first-child:before{display:none}.order-progress-track li.passed:before,.order-progress-track li.current:before{background:#795139}
.order-progress-track li>span{position:relative;background:#e5dcc6;color:#88785e;border:2px solid #e5dcc6;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;box-sizing:border-box;font-size:12px;font-weight:700}
.order-progress-track li.passed>span{background:#795139;border-color:#795139;color:#fff8e6}.order-progress-track li.current>span{background:#f7dfa2;border-color:#795139;color:#4b2d22;box-shadow:0 0 0 3px #fff9e8}.order-progress-track li>small{font-size:11px;line-height:1.2}.order-progress-track li.current>small{font-weight:800}.order-progress>button{margin-top:14px;width:100%}
.customer-cancel-entry button:disabled{opacity:.55;cursor:not-allowed}.cancellation-panel p{line-height:1.6}.cancellation-panel .danger{min-height:46px;width:100%}.cancel-request-note{font-size:13px}.cancellation-panel .actions{margin-top:12px}

/* Money is explicit and readable on the existing cream-and-brown sheets. */
.money-status,.supplement-priority{padding:18px;margin:12px 0;background:#fff8e6;border:2px solid #895532;border-radius:18px;overflow-wrap:anywhere}
.money-status h2,.supplement-priority h2{font-size:23px;line-height:1.35;margin:0 0 10px;color:#713b26}
.supplement-priority h2 strong{display:block;font-size:32px}.supplement-priority button{min-height:48px;width:100%;margin:6px 0}
.money-refund-row{padding:12px 0;border-top:1px solid #ccb998}.money-refund-row small{display:block;margin-top:5px}
.refund-credit{padding:12px;background:#f1e3b4;border-radius:10px}.refund-timing{margin:12px 0}.refund-timing summary{font-weight:800;cursor:pointer}
.money-attention{border-color:#b33327}.money-attention h2{color:#a02721}.money-order-id{font-weight:700}

/* Owner work stays in two clear areas; per-order tools remain local. */
.owner-workroom .mobile-work-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.owner-archives{margin:0 0 16px;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.owner-archives summary{cursor:pointer;font-weight:700}.owner-archives .owner-filters{margin:12px 0 0}
.owner-order-context{padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:14px}.owner-order-context>strong{font-size:13px;display:block;overflow-wrap:anywhere;margin-bottom:10px}.owner-order-context>div{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.owner-order-context button,.owner-order-context summary{font-size:13px;min-height:40px}.owner-order-context details{flex:1;min-width:140px}.owner-order-context summary{cursor:pointer;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.owner-action-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.owner-action-menu button{padding:8px 5px}.owner-workroom .room-page-heading{align-items:center;flex-wrap:wrap}.owner-workroom .owner-status{white-space:normal;max-width:52%;text-align:right}.consult-request{font-size:14px;margin:8px 0}.consult-request .brief{white-space:pre-wrap}

/* Soft coloured ink labels keep the atelier palette while making states distinct. */
[data-order-tone="amber"]{--order-tone:#744807;--order-tint:#fff0c5}
[data-order-tone="orange"]{--order-tone:#934014;--order-tint:#ffeddf}
[data-order-tone="blue"]{--order-tone:#285877;--order-tint:#e5f0f7}
[data-order-tone="purple"]{--order-tone:#684476;--order-tint:#f1e9f5}
[data-order-tone="green"]{--order-tone:#365e42;--order-tint:#e8f1e5}
[data-order-tone="gray"]{--order-tone:#625b56;--order-tint:#eeebe8}
[data-order-tone="red"]{--order-tone:#9b302b;--order-tint:#fde9e5}
.order-state-label{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 9px;border:1px solid currentColor;border-radius:9px;color:var(--order-tone);background:var(--order-tint);font-size:12px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.order-state-label:before{content:"";flex:0 0 7px;width:7px;height:7px;background:currentColor;border-radius:50%}
.owner-order-top .owner-status{flex-shrink:1;text-align:left;max-width:65%}
.owner-order-top>strong{min-width:0;overflow-wrap:anywhere}
.order-button>.order-state-label{margin-bottom:5px}
.order-progress[data-order-tone]{border-left:4px solid var(--order-tone);background:var(--order-tint);border-bottom-color:var(--order-tone)}
.order-progress-title>.order-state-label{align-self:flex-start;font-size:16px}
.order-progress[data-order-tone] .order-progress-track li.current>span{background:var(--order-tint);border-color:var(--order-tone);color:var(--order-tone)}
.order-progress[data-order-tone] .order-progress-track li.current>small{color:var(--order-tone)}
@media(max-width:400px){.owner-order-top{align-items:flex-start}.owner-order-top .owner-status{max-width:63%;font-size:11px}}

/* Keep the atelier's paper and brown ink; distinguish enquiries and urgent work. */
.inbox-group{margin:7px 0 20px;min-width:0}
.inbox-group>h2,.inbox-group>summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:15px;font-weight:800;color:var(--ink);padding:11px 9px;margin:0;border-bottom:2px solid var(--taupe);background:#f1e3b480}
.inbox-group[data-inbox-group="inquiry"]>h2{background:#eee8d8;border-bottom-color:#8d796a}
.inbox-group-count{font-size:12px;font-weight:600}
.inbox-group-unread{font-size:11px;color:#a3312b;margin-left:auto}
.inbox-group-empty{padding:14px 9px;font-size:13px;color:#70594c;line-height:1.8}
.inbox-history>summary{cursor:pointer;list-style:disclosure-closed;display:list-item}
.inbox-history[open]>summary{list-style:disclosure-open}
.inbox-history>summary .inbox-group-unread{margin-left:8px}
.conversation-row .message-sender,.message>.message-byline .message-sender{width:fit-content;max-width:100%;display:inline-block;font-size:12px;font-weight:800;line-height:1.5;padding:3px 7px;border-radius:6px;overflow-wrap:anywhere}
.message-sender[data-sender-role="assistant"]{background:#efe1ae;color:#584321}
.message-sender[data-sender-role="owner"]{background:#744832;color:#fff8e4}
.message-sender[data-sender-role="customer"]{background:#e7e5df;color:#4a2a20}
.message>.message-byline{display:flex;gap:7px;align-items:center;flex-wrap:wrap;line-height:1.7}
.owner-workroom .owner-order.owner-urgent,.owner-workroom .conversation-row.owner-urgent{background:#ffdfaa;border:2px solid #a95e1b;border-left-width:6px;border-radius:16px 10px 16px 10px;margin:8px 0;padding:14px 12px;box-shadow:3px 3px 0 #b7783333}
.owner-workroom .owner-order.owner-urgent[aria-current="true"]{background:#ffd28b;border-color:#834219;box-shadow:3px 3px 0 #b7783355}
.owner-urgency-badge{display:inline-block;width:fit-content;max-width:100%;border-radius:7px;padding:5px 9px;font-size:13px;font-weight:800;line-height:1.5;background:#8b461a;color:#fff8e4;overflow-wrap:anywhere}
.owner-workroom .owner-order-context.owner-urgent{background:#ffdfaa;border:2px solid #a95e1b;border-radius:14px;padding:12px}
.owner-order-context .owner-urgency-badge{margin-bottom:8px}
@media(max-width:400px){.inbox-group>h2,.inbox-group>summary{font-size:14px}.owner-urgency-badge{font-size:12px}.owner-workroom .owner-order.owner-urgent{padding:12px 9px}.conversation-row .message-sender{font-size:11px}}

/* Unread comes first across every conversation category, without mixing enquiries. */
.inbox-priority{min-width:0}
.inbox-priority-title{font-size:16px;line-height:1.5;margin:16px 0 8px;padding:9px 12px;color:var(--ink);background:#eee8d8;border-radius:10px}
.inbox-priority[data-inbox-priority="unread"]>.inbox-priority-title{background:#744832;color:#fff8e4}
.inbox-priority+.inbox-priority{margin-top:24px}
.inbox-group>h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:15px;font-weight:800;color:var(--ink);padding:11px 9px;margin:0;border-bottom:2px solid var(--taupe);background:#f1e3b480}
.inbox-group[data-inbox-group="inquiry"]>h3{background:#eee8d8;border-bottom-color:#8d796a}
@media(max-width:400px){.inbox-group>h3{font-size:14px}.inbox-priority-title{font-size:15px}}

/* The attachment chooser is an always-visible native control, not a closed-order action. */
.chat-attachment{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin-top:8px;min-width:0}
.chat-attachment>label{font-size:13px;font-weight:700;cursor:pointer;color:var(--ink)}
.chat .composer .chat-attachment input[type=file]{display:block;width:100%;max-width:100%;min-width:0;min-height:42px;padding:5px;border:1.5px solid var(--taupe);border-radius:10px;background:#fffefb;font-size:12px;cursor:pointer}
.chat-attachment input::file-selector-button{min-height:30px;padding:4px 12px;margin-right:8px;border:1px solid var(--ink);border-radius:8px;background:var(--yellow);color:var(--ink);font:inherit;cursor:pointer}
.chat-attachment>small{font-size:11px;line-height:1.5;color:#766256;overflow-wrap:anywhere}
@media(max-width:800px){.chat-attachment{margin-top:6px;gap:3px}.chat .composer .chat-attachment input[type=file]{font-size:12px;min-height:40px}.chat-attachment>small{font-size:10px}}

.payment-help-cases p{white-space:pre-line}.wechat-contact-steps{list-style:none;padding-left:0}.wechat-contact-steps p{line-height:1.75}

/* 2026-10-11 clarity (p4): customer workroom copy blocks */
.directory-title h2{font-size:18px;margin:0}
.order-next-step{display:block;width:100%;min-height:48px;margin:10px 0 4px}
.review-lead{margin:0 0 14px;line-height:1.75}
.checkout-pay-notes{margin:6px 0 0;padding-left:1.25em;line-height:1.7}
.checkout-pay-notes li{margin:3px 0}
.wechat-rules{margin:14px 0;padding-left:1.25em;line-height:1.7;font-size:14px}
.payment-help>p{margin:8px 0;line-height:1.6}

/* 2026-10-11 p5: 阿姨 list first screen, folded customer notices, grouped previews */
.owner-shortcuts{display:flex;gap:8px;margin:10px 0 12px;min-width:0}
.owner-shortcuts>button,.owner-shortcuts>.feedback-inbox-entry{flex:1 1 0;min-width:0;min-height:44px;margin:0;padding:8px 26px 8px 12px;font-size:13px;font-weight:800;text-align:left;border-radius:14px;line-height:1.35}
.owner-shortcuts>button{background:#f1e3b4;color:#4a2a20}
.owner-shortcuts .feedback-inbox-entry strong{font-size:13px}
.owner-shortcuts .feedback-inbox-entry .feedback-inbox-arrow{right:9px;font-size:20px}
.owner-directory>.owner-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:0 0 10px;padding-bottom:4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.owner-directory>.owner-filters button{flex:0 0 auto;min-height:44px;padding:6px 12px;white-space:nowrap;scroll-snap-align:start}
.owner-directory .owner-archives{margin-bottom:10px}
.owner-notified details{border:1px dashed #c8af82;border-radius:12px;background:#fffaf0;padding:4px 10px;font-size:12px;line-height:1.6;color:#6e5543;white-space:normal}
.owner-notified summary{cursor:pointer;min-height:32px;padding:4px 0;overflow-wrap:anywhere}
.owner-notified summary small{opacity:.75;margin-left:4px}
.owner-notified .bubble{margin:6px 0}
.message-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;white-space:normal}
.message-preview-item{min-width:0}
.message-preview-item>p{font-size:11px;line-height:1.5;margin:4px 0 0}
.message-superseded{font-size:12px;opacity:.8;white-space:normal;margin:6px 0 0}
.chat .unread-tools .owner-mark-read{font-size:13px;min-height:40px;padding:6px 14px}
.money-status-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;margin:10px 0;background:#fff8e6;border:2px solid #895532;border-radius:14px;overflow-wrap:anywhere}
.money-status-line.money-attention{background:#fff0e6;border-color:#af3c26}
.review-resend>summary{cursor:pointer;font-weight:800;min-height:44px;display:flex;align-items:center}
.review-resend[open]>summary{margin-bottom:10px}
.coupon-owner>a[href*="topic=coupon"],.coupon-owner>p:has(+a[href*="topic=coupon"]){display:none}
.q-assistant-cases{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:4px}
.q-assistant-cases li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
.q-assistant-cases h3{margin:0;font-size:14px}
.q-stats-ready,.q-stats-scope{font-size:13px;line-height:1.7}
.q-stats-notes{margin:12px 0;font-size:12px;line-height:1.7}
.q-stats-notes summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:700}

/* 2026-10-11 p5 second batch: 阿姨's rush steps, cancel rule and note */
.owner-rush{margin:14px 0;padding:10px 14px;background:#fff4dc;border-left:4px solid #8b461a;border-radius:4px 16px 16px 4px;overflow-wrap:anywhere}
.owner-rush>summary{cursor:pointer;font-weight:800;min-height:44px;display:flex;align-items:center}
.owner-rush[open]>summary{margin-bottom:8px}
.owner-rush ul,.owner-rush ol{margin:6px 0;padding-left:1.4em;line-height:1.7}
.owner-rush .owner-rush-diff{font-size:15px}
.owner-rush .actions{display:flex;flex-wrap:wrap;gap:8px}
.owner-rush-note{overflow-wrap:anywhere}
.owner-rush.owner-rush-done{background:#f6efe2;border-left-color:#a07850}
.owner-rush .owner-rush-paid{padding:6px 10px;border-radius:8px;background:#fff8e6;border:1px dashed #a07850}
.owner-urgency-badge.owner-rush-standard{background:#efe4cf;color:#5a3a1c;border:1px dashed #9b7650}
.cancel-rule-note{font-size:13px;line-height:1.7;padding:8px 10px;border-left:4px solid #895532;background:#fff8e6;border-radius:8px}
.owner-cancel-note{display:block;margin:10px 0 4px}
.owner-cancel-note textarea{width:100%;box-sizing:border-box}
.owner-cancel-note-hint{font-size:12px;margin:0 0 10px}
