:root{--ink:#17231f;--muted:#687973;--line:#d7e2de;--canvas:#eef3f1;--surface:#fff;--brand:#176b4d;--brand-dark:#0f513b;--brand-soft:#e8f5ef;--gold:#bd8b35;--gold-soft:#fff7e6;--danger:#a22e3a;--danger-soft:#fff0f2;--shadow:0 18px 50px rgba(18,48,38,.1)}
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit}.portal-header{background:#1c2b27;color:#fff}.portal-header__inner{width:min(1180px,calc(100% - 32px));min-height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-header img{display:block;width:auto;height:35px}.portal-header__inner>a:last-child,.portal-user a{padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:9px;text-decoration:none;font-size:.82rem;font-weight:750}.portal-user{display:flex;align-items:center;gap:12px}.portal-user span{color:#b8d8cb;font-size:.85rem}.eyebrow{margin:0 0 7px;color:var(--brand);font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.auth-shell{width:min(1080px,calc(100% - 32px));min-height:calc(100vh - 76px);margin:0 auto;padding:70px 0;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:70px}.auth-shell--single{width:min(510px,calc(100% - 32px));display:block}.auth-intro h1{margin:0;font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.02;letter-spacing:-.05em}.auth-intro>p:not(.eyebrow){max-width:650px;color:var(--muted);font-size:1.08rem}.auth-intro ul{margin:30px 0 0;padding:0;display:grid;gap:12px;list-style:none}.auth-intro li{position:relative;padding-left:30px;font-weight:700}.auth-intro li:before{content:'✓';position:absolute;left:0;color:var(--brand);font-weight:900}.auth-card{padding:34px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.auth-card h1,.auth-card h2{margin:0 0 8px;font-size:2rem;letter-spacing:-.035em}.auth-card>p:not(.eyebrow):not(.auth-help){margin:0 0 22px;color:var(--muted)}.auth-icon,.card-icon{display:grid;width:44px;height:44px;margin-bottom:22px;place-items:center;border-radius:13px;background:var(--brand);color:#fff;font-size:1.35rem;font-weight:900}.auth-card label,.request-form label{display:block;margin:18px 0 7px;font-size:.86rem;font-weight:850}.auth-card input,.request-form input{width:100%;min-height:50px;padding:12px 14px;border:1px solid #b8cac3;border-radius:11px;background:#fbfdfc;color:var(--ink);font:inherit}.auth-card input:focus,.request-form input:focus{outline:3px solid rgba(23,107,77,.14);border-color:var(--brand)}.auth-card .portal-button{width:100%;margin-top:12px}.otp-input{text-align:center;font-size:1.75rem!important;font-weight:850;letter-spacing:.3em}.auth-help{margin:16px 0 0!important;color:var(--muted);font-size:.8rem;text-align:center}
.portal-button{display:inline-flex;min-height:42px;padding:10px 15px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:.86rem;font-weight:800;text-decoration:none;cursor:pointer}.portal-button:hover{filter:brightness(.975)}.portal-button:disabled{opacity:.55;cursor:wait}.portal-button--primary{border-color:var(--brand);background:var(--brand);color:#fff}.portal-button--danger{border-color:#e5bec4;background:#fff;color:var(--danger)}.portal-button--small{min-height:36px;padding:7px 11px;font-size:.78rem}.portal-notice{margin:16px 0;padding:12px 14px;border-radius:11px;font-size:.85rem}.portal-notice--error{border:1px solid #e8c2c8;background:var(--danger-soft);color:#7e2630}.portal-notice--ok{border:1px solid #bcdccc;background:#effaf5;color:#11543e}
.portal-shell{width:min(1180px,calc(100% - 32px));margin:36px auto 76px}.portal-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}.portal-hero h1{margin:0;font-size:clamp(2rem,5vw,3.6rem);letter-spacing:-.045em}.portal-hero>div:first-child>p:last-child{max-width:760px;margin:9px 0 0;color:var(--muted)}.portal-identity{min-width:250px;padding:15px 17px;border:1px solid var(--line);border-radius:13px;background:#fff}.portal-identity span{display:block;color:var(--muted);font-size:.72rem}.portal-identity strong{display:block;overflow-wrap:anywhere;font-size:.86rem}.request-card{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:28px;padding:26px;border:1px solid #bcd7cc;border-radius:19px;background:linear-gradient(135deg,#fff,#eef9f4);box-shadow:var(--shadow)}.request-card__copy{display:flex;gap:17px}.request-card__copy .card-icon{flex:0 0 44px;margin:0}.request-card h2,.dashboard-section h2{margin:0;font-size:1.25rem}.request-card p{margin:6px 0 0;color:var(--muted);font-size:.87rem}.request-form label{margin-top:0}.request-form__row{display:flex;gap:9px}.request-form__row input{min-width:0}.request-form__row .portal-button{flex:0 0 auto}.form-status{min-height:20px;margin:8px 0 0!important;color:var(--brand-dark)!important;font-size:.78rem!important}.form-status.is-error{color:var(--danger)!important}
.dashboard-section{margin-top:20px;padding:24px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:0 8px 28px rgba(18,48,38,.055)}.dashboard-section--history{box-shadow:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.count-badge{display:grid;min-width:34px;height:34px;padding:0 9px;place-items:center;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-weight:900}.count-badge--pending{background:var(--gold-soft);color:#835914}.count-badge--muted{background:#edf1ef;color:var(--muted)}.connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.connection-card{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fbfdfc}.connection-card__head{display:flex;align-items:flex-start;gap:12px}.avatar{display:grid;flex:0 0 43px;height:43px;place-items:center;border-radius:12px;background:#1c2b27;color:#fff;font-weight:900}.connection-card h3,.request-row h3{margin:6px 0 2px;font-size:1rem;overflow-wrap:anywhere}.connection-card p,.request-row p{margin:0;color:var(--muted);font-size:.75rem}.connection-card dl{display:grid;grid-template-columns:64px 1fr;gap:6px 9px;margin:18px 0}.connection-card dt{color:var(--muted);font-size:.76rem}.connection-card dd{margin:0;overflow-wrap:anywhere;font-size:.83rem}.connection-actions{display:flex;gap:7px;flex-wrap:wrap}.connection-list{display:grid;gap:10px}.request-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fbfdfc}.request-row__actions{flex:0 0 auto}.status-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf1ef;color:var(--muted);font-size:.65rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.status-pill--accepted{background:var(--brand-soft);color:var(--brand-dark)}.status-pill--pending{background:var(--gold-soft);color:#835914}.status-pill--rejected,.status-pill--removed_by_user,.status-pill--removed_by_relocator{background:var(--danger-soft);color:var(--danger)}.portal-empty{grid-column:1/-1;padding:28px;border:1px dashed #bdcec7;border-radius:13px;background:#f7faf9;text-align:center;color:var(--muted);font-size:.86rem}
.portal-modal[hidden]{display:none}.portal-modal{position:fixed;z-index:1000;inset:0;display:grid;padding:20px;place-items:center}.portal-modal__backdrop{position:absolute;inset:0;background:rgba(9,22,18,.62);backdrop-filter:blur(3px)}.portal-modal__dialog{position:relative;width:min(470px,100%);padding:30px;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.3)}.portal-modal__dialog h2{margin:0}.portal-modal__dialog>p:not(.eyebrow){color:var(--muted)}.portal-modal__dialog>strong{display:block;padding:12px;border-radius:9px;background:var(--canvas);overflow-wrap:anywhere}.modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:var(--canvas);font-size:1.4rem;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.modal-open{overflow:hidden}
@media(max-width:820px){.auth-shell{grid-template-columns:1fr;gap:34px;padding:42px 0}.auth-intro h1{font-size:2.75rem}.request-card{grid-template-columns:1fr}.connection-grid{grid-template-columns:1fr}.portal-hero{align-items:flex-start;flex-direction:column}.portal-identity{width:100%}}
@media(max-width:560px){.portal-header__inner{min-height:68px}.portal-header img{height:29px}.portal-user span{display:none}.auth-card{padding:24px}.request-card,.dashboard-section{padding:18px}.request-form__row{align-items:stretch;flex-direction:column}.request-row{align-items:flex-start;flex-direction:column}.request-row__actions,.request-row__actions .portal-button{width:100%}.connection-actions{align-items:stretch;flex-direction:column}.connection-actions .portal-button{width:100%}.modal-actions{flex-direction:column-reverse}.modal-actions .portal-button{width:100%}}
.dashboard-section--cases{border-color:#d6c18f;background:linear-gradient(135deg,#fffdf8,#fff)}.section-intro{margin:-7px 0 18px;color:var(--muted);font-size:.84rem}.case-list{display:grid;gap:10px}.portal-case{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.portal-case__meta{display:flex;gap:7px;align-items:center}.portal-case h3{margin:7px 0 3px;font-size:1rem}.portal-case p{max-width:780px;margin:0;color:var(--muted);font-size:.8rem}.portal-case small{display:block;margin-top:5px;color:#82908b}.status-pill--case{background:var(--gold-soft);color:#835914}.unread-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#a22e3a;color:#fff;font-size:.65rem;font-weight:900}.portal-modal--wide{align-items:start;overflow:auto;padding:30px 20px}.case-dialog{width:min(1040px,100%);margin:auto;padding:34px}.case-dialog__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.case-dialog__head h2{font-size:1.8rem}.case-dialog__head p{margin:4px 0 0;color:var(--muted)}.case-contact{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px;border-radius:14px;background:#eef5f2}.case-contact>div{display:flex;align-items:flex-start;flex-direction:column}.case-contact span,.case-field>span{color:var(--muted);font-size:.74rem;font-weight:800}.case-contact a{font-size:.84rem}.case-contact dl,.case-summary dl{display:grid;grid-template-columns:130px 1fr;gap:6px 10px;margin:0}.case-contact dt,.case-summary dt{color:var(--muted);font-size:.76rem}.case-contact dd,.case-summary dd{margin:0;font-size:.84rem;overflow-wrap:anywhere}.case-panel,.case-summary{margin-top:18px;padding:19px;border:1px solid var(--line);border-radius:15px;background:#fff}.case-panel>h3,.case-summary>h3{margin:0 0 12px;font-size:1.05rem}.case-panel>p{margin:-5px 0 14px;color:var(--muted);font-size:.8rem}.case-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.case-topic{padding:14px;border-radius:12px;background:#f5f8f7}.case-topic h4{margin:0 0 5px;font-size:.9rem}.case-topic p{max-height:130px;margin:0;overflow:auto;color:var(--muted);font-size:.77rem;white-space:pre-wrap}.case-topic div{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.case-topic div span{padding:3px 7px;border-radius:999px;background:#e6f2ed;color:var(--brand-dark);font-size:.66rem;font-weight:800}.case-initial{margin-top:12px;padding:14px;border-left:4px solid var(--gold);background:var(--gold-soft)}.case-initial p{margin:4px 0 0;white-space:pre-wrap}.case-messages{display:grid;gap:8px;max-height:330px;margin-bottom:14px;overflow:auto}.case-message{max-width:84%;padding:11px 13px;border-radius:12px;background:#edf2f0}.case-message--relocator{margin-left:auto;background:#e5f5ee}.case-message strong,.case-message time{font-size:.69rem}.case-message p{margin:3px 0;white-space:pre-wrap;font-size:.82rem}.case-message time{color:var(--muted)}.case-form{display:grid;gap:10px}.case-form--inline{grid-template-columns:1fr auto;align-items:end}.case-field{display:grid;gap:5px}.case-field input,.case-field textarea,.case-field select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #b8cac3;border-radius:9px;background:#fbfdfc;color:var(--ink);font:inherit;font-size:.83rem}.case-field textarea{min-height:92px;resize:vertical}.case-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.case-summary{background:#f8fbfa}.package-row{padding:10px 0;border-top:1px solid var(--line)}.package-row:first-of-type{border-top:0}.package-row span{display:block;color:var(--muted);font-size:.76rem}.package-row p{margin:4px 0 0;font-size:.8rem}.case-confirm-actions{display:flex;gap:8px;flex-wrap:wrap}.case-panel--confirm{border-color:#d6c18f;background:#fffdf8}
@media(max-width:820px){.case-form-grid,.case-topics,.case-contact{grid-template-columns:1fr}.case-dialog{padding:25px}.portal-case{align-items:flex-start;flex-direction:column}.portal-case>.portal-button{width:100%}}
@media(max-width:560px){.portal-modal--wide{padding:10px}.case-dialog{padding:20px 15px}.case-form--inline{grid-template-columns:1fr}.case-confirm-actions,.case-confirm-actions .portal-button{width:100%}}
/* Relocator Premium V1 */
.premium-summary__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.premium-summary__grid article{display:grid;gap:8px;padding:22px;border:1px solid #dce8e4;border-radius:18px;background:linear-gradient(145deg,#fff,#f5faf8)}.premium-summary__grid article span{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5b746c}.premium-summary__grid article strong{font-size:1.12rem;color:#193b32}.premium-summary__grid article small{line-height:1.5;color:#61746e}.case-summary--commission{border-color:#b7d9cc;background:#f3faf7}.case-timeline{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:0}.case-timeline li{display:grid;grid-template-columns:20px 1fr;gap:12px;position:relative;padding-bottom:20px}.case-timeline li>span{width:12px;height:12px;border-radius:50%;background:#16876f;margin-top:4px;box-shadow:0 0 0 4px #dff1ea;z-index:1}.case-timeline li:not(:last-child)::before{content:"";position:absolute;left:5px;top:16px;bottom:0;width:2px;background:#d3e6df}.case-timeline li div{display:grid;gap:3px}.case-timeline p,.case-timeline time{margin:0;color:#687b75;font-size:.84rem}.case-next-action{display:grid;gap:5px;padding:16px 18px;border-radius:14px;background:#173c34;color:#fff}.case-next-action span{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a7d8c8}.profile-form{display:grid;gap:26px}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-field{display:grid;gap:7px}.profile-field>span{font-size:.84rem;font-weight:800;color:#294a42}.profile-field input,.profile-field textarea,.profile-region input{width:100%;border:1px solid #cbdcd6;border-radius:11px;padding:11px 12px;background:#fff;color:#17332d;font:inherit}.profile-field textarea{min-height:140px;resize:vertical}.profile-field--wide{grid-column:1/-1}.profile-subhead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-top:6px;border-top:1px solid #e1ebe7}.profile-subhead h3,.profile-subhead p{margin:0}.profile-subhead p{margin-top:5px;color:#687b75}.profile-region{display:grid;grid-template-columns:.75fr .75fr 1fr 1fr auto;gap:10px;margin-top:10px;align-items:center}.profile-hashtag-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-hashtags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px;border:1px solid #dce8e4;border-radius:14px;padding:14px;margin:0}.profile-hashtags legend{padding:0 8px;font-weight:800;color:#294a42}.profile-hashtags label{position:relative}.profile-hashtags input{position:absolute;opacity:0;pointer-events:none}.profile-hashtags span{display:block;padding:7px 10px;border:1px solid #cbdcd6;border-radius:999px;background:#fff;color:#48635b;font-size:.82rem;cursor:pointer}.profile-hashtags input:checked+span{border-color:#16876f;background:#e2f3ed;color:#0d6856;font-weight:800}.profile-submit{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px;border-radius:14px;background:#f2f7f5}.profile-submit p{margin:0;max-width:650px;color:#5e746c}@media(max-width:820px){.premium-summary__grid,.profile-grid,.profile-hashtag-groups{grid-template-columns:1fr}.profile-region{grid-template-columns:1fr 1fr}.profile-region .portal-button{grid-column:1/-1}.profile-submit,.profile-subhead{display:grid}.profile-field--wide{grid-column:auto}}
