[hidden]{display:none!important}
.summary-grid{grid-template-columns:repeat(5,1fr)}
.summary-card[data-summary-view],.summary-card[data-summary-status],.summary-card[data-summary-alarm]{cursor:pointer}.summary-card[data-summary-view]:hover,.summary-card[data-summary-status]:hover,.summary-card[data-summary-alarm]:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(28,26,23,.1)}
.field-focus .summary-icon{background:var(--red-bg);color:var(--red)}
.category{display:block;color:#948a78;font-size:10px;font-weight:500;margin-top:4px}
.order-button{width:26px;height:26px;margin-right:4px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--green);font-weight:700;cursor:pointer}.order-button:disabled{color:#cec5b3;background:#f7f5ee;cursor:default}
.priority-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--mint);color:var(--green);font:700 11px 'DM Sans'}.priority-note{width:100%;min-width:220px;border:1px solid var(--line);border-radius:6px;padding:8px 10px;color:var(--ink);font:500 12px inherit}
.attendance-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.attendance-toolbar label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}.attendance-toolbar input{border:1px solid var(--line);border-radius:7px;background:var(--white);padding:9px 10px;font:500 12px inherit}.attendance-toolbar span{color:var(--muted);font-size:11px}.attendance-wrap{overflow-x:auto}.attendance-wrap table{min-width:0;width:auto;border-collapse:collapse}.attendance-wrap th,.attendance-wrap td{white-space:nowrap;text-align:center;padding:3px}.attendance-wrap thead th{padding:5px 2px}.attendance-wrap tbody th{text-align:left;padding-left:6px}.attendance-count,.attendance-rate{font-weight:700;color:var(--green);font-size:10px}.attendance-day{display:block;width:20px;height:20px;padding:0;border:1px solid var(--line);border-radius:4px;background:#f7f5ee;color:#a89b85;font-size:9px;cursor:pointer;margin:0 auto}.attendance-day.present{background:#e6cf9a;border-color:#c9a860;color:#5c4517;font-weight:800}
.alarm-banner{margin:-12px 0 24px;padding:14px 16px;border:1px solid #e8cec7;border-left:4px solid var(--red);border-radius:8px;background:var(--red-bg);color:#73362b;display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center}.alarm-banner strong,.alarm-banner span{display:block}.alarm-banner span{margin-top:3px;font-size:11px;color:#9c6a5e}.alarm-banner ul{grid-column:1 / -1;margin:0;padding-left:20px;font-size:12px}.alarm-button{position:relative}.alarm-button b{position:absolute;right:-5px;top:-5px;min-width:16px;height:16px;padding:1px 4px;border-radius:9px;background:var(--red);color:#fff;font-size:9px;line-height:14px}
.property-panel table tbody tr:hover{background:#f8f6f0}.property-panel table td:first-child{font-weight:700}.property-area{display:inline-block;padding:3px 7px;border-radius:5px;background:var(--mint);color:var(--green);font-size:10px;font-weight:700}
.property-panel table td:has(.property-area),.property-panel table thead th:nth-child(2){display:none}
.property-panel table th:nth-child(10),.property-panel table td:nth-child(10){position:sticky;right:86px;z-index:2;background:var(--white);box-shadow:-5px 0 8px rgba(28,26,23,.06)}.property-panel table thead th:nth-child(10){z-index:3;background:var(--mint)}.property-panel table tbody tr.property-row-申込済 td:nth-child(10){background:#fdfaf1}.property-panel table tbody tr.property-row-契約済 td:nth-child(10){background:#f2f4f7}.property-panel table tbody tr.property-row-販売中 td:nth-child(10){background:#f6f4ea}.property-panel table tbody tr.property-row-売却済 td:nth-child(10){background:#f5f3ed}
.property-panel table thead th,.property-panel table thead th:last-child{background:var(--mint);color:var(--green-dark);letter-spacing:.05em;text-transform:uppercase;font-weight:700;font-size:9.5px}
.property-panel table th:nth-child(8),.property-panel table td:nth-child(8){position:sticky;right:86px;z-index:2;background:var(--white);box-shadow:-5px 0 8px rgba(28,26,23,.06)}.property-panel table th:nth-child(9),.property-panel table td:nth-child(9){position:sticky;right:0;z-index:2;background:var(--white);box-shadow:-6px 0 10px rgba(28,26,23,.08)}.property-panel table thead th:nth-child(8),.property-panel table thead th:nth-child(9){z-index:3;background:var(--mint)}
.property-panel table th:nth-child(8),.property-panel table td:nth-child(8),.property-panel table th:nth-child(9),.property-panel table td:nth-child(9),.property-panel table th:nth-child(10),.property-panel table td:nth-child(10){position:static;box-shadow:none}.property-panel table th:nth-child(11),.property-panel table td:nth-child(11){position:sticky;right:92px;z-index:2;width:110px;min-width:110px;background:var(--white);box-shadow:none}.property-panel table th:nth-child(15),.property-panel table td:nth-child(15){position:sticky;right:0;z-index:2;width:92px;min-width:92px;background:var(--white);box-shadow:none;border-left:1px solid var(--line)}.property-panel table thead th:nth-child(11),.property-panel table thead th:nth-child(15){z-index:3;background:var(--mint)}
.property-panel table th:nth-child(11),.property-panel table td:nth-child(11),.property-panel table th:nth-child(15),.property-panel table td:nth-child(15){position:static;width:auto;min-width:0;box-shadow:none;border-left:0}.property-panel table th:nth-child(14),.property-panel table td:nth-child(14){position:sticky;right:92px;z-index:2;width:110px;min-width:110px;background:var(--white);box-shadow:none}.property-panel table th:nth-child(18),.property-panel table td:nth-child(18){position:sticky;right:0;z-index:2;width:92px;min-width:92px;background:var(--white);box-shadow:none;border-left:1px solid var(--line)}.property-panel table thead th:nth-child(14),.property-panel table thead th:nth-child(18){z-index:3;background:var(--mint)}
.property-panel table th:nth-child(17),.property-panel table td:nth-child(17){min-width:105px;white-space:nowrap;text-align:right}.property-panel table td:nth-child(17).money-cell{font-weight:700;color:var(--green)}
.property-panel table th:nth-child(18),.property-panel table td:nth-child(18){position:static;width:110px;min-width:110px;border-left:0;text-align:right}.property-panel table td:nth-child(18).money-cell{font-weight:800;color:var(--green)}.property-panel table th:nth-child(19),.property-panel table td:nth-child(19){position:sticky;right:0;z-index:2;width:92px;min-width:92px;background:var(--white);box-shadow:none;border-left:1px solid var(--line)}.property-panel table thead th:nth-child(19){z-index:3;background:var(--mint)}
.property-panel table th:nth-child(14),.property-panel table td:nth-child(14),.property-panel table th:nth-child(19),.property-panel table td:nth-child(19){transition:none!important;box-shadow:none!important;backface-visibility:hidden}.property-panel table th:nth-child(14),.property-panel table td:nth-child(14){right:92px}.property-panel table th:nth-child(19),.property-panel table td:nth-child(19){right:0}
.property-panel table th,.property-panel table td{position:static!important;right:auto!important;box-shadow:none!important;backface-visibility:visible}.property-panel table{border-collapse:collapse}
.property-panel table th:nth-child(14),.property-panel table td:nth-child(14){position:sticky!important;right:92px!important;width:110px;min-width:110px;z-index:4;background:var(--white);box-shadow:none!important}.property-panel table th:nth-child(19),.property-panel table td:nth-child(19){position:sticky!important;right:0!important;width:92px;min-width:92px;z-index:5;background:var(--white);box-shadow:none!important;border-left:1px solid var(--line)}.property-panel table thead th:nth-child(14),.property-panel table thead th:nth-child(19){background:var(--mint);z-index:6}
.property-panel table .sticky-sale-column{position:sticky!important;right:92px!important;width:110px;min-width:110px;z-index:8;background:#fff!important;box-shadow:none!important}.property-panel table .sticky-status-column{position:sticky!important;right:0!important;width:92px;min-width:92px;z-index:9;background:#fff!important;box-shadow:none!important;border-left:1px solid #ddd2ba}.property-panel table thead .sticky-sale-column,.property-panel table thead .sticky-status-column{background:var(--mint)!important;z-index:10}
.property-panel table .sticky-sale-column{right:92px!important;width:110px!important;min-width:110px!important;padding-right:8px!important;border-right:0!important;white-space:nowrap}.property-panel table .sticky-status-column{right:0!important;width:92px!important;min-width:92px!important;padding-left:8px!important;border-left:1px solid #ddd2ba!important;white-space:nowrap}.property-panel table .sticky-sale-column + .sticky-status-column{margin-left:0!important}
.property-panel table th:nth-child(14),.property-panel table td:nth-child(14){position:static!important;right:auto!important;width:auto;min-width:0}.property-panel table th:nth-child(17),.property-panel table td:nth-child(17){position:static!important;right:auto!important}.property-panel table th:nth-child(18),.property-panel table td:nth-child(18){position:static!important;right:auto!important}.property-panel table th:nth-child(19),.property-panel table td:nth-child(19){position:static!important;right:auto!important}
.property-panel table th.sticky-sale-column,.property-panel table td.sticky-sale-column{position:sticky!important;right:92px!important;width:110px!important;min-width:110px!important}.property-panel table th.sticky-status-column,.property-panel table td.sticky-status-column{position:sticky!important;right:0!important;width:92px!important;min-width:92px!important}
.alarm-banner{border-color:#e8cec7;border-left-color:var(--red);background:var(--red-bg);color:#73362b}.alarm-banner span{color:#9c6a5e}.alarm-banner ul{color:#73362b}
.app-shell{background:linear-gradient(135deg,#eef8f1 0%,#f6fbf8 52%,#e9f6ef 100%)}.sidebar{box-shadow:8px 0 28px rgba(18,52,37,.16);padding-top:24px}.brand{padding-bottom:34px}.brand-mark{box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -7px 11px rgba(0,0,0,.16),0 8px 16px rgba(0,0,0,.22)}.nav-list{gap:5px}.nav-item{transition:background .18s ease,transform .18s ease}.nav-item:hover{background:#1a4a34;transform:translateX(3px)}.main-content{padding-top:34px}.topbar{margin-bottom:22px}.topbar h1{font-size:32px;letter-spacing:0;font-family:'Noto Serif JP','Playfair Display',serif;font-weight:600}.eyebrow{font-size:10px;font-weight:800;color:#4f6459}.summary-grid{gap:14px;margin-bottom:24px}.summary-card{min-height:106px;border-radius:14px;background:rgba(255,255,255,.86);box-shadow:0 9px 24px rgba(18,52,37,.1);transition:transform .18s ease,box-shadow .18s ease}.summary-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(18,52,37,.16)}.summary-card strong{font-size:25px;letter-spacing:-.02em}.workspace-panel{border-top:2px solid rgba(37,168,102,.5);border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 12px 32px rgba(18,52,37,.1);overflow:hidden}.panel-heading{padding:23px 25px 18px}.panel-heading h2{font-size:20px;letter-spacing:0;font-family:'Noto Serif JP','Playfair Display',serif;font-weight:600}.panel-heading p{font-size:12px}.toolbar{padding:14px 25px;background:#eef8f1;border-bottom:1px solid #d9e6de}.toolbar label{font-size:11px}.search-box input,.toolbar select{border-color:#cfe3d7;background:#fff;box-shadow:0 2px 6px rgba(18,52,37,.04)}.table-wrap{padding:0 10px 10px}.property-panel table{border-spacing:0 4px;border-collapse:separate}.property-panel table thead th{padding:12px 10px;border-bottom:1px solid rgba(37,168,102,.25)}.property-panel table tbody tr{box-shadow:0 2px 8px rgba(18,52,37,.04)}.property-panel table tbody td{padding:11px 10px;background:#fff;border-top:1px solid #e7f2ec;border-bottom:1px solid #e7f2ec}.property-panel table tbody td:first-child{border-left:1px solid #e7f2ec;border-radius:9px 0 0 9px}.property-panel table tbody td:last-child{border-right:1px solid #e7f2ec;border-radius:0 9px 9px 0}.property-panel table tbody tr:hover td{background:#eef8f1}.property-status,.renovation-status{border:1px solid #cfe3d7;border-radius:999px;padding:5px 9px;font-size:10px}.primary-button{border-radius:8px;font-weight:700;letter-spacing:.04em;background:var(--green);color:#fff;border:0;box-shadow:0 6px 14px rgba(18,52,37,.24)}.primary-button:hover{background:var(--green-dark)}.secondary-button{border-radius:8px;font-weight:700;background:#fff;color:#3f5148;border:1px solid var(--line);box-shadow:none}.secondary-button:hover{border-color:#bcdbc9;background:#f3faf6}.alarm-banner{border-radius:12px;box-shadow:0 7px 18px rgba(0,0,0,.07)}
.property-panel .toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.property-panel .toolbar>label:not(.search-box){display:flex;align-items:center;gap:7px;padding:0 10px 0 12px;height:38px;border:1px solid #cfe3d7;border-radius:9px;background:#fff;color:#4f6459;box-shadow:0 2px 6px rgba(18,52,37,.04);font-size:11px;font-weight:700}.property-panel .toolbar>label:not(.search-box) select{height:34px;min-width:112px;padding:0 28px 0 4px;border:0;background:transparent;box-shadow:none;color:var(--ink);font:700 12px inherit;outline:0}.property-panel .toolbar>label:last-child select{min-width:146px}.property-panel .search-box{height:38px;border-radius:9px;border-color:#cfe3d7;box-shadow:0 2px 6px rgba(18,52,37,.04)}
.ledger-wrap{overflow:auto}.ledger-wrap table{min-width:1500px}.ledger-wrap th,.ledger-wrap td{white-space:nowrap;font-size:11px}.ledger-wrap td{padding:8px 9px;border-bottom:1px solid var(--line)}
@media print{body{background:#fff}.sidebar,.topbar,.alarm-banner,.summary-grid,#propertiesPanel,#sitesPanel,#schedulePanel,#chartPanel,#workersPanel,#requestsPanel,#attendancePanel,.panel-actions,.table-footer{display:none!important}.main-content{width:100%;padding:0}.workspace-panel#ledgerPanel{display:block!important;border:0;box-shadow:none}.ledger-wrap{overflow:visible}.ledger-wrap table{min-width:0;width:100%;font-size:8px}.ledger-wrap th,.ledger-wrap td{font-size:8px;padding:4px}.ledger-wrap th{background:#eee9dd!important;color:#111}}
.money-cell{font-weight:700;color:var(--green);white-space:nowrap}
.renovation-status{display:inline-block;padding:4px 8px;border-radius:5px;font-size:10px;font-weight:700;white-space:nowrap}.renovation-status.施工前{background:#e9f2ec;color:#5f7269}.renovation-status.施工中{background:#f7e7b6;color:#7a5c14}.renovation-status.施工済{background:#dbe6dc;color:#33513a}
.pending-checks{color:var(--red);font-size:11px;line-height:1.5;max-width:240px}.pending-checks:empty{display:none}
.property-row-申込済{background:#fdfaf1}.property-row-契約済{background:#f2f4f7}.property-row-販売中{background:#eef7f1}.property-row-リフォーム済{background:#fff7ed}.property-row-売却済{background:#f2f6f3;color:#66796e}.property-status{display:inline-block;padding:4px 8px;border-radius:5px;font-size:10px;font-weight:700;white-space:nowrap}.property-status.申込済{background:#f7e7b6;color:#7a5c14}.property-status.契約済{background:#e3e7ee;color:#33465e}.property-status.販売中{background:#dbe6dc;color:#33513a}.property-status.リフォーム済{background:#f6d7b3;color:#8a5720}.property-status.売却済{background:#e6ede8;color:#5c6b62}
.autocomplete-field{position:relative}.property-suggestions{position:absolute;z-index:5;left:0;right:0;top:100%;padding:5px;background:var(--white);border:1px solid var(--line);border-radius:0 0 7px 7px;box-shadow:0 8px 18px rgba(28,26,23,.12)}.property-suggestions button{display:block;width:100%;padding:8px 10px;border:0;background:transparent;color:var(--ink);text-align:left;font:500 12px inherit;cursor:pointer}.property-suggestions button:hover{background:var(--mint);color:var(--green)}
.danger-button{border:1px solid #e5c4bd;border-radius:7px;background:var(--red-bg);color:var(--red);font:600 12px inherit;padding:9px 14px;cursor:pointer;margin-right:auto}
.progress-line{width:92px;height:5px;background:#edf1ee;border-radius:4px;margin-top:8px;overflow:hidden}
.progress-line i{display:block;height:100%;background:var(--green);border-radius:4px}
.progress-label{display:block;color:#8d9b94;font:500 10px 'DM Sans';margin-top:3px}
.schedule-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}
.schedule-toolbar label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}
.schedule-toolbar select,.schedule-item select{border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink);font:500 12px inherit;padding:9px 30px 9px 10px}
.schedule-item .schedule-worker{min-width:120px;padding:5px 8px}.worker-picker{display:grid;gap:5px}.worker-add{display:flex;gap:4px}.worker-add input{width:120px;border:1px solid var(--line);border-radius:5px;padding:5px 7px;font:500 11px inherit}.worker-add button{border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--green);font:700 11px inherit;padding:4px 7px;cursor:pointer}
.schedule-toolbar span{color:var(--muted);font-size:11px}
.schedule-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.schedule-item{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(150px,auto) auto;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid var(--line);color:var(--ink)}
.schedule-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--mint);color:var(--green);font:700 11px 'DM Sans'}
.schedule-item strong{font-size:13px}.schedule-item.is-done strong{color:var(--muted);text-decoration:line-through}
.chart-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}
.chart-toolbar label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}.chart-toolbar select{border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink);font:500 12px inherit;padding:9px 30px 9px 10px}.chart-toolbar span{color:var(--muted);font-size:11px}.chart-scroll{overflow-x:auto}.gantt-board{min-width:920px;padding-top:18px}.gantt-section{margin-bottom:28px;border:1px solid var(--line);background:var(--white)}.gantt-section h3{margin:0;padding:12px 15px;background:#eaf6ef;color:var(--ink);font-size:14px;border-bottom:1px solid var(--line)}.gantt-head,.gantt-row{display:grid;grid-template-columns:190px 220px 80px minmax(380px,1fr);align-items:center;gap:12px;padding:0 12px}.gantt-head{min-height:32px;background:#eef8f1;color:var(--muted);font-size:10px;font-weight:700}.gantt-row{min-height:43px;border-top:1px solid var(--line);font-size:12px}.gantt-row>strong{display:flex;align-items:center;gap:8px}.gantt-row>strong b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--mint);color:var(--green);font:700 10px 'DM Sans'}.gantt-row>span{color:#5f7269;font-size:11px;white-space:nowrap}.gantt-track{height:24px;position:relative;background:repeating-linear-gradient(90deg,#f5faf7 0,#f5faf7 calc(10% - 1px),#d9e6de calc(10% - 1px),#d9e6de 10%);border-left:1px solid #d9e6de}.gantt-bar{position:absolute;top:3px;height:18px;min-width:48px;border-radius:3px;padding:2px 7px;color:#1c2a22;font-size:10px;font-style:normal;white-space:nowrap;overflow:hidden}.gantt-bar.requested{background:#f2dba3}.gantt-bar.working{background:#bfe6d2}.gantt-bar.finished{background:#bcc3ce}
@media(max-width:700px){.schedule-toolbar{align-items:stretch;flex-direction:column}.schedule-list{grid-template-columns:1fr}.schedule-item{grid-template-columns:30px minmax(0,1fr) auto}.schedule-item .schedule-worker{grid-column:2 / -1;width:100%}}
.property-panel .toolbar>label:not(.search-box){font-size:0;padding-left:8px}.property-panel .toolbar>label:not(.search-box) select{font-size:12px}
.property-panel .toolbar>label:not(.search-box){font-size:11px;padding-left:12px}.property-panel .toolbar>label:not(.search-box) select{font-size:12px}
.property-panel .toolbar{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(4,minmax(130px,1fr));align-items:center;gap:10px}.property-panel .toolbar .search-box{width:100%;min-width:0}.property-panel .toolbar>label:not(.search-box){width:100%;min-width:0;justify-content:space-between}.property-panel .toolbar>label:not(.search-box) select{min-width:0;width:100%;text-align:left}.property-panel .toolbar>label:last-child select{min-width:0}@media(max-width:1100px){.property-panel .toolbar{grid-template-columns:minmax(240px,1fr) repeat(2,minmax(130px,1fr))}}@media(max-width:700px){.property-panel .toolbar{grid-template-columns:1fr}.property-panel .toolbar>label:not(.search-box){width:100%}}
.property-panel .toolbar>label:not(.search-box){white-space:nowrap;line-height:1;font-size:11px;letter-spacing:0;overflow:hidden}.property-panel .toolbar>label:not(.search-box) select{font-family:'Noto Sans JP',sans-serif;font-weight:600;line-height:1;letter-spacing:0;overflow:hidden;text-overflow:ellipsis}.property-panel .toolbar>label:not(.search-box) select option{font-family:'Noto Sans JP',sans-serif;font-weight:500}
.property-status,.property-panel .property-status{font-weight:800!important;border:0!important}
.property-panel .property-status.申込済,.property-status.申込済{background:#e0a913!important;color:#fff!important}
.property-panel .property-status.契約済,.property-status.契約済{background:#2f6fb3!important;color:#fff!important}
.property-panel .property-status.販売中,.property-status.販売中{background:#2f9e5c!important;color:#fff!important}
.property-panel .property-status.売却済,.property-status.売却済{background:#5a6570!important;color:#fff!important}
.property-panel .property-status.買取検討,.property-status.買取検討{background:#e0812e!important;color:#fff!important}
.property-panel .property-status.買取確定,.property-status.買取確定{background:#7c5cbf!important;color:#fff!important}
.property-status.買取検討{background:#f3e3d3;color:#7a4a1f}.property-status.買取確定{background:#e7dcf0;color:#4a2f66}
.property-panel .sticky-sale-column,.property-panel table td.sticky-sale-column{color:#33465e!important;font-weight:800}.property-panel table td:nth-child(17).money-cell{color:#167a48!important;font-weight:800}.property-panel .alarm-banner,.alarm-banner{background:var(--red-bg)!important;border-color:#e8cec7!important;border-left-color:var(--red)!important;color:#73362b!important}
@media(max-width:700px){.chart-toolbar{align-items:stretch;flex-direction:column}}
@media(max-width:900px){.summary-grid{grid-template-columns:repeat(2,1fr)}}
.chart-worker-select{width:100%;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font:500 11px inherit;padding:6px}
.login-error{color:var(--red);font-size:12px;padding:0 27px;margin:-8px 0 12px}
.login-error:empty{display:none;margin:0}
.online-users{display:flex;align-items:center}
.bottom-nav{display:none}
.card-list{display:none}
.empty-state[hidden]{display:none}
.sale-checklist{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:0}
.sale-checklist legend{font-size:11px;font-weight:700;color:var(--muted);padding:0 4px}
.sale-checklist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px 14px}
.sale-checklist-grid label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:var(--ink)}
.achievement-toolbar{display:flex;gap:16px;align-items:center;padding:14px 0}
.achievement-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:var(--muted)}
.achievement-wrap table{border-collapse:collapse;min-width:600px}
.achievement-wrap th,.achievement-wrap td{border:1px solid var(--line);padding:3px 6px;text-align:center;font-size:10px;white-space:nowrap}
.achievement-wrap thead th{background:var(--mint);color:var(--green-dark);font-weight:700}
.achievement-wrap tbody th{text-align:left;background:#f7f9f7;font-weight:700}
.achievement-quarter-row{background:#fbfaf6}
.achievement-quarter-row th,.achievement-quarter-row td{font-weight:700}
.achievement-total-row th,.achievement-total-row td{background:var(--mint);font-weight:800}
.achievement-input{width:34px;border:1px solid transparent;background:transparent;text-align:center;font:inherit;font-size:10px;color:var(--ink);border-radius:4px;padding:2px;-moz-appearance:textfield;appearance:textfield}
.achievement-input::-webkit-outer-spin-button,.achievement-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.drag-handle{cursor:grab;color:var(--muted);font-size:16px}
.worker-draggable-row{cursor:grab}
.worker-draggable-row.dragging{opacity:.4}
.consideration-area-block{margin-bottom:18px;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.consideration-area-block h4{margin:0;padding:9px 14px;background:var(--mint);color:var(--green-dark);font-size:12px}
.consideration-area-block table{width:100%;border-collapse:collapse}
.consideration-area-block th,.consideration-area-block td{padding:8px 10px;font-size:11px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.consideration-area-block tbody tr{cursor:pointer}
.consideration-area-block tbody tr:hover{background:#f9fbf9}
.property-print-button{margin-left:6px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--green);font:700 10px inherit;padding:3px 7px;cursor:pointer;white-space:nowrap}
.property-print-button:hover{background:var(--mint)}
#propertyCards .property-print-button{margin:8px 0 0;width:100%;padding:7px}
.category-badge{display:inline-block;padding:3px 9px;border-radius:12px;font-size:10px;font-weight:700;white-space:nowrap}
#workerTable td,#workerTable th{padding:9px 10px!important}
#workersPanel .table-wrap>table{display:none}
#workerCards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
#workerCards .card{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 8px;padding:10px 12px;cursor:pointer}
.worker-area-tags{width:100%;display:flex;gap:4px;flex-wrap:wrap}
.worker-area-tags em{font-style:normal;background:#eef8f1;color:#3f5148;border-radius:8px;padding:2px 7px;font-size:9px;font-weight:600}
#workerCards .card-title{margin:0;font-size:12px}
#workerCards .card-sub{margin:2px 0 0}
.property-panel table tbody tr td:first-child{border-left:4px solid transparent!important}
.property-panel table tbody tr.property-row-申込済 td:first-child{border-left-color:#e0a913!important}
.property-panel table tbody tr.property-row-契約済 td:first-child{border-left-color:#2f6fb3!important}
.property-panel table tbody tr.property-row-販売中 td:first-child{border-left-color:#2f9e5c!important}
.property-panel table tbody tr.property-row-売却済 td:first-child{border-left-color:#5a6570!important}
.property-panel table tbody tr.property-row-買取検討 td:first-child{border-left-color:#e0812e!important}
.property-panel table tbody tr.property-row-買取確定 td:first-child{border-left-color:#7c5cbf!important}
.achievement-input:hover,.achievement-input:focus{border-color:var(--green);background:#fff;outline:0}
.empty-note{color:var(--muted);font-size:12px;padding:14px 0}
.viz-legend{display:flex;gap:16px;padding:6px 0 10px;font-size:11px;color:#52514e}
.viz-legend span{display:flex;align-items:center;gap:6px}
.viz-swatch{width:10px;height:10px;border-radius:2px;display:inline-block}
.viz-swatch-1{background:#2a78d6}
.viz-swatch-2{background:#eb6834}
.viz-swatch-3{background:#1baf7a}
.viz-svg{display:block}
.viz-value{font-size:10px;fill:#52514e;font-weight:700}
.viz-axis-label{font-size:10px;fill:#898781}
.viz-baseline{stroke:#c3c2b7;stroke-width:1}
.performance-summary{grid-template-columns:repeat(5,1fr)}
.consideration-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:700px){.consideration-grid{grid-template-columns:1fr}}
@media(max-width:900px){.performance-summary{grid-template-columns:repeat(2,1fr)}}
.alarm-banner[hidden]{display:none}
#mainSummaryGrid[hidden]{display:none}
.topbar{justify-content:flex-end;margin-bottom:16px;align-items:center}
.topbar>div:first-child{display:none}
.app-shell{flex-direction:column}
.sidebar{position:sticky;top:0;z-index:30;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 5.4vw;padding-left:20px;gap:24px}
.topbar{display:none!important}
.sidebar-nav{display:flex;align-items:center;gap:8px;min-width:0}
.brand-logo{cursor:pointer;display:flex;align-items:center;margin-right:4px}
.sidebar .brand{padding:0;gap:9px;cursor:pointer}
.sidebar .brand small{display:none}
.sidebar .nav-list{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;flex:0 0 auto;overflow:visible}
.desktop-more-control{position:relative}
.desktop-more-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 24px rgba(18,52,37,.18);padding:6px;display:flex;flex-direction:column}
.desktop-more-menu[hidden]{display:none}
.desktop-more-menu .nav-item{color:var(--ink);padding:10px 12px}
.desktop-more-menu .nav-item span{color:var(--green)}
.desktop-more-menu .nav-item.active{background:var(--mint)}
.nav-group{position:relative}
.nav-group-toggle{display:flex;align-items:center;gap:6px}
.nav-caret{font-size:9px;font-style:normal;opacity:.7}
.nav-group-menu{position:absolute;z-index:25;top:calc(100% + 6px);left:0;min-width:180px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 24px rgba(18,52,37,.18);padding:6px;display:flex;flex-direction:column}
.nav-group-menu[hidden]{display:none}
.nav-group-menu .nav-item{color:var(--ink);padding:10px 12px;white-space:nowrap}
.nav-group-menu .nav-item span{color:var(--green)}
.nav-group-menu .nav-item.active{background:var(--mint)}
.sidebar .nav-item{padding:9px 13px;white-space:nowrap;font-size:12px}
.sidebar .nav-item span{width:auto}
.main-content{width:100%!important;padding:24px 5.4vw 48px}
@media(max-width:900px){.sidebar{width:100%!important;padding:10px 4vw}.sidebar .brand div,.sidebar .nav-item{font-size:12px}.sidebar .nav-item{padding:8px 10px}}
.zoom-content{}
.zoom-control{position:relative}
.zoom-button{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:700 12px inherit;cursor:pointer}
.zoom-button:hover{border-color:#bcdbc9;background:#f3faf6}
.zoom-caret{color:var(--muted);font-size:10px}
.zoom-menu{position:absolute;z-index:6;top:calc(100% + 4px);right:0;min-width:110px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 18px rgba(18,52,37,.12);padding:5px;display:flex;flex-direction:column}
.zoom-menu[hidden]{display:none}
.zoom-menu button{border:0;background:transparent;text-align:left;padding:8px 10px;border-radius:6px;font:600 12px inherit;color:var(--ink);cursor:pointer}
.zoom-menu button:hover{background:var(--mint)}
.zoom-menu button.active{color:var(--green);font-weight:800}
.brand[role="button"]{cursor:pointer}
html.is-mobile-device .sidebar{display:none}
html.is-mobile-device .main-content{width:100%;padding-bottom:86px}
html.is-mobile-device .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#123425;box-shadow:0 -4px 16px rgba(18,52,37,.25)}
html.is-mobile-device .bottom-nav .nav-item{flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 2px 11px;border-radius:0;color:#a9c9b8;font-size:10px;font-weight:600}
html.is-mobile-device .bottom-nav .nav-item span{font-size:19px;width:auto}
html.is-mobile-device .bottom-nav .nav-item.active{background:transparent;color:#baf0d2;box-shadow:none}
html.is-mobile-device .bottom-nav .nav-item.active span{color:#baf0d2}
html.is-mobile-device #moreMenuDialog{position:fixed;bottom:0;left:0;right:0;top:auto;margin:0;width:100%;max-width:100%;border-radius:16px 16px 0 0}
html.is-mobile-device #moreMenuDialog::backdrop{background:rgba(18,52,37,.5)}
html.is-mobile-device .more-menu-list{display:grid;gap:6px;padding:14px 16px 24px}
html.is-mobile-device .more-menu-list .nav-item{color:var(--ink);padding:13px 14px;border-radius:9px}
html.is-mobile-device .more-menu-list .nav-item span{color:var(--green)}
html.is-mobile-device .more-menu-list .nav-item.active{background:var(--mint)}
html.is-mobile-device .table-wrap table{display:none}
html.is-mobile-device .card-list{display:grid;gap:10px}
.card-list:empty{display:none}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;cursor:pointer}
.card-title{font-weight:700;font-size:14px;color:var(--ink);margin:0 0 6px}
.card-sub{font-size:11px;color:var(--muted);margin:-4px 0 8px}
.card-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-top:5px;gap:8px}
.card-row b{color:var(--ink);font-weight:700}
.card-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
@media(max-width:620px){
.top-actions{gap:10px}
.online-users{display:none}
.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}
.table-wrap table td:first-child,.table-wrap table th:first-child{position:sticky;left:0;z-index:2;background-color:inherit}
.table-wrap table th:first-child{background-color:#fff}
.property-panel table td:first-child,.property-panel table th:first-child{position:sticky;left:0;z-index:4;background-color:#fff}
.property-panel table tbody tr.property-row-申込済 td:first-child{background-color:#fffdf5}
.property-panel table tbody tr.property-row-契約済 td:first-child{background-color:#f5f9ff}
.property-panel table tbody tr.property-row-販売中 td:first-child{background-color:#f4fbf6}
.property-panel table tbody tr.property-row-売却済 td:first-child{background-color:#f4f5f5}
.property-panel table td:first-child{box-shadow:2px 0 6px rgba(23,34,31,.08)}
.dialog-header h2{font-size:17px}
.panel-heading h2{font-size:16px}
}
.online-avatar{width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700;border:2px solid var(--paper);margin-left:-8px}
.online-avatar:first-child{margin-left:0}
.thumb{width:40px;height:40px;border-radius:8px;background:var(--mint);color:var(--green-dark);display:grid;place-items:center;font-size:18px;flex-shrink:0}
.thumb-sm{width:28px;height:28px;border-radius:6px;font-size:13px}
.thumb-col{width:52px;min-width:52px}
.property-panel table td:first-child{display:flex;align-items:center;gap:9px}
.ledger-detail-dialog{width:min(920px,calc(100% - 32px))}
.ledger-dialog-body{max-height:64vh;overflow-y:auto;padding:4px 27px}
.ledger-fieldset{border:1px solid var(--line);border-radius:8px;margin:0 0 16px;padding:2px 16px 4px}
.ledger-fieldset legend{padding:0 8px;font-weight:700;color:var(--green-dark);font-size:12px;font-family:'Noto Serif JP',serif}
.ledger-fieldset .form-grid{padding:12px 0 8px;grid-template-columns:1fr 1fr}
.form-grid .field-group.wide{grid-column:1/-1}
.field-group{display:grid;gap:7px}
.field-group>span{font-size:11px;font-weight:700;color:#6b6152}
.ledger-checkbox-group{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.ledger-checkbox-group label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--ink)}
.form-grid .ledger-checkbox-group input[type=checkbox]{width:14px;height:14px;margin:0;padding:0;border-radius:3px}
.inline-input{border:1px solid var(--line);border-radius:5px;padding:6px 8px;font:12px inherit;min-width:140px}
.ledger-row-actions{display:flex;gap:6px;justify-content:flex-end}
.ledger-row-actions button{white-space:nowrap}
.ledger-print-sheet{display:none}
@media print{body.print-ledger-detail .app-shell{display:none!important}body.print-ledger-detail .ledger-print-sheet{display:block!important}}
.ledger-print-sheet{font-family:'Noto Sans JP',sans-serif;color:#000;padding:14px;max-width:900px;margin:0 auto}
.ledger-print-sheet table{width:100%;border-collapse:collapse;margin-bottom:2px}
.ledger-print-sheet td,.ledger-print-sheet th{border:1px solid #000;padding:4px 6px;font-size:10.5px;vertical-align:top;text-align:left}
.lp-title{text-align:center;font-size:19px;font-weight:800;padding:6px 0;letter-spacing:.1em}
.lp-date{text-align:right;font-size:11px;padding:0 4px 4px}
.lp-label{background:#f0f0f0;font-weight:700;white-space:nowrap;width:100px}
.lp-section{background:#e2e2e2;font-weight:800;text-align:center}
.lp-note{font-size:9px;margin-top:4px}
.doc-print-sheet{display:none}
@media print{body.print-doc-sheet .app-shell{display:none!important}body.print-doc-sheet .doc-print-sheet{display:block!important}}
.doc-print-sheet{font-family:'Noto Sans JP',sans-serif;color:#000;padding:14px;max-width:700px;margin:0 auto}
.doc-print-sheet table{width:100%;border-collapse:collapse;margin-bottom:16px}
.doc-print-sheet td,.doc-print-sheet th{border:1px solid #000;padding:6px 8px;font-size:11px;vertical-align:top;text-align:left}
.board-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.board-table{border-collapse:separate;border-spacing:0;min-width:700px}
.board-table th,.board-table td{border-bottom:1px solid #ecefe9;border-right:1px solid #ecefe9;padding:3px 8px;font-size:11.5px;white-space:nowrap;text-align:center}
.board-table thead th{background:var(--mint);color:var(--green-dark);font-weight:700;position:sticky;top:0;z-index:4;padding:10px 12px;font-size:11px}
.board-table thead th strong{display:block;font-size:11.5px}
.board-table thead th small{display:block;margin-top:2px;color:#5f7269;font-weight:500;font-size:9.5px}
.board-row-label{text-align:left;background:#fbfbf9;font-weight:700;color:var(--ink);min-width:140px}
.board-group-row th{background:#eaf6ef;color:var(--green-dark);text-align:left;font-size:11px;font-weight:800;padding:4px 12px;letter-spacing:.02em}
.board-cell{padding:2px 6px;white-space:nowrap}
.board-cell select{border:1px solid transparent;background:transparent;font:600 10px inherit;color:var(--ink);padding:2px 1px;border-radius:4px;text-align:center;text-align-last:center;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}
.board-cell select:hover{border-color:#cfe3d7;background:#fff}
.board-cell select:focus{border-color:var(--green);background:#fff;outline:0}
.board-cell .board-worker-select{color:#3f5148;width:96px;flex-shrink:0}
.board-cell .board-status-select{font-weight:700;width:58px;flex-shrink:0}
.board-cell:has(.board-worker-select option[value=""]:checked) .board-worker-select{color:#b7ae9c;font-weight:500}
.board-cell.board-status-done{background:#bfe8cc!important}
.board-cell.board-status-done .board-status-select{color:#155c30;font-weight:800}
.board-cell.board-status-working{background:#fce29a!important}
.board-cell.board-status-working .board-status-select{color:#7a4e00;font-weight:800}
.board-cell.board-status-pending{background:#fff!important}
.board-table tbody tr:not(.board-group-row):hover td:not(.board-row-label){filter:brightness(.97)}
.board-table tbody tr:not(.board-group-row):hover .board-row-label{background:#f1f3ee}

/* Keep dense management tables readable after adding settlement fields. */
body{font-family:'Noto Sans JP','DM Sans',sans-serif;line-height:1.55;font-variant-numeric:tabular-nums}.topbar h1,.panel-heading h2{letter-spacing:0;font-weight:800}.property-panel .table-wrap{overflow-x:auto}.property-panel table{min-width:1440px;table-layout:auto}.property-panel table th{white-space:nowrap;font-size:11px;letter-spacing:0}.property-panel table td{vertical-align:middle;font-size:12px;line-height:1.45}.property-panel table th:nth-child(1){min-width:190px}.property-panel table th:nth-child(2){min-width:110px}.property-panel table th:nth-child(3){min-width:70px}.property-panel table th:nth-child(4){min-width:62px}.property-panel table th:nth-child(5),.property-panel table th:nth-child(6){min-width:108px}.property-panel table th:nth-child(7),.property-panel table th:nth-child(10),.property-panel table th:nth-child(12){min-width:105px}.property-panel table th:nth-child(8),.property-panel table th:nth-child(9){min-width:100px}.property-panel table th:nth-child(11){min-width:100px}.property-panel table th:nth-child(13){min-width:78px}.property-panel table td:nth-child(1){white-space:normal;word-break:keep-all}.property-panel table td:nth-child(5),.property-panel table td:nth-child(6),.property-panel table td:nth-child(7),.property-panel table td:nth-child(10),.property-panel table td:nth-child(12),.property-panel table td:nth-child(13){white-space:nowrap}.property-panel table td:nth-child(8),.property-panel table td:nth-child(9){white-space:normal;word-break:keep-all}.property-panel .money-cell{font-size:12px}.property-panel .property-status,.property-panel .renovation-status{font-size:11px;padding:4px 7px}.form-grid label{line-height:1.4}.form-grid input,.form-grid select,.form-grid textarea{font-family:inherit;font-size:13px;line-height:1.45}
.property-panel .table-wrap{position:relative;padding-right:0}.property-panel table th:last-child,.property-panel table td:last-child{position:sticky;right:0;z-index:2;background:var(--white);box-shadow:-6px 0 10px rgba(18,52,37,.08)}.property-panel table thead th:last-child{z-index:3;background:var(--mint)}.property-panel table tbody tr.property-row-申込済 td:last-child{background:#fdfaf1}.property-panel table tbody tr.property-row-契約済 td:last-child{background:#f2f4f7}.property-panel table tbody tr.property-row-販売中 td:last-child{background:#eef7f1}.property-panel table tbody tr.property-row-売却済 td:last-child{background:#f2f6f3}.property-panel table th,.property-panel table td{padding:8px 9px}.topbar{padding-bottom:14px}.summary-grid{margin-bottom:20px}
.achievement-layout{display:flex;align-items:flex-start;gap:14px}
.achievement-layout .achievement-wrap{flex:1;min-width:0}
.achievement-layout .achievement-chart-side{flex:0 0 260px;width:260px}
.achievement-chart-side .viz-legend{padding:0 0 6px;font-size:10px;gap:10px}
.achievement-side-title{margin:14px 0 6px;font-size:11px;font-weight:700;color:var(--muted)}
.achievement-area-mini{width:100%;border-collapse:collapse}
.achievement-area-mini th,.achievement-area-mini td{padding:4px 6px;font-size:10.5px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.achievement-area-mini th:not(:first-child),.achievement-area-mini td:not(:first-child){text-align:right}
.achievement-area-mini thead th{background:var(--mint);color:var(--green-dark);font-weight:700}
.carpenter-add{display:flex;gap:8px}
.carpenter-add input{border:1px solid var(--line);border-radius:7px;padding:9px 10px;font:500 12px inherit;min-width:160px}
.carpenter-schedule-wrap{overflow:auto}
.carpenter-schedule-table{border-collapse:collapse;min-width:700px}
.carpenter-schedule-table th,.carpenter-schedule-table td{border:1px solid var(--line);padding:7px 9px;font-size:11px;white-space:nowrap;text-align:center}
.carpenter-schedule-table thead th{background:var(--mint);color:var(--green-dark);font-weight:700;text-align:left;vertical-align:top}
.carpenter-schedule-table thead th strong{display:block;font-size:11px}
.carpenter-schedule-table thead th small{display:block;color:#5f7269;font-weight:500;font-size:10px}
.carpenter-name-col{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:130px;white-space:nowrap}
.carpenter-schedule-table thead .carpenter-name-col{z-index:3;background:var(--mint)}
.carpenter-cell{cursor:pointer;min-width:96px;color:var(--ink)}
.carpenter-cell:hover{background:#f3faf6}
.carpenter-cell:empty::after{content:'+';color:#c3c2b7}
[data-carpenter-remove]{margin-left:6px;width:20px;height:20px;line-height:16px;padding:0;font-size:12px;vertical-align:middle}
.carpenter-draggable-row{cursor:grab}
.carpenter-draggable-row.dragging{opacity:.4}
.schedule-group-title{margin:18px 0 4px;font-size:13px;font-weight:800;color:var(--green-dark)}
.schedule-group-title:first-child{margin-top:0}
.line-suggestion-card{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-bottom:12px;background:#fff}
.line-suggestion-card.is-handled{opacity:.55}
.line-suggestion-message{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--ink)}
.line-suggestion-message small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:500}
.line-suggestion-fields{display:flex;flex-wrap:wrap;gap:10px 16px;margin-bottom:10px}
.line-suggestion-fields label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:var(--muted)}
.line-suggestion-fields select,.line-suggestion-fields input{border:1px solid var(--line);border-radius:7px;padding:7px 9px;font:500 12px inherit;min-width:150px}
.line-suggestion-fields label.wide{flex:1 1 100%}
.line-suggestion-fields label.wide input{width:100%}
.line-suggestion-actions{display:flex;justify-content:flex-end;gap:8px}
.line-suggestion-status-label{font-size:11px;font-weight:700;color:var(--muted)}
.property-panel table tbody td:first-child{display:table-cell!important;vertical-align:middle}
.property-panel table tbody tr.property-row-申込済 td,.property-panel table tbody tr.property-row-申込済 td.sticky-sale-column,.property-panel table tbody tr.property-row-申込済 td.sticky-status-column{background:#fdf5dc!important}
.property-panel table tbody tr.property-row-契約済 td,.property-panel table tbody tr.property-row-契約済 td.sticky-sale-column,.property-panel table tbody tr.property-row-契約済 td.sticky-status-column{background:#e9f1fb!important}
.property-panel table tbody tr.property-row-販売中 td,.property-panel table tbody tr.property-row-販売中 td.sticky-sale-column,.property-panel table tbody tr.property-row-販売中 td.sticky-status-column{background:#e8f6ea!important}
.property-panel table tbody tr.property-row-売却済 td,.property-panel table tbody tr.property-row-売却済 td.sticky-sale-column,.property-panel table tbody tr.property-row-売却済 td.sticky-status-column{background:#eceeef!important}
.property-panel table tbody tr.property-row-買取検討 td,.property-panel table tbody tr.property-row-買取検討 td.sticky-sale-column,.property-panel table tbody tr.property-row-買取検討 td.sticky-status-column{background:#fdeee0!important}
.property-panel table tbody tr.property-row-買取確定 td,.property-panel table tbody tr.property-row-買取確定 td.sticky-sale-column,.property-panel table tbody tr.property-row-買取確定 td.sticky-status-column{background:#f1ebfa!important}
.property-panel table tbody tr[class*="property-row-"]:hover td{filter:brightness(.96)}
.property-panel table th.sticky-sale-column,.property-panel table td.sticky-sale-column{right:144px!important;width:124px!important;min-width:124px!important;white-space:nowrap}
.property-panel table th.sticky-status-column,.property-panel table td.sticky-status-column{width:144px!important;min-width:144px!important;white-space:nowrap}
.property-suggestions{max-height:240px;overflow-y:auto;box-shadow:0 10px 24px rgba(18,52,37,.18)}
.property-suggestions button{border-radius:5px}
#alarmList li{cursor:pointer}
#alarmList li:hover{text-decoration:underline}
@media(max-width:900px){.achievement-layout{flex-direction:column}.achievement-layout .achievement-chart-side{width:100%}}

/* SUUMO-inspired brighter color tone for the top nav bar */
:root{--green:#4caf1f;--green-dark:#2e7d0f;--mint:#e8f6dc}
.sidebar{background:#fff!important;color:var(--ink)!important;box-shadow:0 2px 10px rgba(18,52,37,.08)!important}
#desktopNavList > .nav-item,#desktopNavList .nav-group-toggle{color:#5c6b62!important}
#desktopNavList > .nav-item span,#desktopNavList .nav-group-toggle span{color:var(--green)!important}
#desktopNavList > .nav-item:hover,#desktopNavList .nav-group-toggle:hover{background:#f2f9ec!important;color:var(--green-dark)!important;transform:none!important}
#desktopNavList > .nav-item.active,#desktopNavList > .nav-group > .nav-group-toggle.active{background:transparent!important;color:var(--green-dark)!important;box-shadow:none!important;border-radius:6px 6px 0 0!important;border-bottom:3px solid var(--green)!important}
#desktopMoreButton{color:#5c6b62!important}
#desktopMoreButton span{color:var(--green)!important}
#desktopMoreButton.active{background:transparent!important;color:var(--green-dark)!important;box-shadow:none!important;border-bottom:3px solid var(--green)!important;border-radius:6px 6px 0 0!important}
.brand-mark{background:linear-gradient(155deg,#8fe14f 0%,var(--green) 55%,var(--green-dark) 100%)!important}

.priority-number{width:auto!important;height:auto!important;min-width:52px;padding:4px 10px;border-radius:999px!important;font:700 12px 'Noto Sans JP',sans-serif!important;white-space:nowrap}.priority-number.p1{background:#fde7e2;color:#c0392b}.priority-number.p2{background:#fff1d6;color:#a86a00}.priority-number.p3{background:var(--mint);color:var(--green-dark)}

/* スマホ：カード表示がある一覧だけ表を隠し、それ以外（工程一覧・大工スケジュール・出勤簿など）は横スクロールで表示 */
html.is-mobile-device .table-wrap table{display:table}
html.is-mobile-device .table-wrap:has(.card-list) table{display:none}
html.is-mobile-device .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:620px){
.summary-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.summary-card{min-height:0;padding:10px 8px;gap:6px;border-radius:12px}
.summary-card .summary-icon{width:26px;height:26px;font-size:13px;flex-shrink:0}
.summary-card small{font-size:10px}
.summary-card strong{font-size:18px}
.summary-card .summary-caption{display:none}
.summary-card::after{display:none!important}
.panel-actions{flex-wrap:wrap}
.panel-actions button,.panel-actions .zoom-button{white-space:nowrap}
.panel-heading{flex-direction:column;align-items:stretch;gap:10px}
}
/* スマホ：上部バー・余白・ツールバーをPC版に近い品質に整える */
html.is-mobile-device .sidebar{display:flex!important;position:sticky;top:0;z-index:30;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px!important;box-shadow:0 1px 8px rgba(18,52,37,.12)}
html.is-mobile-device .sidebar-nav{flex:0 0 auto;width:auto}
html.is-mobile-device #desktopNavList,html.is-mobile-device .desktop-more-control{display:none!important}
html.is-mobile-device .sidebar .top-actions{margin-left:auto}
html.is-mobile-device .user-chip b,html.is-mobile-device .user-chip em{display:none}
html.is-mobile-device .main-content{padding:12px 12px 92px!important}
html.is-mobile-device .alarm-banner{padding:10px 12px;font-size:12px;margin-bottom:10px}
html.is-mobile-device .alarm-banner ul{max-height:96px;overflow-y:auto;margin:6px 0 0;padding-left:16px}
html.is-mobile-device .workspace-panel .panel-heading{padding:14px 14px 6px;gap:8px}
html.is-mobile-device .workspace-panel .panel-heading p{display:none}
html.is-mobile-device .workspace-panel .panel-actions{margin-top:6px;gap:6px}
html.is-mobile-device .workspace-panel .panel-actions button{height:36px;padding:0 12px;font-size:12px}
html.is-mobile-device .workspace-panel .toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 14px}
html.is-mobile-device .workspace-panel .toolbar .search-box{grid-column:1/-1}
html.is-mobile-device .workspace-panel .toolbar label:not(.search-box){display:grid;gap:3px;font-size:11px}
html.is-mobile-device .workspace-panel .toolbar select{width:100%;height:36px;font-size:13px}
html.is-mobile-device .card-list{padding:8px 12px 12px}
html.is-mobile-device .board-table th:first-child,html.is-mobile-device .board-table td:first-child{min-width:72px;width:72px;padding:6px 4px;font-size:11px}html.is-mobile-device .workspace-panel .toolbar .filter-group{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
html.is-mobile-device .workspace-panel .toolbar .filter{white-space:nowrap;writing-mode:horizontal-tb;padding:7px 12px;height:auto;font-size:12px}
html.is-mobile-device .workspace-panel .toolbar .sort-button,html.is-mobile-device .workspace-panel .toolbar .zoom-control{grid-column:auto;white-space:nowrap}
html.is-mobile-device .workspace-panel .toolbar label:not(.search-box){display:flex;flex-direction:column;align-items:stretch;gap:3px;font-size:11px;line-height:1.2}
html.is-mobile-device .workspace-panel .toolbar select{height:auto;min-height:36px;padding:7px 28px 7px 10px;line-height:1.3}html.is-mobile-device .workspace-panel .toolbar label:not(.search-box){height:auto;min-height:54px;padding:6px 10px;overflow:visible;justify-content:center}
html.is-mobile-device .workspace-panel .toolbar label:not(.search-box) select{min-height:0;height:24px;padding:0 18px 0 0;border:0;background-color:transparent;font-size:14px;font-weight:700}