:root{color:#16201c;background:#f6f4ee;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}.auth-page{min-height:100vh;display:grid;grid-template-columns:clamp(420px,38vw,560px) minmax(0,1fr)}.brand-panel{min-height:100vh;padding:48px clamp(36px,3.3vw,48px);display:flex;flex-direction:column;background:#17382d;color:#fff;position:relative;overflow:hidden}.brand-panel:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:#246248;right:-235px;top:16%}.brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.brand span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#f0a14a;color:#17382d;font-size:21px;font-weight:900}.brand strong{font-size:19px;letter-spacing:.06em}.brand-copy{margin:auto 0;max-width:450px;position:relative;z-index:1}.eyebrow{color:#2b7658;font-weight:850;letter-spacing:.14em;font-size:12px}.brand-copy .eyebrow{color:#f3b469}h1{margin:10px 0 24px;font-size:clamp(40px,3.8vw,56px);line-height:1.06;letter-spacing:-.05em;white-space:nowrap}.brand-copy>p:last-child{max-width:580px;color:#bdd2c8;font-size:17px}.trust{display:flex;flex-wrap:wrap;gap:10px;position:relative;z-index:1}.trust span{padding:8px 12px;border:1px solid rgba(255,255,255,.15);border-radius:999px;color:#cfe0d8;font-size:12px}.form-panel{display:grid;place-items:center;min-width:0;padding:clamp(32px,5vw,72px)}.auth-card{width:min(500px,100%);padding:38px;border-radius:25px;border:1px solid #deddd5;background:#fffdf8;box-shadow:0 20px 60px #172c2314}.auth-card.dashboard{width:min(860px,100%)}.dashboard-head,.order-title,.order-meta,.dashboard-controls,.head-actions{display:flex;align-items:center}.dashboard-head,.order-title{justify-content:space-between;gap:20px}.dashboard-head{margin-bottom:24px}.dashboard-title{min-width:0}.dashboard-head h2{margin-bottom:0}.dashboard-controls{gap:18px}.head-actions{gap:4px;padding:4px;border-radius:12px;background:#f0eee8}.head-actions .text-button{min-width:48px;padding:8px 10px;border-radius:9px;color:#66716b}.head-actions .text-button.active{background:#fffdf8;color:#1e6b50;box-shadow:0 2px 8px #172c2314}.logout-button{padding:8px 0}.muted-button{color:#66716b!important}.order-list{display:grid;gap:13px}.order-card{padding:18px;border:1px solid #e1dfd7;border-radius:16px;background:#fbfaf6}.order-title strong,.order-title small{display:block}.order-title small{margin-top:3px;color:#7b827e}.order-card p{margin:14px 0 10px;font-size:14px}.status{padding:5px 10px;border-radius:999px;background:#dceee5;color:#1e6b50;font-size:11px;font-weight:850;white-space:nowrap}.order-meta{flex-wrap:wrap;gap:12px;color:#66716b;font-size:12px}.cancel-button{margin-top:14px;padding:6px 0;border:0;background:none;color:#a34a43;cursor:pointer}.payment-ok{margin-top:12px;color:#1e6b50;font-size:12px;font-weight:800}.report,.quote{margin-top:14px;padding:14px;border-radius:13px;background:#f0eee6;font-size:13px}.report p{margin:6px 0 2px}.report small{color:#66716b}.quote>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0}.quote .quote-total{border-top:1px solid #d7d4c9;margin-top:5px;padding-top:10px;font-size:16px}.quote .quote-actions{justify-content:flex-start;margin-top:7px}.quote-actions button{border:0;border-radius:9px;background:#1e6b50;color:#fff;padding:8px 11px;cursor:pointer;font-weight:750}.quote-actions button.reject{background:#fff;border:1px solid #d7d4c9;color:#5f6763}.empty{display:grid;justify-items:center;padding:54px 20px 48px;text-align:center;color:#66716b}.empty-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:14px;border-radius:15px;background:#dceee5;color:#1e6b50;font-weight:900}.empty h3{margin:0;color:#16201c;font-size:18px}.empty p{margin:8px 0 20px;font-size:13px;line-height:1.7}.empty-action{min-width:132px;min-height:44px;border:0;border-radius:12px;background:#1e6b50;color:#fff;cursor:pointer;font-weight:800}.support-view,.ticket-list,.messages{display:grid;gap:14px}.ticket-form,.ticket-card{padding:18px;border:1px solid #e1dfd7;border-radius:16px;background:#fbfaf6}.ticket-form h3{margin:0 0 17px}.ticket-message{max-width:86%;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e1dfd7}.ticket-message.mine{margin-left:auto;background:#dceee5}.ticket-message small{color:#66716b}.ticket-message p{margin:4px 0 0}.reply-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-top:14px}.reply-row button{border:0;border-radius:10px;padding:0 13px;background:#1e6b50;color:#fff;cursor:pointer}.reply-row button.close-ticket{background:#ece9e0;color:#5f6763}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.choice-row button{padding:13px;border:1px solid #d7d7cf;border-radius:13px;background:#fbfaf6;cursor:pointer;font-weight:750}.choice-row button.active{border-color:#1e6b50;background:#dceee5;color:#1e6b50}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{margin-top:0}.form-grid .full{grid-column:1 / -1}select,textarea{width:100%;border:1px solid #d7d7cf;background:#fbfaf6;border-radius:13px;padding:13px 14px;outline:none;font:inherit}textarea{min-height:100px;resize:vertical}.consent{display:flex;align-items:center;gap:9px;font-weight:500}.consent input{width:auto}h2{margin:7px 0 10px;font-size:36px;letter-spacing:-.04em}.muted,small{color:#66716b}label{display:grid;gap:8px;margin-top:20px;font-size:13px;font-weight:800}input{width:100%;border:1px solid #d7d7cf;background:#fbfaf6;border-radius:13px;padding:13px 14px;outline:none}input:focus{border-color:#1e6b50;box-shadow:0 0 0 3px #1e6b501f}.button{width:100%;border:0;border-radius:13px;padding:13px 16px;margin:23px 0 13px;background:#1e6b50;color:#fff;font-weight:800;cursor:pointer}.button:disabled{opacity:.6;cursor:wait}.button.secondary{background:#16201c}.text-button{border:0;background:none;color:#1e6b50;padding:0 0 16px;cursor:pointer;font-weight:750}.text-button:disabled{color:#a6aaa7;cursor:not-allowed}.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0 24px;padding:5px;border-radius:14px;background:#efeee8}.login-tabs button{border:0;border-radius:10px;padding:10px;background:transparent;color:#66716b;cursor:pointer;font-weight:800}.login-tabs button.active{background:#fffdf8;color:#1e6b50;box-shadow:0 2px 8px #172c2314}.hint{margin:12px 0 0;color:#7b6941;font-size:12px;line-height:1.6}.account-view,.identity-list{display:grid;gap:14px}.identity-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #e1dfd7;border-radius:16px;background:#fbfaf6}.identity-card div{display:grid;gap:5px;min-width:0}.identity-card strong{overflow-wrap:anywhere}.identity-card .text-button{padding:0}.identity-note{margin:0;font-size:12px}.identity-form{margin-top:10px;padding-top:22px;border-top:1px solid #e1dfd7}.identity-form h3{margin:0}.error{padding:10px 12px;border-radius:10px;background:#fff0ee;color:#a43e36;font-size:13px}.notice{margin:22px 0 4px;padding:15px;border-radius:13px;background:#eef5f1;color:#315b49;font-size:13px}@media(max-width:1100px){.auth-page,.auth-page.signed{grid-template-columns:380px minmax(0,1fr)}.brand-panel{padding-inline:36px}.brand-copy h1{font-size:38px}.brand-copy>p:last-child{font-size:15px}.form-panel{padding:28px}.dashboard-head{align-items:flex-start}.dashboard-controls{align-items:flex-end;flex-direction:column-reverse;gap:8px}}@media(max-width:900px){.auth-page,.auth-page.signed{display:block}.brand-panel{min-height:220px;padding:24px 20px 26px}.brand-panel:after{width:230px;height:230px;top:12px;right:-125px;opacity:.72}.brand span{width:42px;height:42px;border-radius:13px;font-size:19px}.brand strong{font-size:17px}.brand-copy{margin:28px 0 0}.brand-copy .eyebrow,.brand-copy>p:last-child,.trust{display:none}.brand-copy h1{max-width:360px;margin:0;font-size:clamp(32px,9.5vw,42px);line-height:1.08}.form-panel{min-height:calc(100vh - 220px);place-items:start center;padding:20px 16px 48px}.auth-page.signed .form-panel{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.auth-card{width:100%;padding:26px 22px;border-radius:20px;box-shadow:0 12px 34px #172c230f}.dashboard-head{position:relative;display:block;padding-right:54px;margin-bottom:22px}.dashboard-controls{display:block}.logout-button{position:absolute;top:4px;right:0;padding:8px 0}.head-actions{position:fixed;z-index:20;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:7px;border:1px solid rgba(215,215,207,.9);border-radius:17px;background:#fffdf8f5;box-shadow:0 10px 30px #172c2329;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.head-actions .text-button{min-height:46px;padding:8px 5px}.head-actions .text-button.active{background:#dceee5;box-shadow:none}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.empty{padding:36px 10px 30px}.empty-action{width:min(220px,100%);min-height:48px}.reply-row{grid-template-columns:1fr auto}.reply-row .close-ticket{grid-column:1 / -1;min-height:42px}}@media(max-width:420px){.brand-panel{min-height:204px}.form-panel{min-height:calc(100vh - 204px)}.auth-card{padding:24px 18px}h2{font-size:32px}.choice-row{gap:8px}}
