/* 自動生成：06_シーリング計算アプリ の CSS に #sealApp を付けたもの。手で直さない */
#sealApp{
    --base:#4a3f8f; --base2:#6b5ec9; --bg:#f5f4fa; --card:#fff;
    --ink:#1d1a2b; --muted:#6a667d; --line:#e2dff0;
    --accent:#6b5ec9; --hard:#e0761a; --ok:#1a8f4c; --ng:#c0392b;
    --shadow:0 2px 10px rgba(35,25,70,.08);
  }#sealApp *{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}#sealApp{margin:0; padding:0;}#sealApp{
    font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
    background:var(--bg); color:var(--ink); font-size:16px; line-height:1.5;
    padding-bottom:env(safe-area-inset-bottom);
  }#sealApp .wrap{max-width:600px; margin:0 auto; min-height:100vh;}#sealApp header{
    background:linear-gradient(135deg,var(--base),var(--base2));
    color:#fff; padding:calc(env(safe-area-inset-top) + 13px) 16px 12px;
    position:sticky; top:0; z-index:20; box-shadow:0 2px 8px rgba(0,0,0,.15);
  }#sealApp header .brand{display:flex; align-items:center; gap:8px; padding-bottom:6px;}#sealApp .brand-mark{display:block; height:24px; width:auto;}#sealApp .brand-name{font-size:15px; font-weight:900; letter-spacing:.5px;}#sealApp .brand-sub{font-size:9px; font-weight:700; letter-spacing:2px; color:rgba(255,255,255,.7); align-self:flex-end; padding-bottom:3px;}#sealApp header h1{font-size:19px; margin:1px 0 1px; font-weight:800;}#sealApp header .sub{font-size:11.5px; opacity:.85;}#sealApp .pad{padding:12px 13px 40px;}#sealApp .sec{background:var(--card); border:1px solid var(--line); border-radius:14px;
       padding:12px 13px; margin:0 0 10px; box-shadow:var(--shadow);}#sealApp .sec>h2{font-size:14px; font-weight:900; color:var(--base); margin:0 0 9px;
          border-left:5px solid var(--base2); padding-left:8px; display:flex; align-items:center; gap:8px;}#sealApp .sec>h2 .num{font-size:11px; color:var(--muted); font-weight:800;}#sealApp .sec>h2 .hint{font-size:11px; color:var(--muted); font-weight:700; margin-left:auto;}#sealApp .grid2{display:grid; grid-template-columns:1fr 1fr; gap:8px;}#sealApp .f label{display:block; font-size:11.5px; font-weight:800; color:var(--muted); margin-bottom:3px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}#sealApp .f .in{display:flex; align-items:center; gap:5px;}#sealApp input[type=number],#sealApp input[type=text],#sealApp select{
    padding:9px 9px; font-size:16px; font-weight:800; border:2px solid var(--line);
    border-radius:10px; background:#fff; color:var(--ink); width:100%; min-width:0;}#sealApp input[type=number]{text-align:right; font-size:19px; padding:8px 9px;}#sealApp input:focus,#sealApp select:focus{border-color:var(--accent); outline:none;}#sealApp select{font-size:14px; padding:10px 6px;}#sealApp .u{font-size:13px; font-weight:800; color:var(--muted); white-space:nowrap;}#sealApp .seg{display:flex; border:1.5px solid var(--line); border-radius:10px; overflow:hidden; margin:0 0 9px;}#sealApp .seg button{flex:1; font-size:12.5px; font-weight:800; padding:8px 4px; border:none;
    background:#fff; color:var(--muted); cursor:pointer;}#sealApp .seg button.on{background:var(--base); color:#fff;}#sealApp .chips{display:flex; gap:5px; flex-wrap:wrap; align-items:center; margin:8px 0 0;}#sealApp .chips .lbl{font-size:11px; color:var(--muted); font-weight:800; width:100%;}#sealApp .chips button{font-size:12px; font-weight:800; padding:5px 10px; border-radius:999px;
    border:1.5px solid var(--line); background:#fff; color:var(--base2); cursor:pointer;}#sealApp .chips button.on{background:var(--base); color:#fff; border-color:var(--base);}#sealApp .jrow{border:1.5px solid var(--line); border-radius:11px; padding:9px 10px; margin:8px 0; background:#fcfbff;}#sealApp .jrow .jh{display:flex; align-items:center; gap:8px; margin-bottom:6px;}#sealApp .jrow .jh .no{font-size:11px; font-weight:900; color:var(--base2); white-space:nowrap;}#sealApp .jrow .jh input{font-size:13px; font-weight:800; padding:5px 8px; border-width:1.5px;}#sealApp .jrow .jh .del{margin-left:auto; font-size:11px; font-weight:800; color:var(--ng);
    background:#fff; border:1.5px solid #eacfcb; border-radius:999px; padding:4px 10px; cursor:pointer; white-space:nowrap;}#sealApp .jrow .g4{display:grid; grid-template-columns:1fr 1fr 1fr .8fr; gap:6px;}#sealApp .jrow .g4 label{font-size:10.5px;}#sealApp .jrow .g4 input{font-size:17px; padding:7px 7px;}#sealApp .jrow .shape{display:flex; gap:5px; margin-top:7px;}#sealApp .jrow .shape button{flex:1; font-size:11.5px; font-weight:800; padding:6px 4px; border-radius:8px;
    border:1.5px solid var(--line); background:#fff; color:var(--muted); cursor:pointer;}#sealApp .jrow .shape button.on{background:var(--base2); color:#fff; border-color:var(--base2);}#sealApp .jrow .res{font-size:12px; color:var(--base); font-weight:800; margin-top:7px;
    border-top:1px dashed var(--line); padding-top:6px; line-height:1.75;}#sealApp .jrow .res span{color:var(--muted); font-weight:400;}#sealApp .btn{width:100%; padding:14px; font-size:15.5px; font-weight:900; border:none; border-radius:12px;
    background:var(--base); color:#fff; cursor:pointer; margin-top:6px;}#sealApp .btn.sub{background:#fff; color:var(--base); border:2px solid var(--base); font-size:14px; padding:11px;}#sealApp .btn.ghost{background:#fff; color:var(--muted); border:1.5px solid var(--line); font-size:13.5px; padding:11px; font-weight:800;}#sealApp .btn2{display:flex; gap:8px; margin-top:8px;}#sealApp .btn2 .btn{margin-top:0;}#sealApp .jump{width:100%; margin:2px 0 12px; padding:12px; border-radius:12px; border:1.5px dashed var(--base2);
    background:#fff; color:var(--base); font-size:13.5px; font-weight:800; cursor:pointer;}#sealApp .anschead{font-size:13px; font-weight:900; color:var(--base); margin:18px 2px 8px;
    letter-spacing:.04em; display:flex; align-items:center; gap:8px;}#sealApp .anschead::before,#sealApp .anschead::after{content:''; flex:1; height:1px; background:var(--line);}#sealApp .qty{border-radius:16px; padding:15px 15px 13px; margin:0 0 10px; color:#fff; box-shadow:var(--shadow);
    background:linear-gradient(135deg,#453a86,#6b5ec9);}#sealApp .qty.na{background:linear-gradient(135deg,#7b7890,#9a97ac);}#sealApp .qty .cap{font-size:12px; font-weight:800; opacity:.9;}#sealApp .qty .big{font-size:16px; font-weight:800; margin-top:2px; line-height:1.2;}#sealApp .qty .big b{font-size:46px; font-weight:900; line-height:1; letter-spacing:-.02em;}#sealApp .qty .ml{font-size:13px; font-weight:800; opacity:.9; margin-top:4px;}#sealApp .qty .meta{font-size:12.5px; margin-top:10px; padding-top:10px;
    border-top:1px solid rgba(255,255,255,.3); line-height:1.85;}#sealApp .qty .meta b{font-weight:900;}#sealApp .qty .indep{font-size:11.5px; margin-top:9px; padding:8px 10px; background:rgba(255,255,255,.16);
    border-radius:9px; line-height:1.7;}#sealApp .mcard{border:2px solid var(--line); border-radius:13px; padding:10px 11px; margin:8px 0;
    background:#fff; cursor:pointer; display:block; width:100%; text-align:left;}#sealApp .mcard.on{border-color:var(--base); background:#f7f5ff; box-shadow:0 0 0 3px rgba(107,94,201,.13);}#sealApp .mcard .mh{display:flex; align-items:baseline; gap:7px;}#sealApp .mcard .pick{font-size:13px; font-weight:900; color:var(--line); flex:none; line-height:1.3;}#sealApp .mcard.on .pick{color:var(--base);}#sealApp .mcard .nm{font-size:13.5px; font-weight:900; color:var(--ink); line-height:1.35;}#sealApp .mcard .sb{font-size:11px; color:var(--muted); font-weight:700; margin:3px 0 0 20px; line-height:1.6;}#sealApp .mcard .num{margin:7px 0 0 20px; font-size:13px; font-weight:800; color:var(--base);
    display:flex; align-items:baseline; gap:6px; flex-wrap:wrap;}#sealApp .mcard .num b{font-size:26px; font-weight:900; line-height:1;}#sealApp .mcard .num .case{font-size:12.5px; color:var(--ink); font-weight:800;}#sealApp .mcard .num .loss{font-size:11px; color:var(--muted); font-weight:700;}#sealApp .mcard .use{font-size:11px; color:var(--muted); margin:5px 0 0 20px; line-height:1.65;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}#sealApp .mcard .warn{font-size:11px; color:var(--hard); font-weight:800; margin:4px 0 0 20px; line-height:1.6;}#sealApp .brk{font-size:12.5px; line-height:1.9;}#sealApp .brk .h{font-weight:900; color:var(--base); margin:11px 0 2px; font-size:12.5px;}#sealApp .brk .h:first-child{margin-top:0;}#sealApp .brk .i{color:var(--muted); padding-left:2px;}#sealApp .brk .i b{color:var(--ink);}#sealApp .brk .tot{font-weight:900; color:var(--ink);}#sealApp .brk .stage{display:inline-block; font-size:10.5px; font-weight:900; color:#fff;
    background:var(--base2); border-radius:999px; padding:1px 8px; margin-right:6px;}#sealApp .brk .stage.g{background:#8d8aa0;}#sealApp .matinfo{font-size:12px; line-height:1.85; color:var(--muted);}#sealApp .matinfo .tag{display:inline-block; font-size:10.5px; font-weight:900; color:#fff;
    background:var(--base2); border-radius:999px; padding:2px 9px; margin:0 5px 4px 0;}#sealApp .matinfo .tag.g{background:#7b8a8b;}#sealApp .matinfo b{color:var(--ink);}#sealApp .matinfo .warn{color:var(--hard); font-weight:800;}#sealApp .expl{margin:0 0 8px;}#sealApp .expl>summary{cursor:pointer; list-style:none; background:var(--card); border:1px solid var(--line);
    border-radius:12px; padding:12px 14px; font-size:13.5px; font-weight:800; color:var(--ink);
    display:flex; align-items:center; justify-content:space-between; gap:10px; box-shadow:var(--shadow);}#sealApp .expl>summary::-webkit-details-marker{display:none;}#sealApp .expl>summary::after{content:'＋'; color:var(--muted); font-weight:800;}#sealApp .expl[open]>summary::after{content:'−';}#sealApp .expl[open]>summary{border-radius:12px 12px 0 0; border-bottom:none; color:var(--base);}#sealApp .expl .body{background:var(--card); border:1px solid var(--line); border-top:none;
    border-radius:0 0 12px 12px; padding:2px 14px 14px; font-size:13px; line-height:1.95; color:var(--ink);}#sealApp .expl .body p{margin:10px 0;}#sealApp .expl .body .mut{color:var(--muted); font-size:12.5px;}#sealApp .expl .body h4{font-size:12.5px; font-weight:900; color:var(--base2); margin:14px 0 2px;}#sealApp .fx{font-family:"SFMono-Regular",Consolas,monospace; font-size:13.5px; background:#f0eefa;
      border-radius:9px; padding:10px 11px; margin:8px 0; line-height:1.7; overflow-x:auto;}#sealApp .fx b{color:var(--base);}#sealApp .ex{background:#faf9fe; border-left:4px solid var(--base2); border-radius:0 9px 9px 0;
      padding:9px 11px; margin:9px 0; font-size:12.5px; line-height:1.9;}#sealApp .ex .t{font-weight:900; color:var(--base2); font-size:11.5px; display:block; margin-bottom:2px;}#sealApp details.mini{margin:8px 0 0;}#sealApp details.mini>summary{list-style:none; cursor:pointer; font-size:11.5px; font-weight:800;
    color:var(--base2); padding:5px 0 0;}#sealApp details.mini>summary::-webkit-details-marker{display:none;}#sealApp details.mini>summary::before{content:'？ '; }#sealApp details.mini[open]>summary::before{content:'× '; }#sealApp details.mini .mb{font-size:12px; line-height:1.85; color:var(--muted); background:#f5f3fb;
    border-radius:9px; padding:9px 11px; margin-top:6px;}#sealApp details.mini .mb b{color:var(--ink);}#sealApp .tw{overflow-x:auto; margin:8px 0;}#sealApp table.ref{width:100%; border-collapse:collapse; font-size:12px; min-width:320px;}#sealApp table.ref th,#sealApp table.ref td{border:1px solid var(--line); padding:5px 6px; text-align:right;}#sealApp table.ref th{background:#f0eefa; color:var(--base); font-weight:800; text-align:center;}#sealApp table.ref td:first-child{text-align:center; font-weight:800; background:#faf9fe;}#sealApp table.ref td.hit{color:var(--ok); font-weight:800;}#sealApp table.ref td.miss{color:var(--hard); font-weight:800;}#sealApp table.ref caption{font-size:11.5px; color:var(--muted); text-align:left; padding:0 0 4px; font-weight:800;}#sealApp .note{font-size:12.5px; color:var(--muted); background:#fffaf2; border:1px solid #f0e0c8;
    border-radius:11px; padding:10px 12px; margin:10px 0; line-height:1.8;}#sealApp .note b{color:var(--hard);}#sealApp .diag{display:flex; align-items:center; gap:12px; margin:8px 0 2px;}#sealApp .diag svg{flex:none;}#sealApp .diag .cap{font-size:11.5px; color:var(--muted); line-height:1.8;}#sealApp .diag .cap b{color:var(--ink);}#sealApp footer{padding:18px 16px 40px; font-size:11.5px; color:var(--muted); text-align:center; line-height:1.9;}#sealApp .toast{position:fixed; left:50%; bottom:28px; transform:translateX(-50%);
    background:rgba(24,20,40,.94); color:#fff; padding:12px 22px; border-radius:999px;
    font-size:14px; font-weight:800; z-index:60; opacity:0; pointer-events:none; transition:opacity .2s;}#sealApp .toast.on{opacity:1;}#sealApp .printonly{display:none;}@media print{#sealApp{background:#fff;}#sealApp header{position:static; background:#4a3f8f !important; -webkit-print-color-adjust:exact; print-color-adjust:exact;}#sealApp .noprint,#sealApp details{display:none !important;}#sealApp .printonly{display:block; font-size:11.5px; line-height:1.9; color:#333;
      border:1px solid #ccc; border-radius:8px; padding:10px 12px; margin-top:10px;}#sealApp .sec,#sealApp .qty{box-shadow:none; break-inside:avoid;}#sealApp .qty{-webkit-print-color-adjust:exact; print-color-adjust:exact;}#sealApp .mcard{display:none;}#sealApp .mcard.on{display:block; break-inside:avoid;}}