:root{--blue:#007bc7;--blue-dark:#005a92;--ink:#233e50;--muted:#617786;--line:#dce6eb;--bg:#f3f7fa;--white:#fff;--amber:#a45e12;--red:#b33939;--green:#247351;font-family:"Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}a{color:var(--blue-dark)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:25px;line-height:1.5;letter-spacing:.02em}h2{font-size:20px}h3{font-size:17px}svg{flex-shrink:0}.muted{color:var(--muted)}.small{font-size:13px}.full{width:100%}.row{display:flex;align-items:center;gap:10px}.stack{display:grid;gap:14px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}
.app-header{position:sticky;top:0;z-index:20;background:var(--blue);color:#fff;padding:calc(9px + env(safe-area-inset-top,0px)) 24px 9px}.header-inner{max-width:1040px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none;font-size:21px;font-weight:700;white-space:nowrap}.brand-name{font-size:16px;margin-left:7px}.header-actions{display:flex;align-items:center;gap:6px}.header-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:7px 10px;border:1px solid #ffffff45;border-radius:8px;background:#ffffff12;color:inherit;font-size:13px}.header-button:hover{background:#ffffff26}.icon-button{width:42px;padding:8px;border:0}.header-button:focus-visible,.brand:focus-visible{outline-color:white}.demo-banner{background:#fff3d6;border-bottom:1px solid #edd69f;text-align:center;color:#7a561c;font-size:12px;padding:6px 12px}
.shell{max-width:1088px;margin:auto;padding:30px 24px 70px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.eyebrow{color:var(--muted);font-size:13px;margin-bottom:5px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 16px;border:1px solid var(--line);background:white;border-radius:8px;text-decoration:none;font-weight:600;font-size:14px;line-height:1.5}.button:hover{background:#edf4f8}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.button.primary:hover{background:var(--blue-dark)}.button.quiet{background:transparent;border-color:transparent}.button.danger{color:var(--red)}.button.small{font-size:13px;padding:7px 11px}.view-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.view-tab{flex:0 1 180px;min-height:50px;padding:12px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-weight:600}.view-tab[aria-pressed=true]{color:var(--blue-dark);border-bottom-color:var(--blue);background:#e7f2fa}.view-tab span{margin-left:4px;font-size:12px;font-variant-numeric:tabular-nums}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 14px}.toolbar p{font-size:13px;color:var(--muted)}.active-filters{display:flex;align-items:center;gap:12px;border-radius:7px;background:#e7f2fa;padding:8px 12px;margin-bottom:14px;font-size:13px}.active-filters span{flex:1}.active-filters button{border:0;background:transparent;color:var(--blue-dark);padding:5px;min-height:36px}
.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.property-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.card-main{padding:18px 20px 14px;flex:1}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px;font-size:12px}.kind{font-weight:600;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 8px;background:#edf2f5;color:var(--muted);font-size:12px;white-space:nowrap}.badge.amber{background:#fff2d9;color:var(--amber)}.badge.blue{background:#e6f3fc;color:var(--blue-dark)}.badge.green{background:#e8f4ed;color:var(--green)}.badge.red{background:#fff0ef;color:var(--red)}.property-title{display:block;border:0;padding:0;background:none;text-align:left;line-height:1.5;font-size:18px;font-weight:700;color:var(--ink);width:100%;overflow-wrap:anywhere}.property-title:hover{color:var(--blue-dark)}.property-address{font-size:13px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.card-photo{float:right;width:72px;height:72px;object-fit:cover;border-radius:6px;margin-left:12px}.card-facts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:13px}.card-next{display:flex;align-items:baseline;gap:9px;margin-top:15px;padding-top:12px;border-top:1px solid #edf1f4;font-size:13px}.card-next strong{font-size:14px;font-weight:600}.card-next.overdue{color:var(--red)}.card-next.unassigned{color:var(--amber)}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px 10px 20px;background:#fafcfd;border-top:1px solid #eef3f6}.map-link{font-size:13px;font-weight:600;text-decoration:none;min-height:40px;display:inline-flex;align-items:center;gap:5px}.empty-panel{grid-column:1/-1;padding:55px 24px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px;background:#ffffff66}.empty-panel h2{font-size:19px;color:var(--ink);margin-bottom:10px}.empty-panel .button{margin-top:20px}.stats{background:transparent;border-top:1px solid var(--line);margin-top:26px}.stats summary{padding:17px 0;font-size:13px;color:var(--muted)}.stats summary span{margin-left:18px;color:var(--ink)}.stats-grid{display:flex;gap:35px;padding:0 0 16px;flex-wrap:wrap}.stats-grid strong{display:block;font-size:26px;font-weight:600}.stats-grid span{font-size:12px;color:var(--muted)}.post-mobile{display:none}.notice{border-radius:8px;padding:12px 14px;background:#edf5fb;font-size:13px;line-height:1.6}.error-notice{background:#fff0ef;color:var(--red);margin-bottom:14px}.loading-panel{padding:70px 20px;text-align:center;color:var(--muted)}
.login-panel{max-width:440px;margin:36px auto 0}.login-symbol{font-size:54px;color:var(--blue);line-height:1;margin-bottom:16px}.login-panel h1{font-size:30px;line-height:1.6}.login-panel>p{margin:14px 0 24px}.login-panel form{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.demo-login{margin-top:22px;font-size:13px}.demo-login p{margin-bottom:10px}.demo-login button{margin:0 6px 8px 0;font-size:13px}
dialog{border:0;border-radius:16px;padding:0;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 18px 60px #17364c33;overflow:auto}dialog::backdrop{background:#102c4266}.dialog-header{position:sticky;top:0;background:white;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px;border-bottom:1px solid var(--line)}.dialog-header h2:focus{outline:none}.close-button{width:42px;height:42px;border:0;border-radius:50%;background:#f1f5f8;font-size:26px;line-height:1}.dialog-body{padding:22px}label,.field-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.required{font-size:11px;color:var(--red);margin-left:6px;font-weight:500}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;min-height:46px;padding:11px 12px;border:1px solid #cddce5;border-radius:7px;background:white;color:var(--ink);font-size:16px}input[type=file]{font-size:13px!important}textarea{resize:vertical;min-height:90px}input:disabled,select:disabled{background:#f1f5f8}.login-panel input{margin-bottom:16px}.field{margin-bottom:17px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hint{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.check-label{display:flex;align-items:flex-start;gap:8px;min-height:40px;padding:6px 0;font-weight:400}.check-label input{margin-top:5px;width:17px;height:17px;accent-color:var(--blue)}.form-error{color:var(--red);font-size:13px;margin:12px 0;white-space:pre-line}.form-error:empty{display:none}.form-actions{position:sticky;bottom:-22px;background:#fff;padding:16px 0 2px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.form-actions .primary{min-width:160px}.photo-preview{display:flex;gap:10px;margin:10px 0}.photo-preview img{width:90px;height:75px;object-fit:cover;border-radius:7px}.photo-gallery{display:flex;gap:10px;margin:18px 0;overflow-x:auto}.photo-gallery a{flex-shrink:0}.photo-gallery img{width:140px;height:110px;object-fit:cover;border-radius:8px}.detail-title{font-size:23px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}.detail-facts{display:grid;grid-template-columns:100px 1fr;font-size:14px;gap:10px 16px;margin:22px 0}.detail-facts dt{color:var(--muted)}.detail-facts dd{margin:0;overflow-wrap:anywhere}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.section-heading{font-size:15px;margin:25px 0 12px}.timeline{list-style:none;margin:0;padding:0 0 0 16px;border-left:2px solid #e2ebf0}.timeline li{position:relative;padding:0 0 24px 7px}.timeline li::before{content:"";position:absolute;left:-22px;top:6px;width:10px;height:10px;border-radius:50%;background:#8fb8d0;border:2px solid white}.timeline strong{font-size:14px}.timeline p{font-size:13px;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.member-options{display:grid;gap:8px;margin:12px 0 18px}.member-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px;margin:0;cursor:pointer;font-weight:400}.member-option:has(input:checked){border-color:var(--blue);background:#eef7fd}.member-option input{accent-color:var(--blue)}.member-option span{flex:1}.member-option strong{display:block;font-size:14px}.member-option small{font-size:12px;color:var(--muted)}.member-option em{font-style:normal;font-size:12px;text-align:right}.duplicate-list{display:grid;gap:7px;margin-top:10px}.duplicate-list button{text-align:left;font-size:13px;padding:9px;border:1px solid var(--line);border-radius:6px;background:white}.toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:#233e50;color:white;padding:12px 20px;border-radius:10px;max-width:calc(100% - 32px);width:max-content;z-index:100;font-size:14px;box-shadow:0 3px 18px #0002}
@media(min-width:1000px){.property-card:first-child:nth-last-child(1){max-width:calc(50% - 8px)}}
@media(max-width:700px){body{font-size:14px}.app-header{padding-left:16px;padding-right:16px}.brand{font-size:18px;gap:6px}.brand>svg{width:23px}.brand-name{font-size:14px;margin-left:5px}.shell{padding:22px 16px calc(100px + env(safe-area-inset-bottom,0px))}.workspace-heading{margin-bottom:17px}.workspace-heading h1{font-size:21px}.post-desktop{display:none}.property-grid{grid-template-columns:1fr;gap:14px}.view-tab{flex:1;padding:11px 5px;font-size:14px}.toolbar{padding:12px 0}.card-main{padding:17px 17px 13px}.property-title{font-size:18px}.card-foot{padding-left:17px}.post-mobile{display:flex;position:fixed;bottom:calc(20px + env(safe-area-inset-bottom,0px));right:18px;z-index:15;border-radius:24px;min-height:49px;padding:12px 19px;box-shadow:0 4px 15px #005a9233}.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.dialog-header{padding:12px 16px}.dialog-body{padding:18px}.dialog-header h2{font-size:18px}.field-row{grid-template-columns:1fr;gap:0}.login-panel{margin:10px auto}.login-panel h1{font-size:27px}.header-button{padding:7px}.header-actions{gap:2px}.icon-button{width:38px}.form-actions{bottom:-18px}.detail-title{font-size:21px}.detail-facts{grid-template-columns:80px 1fr;gap:9px}.stats-grid{gap:25px}}
@media(max-width:370px){.brand>svg{display:none}.brand-name{font-size:13px}.header-button{font-size:12px}.header-button svg{width:16px}.icon-button{width:33px}.brand{font-size:17px}.app-header{padding-left:12px;padding-right:12px}.header-inner{gap:5px}.view-tab{font-size:13px}.view-tab span{margin-left:1px}.member-option{padding:10px 8px}.member-option em{font-size:11px}}
@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .14s ease-out}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
#filterButton { flex-shrink: 0; white-space: nowrap; }

/* Internal IDs are retained for storage only, never shown in the detail screen. */
.detail-facts dt:last-of-type, .detail-facts dd:last-of-type { display: none; }
.detail-facts dt:nth-of-type(3), .detail-facts dd:nth-of-type(3) { display: none; }
.property-title { margin: 0; }
.result-badge { padding: 5px 10px; font-weight: 700; font-size: 13px; }
.brand-name { font-size: inherit; }
