
  [hidden]{display:none !important}
  .lead{color:var(--muted);font-size:15px;margin:0 0 12px}
  .btnrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
  .btnrow .btn{width:auto;flex:1;min-width:110px}
  .btn.line{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
  .tam{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:6px}
  .tam div{background:#f4f7fc;border:1px solid #dde5f2;border-radius:14px;padding:12px 14px}
  .tam span{display:block;font-size:13px;color:var(--muted);margin-bottom:2px}
  .tam b{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
  .tam small{display:block;font-size:14px;color:#33415c;margin-top:2px}
  h2.sec{font-size:19px;margin:22px 0 8px}
  .wrap{max-width:1680px;padding-left:clamp(12px,2.5vw,40px);padding-right:clamp(12px,2.5vw,40px)}
  .card{font-size:clamp(15px,.55vw + 13px,19px)}
  .top{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px 16px;align-items:end}
  .top .field{margin:0}.top .btnrow{margin:0}
  table.cal,table.cal tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:12px;width:100%}
  table.cal tbody{grid-column:1/-1}
  table.cal tr{display:block;background:#f4f7fc;border:1px solid #dde5f2;border-radius:14px;padding:13px 15px;min-width:0}
  table.cal td{display:block;padding:0;border:0;overflow-wrap:anywhere}
  table.cal td:first-child{color:#33415c;font-size:.88em;margin-bottom:5px}
  table.cal td:first-child small{display:block;color:var(--muted);font-size:.9em}
  table.cal td:last-child{font-weight:700;font-size:1.12em;line-height:1.35}
  h2.sec{font-size:clamp(19px,1vw + 15px,26px);margin:26px 0 10px}
  .mhead{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end;margin-bottom:10px}
  .mhead .field{margin:0;flex:1 1 260px;max-width:460px}
  .mhead .btn{width:auto;padding-left:16px;padding-right:16px}
  #mt{font-weight:700;font-size:1.1em;margin:8px 0}
  #mt small{display:block;font-weight:500;color:#33415c;font-size:.85em}
  .mg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(2px,.5vw,8px)}
  .mg .wd{text-align:center;font-weight:700;font-size:.8em;color:#33415c;padding:4px 0}
  .mg .dc{font:inherit;text-align:left;background:#f4f7fc;border:1px solid #dde5f2;border-radius:clamp(6px,1vw,14px);padding:clamp(4px,.8vw,12px);min-height:clamp(64px,9vw,132px);cursor:pointer;color:inherit;overflow:hidden;display:block;width:100%}
  .mg .dc:hover{border-color:var(--brand)}
  .mg .dc.sel{border:2px solid var(--brand);background:#e8f0ff}
  .mg .dc.tdy b{color:var(--brand)}
  .mg .dc b{display:block;font-size:clamp(15px,1.6vw,24px);line-height:1.1}
  .mg .dc .o{display:block;font-weight:700;color:#b4530a;font-size:clamp(12px,1.1vw,17px);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mg .dc small{display:block;font-size:clamp(10px,.85vw,13.5px);color:#33415c;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  @media(max-width:700px){.mg .dc small.x{display:none}}
  .fine{font-size:13.5px;color:var(--muted);line-height:1.55;margin-top:14px}
  .fine b{color:#33415c}
  .tabs{display:flex;gap:8px;margin:6px 0 10px}
  .tabs button{flex:1;padding:11px 8px;border-radius:12px;border:1.5px solid var(--brand);background:#fff;color:var(--brand);font:inherit;font-weight:700;cursor:pointer;line-height:1.25}
  .tabs button small{display:block;font-weight:500;font-size:13px}
  .tabs button[aria-pressed="true"]{background:var(--brand);color:#fff}
  table.cal td small.nat{color:#33415c;font-size:1em;font-weight:500;display:block}
  table.cal td:last-child small{display:block;font-weight:500;font-size:.86em;color:#33415c;margin-top:3px;unicode-bidi:plaintext;text-align:left}
  .tabs{max-width:560px}.fine{max-width:1100px}
  .diff{background:#fff7e0;border:1px solid #f0d58a;border-radius:12px;padding:10px 12px;font-size:14px;margin:8px 0 0}

  .links{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px;margin-top:8px}
  .links a{display:block;background:#fff;border:1.5px solid #dde5f2;border-radius:14px;padding:12px 14px;text-decoration:none;color:inherit}
  .links a:hover{border-color:var(--brand)}.links a b{display:block;color:var(--brand)}.links a span{font-size:.86em;color:#33415c}
  .about h2{font-size:clamp(18px,.8vw + 15px,23px);margin:22px 0 6px}.about p,.about li{line-height:1.6;max-width:95ch}
  .about details{border-top:1px solid #dde5f2;padding:10px 0}.about summary{font-weight:700;cursor:pointer}
  @media print{@page{size:landscape;margin:9mm}
   body.pm>*:not(.wrap),body.pm .wrap>*:not(.card),body.pm .card>*:not(.s-grid),body.pm .s-grid>*:not(#mt):not(#mg){display:none!important}
   body.pm,body.pm .wrap,body.pm .card{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;max-width:none!important}
   body.pm #mt{font-size:18pt;margin:0 0 3mm}body.pm #mt small{font-size:10pt}
   body.pm .mg{gap:0;border-left:1px solid #000;border-top:1px solid #000}
   body.pm .mg .wd{border-right:1px solid #000;border-bottom:1px solid #000;font-size:10pt;padding:1mm 0;background:#eee;-webkit-print-color-adjust:exact;print-color-adjust:exact}
   body.pm .mg>div:not(.wd),body.pm .mg .dc{border:0;border-right:1px solid #000;border-bottom:1px solid #000;border-radius:0;background:#fff!important;min-height:0;height:calc(158mm / var(--rows,5));padding:1.5mm 2mm}
   body.pm .mg .dc b{font-size:15pt;color:#000!important}body.pm .mg .dc .o{font-size:9.5pt;color:#000}body.pm .mg .dc small{font-size:8pt;color:#222;display:block!important}}
  .crumb{font-size:14px;font-weight:600;color:var(--muted);margin:0 0 4px}.crumb a{color:var(--brand);text-decoration:none}
  .top>*,.mhead>*{min-width:0}
  .top .field input,.mhead .field select,.top .field select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .top input[type=date],.top input[type=time]{-webkit-appearance:none;appearance:none;min-height:48px;text-align:left}
  .top input[type=date]::-webkit-date-and-time-value{text-align:left}
.dc small.x b.spf,.dc small.x b.spm{display:block;margin-top:3px;font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;font-weight:800}.dc small.x b.spf{color:#b45309!important}.dc small.x b.spm{color:#1d4ed8!important;font-weight:700}.dc.hasp{box-shadow:inset 0 -4px 0 #f59e0b}
#msp{margin:14px 0 6px}#msp h3{font-size:19px;margin:0 0 8px}#msp ul{margin:0;padding:0;list-style:none;columns:2;column-gap:28px}#msp li{break-inside:avoid;padding:5px 0;border-bottom:1px solid #eef2f8;font-size:15.5px}#msp .spf{color:#b45309}
@media (max-width:700px){#msp ul{columns:1}}
tr.spd td{background:#fff7ed}tr.spd td:last-child{color:#b45309;font-weight:800}
