:root{--space-ink:#192536;--space-muted:#657386;--space-blue:#1965d5}body{background:#f6f7f9;color:var(--space-ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}main{max-width:1120px;margin:0 auto;padding:48px 28px 72px}h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.4px;line-height:1.25}header a{color:var(--space-ink)}.spaces-intro{font-size:16px;line-height:1.8;color:var(--space-muted);margin:20px 0 28px}.spaces-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0 40px}.spaces-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#fff;border:1px solid #e1e6ec;border-radius:20px;padding:24px;color:var(--space-muted);text-align:left;cursor:pointer;min-height:144px;font:inherit}.spaces-tabs button strong{color:var(--space-ink);font-size:23px;letter-spacing:-.6px}.spaces-tabs button[aria-pressed=true]{background:#192c48;border-color:#192c48;color:#d3e0f4;box-shadow:0 8px 24px #14273f16}.spaces-tabs button[aria-pressed=true] strong{color:#fff}.space-number{font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}.spaces-heading{display:flex;justify-content:space-between;gap:24px;align-items:center}.spaces-heading h2{margin:0 0 8px;font-size:24px;letter-spacing:-.6px}.spaces-heading p{margin:0;color:var(--space-muted);line-height:1.6}.space-search{display:grid;gap:7px;font-size:12px;min-width:230px;color:var(--space-muted)}.space-search input{box-sizing:border-box;border:1px solid #dce2e9;background:#fff;padding:12px 14px;border-radius:12px;width:100%;font:inherit;font-size:14px}.space-count{color:var(--space-muted);font-size:13px;margin:22px 0 12px}.space-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.space-card{background:#fff;border:1px solid #e4e8ee;border-radius:20px;padding:24px;min-width:0}.space-card-top{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.space-role,.space-dual{padding:5px 9px;border-radius:7px;font-size:11px;background:#f0f4f8;color:#506176}.space-dual{background:#eaf4ef;color:#31624b}.space-card h3{font-size:21px;line-height:1.4;letter-spacing:-.5px;margin:18px 0 5px;overflow-wrap:anywhere}.space-unit{color:var(--space-muted);margin:0;overflow-wrap:anywhere}.space-permission{font-size:12px;color:var(--space-muted);margin:18px 0}.space-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.space-links a{font-size:13px;text-decoration:none;color:var(--space-blue)}.space-links .space-primary{display:inline-flex;gap:24px;justify-content:space-between;padding:11px 14px;background:#edf4ff;border-radius:10px;font-weight:600}.spaces-explainer{margin-top:32px;border-top:1px solid #e1e6ec;padding:26px 0;line-height:1.8;font-size:14px}.spaces-explainer p{color:var(--space-muted)}.spaces-explainer a{margin-right:20px;color:var(--space-blue)}.space-empty{grid-column:1/-1;padding:42px 24px;text-align:center;background:#fff;border:1px dashed #ced7e2;border-radius:20px}.space-empty p{color:var(--space-muted);line-height:1.7}.scope-label a{color:inherit}.spaces-tabs button:focus-visible,.space-links a:focus-visible,.space-search input:focus-visible{outline:3px solid #69a5ff;outline-offset:4px}.space-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;background:#edf3fc;border-bottom:1px solid #dce5f1;font:13px -apple-system,BlinkMacSystemFont,sans-serif;color:#26466d}.space-bar a{color:#1965d5;text-decoration:none}.space-bar strong{margin-right:10px}@media(max-width:640px){main{padding:28px 18px 50px}.spaces-tabs{gap:8px;margin-bottom:28px}.spaces-tabs button{padding:14px 12px;min-height:115px;border-radius:15px}.spaces-tabs button strong{font-size:18px}.spaces-tabs button>span:last-child{font-size:11px}.spaces-heading{align-items:stretch;flex-direction:column;gap:18px}.space-results{grid-template-columns:1fr}.space-card{padding:21px}.space-bar{padding:11px 18px}.spaces-intro{font-size:14px}}@media print{.space-bar,.spaces-tabs,.spaces-explainer{display:none}}
/* Property selection: one card per building or home, with roles beneath it. */
body.spaces-page main{max-width:1120px;padding-top:40px}body.spaces-page h1{margin:0 0 24px;max-width:24ch;word-break:keep-all}body.spaces-page #message:empty{display:none}body.spaces-page #content:empty{display:none}body.spaces-page [hidden]{display:none!important}
.space-account{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;background:#fff;border:1px solid #e1e5eb;border-radius:16px;margin:0 0 28px}.account-identity{display:grid;gap:4px;min-width:0}.account-identity>span{font-size:13px;color:#636a75;overflow-wrap:anywhere}.account-identity strong{font-size:19px}.space-account .account-actions{display:flex;gap:8px;flex-wrap:wrap}.space-account .account-actions button,.space-account>button{font:inherit;font-size:13px;min-height:44px;background:#f3f5f8;color:#303a49;border:1px solid #e0e5ec;border-radius:10px;padding:8px 14px;cursor:pointer}.space-account .account-login,.space-entry .space-primary{display:inline-flex;padding:12px 20px;border-radius:10px;background:#006be5;color:#fff;text-decoration:none;min-height:44px;align-items:center;box-sizing:border-box}.spaces-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:30px 0 24px}body.spaces-page .spaces-tabs{display:flex;gap:6px;padding:5px;margin:0;background:#e9ecf1;border-radius:13px;flex-wrap:wrap}body.spaces-page .spaces-tabs button{display:inline-flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:0;border-radius:9px;background:transparent;color:#535d6d;font-size:14px;box-shadow:none}body.spaces-page .spaces-tabs button[aria-pressed=true]{color:#192536;background:#fff;box-shadow:0 1px 5px #26374b12}body.spaces-page .spaces-tabs button span{font-size:12px;color:#647082}body.spaces-page .spaces-intro{margin:0 0 20px;font-size:15px}.property-card{padding:28px!important;display:flex;flex-direction:column}.property-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.property-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#edf3fb;color:#2863a9;flex-shrink:0}.property-symbol svg{width:27px;height:27px}.property-card h3{font-size:25px;margin:22px 0 8px}.property-count{font-size:13px;color:#667385;line-height:1.6;margin:18px 0 24px}.property-card .space-links{margin-top:auto}.property-card .space-primary{width:100%;justify-content:space-between;box-sizing:border-box;min-height:48px;background:#006be5!important;color:#fff!important;font-size:15px}.property-shortcuts{display:flex;gap:12px;margin-top:14px}.property-shortcuts a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;border-radius:10px;background:#f4f6f9;color:#39495d;font-size:14px}.property-units{margin-top:18px;border-top:1px solid #e7ebf0;padding-top:10px}.property-units summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;color:#3e5069}.property-units ul{list-style:none;margin:6px 0 0;padding:0;max-height:320px;overflow:auto}.property-units li a{display:flex;gap:14px;justify-content:space-between;padding:12px 6px;min-height:44px;box-sizing:border-box;color:#314c70;text-decoration:none;border-top:1px solid #edf0f4;font-size:14px;overflow-wrap:anywhere}.preview-spaces{margin:26px 0 0;padding:18px 22px;border:1px solid #dce2e9;border-radius:14px}.preview-spaces>summary{cursor:pointer;font-size:14px;min-height:44px;align-content:center;color:#536176}.preview-spaces>p{font-size:13px;color:#667385}.space-help-links{display:flex;gap:12px 22px;flex-wrap:wrap}.space-help-links a{display:inline-flex;align-items:center;min-height:44px;margin:0}.spaces-loading{padding:36px 0;color:#697386}.space-entry{padding:28px;display:grid;justify-items:start;gap:16px}.space-entry h2,.space-entry p{margin:0}
@media(max-width:640px){body.spaces-page main{padding:28px 18px 48px}body.spaces-page h1{font-size:27px;margin-bottom:20px}.space-account{align-items:stretch;flex-direction:column;padding:18px;gap:16px}.space-account .account-actions button{flex:1}.spaces-toolbar{display:block;margin:24px 0 20px}body.spaces-page .spaces-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-bottom:20px}body.spaces-page .spaces-tabs button{justify-content:center;gap:4px;padding:8px 3px;font-size:13px;white-space:nowrap}.space-search input{font-size:16px;min-height:48px}.property-card{padding:22px!important}.property-card h3{font-size:23px}.property-shortcuts{gap:10px}.preview-spaces{padding:12px}.spaces-intro br{display:none}}

body.spaces-page .spaces-tabs button{flex:0 0 auto;white-space:nowrap;word-break:keep-all}body.spaces-page .spaces-tabs{flex-shrink:0}body.spaces-page .rental-page-tools .rental-page-brand{background:transparent;justify-content:flex-start}
@media(max-width:640px){body.spaces-page .spaces-tabs{display:flex}body.spaces-page .spaces-tabs button{flex:1;padding-inline:10px}}
