/* User reference: white canvas, soft gray surfaces, generous radii, black type. */
:root{color:#151515;background:#fafafa;--green:#27937d;--muted:#707070;--line:#e8e8e8}body{background:#fafafa}.shell{max-width:1120px;padding:0 30px 125px;background:#fff;min-height:100vh}.brandbar{border:0;padding:20px 0 0}.brand{font-size:.75rem;letter-spacing:.08em;color:#666;font-weight:500}.brand small,.logo{display:none}.brandbar .badge{background:#f5f5f5;border:0;color:#888;font-size:.6875rem}.topline{margin:25px 0 28px}.eyebrow{color:#727272;font-weight:400;letter-spacing:.04em;font-size:.8rem}.topline h1{font-size:1.9rem;letter-spacing:-.035em;line-height:1.5}.topline .sub{display:none}.topline>small{color:#999}h2{line-height:1.6}.card{border:0;border-radius:26px;box-shadow:none;padding:24px}.hero{background:#f3f3f3;border:0}.hero .big{color:#111;font-size:2.8rem;line-height:1.4;margin:12px 0 16px}.hero .big small{color:#666}.goal-percent{color:#23816a;font-size:1.2rem;font-weight:500}button{border-radius:24px;padding:11px 18px;border-color:#dedede}button:hover{background:#f3f3f3;border-color:#b6c6be}.primary{background:#278b76;color:white;border-color:#278b76}.primary:hover{background:#217864}.quiet{color:#555;background:transparent}.outline{background:transparent;border:1px solid #ccc;color:#666;padding:6px 15px}.stats{gap:12px}.stat{border:0;border-radius:22px;background:#f3f3f3;padding:18px}.stat span{font-size:.875rem;color:#6e6e6e}.stat strong{font-size:2.3rem;color:#111;font-weight:650;margin-top:7px;line-height:1.2}.hero .stats .stat{padding:12px;background:#fff9}.hero progress{height:9px}.tabs{background:none;border-radius:30px;padding:0;gap:1px}.tabs button{padding:7px 15px;color:#999;border-radius:30px;white-space:nowrap;font-size:.875rem}.tabs button.active{color:#171717;background:#efefef;box-shadow:none;font-weight:500}.profile-page{max-width:720px;margin:0 auto}.view-me .topline{max-width:720px;margin-left:auto;margin-right:auto}.view-me .topline .eyebrow{display:none}.view-me .topline h1{font-size:1.6rem}.profile-row{gap:14px;margin-bottom:24px}.avatar{width:58px;height:58px;background:#f3f3f3;color:#171717}.avatar .ico{height:31px;width:31px;stroke-width:1.7}.profile-row .sub{margin-top:3px}.performance{margin:30px 0}.performance .stats{grid-template-columns:1fr 1fr;margin:16px 0}.performance .stat{padding:19px 22px;min-height:108px}.performance .rate{font-size:.8125rem}.ranking-section{margin:30px 0}.ranking-section .split-title{gap:6px}.ranking-section h2{font-size:1.05rem}.ranking-box{border:1px solid #e0e0e0;border-radius:25px;padding:20px}.ranking-box select{border-radius:30px;background-color:#fff;padding:11px 17px;font-size:.9rem;border-color:#d4d4d4}.rank-summary{display:flex;justify-content:space-between;align-items:center;color:#666;margin:20px 0 12px}.rank-summary p{font-size:.875rem;margin-bottom:7px}.rank-summary strong{font-size:1.8rem;color:#111;font-weight:600}.rank-summary small{font-size:.9rem;color:#666;margin-left:3px}.trophy{width:26px;height:26px}.rank{display:block;border:0;padding:9px 0 12px;background:transparent!important}.rank-line{display:flex;align-items:center;gap:12px;font-size:.9rem;margin-bottom:8px}.rank-line strong{font-weight:500}.rank.self .rank-line{font-weight:700}.rank-number{color:#777}.rank progress{height:7px;background:#eee;display:block}.rank progress::-webkit-progress-bar{background:#eee}.rank progress::-webkit-progress-value{background:#93a4bd}.rank.self progress::-webkit-progress-value{background:#27937d}.profile-data{border-top:1px solid #eee;padding-top:22px}.search-panel{border-radius:26px;background:#f3f3f3;padding:18px 20px;margin-bottom:20px}.toolbar{display:flex;flex-wrap:wrap;margin:0;gap:10px}.toolbar input{flex:1 1 200px;background:transparent;border:0;padding:10px 0;font-size:1rem;border-radius:0}.toolbar select{width:auto;background-color:#fff;border:0;font-size:.8125rem;border-radius:30px}.search-links{border-top:1px solid #e3e3e3;margin-top:13px;padding-top:12px;display:grid;gap:4px}.search-action{border:0;background:transparent;text-align:left;border-radius:12px;padding:9px 0;font-size:.95rem;color:#222}.search-action:first-child{color:#196b47}.map{border-radius:24px;border:0;height:360px;background:#eee}.map .pin{border-width:1px;border-radius:17px;padding:8px 10px;box-shadow:0 2px 7px #0001}.map .caption{border-radius:15px}.map-list button{border-radius:25px}.detail{border:1px solid #e6e6e6}.building-art{display:none}.detail h2{margin-top:14px}.facts{gap:18px}.note{border:0;border-radius:16px;background:#f4f4f4;padding:14px;color:#606060}.warning{background:#fff3dc;color:#865c17}.pill{border-radius:14px;padding:5px 10px;background:#f2f2f2}.pill.mine{background:#e9f4ef}.record{border-radius:22px;border-color:#eee}.record-info .note{padding:12px;font-size:.8125rem}.floor{background:#f5f5f5;color:#888}.room{border-color:#eee}.mark{border-radius:8px;background:#f5f5f5}.record-aside .card{background:#f7f7f7}.record-aside .stats{grid-template-columns:repeat(4,1fr);gap:4px}.record-aside .stat{padding:5px;background:none}.record-aside .stat strong{font-size:1.55rem}.record-aside .stat span{font-size:.7rem}.rec-head select,input,textarea{border-radius:18px}.rec-head select{border-color:#e5e5e5}.room input{border-radius:8px}.bottom{width:680px;bottom:0;border:0;border-top:1px solid #eee;box-shadow:none;background:#fffffff5;backdrop-filter:blur(20px);border-radius:0;padding:6px 8px 12px}.bottom button{border-radius:16px;color:#929292;padding:10px 4px;font-size:.8rem;gap:7px}.bottom button.active{color:#161616;background:#f3f3f3}.bottom .ico{width:23px;height:23px;stroke-width:1.8}.reservation{padding:22px 0}.num{background:#f2f2f2;border:0;border-radius:50%;color:#777}.report{border:0;background:#f5f5f5;border-radius:22px}.grid2>.stack>.card:not(.hero){border:1px solid #eee}.rate{color:#888}.view-report .grid2>.card{border:1px solid #eee}#toast{border-radius:25px;background:#333;bottom:95px}@media(min-width:900px){.shell{padding:0 44px 125px}.view-me{max-width:880px}.topline{margin-top:28px}.view-me .profile-page{max-width:680px}.bottom{border:1px solid #eee;border-bottom:0;border-radius:26px 26px 0 0}}@media(max-width:700px){.shell{padding:0 22px 110px}.brandbar{padding-top:18px}.brand{display:none}.brandbar{justify-content:flex-end;height:29px}.topline{margin:14px 0 22px}.topline h1{font-size:1.6rem}.topline>small{display:none}.eyebrow{font-size:.75rem}.card{padding:20px;border-radius:23px}.grid2{gap:18px}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:15px}.stat span{font-size:.8125rem}.stat strong{font-size:2rem}.hero .stats{grid-template-columns:repeat(4,1fr);gap:4px}.hero .stats .stat{padding:8px 5px;background:none}.hero .stats .stat strong{font-size:1.4rem}.hero .stats .stat span{font-size:.6875rem}.profile-row{margin-top:8px;margin-bottom:23px}.profile-row h2{font-size:1.05rem}.profile-row .sub{font-size:.8125rem}.view-me .topline{margin-top:10px;margin-bottom:20px}.view-me .hero{padding:19px 18px 22px}.hero .big{font-size:2.65rem;margin:8px 0 12px}.hero h2{font-size:1rem}.profile-page .split-title h2{font-size:.95rem}.profile-page .tabs button{padding:6px 12px;font-size:.8125rem}.performance{margin-top:28px;margin-bottom:28px}.performance .stat{min-height:100px;padding:16px 15px;border-radius:20px}.performance .stat strong{font-size:2.15rem}.ranking-box{padding:15px;border-radius:23px}.rank-line{gap:9px;font-size:.875rem}.ranking-section .sub{font-size:.8125rem}.ranking-section>small{font-size:.75rem}.search-panel{padding:17px 16px;border-radius:25px}.toolbar input{font-size:.95rem;flex-basis:100%;padding:5px 0 9px}.toolbar select{padding:7px 30px 7px 12px;font-size:.75rem}.search-links{margin-top:12px;padding-top:10px}.search-action{font-size:.95rem;padding:8px 0}.map{height:285px;border-radius:24px}.map .pin{font-size:.625rem;padding:7px}.bottom{padding:5px 6px max(10px,env(safe-area-inset-bottom));border-radius:0;width:100%;max-width:100%}.bottom button{font-size:.75rem;padding:9px 2px}.record-info{padding:14px}.record-info h2{font-size:1rem}.rec-head{gap:6px}.rec-head select{font-size:.875rem}.room{font-size:.8125rem}.record-aside .stats{grid-template-columns:repeat(4,1fr)}.form textarea{border-radius:17px}}
.grid2>*{min-width:0}.map-list{max-width:100%}.profile-page{min-width:0}.report{overflow-wrap:anywhere}

.room-skip{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0 18px}.room-skip input{width:22px;height:22px;min-height:22px;flex:none;accent-color:#268c75}.room-floor-edit{display:flex;align-items:end;gap:12px;margin:12px 0}.room-floor-edit label{flex:1;min-width:0}.room-floor-edit input{width:100%;margin-top:6px}.room-floor-edit button{flex:none;min-height:44px}.room-adjust summary{cursor:pointer}

/* 記録画面：物件情報の編集は物件カードの中に置く。入力済みの発言は押すと直せることを示す（2026-11-26） */
.rec-head select{max-width:none;width:100%}
.info-head{display:flex;align-items:center;gap:8px}.info-head h2{margin:0;min-width:0;overflow-wrap:anywhere}.info-head .pill{flex:none}
.info-head .head-edit,.rooms-edit{flex:none;min-height:44px;padding:0 10px;font-size:.8125rem;white-space:nowrap}.info-head .head-edit{margin-left:auto}
.room-adjust-wrap{position:relative}.room-adjust-wrap .rooms-edit{position:absolute;top:6px;right:10px}
.room-adjust-wrap .room-adjust>summary{padding-right:120px}
.edit-actions{gap:8px;margin-top:12px}.edit-actions>*{flex:1;min-height:44px}
.room .inline:not(.empty):not(:disabled)::after{content:"  ✎ 直す";color:#8b9b92;font-size:.75rem;white-space:nowrap}
/* 部屋は階ごとに＋−で増減（2026-11-26 ユーザー指定） */
.floor-step{display:flex;align-items:center;gap:10px;margin:8px 0}
.floor-step .floor-name{min-width:44px;font-weight:700}
.floor-step .step{width:48px;height:44px;min-height:44px;padding:0;border-radius:14px;font-size:1.25rem;line-height:1}
.floor-step .floor-count{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
.add-floor{width:100%;min-height:44px;margin:6px 0 10px}
/* 訪問結果8種類（2026-11-26 ユーザー指定）：枠を押すと部屋の下に選択肢が出る。色に加えて必ず文字で示す */
.room{grid-template-columns:40px 76px minmax(0,1fr)}
.room .mark{min-height:44px;padding:2px 4px;font-family:inherit;font-size:.6875rem;font-weight:700;line-height:1.25;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.mark-picker{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px 0 4px}
.pick{min-height:44px;padding:4px;border:1px solid transparent;border-radius:10px;font-family:inherit;font-size:.75rem;font-weight:700;line-height:1.25;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.pick.on{outline:3px solid #171b19;outline-offset:1px}
.pick.clear{grid-column:1/-1;background:#fff;border-color:#d8dcd8;color:#646b67;font-weight:400}
.mark-legend{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.mark-legend .pick{min-height:0;padding:4px 8px}
.s0{background:#f5f5f5;color:#646b67}
.s5{background:#6b6f74;color:#fff}.s1{background:#cfe0f2;color:#173c5c}.s6{background:#5b8fd0;color:#fff}.s2{background:#1d5aa6;color:#fff}
.s3{background:#f0c93a;color:#3a2f00}.s4{background:#c8352c;color:#fff}.s7{background:#202322;color:#fff}.s8{background:#fff;color:#171b19;border:1px solid #c9cec9}
@media(max-width:380px){.room{grid-template-columns:34px 68px minmax(0,1fr)}}
.room .mark{font-size:.625rem;padding:2px}.pick{font-size:.6875rem;padding:4px 2px}
.sheet-backdrop{position:fixed;inset:0;background:#0007;z-index:900;animation:sheet-fade .2s ease-out}
.mark-sheet{position:fixed;left:0;right:0;bottom:0;margin:0 auto;max-width:560px;max-height:86vh;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:24px 24px 0 0;padding:8px max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));z-index:901;box-shadow:0 -6px 24px #0002;animation:sheet-up .26s cubic-bezier(.2,.8,.2,1)}
.sheet-handle{width:40px;height:4px;border-radius:2px;background:#d6d6d6;margin:4px auto 14px}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.sheet-head h2{font-size:1.4rem;margin:0;line-height:1.3}.sheet-head .sub{margin:2px 0 0;color:#707070}
.sheet-close{flex:none;width:40px;height:40px;padding:0;border-radius:50%;background:#f1f1f1;border:0;font-size:1.25rem;line-height:1;color:#555}
.mark-sheet .mark-picker{grid-template-columns:1fr 1fr;gap:10px;padding:0}
.mark-sheet .pick{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 14px;border-radius:12px;font-size:.9375rem;font-weight:600;text-align:left;word-break:keep-all}
.pick-ico{width:22px;height:22px;flex:none}
.mark-sheet .pick.clear{display:flex;width:100%;justify-content:center;margin-top:10px;min-height:44px;font-size:.875rem}
.sheet-history{border-top:1px solid #eee;margin-top:18px;padding-top:14px}.sheet-history h3{font-size:1rem;margin:0 0 4px}.sheet-history h3 small{color:#888;font-weight:400;margin-left:4px}
.hist{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0}.hist:last-child{border-bottom:0}
.hist-ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none}.hist-ico .pick-ico{width:20px;height:20px}
.hist-body{flex:1;min-width:0}.hist-top{display:flex;justify-content:space-between;gap:8px}.hist-top small{color:#777}.hist-label{color:#2a5b8f;font-size:.875rem}.hist p{margin:2px 0 0;color:#555;font-size:.875rem;overflow-wrap:anywhere}
@keyframes sheet-up{from{transform:translateY(100%)}}@keyframes sheet-fade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.mark-sheet,.sheet-backdrop{animation:none}}
.danger-box{margin-top:16px;padding:12px 14px;border-radius:14px;background:#f6f6f4}.danger-box.on{background:#fff4dc}
.danger-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.danger-title{display:flex;align-items:center;gap:10px;font-weight:600}.danger-title .pick-ico{color:#b7791f}.danger-title small{display:block;font-weight:400;font-size:.75rem;color:#777}
.danger-toggle input{appearance:none;-webkit-appearance:none;flex:none;width:52px;height:30px;border-radius:15px;background:#d9d9d9;position:relative;cursor:pointer;transition:background .15s;margin:0;padding:0;border:0}
.danger-toggle input::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.danger-toggle input:checked{background:#c8352c}.danger-toggle input:checked::after{transform:translateX(22px)}
.danger-toggle input:focus-visible{outline:3px solid #171b19;outline-offset:2px}
.danger-reason{display:block;margin-top:10px;font-size:.8125rem;color:#6b5a2e}.danger-reason input{width:100%;margin-top:4px;border-radius:10px}
.danger-meta{display:block;margin-top:6px;color:#8a7a52;font-size:.75rem}
.room.is-danger{background:#fff8e8}
.danger-flag{display:block;color:#b7791f;margin-top:2px}.danger-flag .pick-ico{width:16px;height:16px}
.danger-line{margin:0 0 4px;color:#8a4b00;font-weight:700;font-size:.8125rem}.danger-line small{font-weight:400;color:#9a7a3a;margin-left:2px}
.danger-sum{display:flex;align-items:center;gap:6px;margin:6px 0;padding:6px 10px;border-radius:10px;background:#fff4dc;color:#8a4b00;font-size:.8125rem;font-weight:700}.danger-sum .pick-ico{width:16px;height:16px;flex:none}
@media(prefers-reduced-motion:reduce){.danger-toggle input,.danger-toggle input::after{transition:none}}
/* シート調整（2026-11-26）：選択中の囲み・未入力に戻す・危険マークを右・高さを詰める */
.mark-sheet{max-height:80vh;padding-top:6px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.sheet-handle{margin:2px auto 10px}
.sheet-head{align-items:center;margin-bottom:12px}.sheet-head h2{font-size:1.3rem}
.sheet-tools{display:flex;align-items:center;gap:8px}
.sheet-reset{min-height:36px;padding:0 12px;border-radius:18px;border:1px solid #e2e2e2;background:#fff;color:#555;font-size:.75rem;white-space:nowrap}
.sheet-close{width:36px;height:36px}
.mark-sheet .mark-picker{gap:8px}
.mark-sheet .pick{position:relative;min-height:46px;padding:6px 12px;gap:8px;font-size:.875rem;line-height:1.2}
.mark-sheet .pick .pick-ico{width:20px;height:20px}
.mark-sheet .pick.on{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px #27937d}
.mark-sheet .pick.on::after{content:"";position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:#27937d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 0 0 2px #fff}
.danger-row{display:flex;align-items:center;gap:8px;margin-top:12px}
.danger-hint{flex:1;min-width:0;font-size:.75rem;color:#888}
.danger-row input{flex:1;min-width:0;height:40px;padding:0 12px;border-radius:12px;border:1px solid #f0d9a8;background:#fff8e8;font-size:.875rem}
.danger-btn{flex:none;display:flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:20px;border:1px solid #e2d3b0;background:#fff;color:#8a5a00;font-size:.8125rem;font-weight:700;white-space:nowrap}
.danger-btn .pick-ico{width:18px;height:18px}
.danger-btn[aria-pressed="true"]{background:#d97706;border-color:#d97706;color:#fff}
.sheet-history{border-top:1px solid #eee;margin-top:12px;padding-top:4px}
.sheet-history summary{display:flex;align-items:baseline;gap:8px;padding:10px 0;cursor:pointer;list-style:none}.sheet-history summary::-webkit-details-marker{display:none}
.sheet-history summary::after{content:"›";margin-left:auto;color:#999;transform:rotate(90deg);transition:transform .15s}.sheet-history[open] summary::after{transform:rotate(-90deg)}
.sheet-history summary b{font-size:.9375rem}.sheet-history summary small{color:#888;font-size:.75rem}
.mark-sheet .sheet-close{position:static;min-height:36px;z-index:auto;flex:none;width:36px;height:36px;padding:0;border-radius:50%;background:#f1f1f1;border:0;font-size:1.15rem;line-height:1;color:#555;display:grid;place-items:center}
/* 顧客の仮置き（2026-11-27） */
.lead-form{margin-top:12px;padding:12px;border-radius:14px;background:#eef7f3;border:1px solid #cfe6dc}
.lead-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:8px}.lead-head b{font-size:.9375rem}.lead-head small{color:#4f6f62;font-size:.75rem}
.lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lead-grid .full{grid-column:1/-1}
.lead-grid input{min-width:0;height:42px;padding:0 12px;border-radius:10px;border:1px solid #cfe0d8;background:#fff;font-size:1rem}
.lead-save{width:100%;margin-top:8px;min-height:44px}
.lead-list{margin:28px 0;padding:18px;border-radius:22px;border:1px solid #e3ece8;background:#fbfdfc}.lead-list h2{font-size:1rem;margin:0 0 8px}.lead-list h2 small{font-weight:400;color:#888;font-size:.75rem;margin-left:4px}
.lead-item{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;border-top:1px solid #eef2f0}
.lead-main{flex:1 1 200px;min-width:0}.lead-main b{display:block}.lead-main small{display:block;color:#777;font-size:.75rem}.lead-main p{margin:4px 0 0;font-size:.8125rem;color:#555;overflow-wrap:anywhere}
.lead-phone{display:inline-block;margin-top:4px;font-size:1rem;font-weight:600;color:#1f6f5c;user-select:all}
.lead-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.danger-del{background:#c8352c;border-color:#c8352c;color:#fff}
.danger-row .danger-btn{order:-1}
/* 物件情報をたたむ（2026-11-27） */
.info-toggle{flex:none;display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 12px;border-radius:18px;border:1px solid #e2e2e2;background:#fff;color:#555;font-size:.75rem;white-space:nowrap}
.info-toggle span{font-size:.625rem}
.info-head .head-edit+.info-toggle{margin-left:4px}
.info-head:not(:has(.head-edit)) .info-toggle{margin-left:auto}
.info-head{flex-wrap:wrap;row-gap:6px}.info-head h2{flex:1 1 100%}
/* 住所から地図に置く進み具合（2026-11-28） */
#geo-banner{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 112px);z-index:1000;display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:8px 8px 8px 16px;border-radius:22px;background:#1f2a26;color:#fff;font-size:.8125rem;box-shadow:0 4px 16px #0003;white-space:nowrap}
#geo-banner b{font-variant-numeric:tabular-nums}
#geo-banner button{min-height:32px;padding:0 12px;border-radius:16px;background:#ffffff22;color:#fff;border:0;font-size:.75rem}

/* 優先順位（2026-11-28） */
.prio-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 8px;flex-wrap:wrap}
.prio-sort{display:flex;gap:8px}
.prio-sort .chip{height:44px;min-height:44px;padding:0 16px;box-shadow:none}
.prio-bar>button{min-height:44px;padding:0 12px}
.prio-panel{background:var(--gm-surface,#F3F4F3);border-radius:20px;padding:12px 14px;margin:0 0 10px;display:grid;gap:10px}
.prio-panel .sub{margin:0}
.prio-row{display:grid;gap:6px}
.prio-row b{font-size:15px}
.prio-row small{display:block;color:#646B67;font-size:13px}
.prio-levels{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:999px;padding:3px}
.prio-levels button{min-height:44px;border:0;border-radius:999px;background:transparent;font-size:14px;color:#171B19}
.prio-levels button.on{background:#268C75;color:#fff;font-weight:700}
.map-sheet .property-item{position:relative}
.property-item:has(.prio-badge){padding-right:64px}
.prio-badge{position:absolute;right:14px;top:50%;transform:translateY(-50%);min-width:40px;height:40px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#176B55;font-style:normal;font-weight:700;font-size:16px;font-variant-numeric:tabular-nums}
.property-item small.prio-why{color:#176B55;font-weight:600}
.property-item.is-out{opacity:.62}
.property-item.is-out .prio-why{color:#646B67}

/* 訪問の傾向（Dropboxのメモから・2026-11-28） */
.trend{margin:12px 0;border:1px solid #E3E6E4;border-radius:16px;background:#fff;padding:0 14px}
.trend>summary{min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;cursor:pointer;padding:8px 0}
.trend>summary small{color:#646B67}
.trend-wrap{overflow-x:auto;margin:8px 0}
.trend-table{border-collapse:separate;border-spacing:3px;width:100%;min-width:300px;font-size:13px;text-align:center}
.trend-table th{font-weight:600;color:#646B67;padding:4px 2px;white-space:nowrap}
.trend-table td{background:#F3F4F3;border-radius:8px;padding:5px 2px;line-height:1.2}
.trend-table td small{display:block;font-size:11px;color:#646B67}
.trend-table td.hi{background:#268C75;color:#fff;font-weight:700}
.trend-table td.hi small{color:#E8F3F0}
.trend-table td.none{background:transparent;color:#B5BAB7}
.trend-people{display:grid;gap:6px;margin:8px 0}
.trend-people div{display:grid;grid-template-columns:48px 1fr;gap:8px}
.trend-people dt{color:#646B67}
.trend-people dd{margin:0;min-width:0;overflow-wrap:anywhere}
.trend details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}

/* 建物メモ：Dropboxのフォルダとメモの一覧（2026-11-28） */
.txt-dialog .memo-path{margin:.5rem 0;word-break:break-all;color:#646B67}
.txt-dialog .memo-list{display:flex;flex-direction:column;gap:4px;max-height:45vh;overflow-y:auto;border:1px solid #dfe3e1;border-radius:10px;padding:4px;background:#fff}
.txt-dialog .memo-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:0;border-radius:8px;background:#F3F4F3;color:inherit;font:inherit;text-align:left;cursor:pointer;word-break:break-all}
.txt-dialog .memo-row input{width:22px;height:22px;accent-color:#268C75;flex:none}
.txt-dialog .memo-row:focus-visible{outline:2px solid #268C75;outline-offset:1px}
.memo-write{margin:16px 0 4px;padding:12px;border-radius:12px;background:#F3F4F3;display:flex;flex-direction:column;gap:8px}
.memo-write .small{margin:0;word-break:break-all}
.txt-dialog .memo-form{display:flex;flex-direction:column;gap:8px}
.txt-dialog .memo-form input{min-height:44px;width:100%;box-sizing:border-box}
.txt-dialog .memo-preview{white-space:pre-wrap;word-break:break-all;background:#F3F4F3;border-radius:8px;padding:10px;max-height:35vh;overflow:auto;font:inherit;margin:0}
.txt-dialog .memo-preview:empty{display:none}
/* アカウント（2026-11-28） */
.txt-dialog .ac-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.txt-dialog .ac-tabs button{min-height:44px}
.txt-dialog .memo-form select{min-height:44px;width:100%}
.txt-dialog .memo-code{font-size:1.4rem;letter-spacing:.08em;text-align:center;margin:8px 0;user-select:all}
.txt-dialog details{margin:10px 0}
.txt-dialog details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}
.txt-dialog .memo-row input[type=date]{width:auto;min-height:40px}
.txt-dialog .ac-stack{display:flex;flex-direction:column;gap:8px}
.txt-dialog .ac-stack button{width:100%;white-space:normal;min-height:44px}

.txt-dialog .ac-modes{border:0;margin:0;padding:0;display:grid;gap:6px}
.txt-dialog .ac-modes legend{font-weight:600;margin-bottom:4px}
.txt-dialog .ac-idrow{display:flex;align-items:center;gap:6px}
.txt-dialog .ac-idrow b{font-weight:600;color:#176B55}
.txt-dialog .ac-member small{display:block;color:#646B67;font-size:12px}
.txt-dialog .ac-member button{min-height:40px}
.txt-dialog .ac-code{width:5.5em;min-height:40px}
.txt-dialog h3{font-size:15px;margin:14px 0 6px}
