.ec{max-width:1360px;margin:0 auto;padding:16px 20px 40px;color:#203043;font-size:13px}.ec *{box-sizing:border-box}.ec [hidden]{display:none!important}.ec h1{font-size:21px;margin:0}.ec h2{font-size:16px;margin:0 0 12px}.ec h3{font-size:14px;margin:18px 0 8px}.ec p{line-height:1.6}.ec a{color:#245fad;text-decoration:none}.ec a:hover{text-decoration:underline}.ec button,.ec .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #cbd5e1;border-radius:5px;padding:7px 11px;background:#fff;color:#25374c;font:inherit;text-decoration:none;cursor:pointer;white-space:normal}.ec button:hover,.ec .btn:hover{background:#f1f5f9}.ec button.primary,.ec .btn.primary{background:#244f84;color:#fff;border-color:#244f84}.ec button:disabled{opacity:.5;cursor:default}.ec input,.ec textarea,.ec select{font:inherit;color:inherit;border:1px solid #cbd5e1;border-radius:4px;padding:8px;background:#fff;min-width:0;max-width:100%;width:100%}.ec input[type=checkbox],.ec input[type=radio]{width:16px;height:16px;flex:0 0 16px}.ec input[type=date]{min-height:35px;-webkit-appearance:none}.ec textarea{min-height:75px;resize:vertical;line-height:1.6}.ec :focus-visible{outline:2px solid #2563eb;outline-offset:2px}.ec label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#435168}.ec .check{display:flex;flex-direction:row;align-items:center;gap:7px}.ec .row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ec .spread{justify-content:space-between}.ec .stack{display:grid;gap:12px}.ec .muted{color:#64748b;font-size:12px}.ec .panel{background:#fff;border:1px solid #dce3ec;border-radius:6px;padding:16px;margin:14px 0}.ec .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ec .full{grid-column:1/-1}.ec .two{grid-column:span 2}.ec .filters{display:grid;grid-template-columns:2fr repeat(3,minmax(110px,1fr));gap:10px;align-items:end}.ec .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ec .table-wrap{width:100%}.ec table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.ec th{text-align:left;font-weight:600;color:#586578;background:#f8fafc;border-bottom:1px solid #dce3ec;padding:10px 8px}.ec td{vertical-align:top;padding:11px 8px;border-bottom:1px solid #e9edf2;overflow-wrap:anywhere}.ec td.num,.ec th.num{text-align:right}.ec td.select-col,.ec th.select-col{width:34px}.ec .badge{display:inline-block;padding:3px 7px;border-radius:4px;font-size:11px;background:#eef2f6;color:#4b5b70;white-space:nowrap}.ec .badge.pending,.ec .badge.returned,.ec .badge.draft{color:#8a5807;background:#fff4dc}.ec .badge.approved,.ec .badge.confirmed{color:#216244;background:#e9f5ee}.ec .badge.cancelled,.ec .badge.rejected{color:#934444;background:#faeeee}.ec .status-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border-bottom:1px solid #e9edf2;padding:10px 0}.ec .notice{background:#fffbeb;border:1px solid #f1db9d;padding:10px 12px;border-radius:5px;line-height:1.7;white-space:pre-wrap}.ec .error{background:#fff0f0;border-color:#e3acac;color:#9d3232}.ec .success{background:#edf7f0;border-color:#b4d7bd;color:#256444}.ec .tabs{display:flex;gap:0;flex-wrap:wrap;border-bottom:1px solid #dce3ec;margin-top:18px}.ec .tabs button,.ec .tabs a{border:0;border-radius:0;background:transparent;padding:11px 15px;color:#596b82}.ec .tabs [aria-selected=true],.ec .tabs .active{border-bottom:2px solid #244f84;color:#244f84;font-weight:600}.ec .item-form{padding:12px;border:1px solid #e0e6ee;border-radius:5px;margin:8px 0}.ec .item-grid{display:grid;grid-template-columns:2fr 1fr 90px 130px;gap:9px}.ec .participant{display:grid;grid-template-columns:1.1fr 120px 1fr 1fr auto;gap:8px;margin:8px 0}.ec .thumbs{display:flex;gap:8px;flex-wrap:wrap}.ec .thumbs img{width:116px;height:94px;object-fit:contain;background:#f8fafc;border:1px solid #dce3ec;border-radius:4px}.ec .break{overflow-wrap:anywhere;white-space:pre-wrap}.ec .actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ec dialog{border:1px solid #cbd5e1;border-radius:8px;max-width:760px;width:calc(100% - 24px);max-height:90dvh;overflow:auto;padding:20px;color:#203043}.ec dialog::backdrop{background:#14283e70}.ec .stat{padding:10px 16px;border-left:3px solid #8ba7c8}.ec .stat b{font-size:19px;display:block;margin:3px 0}.ec .empty{padding:26px 14px;text-align:center;color:#64748b}.ec .hint-list{padding-left:20px;color:#8a5807}.ec .receipt{border-top:1px solid #e5eaf0;padding-top:10px;margin-top:10px}.ec .record{border-bottom:1px solid #dce3ec;padding:14px 0}.ec .record:last-child{border:0}.ec .report-preview{width:100%;height:75vh;border:1px solid #dce3ec;background:#fff}.ec .sticky-actions{background:#fff;padding:10px 0;border-top:1px solid #e0e7ef;z-index:2}.ec .copy{font-size:11px;padding:3px 6px}.ec .steps{font-size:12px;color:#64748b;margin:8px 0}.ec .mini{font-size:11px;padding:2px 7px}.ec .right{margin-left:auto}.ec .kv{display:grid;gap:10px;margin:0}.ec .kv>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px;align-items:start}.ec .kv dt{color:#64748b;font-size:12px;padding-top:2px}.ec .kv dd{margin:0;line-height:1.6}.ec .chip{display:inline-block;padding:3px 9px;border-radius:99px;background:#eef2f6;color:#25374c;font-size:12px;margin:2px 0}.ec .chip.off{text-decoration:line-through;opacity:.6}.ec ul.plain{margin:0;padding-left:18px}.ec .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ec .stat span{font-size:12px;color:#64748b;display:block}.ec .stat.over b{color:#9d3232}.ec .bar{height:8px;background:#e9edf2;border-radius:99px;overflow:hidden;margin:10px 0}.ec .bar span{display:block;height:100%;background:#244f84}.ec .bar span.over{background:#c0392b}.ec section.panel>h2{padding-bottom:8px;border-bottom:1px solid #e9edf2}
.ec .choice{display:flex;flex-wrap:wrap;gap:6px}.ec .choice-item{position:relative;display:inline-flex;flex-direction:row;margin:0}.ec .choice-item input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.ec .choice-item span{display:inline-block;padding:7px 12px;border:1px solid #cbd5e1;border-radius:99px;background:#fff;color:#25374c;font-size:13px;cursor:pointer;line-height:1.3;min-width:44px;text-align:center}.ec .choice-item input:checked+span{background:#244f84;border-color:#244f84;color:#fff}.ec .choice-item input:focus-visible+span{outline:2px solid #2563eb;outline-offset:2px}.ec .choice-item input:disabled+span,.ec .choice-item.is-disabled span{opacity:.45;cursor:not-allowed;background:#f1f5f9;color:#7c8797;border-style:dashed;text-decoration:line-through}.ec .month-picker button:disabled{opacity:.35;cursor:not-allowed}.ec .month-picker{display:grid;gap:8px}.ec .month-picker>.row{justify-content:flex-start;gap:12px}.ec .field{display:grid;gap:6px}.ec .field>b{font-size:12px;color:#435168;font-weight:600}
.ec .entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.ec .entry{display:flex;flex-direction:column;gap:8px;padding:18px 18px 16px;border:1px solid #dce3ec;border-radius:8px;background:#fff;color:#203043;text-decoration:none;min-height:120px}.ec a.entry:hover{border-color:#93c5fd;box-shadow:0 4px 14px rgba(15,23,42,.08);text-decoration:none}.ec .entry.soon{background:#f8fafc;color:#64748b}.ec .entry .name{font-size:17px;font-weight:700;display:flex;align-items:center;gap:8px}.ec .entry .desc{font-size:12.5px;line-height:1.6;color:#586578}.ec .entry .lane{font-size:11px;color:#64748b;letter-spacing:.04em}
.ec .card-list{display:grid;gap:10px}.ec .card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid #dce3ec;border-radius:6px;background:#fff}.ec .card.no-select{grid-template-columns:minmax(0,1fr) auto}.ec .card .title{font-size:15px;font-weight:700}.ec .card .meta{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:6px;font-size:12px;color:#586578;align-items:center}.ec .card .amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ec .card .amount b{display:block;font-size:15px}
.ec .calendar{margin-top:10px;width:100%;min-width:0}.ec .cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;font-size:11px;color:#64748b;margin-bottom:4px}.ec .cal-weekdays span{min-width:0}.ec .cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ec .cal-cell{position:relative;aspect-ratio:1;min-width:0;padding:4px;border:1px solid #dce3ec;border-radius:5px;background:#fff;font-size:12px;color:#25374c;cursor:pointer;display:flex;align-items:flex-start;justify-content:flex-start}.ec .cal-cell.empty{border:0;background:transparent;cursor:default}.ec .cal-cell.has-events{border-color:#8ba7c8;background:#eef4fb}.ec .cal-cell.selected{border-color:#244f84;background:#244f84;color:#fff}.ec .cal-dot{position:absolute;right:2px;bottom:2px;font-size:10px;background:#244f84;color:#fff;border-radius:99px;padding:0 4px;line-height:1.5}.ec .cal-cell.selected .cal-dot{background:#fff;color:#244f84}
.ec .shop{border:1px solid #dce3ec;border-radius:6px;padding:14px;margin:10px 0}.ec .shop-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:flex-start}.ec .shop-head .shop-name{font-size:15px;font-weight:700}.ec .products{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:4px}.ec .products li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:6px 8px;background:#f8fafc;border-radius:4px}.ec .products li .note{grid-column:1/-1;font-size:11.5px;color:#64748b}.ec .photos{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}.ec .subtle{font-size:11.5px;color:#64748b}.ec .approve-actions{display:flex;gap:8px;flex-wrap:wrap}.ec .approve-actions button{min-width:120px;padding:10px 16px;font-size:14px}
.ec .ent-participant [data-contact-search]{position:relative}.ec .ent-participant>label:first-child{position:relative}.ec .suggest{position:absolute;top:100%;left:0;right:0;z-index:5;background:#fff;border:1px solid #cbd5e1;border-radius:5px;box-shadow:0 6px 16px rgba(15,23,42,.12);max-height:180px;overflow:auto;margin-top:2px}.ec .suggest-item{padding:8px 10px;font-size:12.5px;color:#25374c;cursor:pointer}.ec .suggest-item:hover{background:#eef4fb}.ec .suggest-item.muted{color:#64748b;font-style:italic}
.ec .mf-day{border:1px solid #dce3ec;border-radius:6px;padding:12px;margin:10px 0;background:#fff}.ec .mf-day h3{margin:0 0 8px;font-size:13px;color:#586578}.ec .mf-row{display:grid;grid-template-columns:96px minmax(0,1fr) 110px 140px auto;gap:10px;align-items:center;padding:9px 6px;border-bottom:1px solid #eef1f5}.ec .mf-row:last-child{border-bottom:0}.ec .mf-row .amount{text-align:right;font-variant-numeric:tabular-nums}.ec .mf-row .title{overflow-wrap:anywhere}.ec .mf-only{opacity:.85}
.ec .badge.cat-travel{color:#1d4ed8;background:#e7eefc}.ec .badge.cat-entertainment{color:#b45309;background:#fdf1de}.ec .badge.cat-meeting{color:#15803d;background:#e6f6ec}.ec .badge.cat-supplies{color:#7c3aed;background:#f3ebfd}.ec .badge.cat-other{color:#475569;background:#eef2f7}
.ec .badge.pay-card{color:#5b3a9e;background:#efe7fb}.ec .badge.pay-bank{color:#0f6a5e;background:#e1f3ef}.ec .badge.pay-cash{color:#8a5807;background:#fff4dc}.ec .badge.pay-other{color:#4b5b70;background:#eef2f6}
.ec .line.event-card-line{background:#eef4fb;border-left-color:#1d4ed8;border-top-color:#dbe8fb;border-right-color:#dbe8fb;border-bottom-color:#dbe8fb}.ec .nested-expense-line{margin:6px 0!important;padding:8px 10px!important;font-size:12.5px}
.ec .journal-list{display:grid;gap:12px;margin-top:10px}.ec .journal-entry{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:start;padding:14px;border:1px solid #dce3ec;border-radius:8px;background:#fff;position:relative}.ec .journal-entry.imbalanced{border-color:#e3acac;background:#fff9f9}.ec .journal-group{grid-column:1/-1;font-size:12px;font-weight:600;color:#586578}.ec .journal-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-radius:6px}.ec .journal-side.debit{background:#eef4fb}.ec .journal-side.credit{background:#f6f3fc}.ec .journal-side .side-label{grid-column:1/-1;font-size:12px;font-weight:700;color:#25374c}.ec .journal-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:120px}.ec .journal-totals{margin-top:14px}
.ec .day-group{border:1px solid #dce3ec;border-radius:7px;margin:12px 0;background:#fff;overflow:hidden}
.ec .day-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #eef1f5}
.ec .day-head .day-title{font-size:14px;font-weight:700;white-space:nowrap}
.ec .day-head .dest{color:#245fad;font-size:12.5px;overflow-wrap:anywhere}
.ec .day-head .unconf{margin-left:auto}
.ec .day-body{padding:10px 12px}
.ec .events-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}
.ec .autosave-state{font-size:11px;color:#8a9099}
.ec .autosave-state.dirty{color:#8a5807}
.ec .autosave-state.saved{color:#216244}
.ec .autosave-state.failed{color:#9d3232}
.ec .line,.ec .line-collapsed{border-left:4px solid #cbd5e1;border-radius:5px;background:#f8fafc;padding:10px 12px;margin:10px 0;cursor:pointer;border-top:1px solid transparent;border-right:1px solid transparent;border-bottom:1px solid transparent}
.ec .line:hover,.ec .line-collapsed:hover{box-shadow:0 1px 4px rgba(15,23,42,.1)}
/* 勘定科目の色(バッジ・左側の太い境界線・薄い背景)を主な識別シグナルとする。状態はバッジ文字色で表す */
.ec .line.cat-travel-line,.ec .line-collapsed.cat-travel-line{background:#eef4fd;border-top-color:#dbe8fb;border-right-color:#dbe8fb;border-bottom-color:#dbe8fb;border-left-color:#2563eb}
.ec .line.cat-entertainment-line,.ec .line-collapsed.cat-entertainment-line{background:#fdf6ec;border-top-color:#f6e6cc;border-right-color:#f6e6cc;border-bottom-color:#f6e6cc;border-left-color:#d97706}
.ec .line.cat-meeting-line,.ec .line-collapsed.cat-meeting-line{background:#eef8f1;border-top-color:#d8ecdf;border-right-color:#d8ecdf;border-bottom-color:#d8ecdf;border-left-color:#16a34a}
.ec .line.cat-supplies-line,.ec .line-collapsed.cat-supplies-line{background:#f6f1fc;border-top-color:#e4d4f7;border-right-color:#e4d4f7;border-bottom-color:#e4d4f7;border-left-color:#7c3aed}
.ec .line.cat-other-line,.ec .line-collapsed.cat-other-line{background:#f7f9fb;border-top-color:#dde3ea;border-right-color:#dde3ea;border-bottom-color:#dde3ea;border-left-color:#64748b}
/* 状態(未確認・要対応/確認済み/個人利用)を薄い背景色でも示す。勘定科目の左側太線・バッジ色は
   上のcat-*-lineルールのまま保ち、背景色だけを状態で上書きする(後に書くこの3ルールが優先される)。 */
.ec .line.bg-attention,.ec .line-collapsed.bg-attention{background:#fffbea}
.ec .line.bg-done,.ec .line-collapsed.bg-done{background:#eef8f1}
.ec .line.bg-personal,.ec .line-collapsed.bg-personal{background:#fdeeee}
.ec .line-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ec .line-main .summary{flex:1;min-width:160px;overflow-wrap:anywhere}
.ec .line-main .amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}
.ec .line-sub{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:6px;font-size:11.5px;color:#64748b;align-items:center}
.ec .line-sub textarea{min-height:32px;cursor:text}
.ec .line-summary{margin-top:4px;font-size:11.5px;color:#586578;overflow-wrap:anywhere}
.ec .line-collapsed{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;color:#586578}
.ec .etc-tree{border-left:4px solid #2563eb;border-radius:5px;background:#eef4fd;border:1px solid #dbe8fb;padding:8px 12px;margin:10px 0}
.ec .etc-tree summary{cursor:pointer;font-size:12.5px;color:#25374c}
.ec .etc-tree .line,.ec .etc-tree .line-collapsed{background:#fff;margin:6px 0}
.ec .contact-chip{background:#eef2f6}
.ec .status-buttons{display:flex;flex-wrap:wrap;gap:5px}
.ec .status-buttons button{padding:5px 9px;font-size:11.5px}
.ec .filter-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;padding:12px;border:1px solid #dce3ec;border-radius:6px;background:#fff;margin:10px 0}
.ec .filter-bar .field{gap:4px;min-width:0}
.ec .filter-bar .choice{gap:4px}
.ec .filter-bar .choice-item span{padding:5px 10px;font-size:12px}
.ec .period-picker{padding:12px;border:1px solid #dce3ec;border-radius:6px;background:#fff;margin:10px 0;display:grid;gap:8px}
.ec .period-picker .choice-item span{padding:5px 10px;font-size:12px}
.ec .period-picker .row{align-items:center}
.ec dialog.detail-modal{max-width:640px}
.ec .att-modal img{max-width:100%;max-height:70vh;display:block;margin:0 auto}
.ec .line-main [data-complete]{margin-left:auto}
.ec .cat-chip{padding:4px 9px;border-radius:99px;font-size:11.5px;border:1px solid #cbd5e1;background:#fff;color:#4b5b70;cursor:pointer}
.ec .cat-chip.is-selected{border-color:transparent;color:#fff}
.ec .cat-chip.supply-cat-0.is-selected{background:#7c3aed}
.ec .cat-chip.supply-cat-1.is-selected{background:#2563eb}
.ec .cat-chip.supply-cat-2.is-selected{background:#0f766e}
.ec .cat-chip.supply-cat-3.is-selected{background:#b45309}
.ec .cat-chip.supply-cat-4.is-selected{background:#be123c}
.ec .cat-chip.supply-cat-5.is-selected{background:#15803d}
.ec .cat-chip.supply-cat-6.is-selected{background:#0369a1}
.ec .cat-chip.supply-cat-7.is-selected{background:#a16207}
@media(max-width:600px){.ec .day-head{gap:6px 8px}.ec .line-main .summary{min-width:0}}
@media(max-width:900px){.ec .mf-row{grid-template-columns:1fr;gap:4px}.ec .mf-row .amount{text-align:left}}
@media(max-width:900px){.ec .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ec .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec .participant{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ec .period-picker.single [data-pp-recent3],.ec .period-picker.single [data-pp-recent12],.ec .period-picker.single [data-pp-clear],.ec .period-picker.single label.check:has([data-pp-multi]){display:none}
.ec .figure-box{background:#f6f8fb;border:1px solid #e3e8ef;border-radius:8px;padding:10px 12px;margin:6px 0 12px}.ec .figure-box .row>div{min-width:120px}.ec td[data-figure] b{font-weight:600}.ec td[data-figure] .muted{display:block;font-size:12px}
@media(max-width:600px){.ec{padding:12px 10px 30px;font-size:13px}.ec .panel{padding:12px}.ec .form-grid{grid-template-columns:minmax(0,1fr)}.ec .two{grid-column:auto}.ec .form-grid .full{grid-column:auto}.ec .filters{gap:8px}.ec .filters .wide{grid-column:1/-1}.ec h1{font-size:18px}.ec .status-row{grid-template-columns:auto minmax(0,1fr)}.ec .status-row .actions{grid-column:1/-1;margin:0}.ec .tabs button,.ec .tabs a{padding:10px;font-size:12px}.ec .responsive thead{display:none}.ec .responsive table,.ec .responsive tbody,.ec .responsive tr,.ec .responsive td{display:block;width:100%}.ec .responsive tr{padding:8px 0;border-bottom:1px solid #dce3ec}.ec .responsive td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;border:0;padding:4px 0;text-align:left;white-space:normal}.ec .responsive td:before{content:attr(data-label);color:#64748b;font-size:11px}.ec .responsive td.num{text-align:left}.ec .responsive td.select-col{width:100%;display:flex}.ec .responsive td.select-col:before{display:none}.ec .stat{padding:7px 10px}.ec .stat b{font-size:17px}.ec .report-preview{height:65vh}.ec dialog{padding:14px}.ec .kv>div{grid-template-columns:minmax(0,1fr)}.ec .stats{grid-template-columns:minmax(0,1fr)}.ec .entry-grid{grid-template-columns:minmax(0,1fr)}.ec .card{grid-template-columns:auto minmax(0,1fr)}.ec .card .amount{grid-column:2;text-align:left}.ec .card .amount b{display:inline;margin-right:8px}.ec .card.no-select{grid-template-columns:minmax(0,1fr)}.ec .card.no-select .amount{grid-column:1;text-align:left}.ec .approve-actions button{flex:1}.ec .journal-entry{grid-template-columns:minmax(0,1fr)}.ec .journal-side{grid-template-columns:minmax(0,1fr)}.ec .journal-actions{flex-direction:row;flex-wrap:wrap;min-width:0}}

/* MF証憑・会食情報（経費明細チェック／経費整合確認 共通） */
.ec .mf-evidence-modal{width:min(820px,calc(100vw - 24px))}
.ec .evidence-section{border:1px solid #dbe5f0;border-radius:12px;padding:14px;margin:12px 0;background:#f8fbff}
.ec .evidence-section h3{margin:0 0 10px}
.ec .evidence-transcript{white-space:pre-wrap;max-height:40vh;overflow:auto;background:#fff;border:1px solid #dce3ec;border-radius:8px;padding:12px;font:13px/1.7 system-ui;color:#1e293b}
.ec .evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ec .evidence-grid>label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.ec .evidence-grid input[type=number]{padding:9px;border:1px solid #cbd5e1;border-radius:7px}
.ec .evidence-yn{display:flex;gap:6px;flex-wrap:wrap}
.ec .evidence-yn label{font-weight:400;border:1px solid #cbd5e1;border-radius:999px;padding:5px 9px;background:#fff}
@media(max-width:700px){.ec .evidence-grid{grid-template-columns:1fr}}
/* 期を選ぶ(periodPicker layout:'fiscal'、2026-10-02): 経費明細チェックの期選択と同じ見た目 */
.ec .period-picker.pp-fiscal{padding:14px 16px;border-radius:12px;border-top:4px solid #2563eb;background:linear-gradient(180deg,#f4f8ff 0,#fff 120px);gap:10px}
.ec .pp-fiscal .pp-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ec .pp-fiscal .pp-head h2{margin:0;font-size:16px;display:flex;align-items:center}
.ec .pp-fiscal .pp-multi{font-size:12px;color:#475569}
.ec .pp-help{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:11px;font-weight:700;line-height:1;cursor:help;flex:none;outline:none;margin-left:6px}
.ec .pp-help::after{content:attr(data-tip);position:absolute;left:0;top:calc(100% + 6px);z-index:20;width:max-content;max-width:min(320px,80vw);padding:8px 10px;border-radius:8px;background:#1e293b;color:#fff;font-size:12px;font-weight:400;line-height:1.5;white-space:normal;text-align:left;box-shadow:0 4px 14px rgba(15,23,42,.18);display:none}
.ec .pp-help:hover::after,.ec .pp-help:focus::after{display:block}
.ec .pp-fys{display:flex;flex-wrap:wrap;gap:8px}
.ec .pp-fy{border:1px solid #dce3ec;background:#fff;border-radius:12px;padding:8px 12px;text-align:left;cursor:pointer;min-width:150px;color:#0f172a;transition:border-color .15s,box-shadow .15s,transform .15s}
.ec .pp-fy:hover{border-color:#93b4f4;box-shadow:0 4px 14px rgba(37,99,235,.10);transform:translateY(-1px)}
.ec .pp-fy b{display:block;font-size:15px}.ec .pp-fy small{color:#64748b;font-size:11px}
.ec .pp-fy.active{color:#fff;border-color:#2563eb;background:linear-gradient(135deg,#173b6c,#2563eb);box-shadow:0 5px 16px rgba(37,99,235,.22)}
.ec .pp-fy.active small{color:#dbeafe}
.ec .pp-months{display:flex;flex-wrap:wrap;gap:6px}
.ec .pp-month{position:relative;display:inline-flex;margin:0;border:1px solid #dce3ec;background:#f8fafc;border-radius:999px;padding:4px 10px;font-size:12px;cursor:pointer;color:#0f172a;transition:.15s;line-height:1.5}
.ec .pp-month:hover{border-color:#93b4f4;background:#eff6ff}
.ec .pp-month input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.ec .pp-month:has(input:focus-visible){outline:2px solid #2563eb;outline-offset:2px}
.ec .pp-month small{color:inherit;opacity:.75;margin-left:3px}
.ec .pp-month.active{background:linear-gradient(135deg,#1d4ed8,#3b82f6);border-color:#2563eb;color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.20)}
@media(max-width:900px){
  .ec .pp-fys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ec .pp-fy{min-width:0;width:100%;padding:10px}.ec .pp-fy b{font-size:14px}.ec .pp-fy small{font-size:10px;line-height:1.45}
  .ec .pp-months{flex-wrap:nowrap;overflow-x:auto;margin-inline:-14px;padding:2px 14px 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .ec .pp-month{flex:0 0 auto;min-height:36px;align-items:center;scroll-snap-align:start}
}
/* 経費整合確認: 日付メモ(kind='memo'、税務調査スプシの日付メモ等)を日付の下に読み取り専用で表示(2026-10-03) */
.ec .day-memo{display:grid;gap:6px;margin:0 0 8px;padding:8px 10px;border-left:3px solid #94a3b8;background:#f8fafc;border-radius:6px;font-size:12.5px;color:#334155}
.ec .day-memo b{font-size:11.5px;color:#475569}
.ec .day-memo-body{white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}
/* 経費整合確認の一覧(2026-10-03): 旧スプシ版レビュー画面に合わせ、日付ごとのカードの中に
   「勘定科目 | 内容(摘要・スプシの記録・補足説明・個人振替・取引先・コメント) | 金額 | 支払元・確認」の行を罫線で並べる */
.ec .rv-days .day-group{border:1px solid #dde3ea;border-radius:10px;margin:14px 0;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.ec .rv-days .day-head{padding:10px 14px;background:#f5f7f9;border-bottom:1px solid #e6ebf0}
.ec .rv-days .day-head .day-title{font-size:15px}
.ec .rv-days .day-body{padding:0}
.ec .rv-days .day-memo{margin:0;border:0;border-bottom:1px solid #eef1f5;border-radius:0;background:#fbfcfd;padding:8px 14px;font-size:12px;color:#4b5563}
.ec .rv-days .day-memo b{font-size:10.5px;font-weight:600;color:#94a3b8}
.ec .rv-days .events-row{margin:0;padding:8px 14px;border-bottom:1px solid #eef1f5}
.ec .rv-days .day-body>.stack{gap:0}
.ec .rv-row{display:grid;grid-template-columns:104px minmax(0,1fr) 92px 168px;gap:8px 16px;align-items:start;padding:12px 14px;border-bottom:1px solid #eef1f5;background:#fff;cursor:pointer}
.ec .rv-row:last-child{border-bottom:0}
.ec .rv-row:hover{background:#fafbfc}
.ec .rv-row.bg-attention{background:#fffdf4}
.ec .rv-row.bg-personal{background:#fff6f5}
.ec .rv-row.bg-done{background:#f7fbf8}
.ec .rv-row.is-done{color:#4b5563}
.ec .rv-row.is-done .rv-title{color:#374151;font-weight:600}
.ec .rv-cat .badge{font-weight:700;font-size:11px;border-radius:4px;padding:3px 8px;white-space:nowrap}
.ec .rv-days .badge.cat-travel{background:#d9e3ec;color:#2e4a63}
.ec .rv-days .badge.cat-entertainment{background:#e9dce8;color:#5a3b57}
.ec .rv-days .badge.cat-meeting{background:#dee8d2;color:#3d5a2c}
.ec .rv-main{min-width:0}
.ec .rv-title{font-weight:700;font-size:13.5px;color:#111827;overflow-wrap:anywhere;line-height:1.45}
.ec .rv-meta{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;margin-top:4px;font-size:11.5px;color:#64748b}
.ec .rv-amt{text-align:right;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#111827}
.ec .rv-act{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;font-size:11.5px;min-width:0}
.ec .rv-act .badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .rv-who{font-size:10.5px;line-height:1.4}
.ec .rv-ok{border:1px solid #3f6b4c;background:#e4efe6;color:#2f5a3c;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.ec .rv-ok:hover{background:#d5e7d9}
.ec .rv-ok:disabled{opacity:.6;cursor:default}
/* スプシの記録(税務調査スプシからの取込) */
.ec .rv-sheet{display:grid;gap:4px;margin-top:8px}
.ec .rv-flag{font-size:12px;line-height:1.5;padding:4px 9px;border-left:3px solid #94a3b8;border-radius:4px;background:#f1f5f9;color:#1f2937}
.ec .rv-flag b{margin-right:4px}
.ec .rv-flag.yellow{background:#fbf0c4;border-color:#e6c300}
.ec .rv-flag.orange{background:#fbe3c6;border-color:#e88a2e}
.ec .rv-flag.blue{background:#d9e7f5;border-color:#4c8fd6}
.ec .rv-flag.red{background:#f8dcd7;border-color:#a8402f}
.ec .rv-tags{display:flex;flex-wrap:wrap;gap:4px}
.ec .rv-tag{font-size:11px;padding:2px 8px;border-radius:999px;background:#eef1f4;color:#374151;border:1px solid #dfe4ea}
.ec .rv-tag.danger{background:#f8dcd7;border-color:#e7b3a9;color:#8a2f20;font-weight:700}
.ec .rv-field{font-size:11.5px;color:#4b5563;line-height:1.5;overflow-wrap:anywhere}
.ec .rv-field b{font-weight:600;color:#6b7280;margin-right:6px}
.ec .rv-row .line-sub{margin-top:8px}
.ec .rv-note{display:block}
.ec .rv-note label{display:grid;gap:3px;width:100%}
.ec .rv-note textarea{width:100%;min-height:34px;font-size:12.5px;padding:6px 8px;border:1px solid #d6dde5;border-radius:6px;background:#fff;resize:vertical}
.ec .rv-note textarea:not(:placeholder-shown){background:#f3f8f4;border-color:#b9d3c0}
/* コメント(明細の中にそのまま表示) */
.ec .rv-cmts{display:grid;gap:4px;margin-top:8px;padding-top:6px;border-top:1px dashed #e2e8f0}
.ec .rv-cmt{font-size:12px;line-height:1.5;padding:4px 9px;border-left:3px solid #4c8fd6;border-radius:4px;background:#eef4fb;white-space:pre-wrap;overflow-wrap:anywhere}
.ec .rv-cmt.question{border-left-color:#d97706;background:#fdf3e4}
.ec .rv-cmt .meta{font-size:10.5px;color:#64748b;margin-right:6px}
.ec .rv-cmt-new{display:flex;gap:6px;align-items:center}
.ec .rv-cmt-new input{flex:1;min-width:0;font-size:12px;padding:5px 8px;border:1px solid #d6dde5;border-radius:6px}
.ec .rv-days .etc-tree{margin:0;border:0;border-bottom:1px solid #eef1f5;border-radius:0;background:#f6f9fc;padding:10px 14px}
.ec .rv-days .etc-tree .rv-row{background:#fff;border:1px solid #e6ebf0;border-left:3px solid #2563eb;border-radius:6px;margin:6px 0}
@media(max-width:820px){
  .ec .rv-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px}
  .ec .rv-cat{grid-column:1/2}
  .ec .rv-amt{grid-column:2/3;grid-row:1}
  .ec .rv-main{grid-column:1/-1}
  .ec .rv-act{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center}
}
.ec .rv-detail{font-size:11px;color:#475569}
.ec .rv-title{cursor:pointer}.ec .rv-title:hover{text-decoration:underline;text-decoration-color:#94a3b8}
/* 補足説明の最終更新・変更履歴、税理士に確認したいこと(§83、2026-10-03) */
.ec .rv-note-meta{display:block;margin-top:3px;font-size:10.5px;color:#94a3b8}
.ec .linklike{background:none;border:0;padding:0;color:#2563eb;font-size:10.5px;cursor:pointer;text-decoration:underline}
.ec .rv-note-history{margin:4px 0 0;padding:6px 10px 6px 26px;background:#f8fafc;border:1px solid #e6ebf0;border-radius:6px;display:grid;gap:4px;font-size:11.5px;color:#374151}
.ec .rv-note-history li{white-space:pre-wrap;overflow-wrap:anywhere}
.ec .rv-note-history .meta{display:block;font-size:10.5px;color:#94a3b8}
.ec .rv-cmt.ask{border-left-color:#d97706;background:#fdf1de}
.ec .rv-cmt.resolved{border-left-color:#3f6b4c;background:#e4efe6}
.ec .rv-ask-row{display:flex;justify-content:flex-start}
.ec .rv-ask-btn{font-size:11px;color:#9a5b05;border-color:#f0cf9a;background:#fff8ec}
.ec .rv-ask-form{display:grid;gap:6px;padding:8px;border:1px solid #f0cf9a;border-radius:6px;background:#fffaf2}
.ec .rv-ask-form textarea{width:100%;min-height:52px;font-size:12.5px;padding:6px 8px;border:1px solid #e6c896;border-radius:6px}
.ec .rv-ask-badge{font-weight:700}
/* 経費整合確認(§84、2026-10-03): 旧スプシ版「経費台帳レビュー」の配色(紙色・墨色・朱・緑)に寄せる。この画面(.rv-page)だけに効く */
.ec.rv-page{--rv-paper:#e7e9e2;--rv-raised:#f1f2ed;--rv-ink:#20261f;--rv-ink-soft:#4b5248;--rv-rule:#c7cabc;--rv-rule-soft:#d8dacd;--rv-accent:#a8402f;--rv-accent-soft:#c97c6e;--rv-accent-wash:#f1dcd6;--rv-ok:#3f6b4c;--rv-ok-wash:#dde7de;background:var(--rv-paper);color:var(--rv-ink);min-height:100%}
.ec.rv-page>.muted{color:var(--rv-ink-soft)}
.ec.rv-page .filter-bar{background:var(--rv-raised);border-color:var(--rv-rule-soft)}
.ec.rv-page .rv-days .day-group{background:var(--rv-raised);border:1px solid var(--rv-rule-soft);border-radius:6px;box-shadow:none}
.ec.rv-page .rv-days .day-head{background:var(--rv-raised);border-bottom:1px solid var(--rv-rule-soft)}
.ec.rv-page .rv-days .day-head .day-title{color:var(--rv-ink)}
.ec.rv-page .rv-days .day-head .dest{color:var(--rv-ink-soft);font-size:12px}
.ec.rv-page .rv-days .day-memo,.ec.rv-page .rv-days .events-row{background:var(--rv-raised);border-bottom:1px solid var(--rv-rule-soft)}
.ec.rv-page .day-memo-input{width:100%;min-height:44px;font:inherit;font-size:12px;padding:6px 8px;border:1px solid var(--rv-rule);border-radius:3px;background:var(--rv-paper);color:var(--rv-ink);resize:vertical}
.ec.rv-page .day-memo-input:not(:placeholder-shown){background:var(--rv-ok-wash);border-color:var(--rv-ok)}
.ec.rv-page .rv-row{background:var(--rv-raised);border-bottom:1px solid var(--rv-rule-soft);color:var(--rv-ink)}
.ec.rv-page .rv-row:hover{background:#ecede6}
.ec.rv-page .rv-row.bg-attention,.ec.rv-page .rv-row.bg-done{background:var(--rv-raised)}
.ec.rv-page .rv-row.bg-personal{background:#f4e6e1}
.ec.rv-page .rv-row.is-done{background:#eef1ea}
.ec.rv-page .rv-title{color:var(--rv-ink);font-weight:600;font-size:13px}
.ec.rv-page .rv-meta,.ec.rv-page .rv-field,.ec.rv-page .rv-note-meta{color:var(--rv-ink-soft)}
.ec.rv-page .rv-amt{color:var(--rv-ink);font-weight:600;font-size:13px}
.ec.rv-page .rv-note textarea{background:var(--rv-paper);border:1px solid var(--rv-rule);border-radius:3px;font-size:12px;color:var(--rv-ink)}
.ec.rv-page .rv-note textarea:not(:placeholder-shown){background:var(--rv-ok-wash);border-color:var(--rv-ok)}
/* チェック項目(旧スプシ版と同じく小さなチェックボックスを並べる) */
.ec .rv-checks-wrap{display:grid;gap:6px;margin-top:8px}
.ec .rv-checks{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.ec .rv-check{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#4b5248;cursor:pointer;white-space:nowrap;margin:0}
.ec .rv-check input{accent-color:#a8402f;width:14px;height:14px;margin:0}
.ec .rv-check.on{color:#20261f;font-weight:700}
.ec .rv-check.on.red span{color:#a8402f}
.ec span.rv-check.on{padding:1px 8px;border-radius:999px;background:#dee1d5}
.ec .rv-amount-input{width:100px;font-size:11.5px;padding:3px 6px;border:1px solid #c7cabc;border-radius:3px}
.ec .rv-tag-add{font-size:11px}
/* 右端: 支払元・確認ボタン(旧スプシ版の「✓ OKにする」「OKを取り消す」) */
.ec.rv-page .rv-pay .badge{background:none;color:var(--rv-ink-soft);padding:0;font-size:12px;white-space:normal;text-align:right}
.ec.rv-page .rv-ok{border-color:var(--rv-ok);background:var(--rv-ok-wash);color:var(--rv-ok);font-weight:600}
.ec.rv-page .rv-ok.small{padding:4px 10px;font-size:11px}
.ec.rv-page [data-uncomplete],.ec.rv-page [data-reopen-line]{border:1px solid var(--rv-accent-soft);background:var(--rv-accent-wash);color:var(--rv-accent);border-radius:999px;padding:4px 10px;font-size:11px}
.ec.rv-page .rv-cmt{background:#d9e7f5;border-left-color:#4c8fd6}
.ec.rv-page .rv-cmt-new input{background:var(--rv-paper);border-color:var(--rv-rule)}
.ec.rv-page .rv-cmts{border-top-color:var(--rv-rule-soft)}
.ec.rv-page .rv-days .day-head .mini,.ec.rv-page .rv-detail{background:var(--rv-paper);border-color:var(--rv-rule);color:var(--rv-ink-soft)}
/* チェック項目はチェックボックスの右に文字(.ec label の縦並びを打ち消す) */
.ec label.rv-check{flex-direction:row;align-items:center;gap:4px;font-size:11.5px;color:#4b5248}
.ec label.rv-check.on{color:#20261f}
.ec .rv-check input[type=checkbox]{width:14px;height:14px;flex:0 0 14px;padding:0}
.ec .rv-checks .rv-amount-input{width:100px;flex:0 0 100px;padding:3px 6px}
/* 取引先で絞り込んだときの件数・合計(§85) */
.ec .rv-contact-select{width:auto;min-width:240px;max-width:100%;padding:6px 8px;font-size:13px}
.ec .rv-contact-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 0;padding:10px 14px;border:1px solid #c7cabc;border-left:4px solid #3f6b4c;border-radius:6px;background:#f1f2ed;font-size:13px;color:#20261f}
.ec .rv-contact-summary b{font-size:14px}
/* 税務署に提出した内容(§86、読み取り専用。経費整合確認・備品・消耗品費) */
.ec .tax-submitted{margin-top:8px;padding:7px 10px;border:1px solid #c9d3e0;border-left:4px solid #475569;border-radius:5px;background:#f4f6f9;font-size:12px;color:#1f2937;cursor:default}
.ec .tax-submitted-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin-bottom:3px}
.ec .tax-submitted-head b{font-size:11.5px;color:#334155}
.ec .tax-submitted-head b::before{content:"🔒 ";font-size:10px}
.ec .tax-submitted-head span{font-size:10.5px;color:#64748b}
.ec .tax-submitted-body{white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}
.ec .tax-submitted-amts{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:4px}
.ec .tax-submitted-amts span{font-size:11px;padding:1px 8px;border-radius:999px;background:#e2e8f0;color:#334155;font-weight:600}
/* 判定(白・グレー・黒、§87)と、確認済みのロック表示 */
.ec .rv-risk{display:inline-flex;border:1px solid #c7cabc;border-radius:999px;overflow:hidden}
.ec .rv-risk button{border:0;border-left:1px solid #c7cabc;padding:4px 10px;font-size:11.5px;font-weight:600;background:#f1f2ed;color:#4b5248;cursor:pointer;min-width:0}
.ec .rv-risk button:first-child{border-left:0}
.ec .rv-risk button.risk-white.active{background:#ffffff;color:#20261f;box-shadow:inset 0 0 0 2px #3f6b4c}
.ec .rv-risk button.risk-gray.active{background:#8a8f86;color:#fff}
.ec .rv-risk button.risk-black.active{background:#20261f;color:#fff}
.ec .rv-risk-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid #c7cabc}
.ec .rv-risk-badge.risk-gray{background:#8a8f86;color:#fff}.ec .rv-risk-badge.risk-black{background:#20261f;color:#fff}.ec .rv-risk-badge.risk-white{background:#fff}
.ec label.rv-check.locked{cursor:default;opacity:.85}
.ec .rv-check.locked input{cursor:default}
.ec .rv-title{cursor:auto}.ec .rv-title:hover{text-decoration:none}
/* 経費整合確認 かんたん表示(§90、2026-10-03)。軽さ優先: 1明細あたりの部品を少なく、画面外の日付は描画を省く */
.ec.sv-mode [data-full-only],.ec:not(.sv-mode) [data-simple-only]{display:none!important}
.ec.sv-mode .filter-bar{display:grid;gap:8px;padding:10px 12px;align-items:stretch}
.ec .sv-bar-row{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.ec .sv-bar-label{font-size:11.5px;font-weight:700;color:#4b5248;margin-right:2px}
.ec .sv-bar-label:not(:first-child){margin-left:10px}
.ec .sv-chip{border:1px solid #c7cabc;background:#f1f2ed;color:#4b5248;border-radius:999px;padding:4px 11px;font-size:12px;cursor:pointer}
.ec .sv-chip.on{background:#a8402f;border-color:#a8402f;color:#fff;font-weight:700}
.ec .sv-bar-row select,.ec .sv-bar-row input[type=search]{width:auto;min-width:0;max-width:100%;padding:5px 8px;font-size:12px;border:1px solid #c7cabc;border-radius:6px;background:#fff}
.ec .sv-bar-row input[type=search]{flex:1 1 200px}
.ec .sv-hide-chip{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;padding:3px 4px 3px 10px;border-radius:999px;background:#20261f;color:#fff}
.ec .sv-hide-chip button{border:0;background:transparent;color:#fff;font-size:13px;line-height:1;cursor:pointer;padding:0 5px}
.ec label.sv-show-hidden{flex-direction:row;align-items:center;gap:4px;font-size:11.5px;color:#4b5248;margin-left:6px}
.ec .sv-show-hidden input{width:14px;height:14px;flex:0 0 14px}
.ec .sv-summary{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;margin:10px 2px 6px;font-size:12.5px;color:#20261f}
.ec .sv-summary b{font-size:15px}
.ec .sv-sum-risk{color:#4b5248}
.ec .sv-day{background:#f1f2ed;border:1px solid #d8dacd;border-radius:6px;margin:10px 0;overflow:hidden;content-visibility:auto;contain-intrinsic-size:auto 220px}
.ec .sv-day-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0;padding:8px 12px;font-size:14px;border-bottom:1px solid #d8dacd}
.ec .sv-day-count{font-size:11.5px;font-weight:400;color:#4b5248}
.ec .sv-day-memo{margin:0;padding:6px 12px;font-size:11.5px;color:#4b5248;white-space:pre-wrap;border-bottom:1px solid #d8dacd;background:#ecede6}
.ec .sv-row{padding:9px 12px;border-bottom:1px solid #d8dacd;border-left:4px solid transparent}
.ec .sv-row:last-child{border-bottom:0}
.ec .sv-row.sv-risk-white{border-left-color:#3f6b4c}
.ec .sv-row.sv-risk-gray{border-left-color:#8a8f86;background:#ecece8}
.ec .sv-row.sv-risk-black{border-left-color:#20261f;background:#e6e4e1}
.ec .sv-row.sv-leaving{opacity:.45}
.ec .sv-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.ec .sv-head .badge{font-size:11px;font-weight:700;border-radius:4px;padding:2px 7px;white-space:nowrap}
.ec .sv-head .badge.cat-travel{background:#d9e3ec;color:#2e4a63}.ec .sv-head .badge.cat-entertainment{background:#e9dce8;color:#5a3b57}.ec .sv-head .badge.cat-meeting{background:#dee8d2;color:#3d5a2c}
.ec .sv-title{flex:1 1 220px;min-width:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.ec .sv-date{font-size:11.5px;color:#4b5248}
.ec .sv-pay{font-size:11px;color:#6b7280;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .sv-amt{font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:72px;text-align:right}
.ec .sv-submitted{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;margin-top:5px;font-size:12px;line-height:1.5;color:#1f2937}
.ec .sv-lock{flex:none;font-size:10.5px;font-weight:700;color:#334155;background:#e2e8f0;border-radius:4px;padding:1px 6px}
.ec .sv-submitted-text{flex:1 1 300px;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ec .sv-amount-chip{font-size:11px;font-weight:600;padding:1px 8px;border-radius:999px;background:#e2e8f0;color:#334155;white-space:nowrap}
.ec .sv-badges{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:5px}
.ec .sv-flag{font-size:11.5px;padding:1px 8px;border-left:3px solid #94a3b8;border-radius:3px;background:#f1f5f9}
.ec .sv-flag.yellow{background:#fbf0c4;border-color:#e6c300}.ec .sv-flag.orange{background:#fbe3c6;border-color:#e88a2e}.ec .sv-flag.blue{background:#d9e7f5;border-color:#4c8fd6}.ec .sv-flag.red{background:#f8dcd7;border-color:#a8402f}
.ec .sv-tag{font-size:11px;padding:1px 8px;border-radius:999px;background:#dee1d5;color:#3a4034}
.ec .sv-tag.danger{background:#f1dcd6;color:#8a2f20;font-weight:700}
.ec .sv-contact{font-size:11px;padding:1px 8px;border-radius:999px;background:#dde7de;color:#2f5a3c}
.ec .sv-contact::before{content:"取引先 ";font-size:9.5px;opacity:.7}
.ec .sv-note{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;margin-top:6px}
.ec .sv-note textarea{flex:1 1 320px;min-height:34px;font-size:12px;padding:5px 8px;border:1px solid #c7cabc;border-radius:4px;background:#fff;resize:vertical}
.ec .sv-note.read{display:block;font-size:12px;padding:4px 9px;border-left:3px solid #d97706;border-radius:4px;background:#fdf1de;white-space:pre-wrap}
.ec .sv-note.read b{font-size:11px;color:#9a5b05;margin-right:6px}
.ec .sv-note-meta{font-size:10.5px;color:#94a3b8;margin-left:6px}
@media(max-width:700px){.ec .sv-pay{display:none}.ec .sv-title{flex-basis:100%;order:3}.ec .sv-amt{margin-left:auto}}
.ec .sv-head .badge.cat-supplies{background:#e6def2;color:#4b3470}
/* かんたん表示: その日の移動(旅費交通費)のまとまり(§91) */
.ec .sv-group{border-bottom:1px solid #d8dacd;border-left:4px solid #9db4c9;background:#eef2f5;padding:9px 12px}
.ec .sv-group:last-child{border-bottom:0}
.ec .sv-group.sv-risk-white{border-left-color:#3f6b4c}.ec .sv-group.sv-risk-gray{border-left-color:#8a8f86;background:#ecece8}.ec .sv-group.sv-risk-black{border-left-color:#20261f;background:#e6e4e1}
.ec .sv-group.sv-leaving{opacity:.45}
.ec .sv-group-head{cursor:pointer;user-select:none}
.ec .sv-group-head:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.ec .sv-group-arrow{font-size:10px;color:#4b5248;width:12px}
.ec .sv-group-title{font-size:13px;white-space:nowrap}
.ec .sv-group-names{flex:1 1 200px;min-width:0;font-size:11.5px;color:#4b5248;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .sv-group-mixed{font-size:11px;color:#4b5248;background:#dee1d5;border-radius:999px;padding:1px 8px;white-space:nowrap}
.ec .sv-group-rows{margin:8px 0 0 12px;border:1px solid #d8dacd;border-radius:6px;background:#f1f2ed;overflow:hidden}
.ec .sv-group-rows .sv-row{padding:7px 10px}
/* かんたん表示(経費整合確認・備品消耗品費)の見やすさ改善(2026-10-04): 旧スプシ風の紙色(茶色っぽい灰緑)をやめ、白地+青灰の
   すっきりした配色にする。旧画面(?view=full)は従来のまま(.sv-mode のときだけ効く)。勘定科目・判定は色で見分けやすく */
.ec.rv-page.sv-mode{--rv-paper:#f3f5f8;--rv-raised:#fff;--rv-ink:#1c2430;--rv-ink-soft:#4b5563;--rv-rule:#cdd5df;--rv-rule-soft:#e1e6ed;--rv-accent:#1d4ed8;--rv-accent-wash:#e7eefc;--rv-ok:#15803d;--rv-ok-wash:#e6f6ec}
.ec.sv-mode .filter-bar{background:#fff;border:1px solid #e1e6ed;border-radius:8px}
.ec.sv-mode .sv-bar-label{color:#4b5563}
.ec.sv-mode .sv-chip{background:#fff;border-color:#cdd5df;color:#374151}
.ec.sv-mode .sv-chip:hover{background:#f3f6fb}
.ec.sv-mode .sv-chip.on{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.ec.sv-mode .sv-bar-row select,.ec.sv-mode .sv-bar-row input[type=search]{border-color:#cdd5df}
.ec.sv-mode .sv-hide-chip{background:#1f2937}
.ec.sv-mode .sv-summary,.ec.sv-mode .sv-summary b{color:#1c2430}
.ec.sv-mode .sv-sum-risk,.ec.sv-mode label.sv-show-hidden,.ec.sv-mode .sv-day-count{color:#4b5563}
.ec.sv-mode .sv-day{background:#fff;border-color:#dfe5ec;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.ec.sv-mode .sv-day-head{background:#eef2f7;border-bottom-color:#dfe5ec;color:#1c2430}
.ec.sv-mode .sv-day-memo{background:#f8fafc;border-bottom-color:#e8edf3;color:#4b5563}
.ec.sv-mode .sv-row{border-bottom-color:#e8edf3}
.ec.sv-mode .sv-row.sv-risk-white{border-left-color:#16a34a}
.ec.sv-mode .sv-row.sv-risk-gray{background:#f1f3f6;border-left-color:#8a94a3}
.ec.sv-mode .sv-row.sv-risk-black{background:#e9ebf0;border-left-color:#1f2937}
.ec.sv-mode .sv-head .badge.cat-travel{background:#e7eefc;color:#1d4ed8}
.ec.sv-mode .sv-head .badge.cat-entertainment{background:#fdf1de;color:#b45309}
.ec.sv-mode .sv-head .badge.cat-meeting{background:#e6f6ec;color:#15803d}
.ec.sv-mode .sv-head .badge.cat-supplies{background:#f3ebfd;color:#7c3aed}
.ec.sv-mode .sv-date,.ec.sv-mode .sv-group-arrow,.ec.sv-mode .sv-group-names,.ec.sv-mode .sv-group-mixed{color:#4b5563}
.ec.sv-mode .sv-pay{color:#64748b}
.ec.sv-mode .sv-tag{background:#e8edf3;color:#374151}
.ec.sv-mode .sv-tag.danger{background:#fde4e1;color:#b42318}
.ec.sv-mode .sv-contact{background:#e6f4ec;color:#166534}
.ec.sv-mode .sv-group{background:#f4f7fb;border-bottom-color:#e1e6ed;border-left-color:#7da2cf}
.ec.sv-mode .sv-group.sv-risk-white{border-left-color:#16a34a}
.ec.sv-mode .sv-group.sv-risk-gray{background:#f1f3f6;border-left-color:#8a94a3}
.ec.sv-mode .sv-group.sv-risk-black{background:#e9ebf0;border-left-color:#1f2937}
.ec.sv-mode .sv-group-rows{background:#fff;border-color:#dfe5ec}
.ec.sv-mode .sv-group-mixed{background:#e8edf3}
.ec.sv-mode .rv-risk{border-color:#cdd5df}
.ec.sv-mode .rv-risk button{border-left-color:#cdd5df;background:#fff;color:#4b5563}
.ec.sv-mode .rv-risk button.risk-white.active{background:#fff;color:#15803d;box-shadow:inset 0 0 0 2px #16a34a}
.ec.sv-mode .rv-risk button.risk-gray.active{background:#6b7280;color:#fff}
.ec.sv-mode .rv-risk button.risk-black.active{background:#1f2937;color:#fff}
/* 提出内容の専用欄: 左にラベル(提出日つき)、右に説明と金額。変更できない記録なので、青い枠でほかと区別する */
/* かんたん表示の1行は3カラム(2026-10-05): 左=事実(勘定科目・摘要・金額・支払方法・取引先・タグ) / 真ん中=解釈(指摘・否認・提出内容) /
   右=判断(白・グレー・黒と、反論されそうな点)。提出内容は囲みの中に、金額チップ(家族利用・個人負担)→説明の順で出す。長い文は2行に畳む */
.ec{--sv-cols:minmax(210px,27%) minmax(0,1fr) minmax(190px,21%)}
.ec .sv-row,.ec .sv-grid{display:grid;grid-template-columns:var(--sv-cols);gap:6px 16px;align-items:start}
.ec .sv-grid{padding:0}
.ec .sv-c{min-width:0}
.ec .sv-c-interp{padding-left:14px;border-left:1px dashed #cdd5df}
.ec .sv-c-judge{padding-left:14px;border-left:1px dashed #cdd5df;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ec .sv-c-judge .rv-risk{align-self:flex-start}
.ec .sv-c-judge .sv-note{margin-top:0;width:100%}
.ec .sv-c-judge .sv-note textarea{flex:1 1 100%;width:100%;min-height:48px}
.ec .sv-fact-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin-top:3px}
.ec .sv-fact-meta .sv-amt{min-width:0;text-align:left}
.ec .sv-fact-meta .sv-pay{max-width:100%;white-space:normal}
.ec .sv-head .sv-title{flex:1 1 120px}
.ec .sv-c-fact .sv-badges{margin-top:4px}
.ec .sv-interp-badges{margin:0 0 5px}
.ec .sv-sub{margin:0 0 4px;padding:7px 10px;border:1px solid #b9cdea;border-radius:6px;background:#f4f8ff}
.ec .sv-sub-amts{display:flex;flex-wrap:wrap;gap:4px 6px;margin-bottom:5px}
.ec .sv-sub-amts .sv-amount-chip{background:#dbe7f8;color:#1e3a8a}
.ec .sv-sub-text{font-size:12.5px;line-height:1.6;color:#1f2937;white-space:pre-wrap;overflow-wrap:anywhere}
.ec .sv-sub-text.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.ec .sv-more{border:0;background:transparent;color:#2563eb;font-size:11.5px;padding:2px 0 0;cursor:pointer}
.ec .sv-more:hover{text-decoration:underline}
.ec .sv-group-names{display:block;flex:none;margin-top:3px;white-space:normal;overflow:visible;text-overflow:clip}
.ec .sv-cols{display:grid;grid-template-columns:var(--sv-cols);gap:6px 16px;position:sticky;top:var(--shell-header-height,0px);z-index:4;margin:8px 0 0;padding:6px 12px 6px 17px;background:#eef2f7;border:1px solid #dfe5ec;border-radius:6px;font-size:12px;font-weight:700;color:#334155}
.ec .sv-cols span:nth-child(n+2){padding-left:14px}
.ec .sv-cols small{margin-left:8px;font-size:10.5px;font-weight:400;color:#64748b}
/* その日のメモ(行き先(推測)・イベントメモ など) */
.ec .sv-day-memos{display:grid;gap:4px;padding:8px 12px;border-bottom:1px solid #e8edf3;background:#f8fafc}
.ec .sv-day-memos .sv-day-memo{display:flex;align-items:baseline;gap:8px;margin:0;padding:0;border:0;background:transparent;font-size:12.5px;line-height:1.55;color:#1f2937;white-space:normal}
.ec .sv-day-memos .sv-day-memo .k{flex:none;font-size:10.5px;font-weight:700;color:#475569;background:#e2e8f0;border-radius:4px;padding:1px 7px;white-space:nowrap}
.ec .sv-day-memos .sv-day-memo .t{min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){
  .ec .sv-row,.ec .sv-grid{grid-template-columns:minmax(0,1fr)}
  .ec .sv-cols{display:none}
  .ec .sv-c-interp,.ec .sv-c-judge{padding-left:0;border-left:0}
  .ec .sv-c-judge{flex-direction:row;flex-wrap:wrap;align-items:center}
  .ec .sv-c-judge .sv-note{width:100%}
}
/* Expense「撮影用」(衣装購入・美容申請・ペットモデルケア)の共通UI(2026-10-05) */
.ec.shoot-page{--shoot-accent:#6d4bc3;--shoot-accent-dark:#54359f;--shoot-soft:#f3efff;--shoot-soft-strong:#e7ddff;max-width:1440px;padding-top:22px}
.ec.shoot-page[data-shoot-kind=beauty]{--shoot-accent:#c23872;--shoot-accent-dark:#9f2459;--shoot-soft:#fff0f6;--shoot-soft-strong:#ffd8e8}
.ec.shoot-page[data-shoot-kind=pet_care]{--shoot-accent:#087f75;--shoot-accent-dark:#06685f;--shoot-soft:#e9f8f5;--shoot-soft-strong:#ccefe8}
.ec.shoot-page[data-shoot-kind=costume]{--shoot-accent:#6d4bc3;--shoot-accent-dark:#54359f;--shoot-soft:#f3efff;--shoot-soft-strong:#e7ddff}
.ec .shoot-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;border:1px solid color-mix(in srgb,var(--shoot-accent) 22%,#dce3ec);border-radius:18px;background:linear-gradient(120deg,#fff 0%,var(--shoot-soft) 100%);box-shadow:0 8px 30px rgba(28,39,55,.07)}
.ec .shoot-hero::after{content:"";position:absolute;right:-60px;top:-90px;width:230px;height:230px;border-radius:50%;background:color-mix(in srgb,var(--shoot-accent) 10%,transparent);pointer-events:none}
.ec .shoot-hero-copy{position:relative;z-index:1;min-width:0;max-width:760px}
.ec .shoot-eyebrow,.ec .shoot-list-kicker{display:block;margin-bottom:5px;color:var(--shoot-accent-dark);font-size:10.5px;font-weight:800;letter-spacing:.14em}
.ec .shoot-hero h1{font-size:25px;line-height:1.3}
.ec .shoot-hero p{margin:8px 0 0;color:#586578;font-size:13.5px;line-height:1.7}
.ec .shoot-hero-actions{position:relative;z-index:1;display:flex;align-items:center;gap:8px;flex:none}
.ec .shoot-hero-actions .shoot-primary-action{min-height:44px;padding:10px 18px;border-color:var(--shoot-accent);border-radius:10px;background:var(--shoot-accent);font-weight:700;box-shadow:0 5px 14px color-mix(in srgb,var(--shoot-accent) 22%,transparent)}
.ec .shoot-hero-actions .shoot-primary-action:hover{border-color:var(--shoot-accent-dark);background:var(--shoot-accent-dark)}
.ec .shoot-home-link{min-height:42px;border-radius:10px}

.ec .shoot-nav-wrap{display:flex;align-items:stretch;gap:12px;margin:16px 0 18px;min-width:0}
.ec .shoot-tabs{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:8px;flex:1;min-width:0}
.ec .shoot-tab{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 14px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#4b5563;text-decoration:none;box-shadow:0 2px 7px rgba(15,23,42,.035)}
.ec .shoot-tab:hover{border-color:color-mix(in srgb,var(--tab-accent,#64748b) 42%,#dce3ec);background:var(--tab-soft,#f8fafc);text-decoration:none}
.ec .shoot-tab-costume{--tab-accent:#6d4bc3;--tab-soft:#f3efff}.ec .shoot-tab-beauty{--tab-accent:#c23872;--tab-soft:#fff0f6}.ec .shoot-tab-pet_care{--tab-accent:#087f75;--tab-soft:#e9f8f5}
.ec .shoot-tab.active{border:2px solid var(--tab-accent);padding:9px 13px;background:var(--tab-soft);color:#1f2937;box-shadow:0 5px 14px color-mix(in srgb,var(--tab-accent) 13%,transparent)}
.ec .shoot-tab-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:var(--tab-soft);color:var(--tab-accent);font-size:13px;font-weight:800}
.ec .shoot-tab.active .shoot-tab-icon{background:var(--tab-accent);color:#fff}
.ec .shoot-tab b,.ec .shoot-tab small{display:block}.ec .shoot-tab b{font-size:13.5px}.ec .shoot-tab small{margin-top:2px;color:#728095;font-size:10.5px;font-weight:400}
.ec .shoot-report-action{min-width:160px;border-radius:12px;background:#fff}
/* §113: 経費記録を撮影用と同じタブ構成に。タブ5つ・タブごとの色・見出し横の登録ボタン */
.ec.records-page{--shoot-accent:#2563eb;--shoot-accent-dark:#1d4ed8;--shoot-soft:#eef3ff;--shoot-soft-strong:#dbe6ff}
.ec.records-page[data-records-tab=entertainment]{--shoot-accent:#d97706;--shoot-accent-dark:#b45309;--shoot-soft:#fdf6ec;--shoot-soft-strong:#fbe7c4}
.ec.records-page[data-records-tab=supply]{--shoot-accent:#7c3aed;--shoot-accent-dark:#6d28d9;--shoot-soft:#f6f1fc;--shoot-soft-strong:#e9dcfa}
.ec.records-page[data-records-tab=other]{--shoot-accent:#64748b;--shoot-accent-dark:#475569;--shoot-soft:#f4f6f9;--shoot-soft-strong:#e2e8f0}
.ec .shoot-tabs.records-tabs{grid-template-columns:repeat(4,minmax(140px,1fr))}
.ec .shoot-tab-all{--tab-accent:#2563eb;--tab-soft:#eef3ff}.ec .shoot-tab-entertainment{--tab-accent:#d97706;--tab-soft:#fdf6ec}.ec .shoot-tab-supply{--tab-accent:#7c3aed;--tab-soft:#f6f1fc}.ec .shoot-tab-other{--tab-accent:#64748b;--tab-soft:#f4f6f9}
.ec .records-head{align-items:flex-start}.ec .records-head h1{margin:0;font-size:20px}.ec .records-head p{margin:4px 0 0;max-width:720px;color:#728095;font-size:11.5px;line-height:1.6}
.ec .records-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;flex:none;max-width:52%}
.ec .records-actions button,.ec .records-actions .btn{min-height:38px;border-radius:10px}
.ec .records-actions .shoot-primary-action{border-color:var(--shoot-accent);background:var(--shoot-accent);color:#fff;font-weight:700;box-shadow:0 5px 14px color-mix(in srgb,var(--shoot-accent) 22%,transparent)}
.ec .records-actions .shoot-primary-action:hover{border-color:var(--shoot-accent-dark);background:var(--shoot-accent-dark)}
.ec .records-summary{margin-top:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.ec .shoot-stat.is-advance .shoot-stat-icon{background:#f3e8ff;color:#7c3aed}
.ec .pay-badge{font-weight:700}.ec .pay-badge.pay-cash{background:#e6f6ec;color:#15803d}.ec .pay-badge.pay-card{background:#e7eefc;color:#1d4ed8}.ec .pay-badge.pay-advance{background:#f3e8ff;color:#7c3aed}.ec .pay-badge.pay-other{background:#eef2f7;color:#40536b}
.ec .nested-expense-line .pay-badge{flex:none}
.ec .records-filter-panel{margin:12px 0 0}.ec .records-filter-panel>summary small{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .records-filter-body{display:grid;gap:10px;padding:12px 14px 14px}.ec .records-filter-body .period-picker{margin:0}
.ec .records-filter-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;padding:12px;border:1px solid #dce3ec;border-radius:10px;background:#fff}
.ec .records-filter-bar .field{gap:4px;min-width:0}.ec .records-filter-bar .choice{gap:4px}.ec .records-filter-bar .choice-item span{padding:5px 10px;font-size:12px}
/* 一覧: 撮影用のシンプルさ + 出張の「行動の下に経費」の見せ方 */
.ec .rec-day{border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.035)}.ec .rec-day .day-head{padding:9px 14px}.ec .rec-day .day-total{margin-left:auto;font-weight:700;font-variant-numeric:tabular-nums}
.ec .rec-day .day-body{padding:8px 10px}
.ec .rec-line{padding:8px 12px;margin:6px 0;border-radius:9px}
/* 列幅は固定(左34%・右110px)にして、行ごとにバッジの開始位置がずれないようにする */
.ec .rec-line .rl-grid{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr) 110px;gap:6px 14px;align-items:center;flex-wrap:nowrap}
.ec .rec-line .rl-left{display:flex;align-items:center;gap:8px;min-width:0}.ec .rec-line .summary{flex:1;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .rec-line .rl-mid{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0}
.ec .rec-line .rl-mid .badge{font-weight:600}.ec .rec-line .rl-trip{background:#fdf1de;color:#b45309}.ec .rec-line .rl-shop{background:#eef2f7;color:#40536b}.ec .rec-line .rl-owner{background:#f1f5f9;color:#64748b;font-weight:500}
.ec .rec-line .rl-note{flex:1 1 160px;min-width:0;font-size:11.5px;color:#586578;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .rec-line .rl-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.ec .rec-line .sep,.ec .rec-event .sep{margin:0 6px;color:#b6c0cc}
.ec .rec-warn{flex:none;color:#b45309;font-size:11px;font-weight:700}
.ec .line.rec-event{padding:11px 13px;margin:6px 0;border-radius:10px;background:#f3f7fd;border-left-color:#2563eb}.ec .rec-event .line-main{flex-wrap:nowrap}.ec .rec-event .summary{font-weight:700;font-size:13.5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec .rec-event .ev-badge{color:#1d4ed8;background:#dbe6ff}.ec .rec-event .ev-total{flex:none;color:#586578;font-size:12px;white-space:nowrap}.ec .rec-event .ev-total b{color:#1c2736;font-size:13.5px;font-variant-numeric:tabular-nums}
.ec .rec-event .line-sub{margin-top:3px;gap:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ec .rec-event .ev-info{display:flex;gap:10px;margin-top:8px;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #e3eaf3;font-size:12px;line-height:1.55;color:#334155}.ec .rec-event .ev-info .k{flex:none;color:#728095}
.ec .rec-event .ev-expenses{margin-top:8px;padding-left:10px;border-left:2px solid #c7d7f2}.ec .rec-event .ev-expenses .nested-expense-line{margin:5px 0!important;padding:7px 10px!important;border-radius:8px;font-size:12.5px}
.ec .rec-event .nested-expense-line .summary{display:flex;align-items:baseline;gap:8px;min-width:0;overflow:hidden}.ec .rec-event .nested-expense-line .summary small{font-size:11px;white-space:nowrap}
.ec .rec-event .rec-unlink{flex:none;padding:0 7px;line-height:20px;color:#94a3b8}.ec .rec-event .rec-unlink:hover{color:#b91c1c;border-color:#fca5a5}
.ec .rec-event .ev-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.ec .rec-event .ev-actions .ev-add{border-color:#2563eb;color:#1d4ed8;background:#fff}.ec .rec-event .ev-actions .ev-add:hover{background:#eef3ff}
@media(max-width:700px){.ec .rec-line .rl-grid{grid-template-columns:minmax(0,1fr) auto}.ec .rec-line .rl-mid{grid-column:1/-1}.ec .rec-line .summary,.ec .rec-event .summary{white-space:normal}.ec .rec-event .line-main{flex-wrap:wrap}.ec .rec-event .summary{flex-basis:100%}.ec .rec-event .line-sub{white-space:normal}.ec .records-filter-panel>summary small{max-width:50%}}
@media(max-width:900px){.ec.records-page .records-head{display:grid;gap:10px}.ec.records-page .records-actions{max-width:none;justify-content:flex-start}}
@media(max-width:700px){.ec .records-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ec .records-actions>*{width:100%;min-height:42px}.ec .records-actions .btn{grid-column:1/-1}.ec .records-head h1{font-size:18px}.ec .records-head p{display:block}}

.ec .shoot-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.ec .shoot-stat{display:flex;align-items:center;gap:11px;min-width:0;padding:15px 16px;border:1px solid #e0e6ee;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.035)}
.ec .shoot-stat-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#edf2f8;color:#40536b;font-size:12px;font-weight:800}
.ec .shoot-stat.is-count .shoot-stat-icon{background:var(--shoot-soft-strong);color:var(--shoot-accent-dark)}
.ec .shoot-stat.is-amount .shoot-stat-icon{background:#e6f6ec;color:#15803d}
.ec .shoot-stat.is-receipt .shoot-stat-icon,.ec .shoot-stat.is-finish .shoot-stat-icon,.ec .shoot-stat.is-attention .shoot-stat-icon{background:#fff0dc;color:#b45309}
.ec .shoot-stat.is-selected .shoot-stat-icon{background:#e7eefc;color:#1d4ed8}
.ec .shoot-stat.is-clear .shoot-stat-icon{background:#e6f6ec;color:#15803d}
.ec .shoot-stat>div{min-width:0}.ec .shoot-stat-label{display:block;color:#68768a;font-size:11px}.ec .shoot-stat strong{display:block;margin-top:3px;color:#1c2736;font-size:18px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.ec .shoot-filter-panel{margin:14px 0 22px;border:1px solid #dce3ec;border-radius:12px;background:#fff;overflow:hidden}
.ec .shoot-filter-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:11px 16px;color:#334155;font-weight:700;cursor:pointer;list-style:none}
.ec .shoot-filter-panel>summary::-webkit-details-marker{display:none}
.ec .shoot-filter-panel>summary::before{content:"⌕";display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--shoot-soft);color:var(--shoot-accent);font-size:16px}
.ec .shoot-filter-panel>summary>span{margin-right:auto}
.ec .shoot-filter-panel>summary small{color:#728095;font-size:11px;font-weight:400}
.ec .shoot-filter-panel[open]>summary{border-bottom:1px solid #e7ebf1;background:#fbfcfe}
.ec .shoot-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(2,minmax(140px,1fr)) auto;gap:10px;align-items:end;padding:14px 16px}
.ec .shoot-filters button[type=submit]{min-height:37px;border-color:var(--shoot-accent);background:var(--shoot-accent)}
.ec .shoot-quick-periods{grid-column:1/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:2px}
.ec .shoot-quick-periods>span{margin-right:3px;color:#68768a;font-size:11px;font-weight:700}
.ec .shoot-quick-periods button{padding:5px 11px;border-radius:999px;font-size:11.5px}
.ec .costume-filters{grid-template-columns:minmax(260px,2fr) repeat(2,minmax(150px,1fr)) auto}
.ec .shoot-needs-action{grid-column:1/-1;width:max-content}

.ec .shoot-list-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:0 2px 10px}
.ec .shoot-list-head h2{margin:0;font-size:18px}.ec .shoot-list-head p{margin:0;color:#728095;font-size:11.5px}
.ec .costume-list-head{align-items:center}.ec .costume-list-head #prepare{border-color:var(--shoot-accent);color:var(--shoot-accent-dark);font-weight:700}
.ec .shoot-month-list{display:grid;gap:18px}
.ec .shoot-month-group{overflow:hidden;border:1px solid #dce3ec;border-radius:14px;background:#f8fafc;box-shadow:0 3px 12px rgba(15,23,42,.04)}
.ec .shoot-month-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid #dfe5ec;background:#eef2f7}
.ec .shoot-month-head>div{display:flex;align-items:center;gap:8px;min-width:0}.ec .shoot-month-head h2{margin:0;font-size:15px}.ec .shoot-month-head span:not(.shoot-month-dot){color:#68768a;font-size:11.5px}.ec .shoot-month-head>strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ec .shoot-month-dot{width:9px;height:9px;flex:none;border-radius:50%;background:var(--shoot-accent);box-shadow:0 0 0 4px var(--shoot-soft-strong)}
.ec .shoot-card-list{display:grid;gap:10px;padding:12px}

.ec .shoot-card{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 16px 14px;border:1px solid #dfe5ec;border-left:5px solid var(--shoot-accent);border-radius:12px;background:#fff;cursor:pointer;box-shadow:0 2px 7px rgba(15,23,42,.035);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.ec .shoot-card:hover{border-top-color:color-mix(in srgb,var(--shoot-accent) 35%,#dfe5ec);border-right-color:color-mix(in srgb,var(--shoot-accent) 35%,#dfe5ec);border-bottom-color:color-mix(in srgb,var(--shoot-accent) 35%,#dfe5ec);box-shadow:0 7px 20px rgba(15,23,42,.08);transform:translateY(-1px)}
.ec .shoot-main{min-width:0}.ec .shoot-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.ec .shoot-top{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px}.ec .shoot-top time{color:#55657a;font-size:12px;font-weight:700}
.ec .shoot-category{border-radius:999px;background:var(--shoot-soft);color:var(--shoot-accent-dark);font-weight:700}
.ec .shoot-proof-row{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.ec .shoot-proof{display:inline-flex;align-items:center;width:max-content;padding:3px 8px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap}
.ec .shoot-proof.is-complete{background:#e6f6ec;color:#157347}.ec .shoot-proof.is-missing{background:#fff0dc;color:#a85100}
.ec .shoot-card-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-top:9px}.ec .shoot-shop{margin:0!important;color:#172236;font-size:17px!important;line-height:1.4;overflow-wrap:anywhere}.ec .shoot-subject{margin:3px 0 0;color:#68768a;font-size:12px}.ec .shoot-subject::before{content:"対象 ";font-size:10px;color:#8994a3}
.ec .shoot-card-amount{color:#172236;font-size:19px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ec .shoot-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.ec .shoot-line{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:8px 10px;border:1px solid #eef1f6;border-radius:8px;background:#fbfcfe;line-height:1.6;white-space:pre-wrap;min-width:0;color:#2b3748}.ec .shoot-line .k{height:max-content;color:#526174;font-size:10.5px;font-weight:700}.ec .shoot-line>span:last-child{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.ec .shoot-card-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f4}.ec .shoot-payment{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}.ec .shoot-payment>span{color:#778499;font-size:10.5px}.ec .shoot-payment>b{font-size:11.5px}.ec .shoot-payment>small{flex-basis:100%;color:#68768a;font-size:10.5px;overflow-wrap:anywhere}
.ec .shoot-edit{min-width:58px;min-height:38px;border-color:color-mix(in srgb,var(--shoot-accent) 38%,#cbd5e1);border-radius:9px;color:var(--shoot-accent-dark);font-weight:700}
.ec .shoot-thumbs{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin:0}.ec .shoot-thumb{position:relative;display:inline-flex;flex-direction:column;gap:2px;align-items:flex-start}.ec .shoot-thumb small{font-size:9.5px;color:#64748b}.ec .shoot-thumb-open{min-width:62px;min-height:62px;overflow:hidden;border:1px solid #d6dde6;border-radius:8px;padding:0;background:#f8fafc;cursor:pointer}.ec .shoot-thumb-open img{display:block;width:62px;height:62px;object-fit:cover}.ec .shoot-thumb.file .shoot-thumb-open{padding:6px 10px;font-size:11px}.ec .shoot-thumb-x{position:absolute;top:-7px;right:-7px;width:23px;height:23px;min-width:23px;border:1px solid #fecaca;border-radius:50%;padding:0;background:#fff;color:#b42318;line-height:1;cursor:pointer}.ec .shoot-thumb-more{align-self:center;color:#68768a;font-size:11px;font-weight:700}.ec .shoot-nophoto{align-self:center;padding:5px 9px;border-radius:7px;background:#fff4e5;color:#9a5b05;font-size:10.5px;font-weight:700}
.ec .shoot-empty{display:grid;gap:5px;border-style:dashed}.ec .shoot-empty b{color:#334155;font-size:14px}.ec .shoot-empty span{font-size:12px}

/* 衣装購入カード */
.ec .costume-card{grid-template-columns:48px minmax(0,1fr) 170px;align-items:stretch;border-left-color:#6d4bc3;cursor:default}
.ec .costume-card.has-alert{border-left-color:#d97706}.ec .costume-select{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-width:44px;min-height:44px;padding:4px;cursor:pointer}.ec .costume-select input{width:20px;height:20px;flex:0 0 20px;accent-color:#6d4bc3}.ec .costume-select span{font-size:9.5px;color:#68768a}.ec .costume-main{min-width:0}.ec .costume-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.ec .costume-card .title{color:#262034;font-size:16px}.ec .costume-ident{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:5px;color:#68768a;font-size:11px}.ec .costume-flags{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}.ec .costume-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.ec .costume-stage{position:relative;display:grid;gap:2px;padding:8px 10px 8px 13px;border:1px solid #e1e6ed;border-radius:8px;background:#f8fafc;overflow:hidden}.ec .costume-stage::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#94a3b8}.ec .costume-stage>span{color:#778499;font-size:9.5px}.ec .costume-stage>b{font-size:11.5px;overflow-wrap:anywhere}.ec .costume-stage.is-complete{background:#edf8f1}.ec .costume-stage.is-complete::before{background:#16a34a}.ec .costume-stage.is-pending{background:#fff8e8}.ec .costume-stage.is-pending::before{background:#d97706}.ec .costume-stage.is-attention{background:#fff0f0}.ec .costume-stage.is-attention::before{background:#dc2626}
.ec .costume-amount{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right!important;padding-left:14px;border-left:1px solid #e7ebf1}.ec .costume-amount>span{color:#778499;font-size:10.5px}.ec .costume-amount>b{margin:3px 0;font-size:18px!important}.ec .costume-amount>small{color:#68768a;font-size:10.5px}.ec .costume-budget-bar{width:100%;height:5px;margin:8px 0;overflow:hidden;border-radius:99px;background:#e7ebf1}.ec .costume-budget-bar span{display:block;height:100%;border-radius:inherit;background:#6d4bc3}.ec .costume-open{width:100%;margin-top:4px;border-radius:8px;font-size:11.5px}
.ec .shoot-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:18px}.ec .shoot-pagination span{min-width:70px;text-align:center;color:#68768a;font-size:12px}

/* 登録・編集モーダル */
.ec dialog.shoot-editor-dialog{max-width:880px;padding:0;border:0;border-radius:16px;background:#f6f8fb;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.ec dialog.shoot-editor-dialog>form>h2{position:sticky;top:0;z-index:4;margin:0;padding:18px 22px;border-bottom:1px solid #dfe5ec;background:#fff;font-size:19px}
.ec dialog.shoot-editor-dialog .dialog-error{margin:14px 20px 0}
.ec .shoot-form{display:grid;gap:12px;padding:16px 20px 8px}.ec .shoot-form-section{padding:16px;border:1px solid #dde4ec;border-radius:13px;background:#fff}.ec .shoot-form-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}.ec .shoot-form-heading>span{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:8px;background:var(--shoot-accent);color:#fff;font-size:12px;font-weight:800}.ec .shoot-form-heading h3{margin:0;color:#263449;font-size:14px}.ec .shoot-form-heading p{margin:3px 0 0;color:#778499;font-size:11px;line-height:1.5}.ec .shoot-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ec .shoot-form-full{grid-column:1/-1}.ec .shoot-form textarea{min-height:92px}.ec .shoot-form .choice-item span{padding:8px 13px}.ec .shoot-form .choice-item input:checked+span{border-color:var(--shoot-accent);background:var(--shoot-accent)}
.ec .shoot-attach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ec .shoot-form .shoot-attach{min-width:0;padding:13px;border:1px dashed #bfcadb;border-radius:11px;background:#fafcff}.ec .shoot-attach-title{display:flex;align-items:center;gap:8px}.ec .shoot-attach-title>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--shoot-soft);color:var(--shoot-accent-dark);font-size:11px;font-weight:800}.ec .shoot-upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.ec .shoot-upload-actions button{min-height:42px;border-radius:9px}.ec .shoot-existing{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ec .shoot-pending{margin:8px 0 0;padding-left:18px;font-size:12px}.ec .shoot-pending li{margin:3px 0}.ec dialog.shoot-editor-dialog>form>.actions{position:sticky;bottom:0;z-index:4;justify-content:flex-end;margin:0;padding:13px 20px;border-top:1px solid #dfe5ec;background:#fff;box-shadow:0 -8px 20px rgba(15,23,42,.06)}.ec dialog.shoot-editor-dialog>form>.actions button{min-width:110px;min-height:43px;border-radius:9px}.ec dialog.shoot-editor-dialog>form>.actions .primary{border-color:var(--shoot-accent);background:var(--shoot-accent)}.ec .btn.danger{border-color:#fecaca;color:#b42318;background:#fff}

@media(max-width:900px){
  .ec .shoot-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ec .shoot-nav-wrap{display:grid}
  .ec .shoot-report-action{justify-self:end}
  .ec .shoot-filters,.ec .costume-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ec .shoot-filters .wide{grid-column:1/-1}
  .ec .shoot-detail-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
  .ec.shoot-page{padding:10px 10px 30px}
  .ec .shoot-hero{display:grid;gap:16px;padding:19px 17px;border-radius:14px}
  .ec .shoot-hero h1{font-size:22px}.ec .shoot-hero p{font-size:12.5px}
  .ec .shoot-hero-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);width:100%}.ec .shoot-hero-actions>*{width:100%;min-height:46px}
  .ec .shoot-nav-wrap{gap:8px;margin:12px 0 14px;overflow:hidden}
  .ec .shoot-tabs{display:flex;max-width:100%;overflow-x:auto;gap:7px;padding-bottom:3px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
  .ec .shoot-tab{flex:0 0 148px;min-height:58px;padding:8px 10px;scroll-snap-align:start}.ec .shoot-tab.active{padding:7px 9px}.ec .shoot-tab-icon{width:30px;height:30px;flex-basis:30px}.ec .shoot-tab b{font-size:12px}.ec .shoot-tab small{font-size:9.5px}
  .ec .shoot-report-action{width:100%;min-height:43px;justify-self:stretch}
  .ec .shoot-summary{gap:7px;margin-bottom:10px}.ec .shoot-stat{gap:8px;padding:11px 10px;border-radius:10px}.ec .shoot-stat-icon{width:30px;height:30px;flex-basis:30px}.ec .shoot-stat-label{font-size:9.5px}.ec .shoot-stat strong{font-size:15px}
  .ec .shoot-filter-panel{margin:10px 0 17px}.ec .shoot-filter-panel>summary{min-height:45px;padding:9px 12px}.ec .shoot-filter-panel>summary small{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ec .shoot-filters,.ec .costume-filters{grid-template-columns:minmax(0,1fr);padding:12px}.ec .shoot-filters .wide,.ec .shoot-quick-periods,.ec .shoot-needs-action{grid-column:1}.ec .shoot-filters button[type=submit]{min-height:44px}
  .ec .shoot-list-head{align-items:center}.ec .shoot-list-head p{display:none}.ec .shoot-list-head h2{font-size:16px}.ec .costume-list-head{display:grid}.ec .costume-list-head #prepare{width:100%;min-height:42px}
  .ec .shoot-month-list{gap:13px}.ec .shoot-month-group{border-radius:12px}.ec .shoot-month-head{padding:10px 12px}.ec .shoot-month-head h2{font-size:14px}.ec .shoot-month-head>strong{font-size:11.5px}.ec .shoot-card-list{gap:8px;padding:8px}
  .ec .shoot-card{grid-template-columns:minmax(0,1fr);gap:9px;padding:13px 12px 12px}.ec .shoot-card-top{display:grid}.ec .shoot-proof-row{justify-content:flex-start}.ec .shoot-card-title-row{margin-top:8px}.ec .shoot-shop{font-size:15.5px!important}.ec .shoot-card-amount{font-size:17px}.ec .shoot-line{grid-template-columns:74px minmax(0,1fr);padding:7px 8px}.ec .shoot-card-footer{display:grid;align-items:start}.ec .shoot-thumbs{justify-content:flex-start;max-width:100%;overflow-x:auto;flex-wrap:nowrap;padding:3px 1px 7px}.ec .shoot-thumb{flex:none}.ec .shoot-thumb-open img{width:68px;height:68px}.ec .shoot-edit{width:100%;min-height:42px}
  .ec .costume-card{grid-template-columns:40px minmax(0,1fr);padding:12px 10px}.ec .costume-select{min-width:38px}.ec .costume-card-head{display:grid}.ec .costume-flags{justify-content:flex-start}.ec .costume-stages{gap:4px}.ec .costume-stage{padding:7px 5px 7px 9px}.ec .costume-stage>b{font-size:10.5px}.ec .costume-amount{grid-column:2;align-items:flex-start;padding:9px 0 0;border-top:1px solid #e7ebf1;border-left:0;text-align:left!important}.ec .costume-budget-bar{max-width:240px}.ec .costume-open{max-width:240px;min-height:40px}
  .ec dialog.shoot-editor-dialog{width:calc(100% - 10px);max-height:96dvh;border-radius:13px}.ec dialog.shoot-editor-dialog>form>h2{padding:15px 14px;font-size:17px}.ec dialog.shoot-editor-dialog .dialog-error{margin:10px 10px 0}.ec .shoot-form{gap:9px;padding:10px}.ec .shoot-form-section{padding:12px;border-radius:10px}.ec .shoot-form-heading{margin-bottom:11px}.ec .shoot-form-grid,.ec .shoot-attach-grid{grid-template-columns:minmax(0,1fr)}.ec .shoot-form-full{grid-column:1}.ec .shoot-upload-actions button{min-height:46px}.ec dialog.shoot-editor-dialog>form>.actions{display:grid;grid-template-columns:1.2fr 1fr;padding:10px}.ec dialog.shoot-editor-dialog>form>.actions button{width:100%;min-width:0;min-height:46px}.ec dialog.shoot-editor-dialog>form>.actions .primary{order:-1}
}
@media(prefers-reduced-motion:reduce){.ec .shoot-card{transition:none}}
/* 撮影用の整理(2026-10-05): ページ内の見出し(ヒーロー)・絞り込みを外し、一覧の見出し行に登録ボタンを置く。
   衣装購入は「●月購入分」のカード+ショップごとの購入記録(美容申請・ペットモデルケアと同じカード) */
.ec .shoot-list-head{align-items:center}
.ec .shoot-list-head .shoot-primary-action{min-height:42px;padding:9px 18px;border-color:var(--shoot-accent);border-radius:10px;background:var(--shoot-accent);color:#fff;font-weight:700;box-shadow:0 5px 14px color-mix(in srgb,var(--shoot-accent) 22%,transparent)}
.ec .shoot-list-head .shoot-primary-action:hover{border-color:var(--shoot-accent-dark);background:var(--shoot-accent-dark)}
.ec .shoot-recorder{margin:3px 0 0;color:#68768a;font-size:12px}
.ec .shoot-upload-actions.is-single{grid-template-columns:minmax(0,1fr)}
.ec .shoot-shots{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.ec .shoot-shots .shoot-existing,.ec .shoot-shots .shoot-pending{display:contents;margin:0;padding:0}
.ec .shoot-thumb.is-pending .shoot-thumb-open{display:block;cursor:default;border-style:dashed;border-color:var(--shoot-accent)}
.ec .shoot-thumb.is-pending small{color:var(--shoot-accent-dark);font-weight:700}
.ec .shoot-shots .shoot-thumb-open img{width:74px;height:74px}
.ec a.shoot-card{color:inherit;text-decoration:none}
.ec .costume-list{padding:0}
.ec .costume-month-card{grid-template-columns:minmax(0,1fr)}
.ec .costume-month-card .shoot-shop .badge{vertical-align:middle;margin-left:6px;font-size:11px}
.ec .costume-purpose{margin-top:10px}
/* 衣装購入のカード: 3カラム + 購入明細(§117) */
.ec .cm-grid{display:grid;grid-template-columns:240px minmax(0,1fr) 170px;gap:0;align-items:start}
.ec .cm-left{padding-right:18px;border-right:1px solid #e6ebf2;min-width:0}
.ec .cm-mid{margin:0 18px}
.ec .cm-right{padding-left:18px;border-left:1px solid #e6ebf2;min-height:100%}
.ec .cm-left .shoot-shop{font-size:16px!important}
.ec .cm-mid{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:8px 10px;border:1px solid #eef1f6;border-radius:8px;background:#fbfcfe;font-size:12.5px;line-height:1.6;white-space:pre-wrap;color:#2b3748;min-width:0}
.ec .cm-mid .k{color:#728095;font-size:11px;font-weight:700;padding-top:2px}
.ec .cm-right{text-align:right}
.ec .cm-mid.cm-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0;border:0;background:none;white-space:normal}
.ec .cm-right .shoot-card-amount{display:block}.ec .cm-right .shoot-proof-row{margin-top:8px;justify-content:flex-end}.ec .cm-right .shoot-proof{white-space:nowrap}
.ec .cm-left .shoot-top{margin-bottom:6px}.ec .cm-left h3.shoot-shop{margin:0}
.ec .cm-meta{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:12px;color:#68768a}.ec .cm-owner{background:#eef2f7;color:#40536b;font-weight:700}
.ec .cm-items{display:grid;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f4}
.ec .cm-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:7px 10px;border:1px solid #eef1f6;border-radius:9px;background:#fff}
.ec .cm-item.muted{grid-template-columns:1fr;color:#728095;font-size:12px}
.ec .cm-item-photos{display:flex;gap:4px}.ec .cm-thumb{width:46px;height:46px;border-radius:7px;overflow:hidden;background:#f1f5f9;display:grid;place-items:center;font-size:10px;color:#728095;text-align:center;line-height:1.2}
.ec .cm-thumb img{width:100%;height:100%;object-fit:cover;display:block}.ec .cm-thumb.none{font-size:9.5px}
.ec .cm-thumb.file{flex-direction:column;font-weight:700;font-size:10px;color:#475569;background:#e9eef5;display:flex;align-items:center;justify-content:center}.ec .cm-thumb.file small{font-weight:400;font-size:9px;color:#728095}
.ec .cm-thumb.failed{font-size:9.5px;color:#b91c1c;background:#fff1f2}
.ec .cm-thumb.is-loading{position:relative}.ec .cm-thumb.is-loading::after{content:"";position:absolute;inset:0;margin:auto;width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:#64748b;border-radius:50%;animation:cm-spin .9s linear infinite}
@keyframes cm-spin{to{transform:rotate(360deg)}}
.ec .cm-item-main{min-width:0}.ec .cm-item-main b{display:block;font-size:13px;color:#172236;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ec .cm-item-main .d{display:block;margin-top:2px;font-size:11px;color:#728095}
.ec .cm-item .a{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#172236}
@media(max-width:760px){.ec .cm-grid{grid-template-columns:minmax(0,1fr) auto;gap:8px}.ec .cm-left{padding:0;border:0}.ec .cm-mid{grid-column:1/-1;margin:0}.ec .cm-right{padding:0;border:0}}
.ec .costume-summary{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px}
.ec .costume-month{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;margin:14px 0 22px;padding:18px 20px;border:1px solid color-mix(in srgb,var(--shoot-accent) 26%,#dce3ec);border-left:5px solid var(--shoot-accent);border-radius:14px;background:linear-gradient(120deg,#fff,var(--shoot-soft))}
.ec .costume-month-items{display:grid;grid-template-columns:repeat(2,minmax(0,160px)) minmax(0,1fr);gap:10px 22px;min-width:0}
.ec .costume-month-items span,.ec .costume-month-amount span{display:block;color:#68768a;font-size:11px}
.ec .costume-month-items b{display:block;margin-top:2px;font-size:14.5px;white-space:pre-wrap}
.ec .costume-month-amount{text-align:right;padding-left:18px;border-left:1px solid #e1e6ee}
.ec .costume-month-amount strong{display:block;margin-top:2px;font-size:24px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ec .costume-month-amount small{color:#68768a;font-size:11px}
.ec .costume-shop-list{padding:0;margin-bottom:22px}
.ec .costume-shop{grid-template-columns:minmax(0,1fr);cursor:default;margin:0}
.ec .costume-shop:hover{transform:none;box-shadow:0 2px 7px rgba(15,23,42,.035)}
.ec .costume-shop-note{margin:8px 0 0;color:#4b5563;font-size:12.5px}
.ec .costume-products{margin-top:10px}
.ec .costume-products li{border-radius:8px;background:#f7f9fc}
.ec .costume-shop-photos{justify-content:flex-start;margin-top:10px}
.ec .costume-shop-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid #edf0f4}
.ec .costume-shop-actions .spacer{flex:1}
.ec .costume-shop-actions .btn,.ec .costume-upload{min-height:36px;border-radius:9px;cursor:pointer}
.ec .costume-foot{display:flex;justify-content:flex-end;margin-top:6px}
@media(max-width:700px){
  .ec .costume-month{grid-template-columns:minmax(0,1fr);padding:15px}
  .ec .costume-month-items{grid-template-columns:repeat(2,minmax(0,1fr))}.ec .costume-month-items .wide{grid-column:1/-1}
  .ec .costume-month-amount{text-align:left;padding:10px 0 0;border-left:0;border-top:1px solid #e1e6ee}
  .ec .costume-shop-actions .spacer{display:none}
}
.ec .shoot-card.costume-usage{margin:0;padding:16px 16px 14px;border:1px solid #dfe5ec;border-left:5px solid var(--shoot-accent);border-radius:12px}
/* 撮影用: タブの下の中身(見出し・登録ボタン・集計・一覧)をひとつの枠にまとめ、選んだタブの色でつなぐ。タブを替えても枠とボタンの位置は動かない */
.ec .shoot-page .shoot-nav-wrap,.ec.shoot-page .shoot-nav-wrap{margin-bottom:10px}
.ec .shoot-panel{padding:16px 16px 18px;border:1px solid color-mix(in srgb,var(--shoot-accent) 24%,#dce3ec);border-top:4px solid var(--shoot-accent);border-radius:14px;background:color-mix(in srgb,var(--shoot-soft) 40%,#fff);transition:border-color .18s ease,background-color .18s ease}
.ec .shoot-panel .shoot-list-head{margin:0 2px 14px}
.ec .shoot-panel .shoot-list-head .shoot-primary-action{min-width:150px;transition:background-color .18s ease,border-color .18s ease}
.ec .shoot-panel .costume-summary{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr))}
.ec .shoot-panel #list[aria-busy=true]{opacity:.72}
.ec .shoot-tab{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
@media (max-width:760px){.ec .shoot-panel{padding:12px 10px 14px;border-radius:12px}.ec .shoot-panel .costume-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ec .shoot-panel .shoot-list-head .shoot-primary-action{min-width:132px}}
