
:root{--bg:#f5f6fb;--panel:#fff;--ink:#161a2a;--muted:#6f778d;--line:#e6e9f2;--primary:#4f46e5;--primary2:#6d5dfc;--nav:#10162a;--ok:#0f9f6e;--warn:#d97706;--bad:#dc2626;--blue:#2563eb;--shadow:0 12px 34px rgba(24,30,58,.08)}
*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg)}
button,input,select,textarea{font:inherit}.hidden{display:none!important}a{color:inherit}
.login{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}
.login-art{padding:60px;background:radial-gradient(circle at 15% 15%,#786cff 0,transparent 30%),radial-gradient(circle at 80% 80%,#2563eb 0,transparent 26%),#11172a;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:900}.brand small{display:block;font-size:10px;letter-spacing:.14em;color:#9aa5c5;text-transform:uppercase}
.brand-lockup-wrap{display:flex;align-items:center;min-height:54px}.brand-lockup-wrap img{display:block;height:auto;object-fit:contain}.side-brand-lockup{display:flex;align-items:center;min-height:48px;padding:8px 9px 20px}.side-brand-lockup img{display:block;height:auto;object-fit:contain}
.login-copy h1{font-size:56px;line-height:1.02;letter-spacing:-2px;margin:0 0 18px}.login-copy p{font-size:18px;color:#cbd2e7;line-height:1.7;max-width:570px}.login-note{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);padding:17px 19px;border-radius:17px;max-width:570px;color:#e2e6f3}
.login-side{display:grid;place-items:center;padding:35px}.login-card{width:min(440px,100%)}.login-card h2{font-size:32px;margin:0 0 7px}.login-card>p{color:var(--muted);margin:0 0 28px}.form-gap{margin-bottom:16px}label{display:block;font-size:12px;font-weight:800;margin-bottom:7px;color:#50586e}.field{width:100%;height:46px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 13px;outline:0}.field:focus{border-color:#9b95ff;box-shadow:0 0 0 4px rgba(79,70,229,.1)}textarea.field{height:auto;padding:12px}.auth-status{margin-top:15px;color:var(--muted);font-size:12px}.err{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;padding:11px 13px;border-radius:10px;margin-bottom:14px;font-size:13px}
.shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;background:var(--nav);color:#b8c0d9;padding:16px 12px;overflow:auto}.side-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;font-size:20px;padding:8px 9px 20px}.side-brand small{display:block;color:#7480a2;font-size:9px;letter-spacing:.14em;text-transform:uppercase}.nav-group{font-size:9px;font-weight:900;color:#667293;letter-spacing:.14em;text-transform:uppercase;padding:13px 11px 6px}.nav-btn{width:100%;border:0;background:transparent;color:#aeb8d2;border-radius:10px;padding:10px 11px;margin:2px 0;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;font-weight:700}.nav-btn:hover{background:#182039;color:#fff}.nav-btn.active{background:linear-gradient(135deg,#4f46e5,#6356e8);color:#fff;box-shadow:0 8px 20px rgba(79,70,229,.25)}
.main{min-width:0}.top{height:68px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:20}.top-title{font-weight:850;font-size:19px}.top-actions{display:flex;align-items:center;gap:10px}.chip{display:flex;align-items:center;gap:9px}.avatar{width:36px;height:36px;border-radius:50%;background:#e9e8ff;color:#4f46e5;display:grid;place-items:center;font-weight:900}.who small{color:var(--muted)}.mobile-menu{display:none}
.content{padding:25px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:20px}.page-head h1{font-size:27px;letter-spacing:-.5px;margin:0 0 4px}.page-head p{margin:0;color:var(--muted)}.btn{border:0;border-radius:10px;padding:10px 13px;font-weight:800;cursor:pointer}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff}.btn-soft{background:#eef0ff;color:#4338ca}.btn-ok{background:#dcfce7;color:#047857}.btn-warn{background:#fef3c7;color:#b45309}.btn-danger{background:#fee2e2;color:#b91c1c}.btn-dark{background:#171c2c;color:#fff}.mini{padding:7px 9px;font-size:11px}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:0 4px 18px rgba(24,30,58,.035)}.metric .k{font-size:11px;color:var(--muted);font-weight:800}.metric .v{font-size:29px;font-weight:900;margin:8px 0 2px}.metric .s{font-size:11px;color:#8e96ab}.metric.money .v{font-size:25px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 6px 24px rgba(24,30,58,.04)}.panel-head{padding:16px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-head h3{margin:0;font-size:14px}.panel-body{padding:17px}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:13px}.toolbar .field{width:auto;min-width:160px;height:39px}.search{min-width:260px!important}.table-wrap{border:1px solid var(--line);border-radius:13px;overflow:auto;background:#fff}table{border-collapse:collapse;width:100%;min-width:830px}th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#7a8398;background:#fafbfe;text-align:left;padding:11px 13px;border-bottom:1px solid var(--line)}td{font-size:12.5px;padding:12px 13px;border-bottom:1px solid #eef0f5;vertical-align:middle}tr:last-child td{border-bottom:0}.strong{font-weight:800}.muted{color:var(--muted)}.money-num{font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900;background:#eef1f7;color:#586078;white-space:nowrap}.badge.ok{background:#dcfce7;color:#047857}.badge.warn{background:#fef3c7;color:#b45309}.badge.bad{background:#fee2e2;color:#b91c1c}.badge.info{background:#e0e7ff;color:#4338ca}.actions{display:flex;gap:5px;flex-wrap:wrap}.empty,.loading{padding:38px;text-align:center;color:var(--muted)}.notice{padding:12px 14px;border-radius:11px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;font-size:12px}.warnbox{padding:12px 14px;border-radius:11px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;font-size:12px}.okbox{padding:12px 14px;border-radius:11px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;font-size:12px}
.modal-back{position:fixed;inset:0;background:rgba(8,12,25,.56);z-index:90;display:grid;place-items:center;padding:16px}.modal{background:#fff;width:min(650px,100%);max-height:90vh;overflow:auto;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.26)}.modal.wide{width:min(900px,100%)}.modal-head{padding:17px 19px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0}.modal-body{padding:19px}.close{border:0;background:#f2f3f7;width:34px;height:34px;border-radius:9px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.span2{grid-column:1/-1}.kv{display:grid;grid-template-columns:150px 1fr;gap:9px 14px;font-size:12.5px}.kv div:nth-child(odd){color:var(--muted)}.kv div:nth-child(even){font-weight:700}.section-title{font-size:13px;margin:18px 0 9px}.toast{position:fixed;right:20px;bottom:20px;background:#11172a;color:#fff;padding:12px 15px;border-radius:11px;z-index:110;box-shadow:var(--shadow);font-size:12px}.socket-dot{width:7px;height:7px;border-radius:50%;background:#f59e0b}.socket-dot.online{background:#10b981}.announcement{padding:12px 14px;background:linear-gradient(135deg,#eef2ff,#f5f3ff);border:1px solid #d9dcff;border-radius:13px;margin-bottom:13px}.announcement b{display:block;margin-bottom:3px}
.price-card{border:1px solid var(--line);border-radius:16px;padding:22px;background:linear-gradient(160deg,#fff,#f7f7ff)}.price-old{text-decoration:line-through;color:var(--muted)}.price-now{font-size:35px;font-weight:900;letter-spacing:-1px}.offer{display:inline-block;background:#dcfce7;color:#047857;font-weight:900;border-radius:999px;padding:5px 9px;font-size:10px}
@media(max-width:1100px){.shell{grid-template-columns:215px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;width:250px;z-index:70;left:-270px;transition:.2s}.sidebar.open{left:0;box-shadow:20px 0 60px rgba(0,0,0,.28)}.mobile-menu{display:inline-flex}.top{padding:0 13px}.content{padding:14px}.page-head{align-items:flex-start;flex-direction:column}.cards{gap:9px}.metric{padding:14px}.metric .v{font-size:24px}.who{display:none}.search{width:100%!important;min-width:100%!important}.login{grid-template-columns:1fr}.login-art{display:none}.login-side{min-height:100vh}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}}
@media(max-width:430px){.cards{grid-template-columns:1fr}.top-title{font-size:16px}}

.onboard-shell{min-height:100vh;background:radial-gradient(circle at 15% 10%,rgba(99,86,232,.16),transparent 30%),#f5f6fb;display:grid;place-items:center;padding:28px}
.onboard-card{width:min(820px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 25px 70px rgba(20,25,55,.12)}
.onboard-brand img{width:170px;height:auto;display:block;margin-bottom:22px}.stepper{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.stepper span{padding:7px 11px;border-radius:999px;background:#f1f3f8;color:#7b8398;font-size:11px;font-weight:850}.stepper span.active{background:#e8e7ff;color:#4338ca}.stepper span.done{background:#dcfce7;color:#047857}
.onboard-copy h1{font-size:29px;margin:0 0 7px}.onboard-copy p{color:var(--muted);margin:0 0 22px;line-height:1.6}.onboard-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.camera-box{border:1px dashed #c9cee0;background:#fafbfe;border-radius:16px;padding:14px;text-align:center;margin:16px 0}.camera-box video,.camera-box img{display:block;width:min(380px,100%);aspect-ratio:1/1;object-fit:cover;border-radius:14px;margin:0 auto;background:#11172a}.camera-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}.consent{display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-weight:650;color:#4f566a}.consent input{margin-top:3px}.pending-card{text-align:center;max-width:650px}.pending-card .onboard-brand img{margin:0 auto 24px}.pending-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;background:#dcfce7;color:#047857;font-size:34px;font-weight:900}.pending-card h1{margin:0 0 8px}.pending-card p{color:var(--muted);line-height:1.6}.pending-card .onboard-actions{justify-content:center}

.global-kyc-banner{margin:14px 25px 0;padding:11px 13px;border-radius:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px}
.global-kyc-banner b{font-size:12px}.global-kyc-banner span{flex:1;min-width:220px}
.global-kyc-banner.bad{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
.global-kyc-banner.pending{background:#eef2ff;border:1px solid #c7d2fe;color:#3730a3}
@media(max-width:760px){.global-kyc-banner{margin:10px 14px 0}.global-kyc-banner span{min-width:100%}}

.property-form-section{border:1px solid var(--line);border-radius:14px;padding:15px;margin-bottom:14px;background:#fcfcfe}
.property-form-section h4{margin:0 0 13px;font-size:13px;color:#333b52}
.field-help{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:5px}
.field:disabled{background:#f3f4f7;color:#8991a3;cursor:not-allowed}

.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.section-title-row h4{margin:0}
.property-map{height:390px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#eef1f7;margin:14px 0 8px}
.map-loading,.map-error{height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:var(--muted)}
.map-error{color:#b42318;background:#fff4f2}.map-instruction{font-size:10px;color:var(--muted);margin-bottom:10px}
.places-host{min-height:46px}.places-host gmp-place-autocomplete{width:100%;font-size:13px}.map-loading-line{border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--muted)}
.selected-location-card{display:flex;flex-direction:column;gap:5px;padding:11px 13px;background:#f4f3ff;border:1px solid #ddd9ff;border-radius:12px;margin-bottom:14px}.selected-location-card b{font-size:12px}.selected-location-card span{font-size:10px;color:var(--muted)}
.photo-upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100px;border:1.5px dashed #c7ccda;border-radius:14px;background:#fafbfe;cursor:pointer;padding:15px}.photo-upload-box b{font-size:13px}.photo-upload-box span{font-size:10px;color:var(--muted);margin-top:4px}
.photo-preview-grid,.property-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.photo-preview,.gallery-item{position:relative;border-radius:13px;overflow:hidden;border:2px solid transparent;background:#eceff5}.photo-preview.cover,.gallery-item.cover{border-color:#6d5dfc}.photo-preview img,.gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.photo-badge,.gallery-item span{position:absolute;left:7px;top:7px;background:rgba(17,23,42,.85);color:#fff;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:800}.photo-actions{position:absolute;left:5px;right:5px;bottom:5px;display:flex;gap:4px;justify-content:center}.mini-photo-btn{border:0;border-radius:7px;padding:5px 6px;font-size:8px;background:rgba(255,255,255,.92);cursor:pointer;font-weight:800}.mini-photo-btn.danger{color:#b42318}
.property-gallery{margin-top:0}.gallery-item{border-width:1px}.gallery-item img{aspect-ratio:16/10}
@media(max-width:760px){.property-map{height:330px}.photo-preview-grid,.property-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title-row{align-items:flex-start}}

/* RentPe Open Map v1.2.0 */
.rentpe-map-section{background:linear-gradient(180deg,#fcfcfe 0%,#f8f8fc 100%)}.map-top-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.map-style-active{box-shadow:0 0 0 2px rgba(124,92,255,.18);border-color:#8a74ff!important}.map-shell{position:relative}.map-provider-badge{position:absolute;z-index:3;left:12px;top:12px;background:rgba(17,23,42,.88);color:#fff;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px);padding:6px 10px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;pointer-events:none}.rentpe-open-marker{width:43px;height:43px;border-radius:50% 50% 50% 10%;transform:rotate(-45deg);background:linear-gradient(135deg,#f8d978,#b87908);border:3px solid #fff;box-shadow:0 10px 30px rgba(120,72,0,.35),0 0 0 7px rgba(227,174,53,.13);display:grid;place-items:center;cursor:grab}.rentpe-open-marker:active{cursor:grabbing}.rentpe-open-marker span{transform:rotate(45deg);color:#211707;font-size:18px;font-weight:1000}.rentpe-search-wrap{position:relative}.rentpe-search-results{position:absolute;z-index:20;top:calc(100% + 3px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 35px rgba(22,26,48,.16);max-height:310px;overflow:auto}.rentpe-search-item{display:flex;width:100%;border:0;background:#fff;text-align:left;flex-direction:column;gap:3px;padding:10px 12px;border-bottom:1px solid #eef0f5;cursor:pointer}.rentpe-search-item:hover{background:#f7f6ff}.rentpe-search-item b{font-size:11px;color:#22283b}.rentpe-search-item span,.rentpe-search-empty{font-size:9px;color:var(--muted);line-height:1.45}.rentpe-search-empty{padding:14px}.property-map .maplibregl-ctrl-attrib{font-size:9px}.property-map .maplibregl-ctrl-group{border-radius:10px;overflow:hidden}.property-map canvas{outline:none}
@media(max-width:760px){.map-top-actions{justify-content:flex-start}.rentpe-map-section .section-title-row{display:block}.map-top-actions{margin-top:9px}}

.default-location-box{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafbfe}
.default-location-box h4{margin:0 0 5px}.default-location-box p{margin:0 0 13px;color:var(--muted);font-size:11px;line-height:1.55}
