.sch-page{max-width:1540px;margin:0 auto;padding:18px 24px 50px;background:#f5f8fb;color:#18334d;min-height:90vh}
.sch-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.sch-heading h1{margin:0 0 5px;font-size:24px}.sch-heading p{margin:0;color:#62778a;font-size:13px}
.sch-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #d8e2ec;border-radius:12px;background:#fff}
.sch-toolbar label{font-size:12px;font-weight:650;display:flex;flex-direction:column;gap:5px}
.sch-toolbar select,.sch-toolbar input:not([type=checkbox]){border:1px solid #cddbe8;border-radius:7px;padding:9px 10px;background:white;min-height:37px;box-sizing:border-box}
.sch-search{flex:1;min-width:180px}.sch-linked{flex-direction:row!important;align-items:center;padding:10px 0;white-space:nowrap}
.sch-summary{color:#536d83;font-size:12px;font-weight:700;padding:12px 3px}
.sch-layout{display:grid;grid-template-columns:minmax(300px,.95fr) minmax(420px,1.25fr);gap:14px;align-items:start}
.sch-list{background:#fff;border:1px solid #d5e1eb;border-radius:12px;overflow:auto;max-height:calc(100vh - 240px);scrollbar-width:thin}
.sch-year{background:#dce9f4;padding:10px 13px;margin:0;border-top:1px solid #a9c1d8;color:#234b6a;font-size:15px}
.sch-year:first-child{border-top:0}
.sch-item{width:100%;border:0;border-top:1px solid #e6edf3;background:#fff;display:grid;grid-template-columns:155px minmax(0,1fr) 88px;gap:9px;padding:13px;text-align:left;align-items:center;cursor:pointer;color:#1d354c}
.sch-item:hover{background:#f2f8ff}.sch-item.active{background:#e7f2fd;box-shadow:inset 4px 0 #2875b0}
.sch-date{font-size:11px;color:#556d82;font-weight:700;font-variant-numeric:tabular-nums}
.sch-item-body{display:grid;gap:4px;min-width:0}.sch-item-body strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.sch-item-body small{font-size:11px;color:#62778a;overflow-wrap:anywhere}
.sch-count{font-size:10px;color:#6b8092;text-align:right}.sch-item:has(.sch-count) .sch-count{white-space:nowrap}
.sch-item.trip .sch-item-body strong{color:#145e91}
.sch-detail{background:#fff;border:1px solid #d5e1eb;border-radius:12px;padding:17px;max-height:calc(100vh - 240px);overflow:auto;scrollbar-width:thin}
.sch-detail-head{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #e2eaf1;padding-bottom:12px;margin-bottom:14px}
.sch-detail-head small{font-size:11px;color:#73869a}.sch-detail-head h2{font-size:18px;margin:4px 0;line-height:1.5}
.sch-kind-label{background:#e4eff9;color:#28608e;font-size:11px;border-radius:6px;padding:5px 8px;white-space:nowrap;font-weight:700}
.sch-fields{display:grid;gap:11px}
.sch-fields label{display:grid;gap:5px;color:#43586d;font-size:12px;font-weight:650}.sch-fields label small{font-weight:400}
.sch-fields input:not([type=checkbox]),.sch-fields select,.sch-fields textarea{width:100%;box-sizing:border-box;font:inherit;font-size:14px;padding:9px 10px;border:1px solid #cbd8e3;border-radius:7px;background:#fff;color:#182f43}
.sch-fields textarea{resize:vertical;line-height:1.55}.sch-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sch-person{display:inline-flex;align-items:center;gap:5px;border:1px solid #a9c8e1;border-radius:20px;padding:4px 8px;background:#eaf5ff;font-size:12px;color:#255775}
.sch-person button{background:transparent;border:0;color:#416e8a;cursor:pointer}.sch-people{display:flex;flex-wrap:wrap;gap:5px}
.sch-staff{display:flex;gap:14px;flex-wrap:wrap}.sch-staff label{display:flex;align-items:center;gap:6px;font-size:12px}
.sch-detail-actions{display:flex;align-items:center;gap:10px;margin:15px 0 5px}.sch-detail-actions button{border-radius:7px;padding:10px 19px;min-height:39px;cursor:pointer}
.sch-section{border-top:1px solid #dce5ec;margin-top:17px;padding-top:15px}.sch-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.sch-section-head h3{margin:0;font-size:15px}.sch-section-head small{color:#677e91}
.sch-photos{display:flex;flex-wrap:wrap;gap:7px}.ec.sch-page .sch-photo.sch-photo-thumb{width:132px;height:100px;padding:0;overflow:hidden;background:#eef3f7}.sch-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}.sch-photo-thumb img:not([src]){visibility:hidden}.sch-photo-broken::after{content:"画像を読み込めません";display:block;padding:8px;font-size:11px;color:#7a8794}.sch-photo{padding:7px;border:1px solid #d0dfe9;border-radius:8px;background:#f7fafc;color:#345c7c;cursor:pointer;font-size:12px}
.sch-upload{display:inline-block;padding:9px 13px;margin-top:9px;border:1px dashed #8db3d1;border-radius:8px;background:#f0f8ff;color:#175e93;font-size:12px;cursor:pointer;font-weight:650}.sch-upload input{display:block;margin-top:6px;font-size:12px;max-width:100%}
.sch-mf-list{display:grid;gap:6px}.sch-mf-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px;border:1px solid #e2eaf0;border-radius:8px;background:#f9fbfd}
.sch-mf-line span{display:grid;gap:3px;min-width:0}.sch-mf-line strong{font-size:12px;overflow-wrap:anywhere}.sch-mf-line small{color:#6b7e91;font-size:10px}.sch-mf-line b{font-size:13px;white-space:nowrap}
.sch-link,.sch-unlink{border:1px solid #a2c4df;background:#e8f3fc;color:#205b88;padding:6px 9px;border-radius:6px;font-size:11px;cursor:pointer}.sch-unlink{background:#fff;color:#697b8b;border-color:#d0dbe5}
.sch-candidates{margin-top:12px;border-top:1px solid #e5ecf2;padding-top:10px}.sch-candidates summary{cursor:pointer;font-size:12px;color:#1f6896;font-weight:650}.sch-candidates p{font-size:11px}
.sch-review-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:700}
#sch-message{position:sticky;bottom:0;border-radius:8px;padding:0;font-size:12px}#sch-message:not(:empty){padding:9px 12px;background:#e5f5ed;color:#146042}#sch-message.error{background:#fff0ee;color:#9a302c}
@media(max-width:950px){.sch-layout{grid-template-columns:minmax(0,1fr)}.sch-list,.sch-detail{max-height:none}.sch-item{grid-template-columns:120px minmax(0,1fr) 80px}}
@media(max-width:600px){.sch-page{padding:12px 10px 50px}.sch-heading{align-items:start}.sch-heading h1{font-size:20px}.sch-heading p{font-size:11px}.sch-toolbar{gap:7px}.sch-toolbar select,.sch-toolbar input{min-height:38px}.sch-item{grid-template-columns:minmax(88px,.32fr) minmax(0,1fr);padding:11px 10px}.sch-count{grid-column:2;text-align:left}.sch-detail{padding:12px}.sch-mf-line{grid-template-columns:minmax(0,1fr) auto}.sch-mf-line button{grid-column:2}.sch-two{gap:7px}}

/* Restrained operations UI — global shell is the only page title. */
.ec.sch-page{background:#f7f8fa;color:#293846;padding:15px 22px 42px}
.sch-heading{margin-bottom:12px;min-height:0}
.sch-heading p{font-size:12px;color:#687782}
.sch-heading .btn{font-size:12px;border-color:#cbd4dc;color:#34485a;background:#fff;border-radius:6px}
.sch-toolbar{border-color:#d9dfe5;border-radius:8px;box-shadow:none;padding:10px 12px}
.sch-toolbar select,.sch-toolbar input:not([type=checkbox]){border-color:#ced6dd;border-radius:5px;min-height:35px}
.sch-summary{padding:10px 2px;color:#526373}
.sch-layout{grid-template-columns:minmax(370px,.96fr) minmax(430px,1.15fr);gap:12px}
.sch-list,.sch-detail{border:1px solid #d6dce2;border-radius:7px;box-shadow:none}
.sch-year{background:#f0f3f5;border-color:#d7dfe5;color:#304b60;font-size:13px;padding:9px 12px}
.sch-item{grid-template-columns:150px minmax(0,1fr) 80px;padding:11px 12px;border-color:#ebeff2}
.sch-item:hover{background:#f7f9fb}
.sch-item.active{background:#edf3f7;box-shadow:inset 3px 0 #53758d}
.sch-item-body strong,.sch-item.trip .sch-item-body strong{color:#293a4a;font-size:13px}
.sch-date{font-size:11px}
.sch-detail{padding:0}
.sch-detail-tabs{position:sticky;top:0;z-index:2;display:flex;gap:0;background:#fafbfc;border-bottom:1px solid #d9e0e6;padding:0 14px}
.sch-detail-tabs button{appearance:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:14px 15px;color:#637485;font-weight:650;font-size:12px;cursor:pointer}
.sch-detail-tabs button.active{border-bottom-color:#45657d;color:#243f55}
.sch-detail-tabs button:hover{background:#f2f5f7}
.sch-detail #sch-form,.sch-detail>.sch-section,.sch-detail>.sch-detail-head,.sch-detail>.sch-fields,.sch-detail>.sch-trip-hint,.sch-detail>.btn{margin-left:16px;margin-right:16px}
.sch-detail #sch-form{padding-top:14px}
.sch-detail-head{margin-bottom:12px}
.sch-detail-head h2{font-size:17px;color:#253b4e}
.sch-kind-label{background:#edf1f4;color:#586b79;border:1px solid #dbe3e8;border-radius:4px}
.sch-fields input:not([type=checkbox]),.sch-fields select,.sch-fields textarea{border-radius:5px;border-color:#ccd5dd}
.sch-person{border-radius:5px;background:#eef2f5;border-color:#d5dfe6;color:#3d5669}
.sch-section{padding:18px 0}
.sch-mf-line{background:#fff;border-color:#dfe5eb;border-radius:5px}
.sch-link,.sch-unlink{background:#fff;border-color:#cbd6df;color:#425e72}
.sch-upload{background:#fafbfc;border-color:#afbbc6;color:#4a667b}
.sch-static{background:#f8fafb;border:1px solid #e2e8ed;border-radius:5px;padding:10px;white-space:pre-wrap;font-size:13px;font-weight:400;color:#394e60}
.sch-readonly input,.sch-readonly textarea,.sch-readonly select{background:#f6f8fa!important;color:#34495a!important;opacity:1}
.sch-trip-hint{font-size:12px;color:#647789;line-height:1.6}
.sch-detail [hidden]{display:none!important}
@media(max-width:950px){.sch-layout{grid-template-columns:1fr}.sch-list,.sch-detail{max-height:none}}
@media(max-width:600px){.ec.sch-page{padding:10px 9px 40px}.sch-detail-tabs{padding:0 8px}.sch-detail-tabs button{padding:12px 10px}.sch-item{grid-template-columns:100px minmax(0,1fr)}.sch-detail{padding:0}}

/* Five-fiscal-year schedule: deliberately restrained density and non-overlapping columns. */
.ec.sch-page{box-sizing:border-box;width:100%;max-width:none;min-width:0;padding:12px clamp(10px,2vw,24px) 40px}
.ec.sch-page *{box-sizing:border-box}
.ec.sch-page .sch-heading{margin:0 0 10px;min-height:0}
.ec.sch-page .sch-toolbar{min-width:0;display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.ec.sch-page .sch-toolbar label{min-width:0}
.ec.sch-page .sch-toolbar .sch-search{flex:1 1 260px;min-width:160px}
.ec.sch-page .sch-toolbar select{min-width:210px;max-width:100%}
.ec.sch-page .sch-category-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 10px;padding:4px 0}
.ec.sch-page .sch-category-tabs button{cursor:pointer;appearance:none;border:1px solid #cdd5dc;background:#fff;color:#475a6a;border-radius:5px;padding:9px 14px;min-height:36px;font-size:12px;font-weight:650;line-height:1.2}
.ec.sch-page .sch-category-tabs button.active{background:#354e62;color:#fff;border-color:#354e62}
.ec.sch-page .sch-category-tabs button:hover:not(.active){background:#f0f3f6}
.ec.sch-page .sch-layout{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.1fr);align-items:start;gap:12px;width:100%;min-width:0}
.ec.sch-page .sch-list,.ec.sch-page .sch-detail{width:100%;min-width:0;max-width:100%;overflow-x:hidden}
.ec.sch-page .sch-list{overflow-y:auto;max-height:calc(100vh - 252px)}
.ec.sch-page .sch-detail{overflow-y:auto;max-height:calc(100vh - 252px)}
.ec.sch-page .sch-item{display:block;width:100%;min-width:0;padding:10px 12px;text-align:left;white-space:normal;border-radius:0;box-shadow:none}
.ec.sch-page .sch-item.active{box-shadow:inset 3px 0 #58778e}
.ec.sch-page .sch-item-body{display:block;min-width:0;width:100%}
.ec.sch-page .sch-item-body strong{display:block;overflow-wrap:anywhere;word-break:break-word;font-size:13px;line-height:1.45;font-weight:700}
.ec.sch-page .sch-item-body>small{display:block;color:#687987;overflow-wrap:anywhere;margin-top:3px;font-size:11px;line-height:1.4}
.ec.sch-page .sch-item-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:2px 12px;margin-top:6px}
.ec.sch-page .sch-date{font-size:11px;color:#556b7c;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.ec.sch-page .sch-count{text-align:right;font-size:10px;white-space:nowrap;color:#71808c;font-weight:500}
.ec.sch-page .sch-year{font-size:13px;padding:10px 12px;background:#e9edf0}
.ec.sch-page .sch-year small{font-size:11px;font-weight:400;color:#687885}
.ec.sch-page .sch-paste-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin-top:12px;padding:22px 14px;background:#f8fafb;border:2px dashed #a5b5c2;border-radius:8px;cursor:text;text-align:center;outline:none}
.ec.sch-page .sch-paste-zone strong{font-size:14px;color:#334b5d}
.ec.sch-page .sch-paste-zone span,.ec.sch-page .sch-paste-zone small{font-size:12px;line-height:1.5;color:#637889}
.ec.sch-page .sch-paste-zone:focus,.ec.sch-page .sch-paste-zone.is-dragover{border-color:#45728e;background:#eef5fa}
.ec.sch-page .sch-paste-zone.is-uploading{opacity:.68;pointer-events:none}
@media(max-width:1020px){.ec.sch-page .sch-layout{grid-template-columns:minmax(0,1fr)}.ec.sch-page .sch-list,.ec.sch-page .sch-detail{max-height:none}}
@media(max-width:600px){.ec.sch-page .sch-category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ec.sch-page .sch-category-tabs button{padding:9px 4px}.ec.sch-page .sch-toolbar select{min-width:0;width:100%}.ec.sch-page .sch-toolbar>label:first-child{flex:1 1 180px}.ec.sch-page .sch-list{max-height:420px}.ec.sch-page .sch-detail{max-height:none}}

/* Compact, low-emphasis historical schedule rows (2026-11-10). */
.ec.sch-page .sch-list .sch-item{
  display:block;
  width:100%;
  min-height:0;
  padding:7px 11px;
  border-top:1px solid #e5e9ed;
  background:#fff;
  text-align:left;
  line-height:1.25;
}
.ec.sch-page .sch-list .sch-item:hover{background:#f6f8fa}
.ec.sch-page .sch-list .sch-item.active{background:#edf2f6;box-shadow:inset 3px 0 #647f93}
.ec.sch-page .sch-list .sch-item-body{display:block;width:100%;min-width:0}
.ec.sch-page .sch-list .sch-item-title{
  display:block;
  max-width:100%;
  overflow-wrap:anywhere;
  color:#273b4a;
  font-size:12.5px;
  font-weight:500;
  line-height:1.4;
}
.ec.sch-page .sch-list .sch-item-meta{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap;
  gap:2px 11px;
  margin-top:3px;
  line-height:1.2;
}
.ec.sch-page .sch-list .sch-date,
.ec.sch-page .sch-list .sch-item-kind,
.ec.sch-page .sch-list .sch-count{
  display:inline;
  color:#74818c;
  font-size:10.5px;
  font-weight:400;
  white-space:normal;
  text-align:left;
}
.ec.sch-page .sch-list .sch-count{color:#47718b}
.ec.sch-page .sch-list .sch-year{
  padding:7px 11px;
  font-size:12px;
  font-weight:650;
  background:#f1f3f5;
}
.ec.sch-page .sch-list .sch-year small{font-weight:400;font-size:10px}
.ec.sch-page .sch-category-tabs button{font-weight:500}
.ec.sch-page .sch-category-tabs button.active{font-weight:600}
.ec.sch-page .sch-summary{font-size:11.5px;font-weight:400;padding:8px 2px}
@media(max-width:600px){
  .ec.sch-page .sch-list .sch-item{padding:9px 10px}
  .ec.sch-page .sch-list .sch-item-title{font-size:12.5px}
}

/* Final list typography and left-aligned date column: override shared button weights. */
.ec.sch-page .sch-list button.sch-item{
  display:grid!important;
  grid-template-columns:100px minmax(0,1fr)!important;
  align-items:center;
  column-gap:12px;
  padding:8px 11px!important;
  min-height:0!important;
  font-weight:400!important;
  line-height:1.3;
}
.ec.sch-page .sch-list .sch-date-column{
  display:block;
  font-size:11px;
  line-height:1.35;
  color:#758491;
  font-weight:400!important;
  font-variant-numeric:tabular-nums;
  white-space:normal;
  overflow-wrap:anywhere;
}
.ec.sch-page .sch-list .sch-item-body{display:block;min-width:0}
.ec.sch-page .sch-list .sch-item-title{
  display:block;
  font-family:inherit;
  font-size:12.5px!important;
  line-height:1.4;
  color:#334657;
  font-weight:400!important;
  letter-spacing:0;
}
.ec.sch-page .sch-list .sch-item-meta{
  margin-top:2px;
  gap:2px 10px;
  justify-content:flex-start;
  font-weight:400;
}
.ec.sch-page .sch-list .sch-item-kind,
.ec.sch-page .sch-list .sch-count{
  font-weight:400!important;
  font-size:10px;
  color:#80909e;
}
@media(max-width:600px){
  .ec.sch-page .sch-list button.sch-item{grid-template-columns:84px minmax(0,1fr)!important;gap:9px;padding:9px 8px!important}
  .ec.sch-page .sch-list .sch-date-column{font-size:10px}
}

/* Schedule review typography: override global .ec form/button rules, not just list text. */
.ec.sch-page .sch-detail,
.ec.sch-page .sch-detail form,
.ec.sch-page .sch-detail .sch-fields,
.ec.sch-page .sch-detail input,
.ec.sch-page .sch-detail select,
.ec.sch-page .sch-detail textarea,
.ec.sch-page .sch-detail button,
.ec.sch-page .sch-detail label,
.ec.sch-page .sch-detail .sch-static,
.ec.sch-page .sch-detail .sch-person,
.ec.sch-page .sch-detail .sch-mf-line,
.ec.sch-page .sch-detail .sch-mf-line b{
  font-weight:400!important;
}
.ec.sch-page .sch-detail .sch-detail-head h2{
  font-weight:500!important;
  font-size:16px;
}
.ec.sch-page .sch-detail .sch-detail-head small,
.ec.sch-page .sch-detail .sch-kind-label,
.ec.sch-page .sch-detail .sch-fields label,
.ec.sch-page .sch-detail .sch-fields label small,
.ec.sch-page .sch-detail .sch-section-head h3,
.ec.sch-page .sch-detail .sch-detail-tabs button,
.ec.sch-page .sch-detail .sch-paste-zone strong{
  font-weight:400!important;
}
.ec.sch-page .sch-detail input:not([type=checkbox]),
.ec.sch-page .sch-detail select,
.ec.sch-page .sch-detail textarea{
  font-size:13px!important;
  line-height:1.5;
  color:#33465a;
}
.ec.sch-page .sch-detail .sch-detail-tabs button.active{
  font-weight:500!important;
}
.ec.sch-page .sch-detail .sch-detail-actions button{
  font-weight:500!important;
}
.ec.sch-page .sch-list button.sch-item{
  grid-template-columns:87px 43px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  padding:7px 10px!important;
}
.ec.sch-page .sch-list .sch-kind-badge{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:1px solid #d4dce3;
  border-radius:4px;
  padding:3px 4px;
  min-height:22px;
  font-size:10px;
  font-weight:400!important;
  line-height:1.2;
  white-space:nowrap;
  color:#526371;
  background:#f4f6f7;
}
.ec.sch-page .sch-list .sch-kind-badge.meal{background:#f3f3f2;border-color:#e0e0de;color:#5a5b5a}
.ec.sch-page .sch-list .sch-kind-badge.business{background:#eaf1f5;border-color:#d3e0e9;color:#405f75}
.ec.sch-page .sch-list .sch-kind-badge.travel{background:#f4f0e9;border-color:#e5ddd1;color:#786852}
.ec.sch-page .sch-list .sch-item-title{font-weight:400!important;line-height:1.35}
.ec.sch-page .sch-list .sch-count{display:block;margin-top:2px;font-weight:400!important}
@media(max-width:600px){
  .ec.sch-page .sch-list button.sch-item{grid-template-columns:77px 39px minmax(0,1fr)!important;gap:6px!important}
  .ec.sch-page .sch-list .sch-kind-badge{font-size:9px}
}

/* 参加者の選択(開いたまま続けて選ぶ一覧、2026-11-17) */
.sch-picker-wrap{position:relative;display:grid;gap:6px}
.sch-picker-label{font-size:12px;color:#4a5d70}.sch-picker-label small{color:#7a8794;font-size:11px}
.ec.sch-page .sch-detail button.sch-picker-btn{display:flex;justify-content:flex-start;width:100%;min-height:40px;padding:8px 12px;border:1px solid #cfd9e2;border-radius:7px;background:#fff;color:#33465a;text-align:left;cursor:pointer}
.sch-picker{display:grid;gap:6px;padding:8px;background:#fff;border:1px solid #c8d4de;border-radius:8px;box-shadow:0 10px 28px rgba(20,40,60,.16)}
.sch-picker[hidden]{display:none}
.sch-picker-list{max-height:340px;overflow:auto;display:block}
.sch-pick-group{padding:8px 6px 4px;font-size:11px;color:#7a8794}
.ec.sch-page .sch-detail button.sch-pick-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-height:34px;flex-shrink:0;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#2c3e50;text-align:left;cursor:pointer}
.ec.sch-page .sch-detail button.sch-pick-row:hover{background:#f1f6fa}
.ec.sch-page .sch-detail button.sch-pick-row.is-on{background:#e8f2fb}
.sch-pick-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #9fb3c4;border-radius:4px;background:#fff;color:#fff;font-size:12px}
.sch-pick-row.is-on .sch-pick-check{background:#2f6fb0;border-color:#2f6fb0}
.sch-pick-name small{margin-left:6px;color:#7a8794;font-size:11px}
.sch-pick-count{color:#7a8794;font-size:11px}
.sch-picker-foot{display:flex;justify-content:flex-end}
.ec.sch-page .sch-detail .sch-picker-foot button{padding:6px 14px;border:1px solid #cfd9e2;border-radius:6px;background:#f7fafc;color:#33465a;cursor:pointer}
/* 一覧の入力済みバッジ(2026-11-17) */
.sch-fill{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.sch-fill span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:1px 7px;border:1px solid #d5e0ea;border-radius:10px;background:#f2f6f9;color:#3d5669;font-size:11px;line-height:1.6}
.sch-fill span.work{background:#e7f1fb;border-color:#bcd6ef;color:#24588f}
.sch-fill span.private{background:#fdecec;border-color:#f0aaa4;color:#b42318}
/* 写真・資料の × (外す、2026-11-17) */
.sch-photo-wrap{position:relative;display:inline-flex}
.ec.sch-page .sch-detail button.sch-photo-del{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:0;padding:0;border:0;border-radius:50%;background:rgba(20,30,40,.62);color:#fff;font-size:15px;line-height:1;cursor:pointer}
.ec.sch-page .sch-detail button.sch-photo-del:hover{background:#b42318}
.sch-photo-wrap .sch-photo:not(.sch-photo-thumb){padding-right:30px}
/* 子供ありのバッジ(2026-11-17) */
.sch-fill span.child{background:#fff4e0;border-color:#f1cf94;color:#8a5300}
/* 子供の同伴のチェックボックス(2026-11-17) */
.sch-child-field{display:grid;gap:6px}
/* 自社の参加者の名前バッジ(2026-11-17) */
.sch-fill span.staff{background:#e9f6ee;border-color:#a9d8b8;color:#1f6b3a}
/* 日付の下の泊数(2026-11-18) */
.ec.sch-page .sch-list .sch-date-column .sch-nights{display:block;margin-top:2px;color:#4f6273}
/* 2026-11-18 見やすさの調整: 一覧を詰める・詳細を小さく・区分/目的の四角ボタン・割合スライダー・参加者を小さく */
.ec.sch-page .sch-list button.sch-item{padding:5px 10px!important}
.ec.sch-page .sch-list .sch-item-title{font-size:12px!important;line-height:1.3}
.ec.sch-page .sch-list .sch-count{margin-top:0;font-size:9.5px}
.ec.sch-page .sch-list .sch-date-column{font-size:10.5px;line-height:1.3}
.ec.sch-page .sch-list .sch-kind-badge{min-height:18px;padding:1px 4px}
.sch-fill{gap:3px;margin-top:2px}
.sch-fill span{font-size:10px;line-height:1.45;padding:0 6px;max-width:200px}
.sch-fields{gap:9px}
.ec.sch-page .sch-detail .sch-fields input:not([type=checkbox]):not([type=range]),.ec.sch-page .sch-detail .sch-fields select,.ec.sch-page .sch-detail .sch-fields textarea{padding:5px 8px;font-size:12.5px!important}
.ec.sch-page .sch-detail .sch-detail-head h2{font-size:15px}
.sch-field{display:grid;gap:5px}
.sch-field-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#43586d}
.sch-choice{display:flex;flex-wrap:wrap;gap:4px}
.ec.sch-page .sch-detail .sch-choice button{min-height:0;height:28px;padding:0 10px;border:1px solid #cdd7e0;border-radius:4px;background:#fff;color:#3b4f62;font-size:12px;line-height:1;cursor:pointer}
.ec.sch-page .sch-detail .sch-choice button:hover{background:#f2f7fb}
.ec.sch-page .sch-detail .sch-choice button.is-on{background:#2f6fb0;border-color:#2f6fb0;color:#fff}
.ec.sch-page .sch-detail .sch-choice button:disabled{cursor:default}
.sch-purpose-free[hidden]{display:none!important}
.sch-dates{grid-template-columns:1fr 1fr auto;align-items:end}
.sch-nights-badge{align-self:end;margin-bottom:5px;padding:2px 9px;border:1px solid #c9d6e2;border-radius:10px;background:#eef4f9;color:#2f5878;font-size:11.5px;white-space:nowrap}
.sch-nights-badge[hidden]{display:none}
.sch-ratio #sch-ratio-val{font-weight:600;color:#24588f}.sch-ratio #sch-ratio-val.private{color:#b42318}.sch-ratio #sch-ratio-val.unset{font-weight:400;color:#8a97a3}
.ec.sch-page .sch-detail button.sch-ratio-clear{margin-left:auto;min-height:0;padding:1px 8px;border:1px solid #d3dbe2;border-radius:4px;background:#fff;color:#5d6f80;font-size:11px;cursor:pointer}
.sch-ratio-clear[hidden]{display:none!important}
#sch-ratio{-webkit-appearance:none;appearance:none;width:100%;height:18px;margin:0;padding:0!important;border:0!important;background:transparent!important;cursor:pointer}
#sch-ratio::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,#2f6fb0 var(--p,0%),#dbe3ea var(--p,0%))}
#sch-ratio::-moz-range-track{height:6px;border-radius:3px;background:linear-gradient(to right,#2f6fb0 var(--p,0%),#dbe3ea var(--p,0%))}
#sch-ratio::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-5px;border-radius:50%;background:#2f6fb0;border:2px solid #fff;box-shadow:0 0 0 1px #2f6fb0}
#sch-ratio::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#2f6fb0;border:2px solid #fff;box-shadow:0 0 0 1px #2f6fb0}
#sch-ratio.is-unset::-webkit-slider-thumb{background:#fff;box-shadow:0 0 0 1px #9aa8b4}
#sch-ratio.is-unset::-moz-range-thumb{background:#fff;box-shadow:0 0 0 1px #9aa8b4}
.sch-ratio-ticks{display:flex;justify-content:space-between;padding:0 3px;font-size:9.5px;color:#8a97a3;font-variant-numeric:tabular-nums}
.sch-picker-wrap{gap:4px}
.sch-picker-head{display:flex;align-items:center;gap:8px}
.ec.sch-page .sch-detail button.sch-picker-btn{display:inline-flex;width:auto;min-height:0;height:24px;padding:0 9px;font-size:11.5px;border-radius:4px}
.sch-people{gap:4px}
.sch-people:empty{display:none}
.ec.sch-page .sch-detail .sch-person{padding:1px 6px;font-size:11.5px}
.ec.sch-page .sch-detail .sch-person button{min-height:0;padding:0 2px;font-size:11px}
.ec.sch-page .sch-detail .sch-staff{gap:12px}
.ec.sch-page .sch-detail .sch-staff label{display:inline-flex!important;flex-direction:row;align-items:center;gap:4px;font-size:12px}
/* 期間外のホテル代・交通費の候補(2026-11-18) */
.sch-nearby{margin-bottom:8px}
.sch-guess,.sch-when{display:inline-block;margin-right:5px;padding:0 6px;border-radius:9px;font-size:10px;font-style:normal;line-height:1.6;vertical-align:1px}
.sch-guess.hotel{background:#f3ecfb;border:1px solid #d8c4ef;color:#5b3a8a}
.sch-guess.move{background:#e7f1fb;border:1px solid #bcd6ef;color:#24588f}
.sch-when{background:#f2f4f6;border:1px solid #dde3e8;color:#5d6f80}
.sch-tags{display:flex!important;flex-wrap:wrap;gap:4px;margin-bottom:2px}
.sch-tags .sch-guess,.sch-tags .sch-when{margin-right:0}
/* 期間外候補の「ほぼ確実」(2026-11-18) */
.sch-sure{display:inline-block;padding:0 6px;border-radius:9px;font-size:10px;font-style:normal;line-height:1.6;background:#e6f4ea;border:1px solid #9fd0ad;color:#1d6b35;font-weight:600}
/* 役員借入で処理した明細・出張手当(2026-11-18) */
.sch-loan{justify-self:start;display:inline-block;padding:0 6px;border-radius:9px;font-size:10px;font-style:normal;line-height:1.6;background:#fff4e0;border:1px solid #f1cf94;color:#8a5300}
.sch-guess.allowance{background:#fdecec;border:1px solid #f0c2bd;color:#9a2b1f}
/* 期間中の候補の種類バッジ(2026-11-18) */
.sch-guess.road{background:#f2f4f6;border:1px solid #d3dbe2;color:#4f6273}
.sch-guess.meal{background:#fff7e8;border:1px solid #efd9a8;color:#7a5a12}
/* 宿泊先(Booking.com の予約履歴、2026-11-18) */
.sch-stay{justify-self:start;font-style:normal;font-size:11.5px;color:#5b3a8a}
/* 紐づけしない/戻す(2026-11-18) */
.sch-mf-line .sch-btns{display:flex!important;flex-direction:column;gap:4px;align-items:stretch}
.ec.sch-page .sch-detail button.sch-dismiss,.ec.sch-page .sch-detail button.sch-undismiss{min-height:0;height:24px;padding:0 8px;border:1px solid #d6dde4;border-radius:5px;background:#fff;color:#6b7c8c;font-size:11px;cursor:pointer;white-space:nowrap}
.ec.sch-page .sch-detail button.sch-dismiss:hover{background:#fbf1f1;border-color:#e2c3c3;color:#8a3b3b}
.ec.sch-page .sch-detail button.sch-undismiss{height:30px;color:#205b88;border-color:#a2c4df}
.sch-dismissed .sch-mf-line{opacity:.75}

/* Compact related-expense rows; override the generic Expense form sizes explicitly. */
.ec.sch-page .sch-related-expenses .sch-section-head{margin-bottom:8px}
.ec.sch-page .sch-expense-group{margin:12px 0 0}
.ec.sch-page .sch-expense-group>h4,.ec.sch-page .sch-candidates>h4{display:flex;align-items:center;gap:8px;margin:0 0 5px;padding:5px 8px;background:#f2f5f8;border-radius:3px;font-size:12px;font-weight:600;color:#345268}
.ec.sch-page .sch-expense-group>h4 small{font-size:10px;font-weight:400;color:#748598}
.ec.sch-page .sch-mf-list{gap:4px}
.ec.sch-page .sch-mf-card{border:1px solid #dfe5eb;border-radius:4px;background:#fff;overflow:hidden}
.ec.sch-page .sch-mf-card>.sch-mf-line{padding:6px 8px;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
.ec.sch-page .sch-mf-line .sch-mf-title{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ec.sch-page .sch-mf-title strong{font-size:12px;line-height:1.4}
.ec.sch-page .sch-mf-title .sch-account-badge{display:inline-block;white-space:nowrap;font-style:normal;font-size:10px;font-weight:400;line-height:1.4;padding:1px 5px;border:1px solid #dae2eb;border-radius:3px;background:#f4f7fa;color:#64748b}
.ec.sch-page .sch-mf-line small{font-size:10px;line-height:1.3}
.ec.sch-page .sch-mf-line b{font-size:12px}
.ec.sch-page .sch-mf-line .sch-btns{flex-direction:row;gap:4px}
.ec.sch-page .sch-mf-line button{min-height:0;height:24px;min-width:0;padding:2px 7px;font-size:11px;line-height:1.2;white-space:nowrap;grid-column:auto}
.ec.sch-page .sch-mf-line .sch-stay{font-size:10px;line-height:1.35;margin:0;padding:0;background:none;border:0;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.ec.sch-page .sch-usage-editor{padding:0 8px 6px;border:0;margin:0}
.ec.sch-page .sch-usage-editor fieldset{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 6px;border:0;padding:0;margin:0;min-width:0}
.ec.sch-page .sch-usage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;grid-column:1/-1;margin:0}
.ec.sch-page .sch-usage-grid label,.ec.sch-page .sch-usage-reason{display:flex;flex-direction:column;gap:2px;font-size:10px;line-height:1.2;color:#64748b;min-width:0;margin:0}
.ec.sch-page .sch-usage-grid input,.ec.sch-page .sch-usage-grid select,.ec.sch-page .sch-usage-editor textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:3px 6px;height:28px;min-height:28px;border:1px solid #d4dde5;border-radius:3px;background:#fff;color:#33465a;font:inherit;font-size:12px!important;line-height:20px}
.ec.sch-page .sch-usage-editor textarea{resize:vertical;max-height:140px;overflow:auto}
.ec.sch-page .sch-usage-actions{display:flex;align-items:center;gap:5px;margin:0;font-size:10px;color:#64748b;max-width:180px}
.ec.sch-page .sch-usage-actions [data-usage-state]:empty{display:none}
.ec.sch-page .sch-usage-actions button{height:28px;min-height:0;padding:3px 8px;font-size:11px;line-height:20px;border:1px solid #bfd0df;border-radius:3px;background:#fff;color:#165c91}
.ec.sch-page .sch-usage-actions button:disabled{opacity:.45}
.ec.sch-page .sch-usage-read{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;margin:0}
.ec.sch-page .sch-usage-read dt{font-size:10px;color:#64748b}
.ec.sch-page .sch-usage-read dd{margin:2px 0 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ec.sch-page .sch-usage-read .sch-usage-reason{grid-column:1/-1}
.sch-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){
 .ec.sch-page .sch-mf-card>.sch-mf-line{grid-template-columns:minmax(0,1fr) auto;gap:4px 6px}
 .ec.sch-page .sch-mf-line>.sch-btns,.ec.sch-page .sch-mf-line>button{grid-column:2;grid-row:2;justify-self:end}
 .ec.sch-page .sch-mf-description{grid-row:1/3}
 .ec.sch-page .sch-mf-line .sch-btns{flex-direction:column;gap:3px}
 .ec.sch-page .sch-usage-grid{gap:4px}
 .ec.sch-page .sch-usage-grid input,.ec.sch-page .sch-usage-grid select{padding:3px;font-size:11px!important}
 .ec.sch-page .sch-usage-actions{max-width:110px}
}
/* Candidate -> link -> usage. Candidates and transport/hotel summaries have no editor. */
.ec.sch-page .sch-related-expenses>.sch-candidates{margin-top:16px;padding-top:12px}
.ec.sch-page .sch-related-expenses [data-expense-section=linked]>.sch-section-head{margin-bottom:5px}
.ec.sch-page .sch-expense-group>h4 button{margin-left:auto;min-height:0;height:24px;padding:2px 9px;border:1px solid #bccddd;border-radius:3px;background:#fff;font-size:11px;line-height:18px}
.ec.sch-page .sch-expense-group.is-complete>h4{background:#f0f6f3;color:#416454}
.ec.sch-page .sch-empty-candidates{margin:5px 8px;font-size:11px;color:#82909c}
.ec.sch-page .sch-more-expenses{display:block;width:100%;height:28px;min-height:0;margin-top:4px;padding:3px 8px;border:1px dashed #c9d5df;border-radius:3px;background:#fff;font-size:11px;color:#45637a}
.ec.sch-page .sch-usage-grid{grid-template-columns:minmax(0,1fr);gap:4px}
.ec.sch-page .sch-usage-choice{display:grid;grid-template-columns:52px minmax(0,1fr);gap:5px;align-items:start}
.ec.sch-page .sch-usage-label{font-size:10px;line-height:24px;color:#64748b}
.ec.sch-page .sch-usage-buttons{display:flex;flex-wrap:wrap;gap:4px}
.ec.sch-page .sch-usage-buttons button{height:24px;min-height:0;padding:2px 8px;border:1px solid #d4dde5;border-radius:3px;background:#fff;color:#455d70;font-size:11px;line-height:18px}
.ec.sch-page .sch-usage-buttons button.is-on{color:#fff;background:#2f6fb0;border-color:#2f6fb0}
.ec.sch-page .sch-purpose-hint{display:block;margin-left:57px;font-size:10px;color:#81909d}
.ec.sch-page .sch-usage-read{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.ec.sch-page .sch-usage-buttons{gap:3px}.ec.sch-page .sch-usage-buttons button{padding-inline:6px}}
/* 確定は紐づけ済みの見出し・個人利用・勘定科目の色(2026-11-26) */
.ec.sch-page .sch-expense-group>h4 .sch-confirmed{margin-left:auto;font-style:normal;font-size:10.5px;font-weight:600;color:#2f6b4f;background:#e3f3ea;border:1px solid #b9dcc8;border-radius:0;padding:1px 6px}
.ec.sch-page .sch-expense-group>h4 .sch-confirmed+button{margin-left:6px}
.ec.sch-page .sch-expense-group>h4 button.sch-confirm{background:#1f6fb2;border-color:#1f6fb2;color:#fff;font-weight:600}
.ec.sch-page .sch-expense-group>h4 button.sch-unconfirm{color:#5d6f80}
.ec.sch-page .sch-hidden-note{margin:8px 0 0;font-size:11px;color:#6b7c8c}
.ec.sch-page .sch-personal-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;padding:7px 9px;border:1px solid #f0d2d2;border-radius:4px;background:#fdf5f5;font-size:11px;color:#7a3a3a}
.ec.sch-page .sch-personal-bar button{min-height:0;height:26px;padding:2px 10px;border:1px solid #d9a6a6;border-radius:3px;background:#fff;color:#8a2f2f;font-size:11px}
.ec.sch-page .sch-personal-bar button.sch-personal-on{background:#b54646;border-color:#b54646;color:#fff;font-weight:600}
.sch-personal{justify-self:start;font-style:normal;font-size:10.5px;color:#8a2f2f;background:#fbeaea;border:1px solid #efc9c9;border-radius:3px;padding:1px 6px}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-travel{background:#e8f1fb;border-color:#b9d3ef;color:#215d96}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-trip{background:#e6f5f3;border-color:#b3dcd6;color:#1f6b62}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-leisure{background:#f1ecfa;border-color:#d4c6ef;color:#5b3f99}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-entertain{background:#fdf0e3;border-color:#f0cfa8;color:#9a5414}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-meeting{background:#fbf7dd;border-color:#e8dc93;color:#7a6a0e}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-welfare{background:#eaf6e6;border-color:#bfe0b3;color:#3c7a2a}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-supply{background:#f3eee9;border-color:#dccfc2;color:#6d5440}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-ad{background:#fbe9f2;border-color:#efc0d8;color:#94356a}
.ec.sch-page .sch-mf-title .sch-account-badge.acc-loan{background:#fbeaea;border-color:#efc9c9;color:#8a2f2f}
/* ETCのまとめ(2026-11-26) */
.ec.sch-page .sch-etc-bundle>summary{list-style:none;cursor:pointer}
.ec.sch-page .sch-etc-bundle>summary::-webkit-details-marker{display:none}
.ec.sch-page .sch-etc-bundle>summary .sch-etc-toggle::before{content:"開く ▾";display:inline-block;min-width:52px;text-align:center;font-size:11px;color:#425e72;border:1px solid #cbd6df;border-radius:5px;padding:4px 8px;background:#fff}
.ec.sch-page .sch-etc-bundle[open]>summary .sch-etc-toggle::before{content:"閉じる ▴"}
.ec.sch-page .sch-etc-bundle>.sch-mf-list{margin:6px 0 2px 14px}
/* 明細ごとの個人利用(2026-11-26) */
.ec.sch-page .sch-detail button.sch-personal-line{min-height:0;height:24px;padding:0 8px;border:1px solid #e2c3c3;border-radius:5px;background:#fff;color:#8a3b3b;font-size:11px;white-space:nowrap;cursor:pointer}
.ec.sch-page .sch-detail button.sch-personal-line:hover{background:#fbf1f1}
.ec.sch-page .sch-detail button.sch-personal-line.is-on{background:#fbeaea;border-color:#d9a6a6;color:#6b2a2a}
.ec.sch-page .sch-personal-bar>span b{font-weight:700}
.ec.sch-page .sch-personal-bar>span{margin-right:auto}
/* チェックで一括操作(2026-11-26) */
.ec.sch-page .sch-mf-line.has-pick{grid-template-columns:auto minmax(0,1fr) auto auto}
.ec.sch-page .sch-etc-bundle>summary.has-pick{grid-template-columns:auto minmax(0,1fr) auto auto}
.ec.sch-page .sch-pick,.ec.sch-page .sch-pick-all{width:16px;height:16px;margin:0;accent-color:#1f6fb2;cursor:pointer}
.ec.sch-page .sch-expense-group>h4 .sch-pick-all{margin-right:2px}
.ec.sch-page .sch-mf-card.is-picked>.sch-mf-line{background:#eef6fd}
.ec.sch-page .sch-bulk{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;padding:7px 9px;border:1px solid #b9d3ef;border-radius:4px;background:#e8f1fb;box-shadow:0 2px 6px rgba(30,60,90,.12);font-size:12px;color:#1f4f7a}
.ec.sch-page .sch-bulk[hidden]{display:none}
.ec.sch-page .sch-bulk>b{margin-right:4px}
.ec.sch-page .sch-bulk button,.ec.sch-page .sch-bulk select{min-height:0;height:26px;padding:2px 10px;border:1px solid #9fc0e0;border-radius:4px;background:#fff;color:#1f4f7a;font-size:11.5px}
.ec.sch-page .sch-bulk button[data-bulk-op=link]{background:#1f6fb2;border-color:#1f6fb2;color:#fff;font-weight:600}
.ec.sch-page .sch-bulk button[data-bulk-op=personal_on]{color:#8a2f2f;border-color:#d9a6a6}
.ec.sch-page .sch-bulk .sch-bulk-clear{margin-left:auto;border-color:transparent;background:transparent;color:#5d6f80}
@media(max-width:600px){.ec.sch-page .sch-mf-line.has-pick{grid-template-columns:auto minmax(0,1fr) auto}}

/* 経費記録の右側に埋め込むとき(?embed=1, 2026-11-28): 一覧・見出しは出さず、詳細だけを全幅で */
html.sch-embed .sch-heading,html.sch-embed .sch-category-tabs,html.sch-embed .sch-toolbar,html.sch-embed #sch-summary,html.sch-embed #sch-list{display:none!important}
html.sch-embed .ec.sch-page{padding:0;margin:0;max-width:none}
html.sch-embed .sch-layout{display:block!important;margin:0}
html.sch-embed .sch-detail{position:static!important;max-height:none!important;height:auto!important;overflow:visible!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* 2026-11-30 確定の表示: 角ばった四角。一覧の右に 経費・説明(緑=確定、赤=未確定)、詳細に「経費 確定」「説明 確定」 */
.ec.sch-page .sch-list button.sch-item:has(.sch-status){grid-template-columns:87px 43px minmax(0,1fr) auto!important}
@media(max-width:600px){.ec.sch-page .sch-list button.sch-item:has(.sch-status){grid-template-columns:77px 39px minmax(0,1fr) auto!important}}
.sch-status{display:flex;gap:3px;align-self:center;justify-self:end}
.sch-status span{display:inline-block;font-size:9.5px;line-height:1;padding:3px 4px;border:1px solid;border-radius:0;font-weight:600;white-space:nowrap}
.sch-status .is-ok{color:#1f6b3a;background:#e6f4ea;border-color:#5aa877}
.sch-status .is-ng{color:#b42c2c;background:#fdeeee;border-color:#e08a8a}
.sch-done-badge,.sch-tab-done{display:inline-block;font-style:normal;font-weight:600;color:#1f6b3a;background:#e6f4ea;border:1px solid #5aa877;border-radius:0;line-height:1.2}
.sch-done-badge{font-size:10.5px;padding:2px 6px;margin-left:8px;vertical-align:middle}
.sch-tab-done{font-size:9.5px;padding:1px 4px;margin-left:5px;vertical-align:1px}
.ec.sch-page .sch-detail .sch-detail-actions .sch-done-badge{margin-left:0}
.sch-done-badge,.sch-tab-done{white-space:nowrap}
.ec.sch-page .sch-detail .sch-detail-actions{flex-wrap:wrap;row-gap:6px}
.ec.sch-page .sch-detail .sch-detail-actions button{white-space:nowrap}
.ec.sch-page .sch-detail .sch-detail-actions button.sch-confirm{background:#1f6fb2;border-color:#1f6fb2;color:#fff;font-weight:600!important}
.ec.sch-page .sch-detail .sch-detail-actions button.sch-unconfirm{color:#5d6f80}
/* 2026-11-30 明細の説明欄の幅を行の幅に収める(題名が長いと列が広がり、宿名・品名の行が金額に重なっていた) */
.ec.sch-page .sch-mf-line .sch-mf-description{grid-template-columns:minmax(0,1fr)}
.ec.sch-page .sch-mf-line .sch-mf-title{min-width:0}
.ec.sch-page .sch-mf-line .sch-mf-title strong{white-space:normal;overflow-wrap:anywhere}

/* 払い戻し済みの明細(2026-12-03) */
.sch-refund{justify-self:start;display:inline-block;padding:1px 6px;border-radius:3px;font-size:10.5px;font-style:normal;line-height:1.5;background:#eef3f8;border:1px solid #b9c9da;color:#3d5a78}
.sch-refunded{text-decoration:line-through;color:#8a97a5}

/* 個人利用で処理済み(役員借入金)の折りたたみ(2026-12-03) */
.sch-loan-lines{margin-top:12px}
.sch-loan-lines>summary{cursor:pointer;font-size:13px;color:#5a6570;padding:6px 2px}
.sch-loan-lines .sch-mf-line{background:#f7f8f9;color:#6b7580}
