/* 2026-10-27 Claude Code：写真台帳｜キープラン｜生データ・帳票設定（Design(現場くん)/11_採用した案 の v3・v5） */

/* 上の切り替え */
.hakobu-ledger-title{gap:8px}
.hakobu-pane-seg{display:inline-flex;flex:none;height:40px;border:1px solid #0d2a4a;border-radius:10px;overflow:hidden;background:#fff}
.hakobu-pane-seg button{border:0;border-left:1px solid #0d2a4a;background:#fff;color:#0d2a4a;font:800 15px "Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;padding:0 12px;cursor:pointer;white-space:nowrap}
.hakobu-pane-seg button:first-child{border-left:0}
.hakobu-pane-seg button[aria-pressed=true]{background:#0d2a4a;color:#fff}
.photo-ledger-view[data-hakobu-view=plan]:not(.is-hakobu-wide) .photo-ledger-toolbar-left,
.photo-ledger-view[data-hakobu-view=raw] .photo-ledger-toolbar-left{display:none!important}

/* 下の帯は無くなったので、台帳の下の空きはシートの帯の分だけ */
html body .hakobu-sheet-view #photoLedgerPages{padding-bottom:56px!important}

/* 空いた枠：押すと「写真撮影／写真を選ぶ」 */
.hakobu-sheet-view .is-ledger-empty .photo-ledger-drop-message{cursor:pointer}
.hakobu-sheet-view .is-hakobu-act .photo-report-photo{outline:4px solid #1f6fd1!important;outline-offset:-3px}
.hakobu-act{position:absolute;left:8px;right:8px;bottom:calc(var(--hakobu-bottom,46px) + 8px);z-index:40;display:flex;align-items:center;gap:10px;padding:10px;background:#fff;border-radius:16px;box-shadow:0 -2px 22px rgba(0,0,0,.3);font-family:"Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif}
.is-hakobu-wide .hakobu-act{left:auto;right:auto;width:min(560px,calc(100% - 16px));margin-left:16px}
.hakobu-act-no{font-weight:900;font-size:18px;color:#8a5a00;padding:0 4px;white-space:nowrap}
.hakobu-act button{flex:1;height:54px;border-radius:12px;font:inherit;font-weight:900;font-size:17px;white-space:nowrap;cursor:pointer}
.hakobu-act-shoot{border:1px solid #c99200;background:linear-gradient(#ffe07a,#e8b324);color:#3a2600}
.hakobu-act-pick{border:1px solid #9bb4d0;background:#fff;color:#1f6fd1}

/* キープランと生データ（スマホ・iPad は台帳の場所に重ねる。PC は台帳の右） */
.hakobu-pane{position:absolute;left:0;right:0;top:var(--hakobu-top,52px);bottom:var(--hakobu-bottom,46px);z-index:25;background:#fff;display:flex;flex-direction:column;overflow:hidden;font-family:"Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;color:#0d2a4a}
.hakobu-plan-pane.is-side{left:var(--hakobu-side-left,560px);right:12px;top:calc(var(--hakobu-top,52px) + 8px);bottom:calc(var(--hakobu-bottom,46px) + 8px);border:1px solid #c9d6e4;border-radius:12px;box-shadow:0 4px 18px rgba(10,30,60,.18)}
.hakobu-plan-pane.is-drop{outline:4px dashed #1f6fd1;outline-offset:-6px}
html body .photo-ledger-view.is-hakobu-wide #photoLedgerPages .photo-ledger-scaled-frame{margin-left:16px!important;margin-right:0!important}
.hakobu-plan-board{flex:1;min-height:0;position:relative}
/* 図面の上は「＋−・戻る・道具・印刷」を出さない（指2本・ホイールで拡大、2回トンで印） */
html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-file-toolbar,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .fg-file-pages,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-toolbar,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-options,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-back,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-zoom-controls,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-draw-tools,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-status,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-hint,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-photo-plan-hint{display:none!important}
html body .hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board>.fg-fullscreen.fg-fullscreen{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important}
html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-body{flex:1!important;min-height:0!important;height:auto!important;max-height:none!important}
html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .hakobu-plan-board.hakobu-plan-board.hakobu-plan-board .fg-stage{height:100%!important;max-height:none!important}
html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .fg-file-pages,html body .hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane.hakobu-plan-pane .phone-app-orientation{display:none!important}
.hakobu-drop{position:absolute;inset:12px;border:3px dashed #7fa7d6;border-radius:18px;background:#f3f8ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
.hakobu-drop-icon{width:70px;height:86px;border-radius:8px;background:#fff;border:2px solid #7fa7d6;display:flex;align-items:flex-end;justify-content:center;padding-bottom:12px;box-sizing:border-box;font:900 16px sans-serif;color:#d62828}
.hakobu-drop b{font-size:22px;color:#1f4f8a}
.hakobu-drop small{font-size:14px;font-weight:700;color:#6b7f95;margin-top:-6px}
.hakobu-drop-buttons{display:flex;gap:10px;margin-top:6px}
.hakobu-drop-buttons button{height:50px;padding:0 18px;border-radius:12px;border:1px solid #1f6fd1;background:#fff;color:#1f6fd1;font:800 16px "Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;cursor:pointer}
.hakobu-drop-buttons button.is-primary{background:#1f6fd1;color:#fff}

/* 金のプルダウン（朝礼の「図面」と同じ見た目） */
.hakobu-gpick{position:relative;flex:none;display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff}
.hakobu-gpick>span{font-weight:800;font-size:15px;color:#33475b;white-space:nowrap;padding-left:4px}
.hakobu-gold{flex:1;min-width:0;height:40px;border-radius:6px;border:1px solid rgb(199,150,8);background:linear-gradient(145deg,#fff4a3 0%,#f8ce36 38%,#c79608 100%);box-shadow:0 0 0 1.8px rgba(248,206,54,.67);color:#182631;font:800 15px "Segoe UI","Yu Gothic UI",Meiryo,sans-serif;text-align:left;padding:0 26px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;cursor:pointer}
.hakobu-gold:after{content:'▾';position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px}
.hakobu-glist{position:absolute;left:8px;right:8px;top:100%;z-index:60;background:#fff;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.35);overflow:auto;max-height:50vh}
.hakobu-glist.is-up{top:auto;bottom:100%}
.hakobu-glist button{display:block;width:100%;min-height:50px;border:0;border-top:1px solid #e3e8ee;background:#fff;text-align:left;padding:0 14px;font:800 15px "Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;color:#182631;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.hakobu-glist button:first-child{border-top:0}
.hakobu-glist button[aria-selected=true]{background:#fff3bf}
.hakobu-glist button.is-add{color:#1f6fd1}

/* 下から出るシート（フォルダの PDF・PDF を足す） */
.hakobu-sheet-back{position:fixed;inset:0;background:rgba(8,18,35,.5);z-index:100000}
.hakobu-sheet{position:fixed;left:0;right:0;bottom:0;z-index:100001;max-height:86vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:10px 12px 18px;font-family:"Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif}
@media (min-width:900px){.hakobu-sheet{left:50%;right:auto;width:720px;transform:translateX(-50%)}}
.hakobu-sheet.is-small .hakobu-drop-buttons{justify-content:center;padding:10px 0}
.hakobu-sheet-handle{width:44px;height:5px;border-radius:3px;background:#c5cfda;margin:0 auto 10px}
.hakobu-sheet .hakobu-gpick{padding:0 0 10px}
.hakobu-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
@media (min-width:900px){.hakobu-page-grid{grid-template-columns:repeat(4,1fr)}}
.hakobu-page-choice{border:1px solid #c9d6e4;border-radius:8px;background:#fff;padding:3px;display:flex;flex-direction:column;align-items:center;gap:2px;font:700 12px sans-serif;color:#456;cursor:pointer}
.hakobu-page-choice img{width:100%;aspect-ratio:1.414;object-fit:contain;background:#f4f6f9;display:block}
.hakobu-page-choice:active,.hakobu-page-choice:hover{border:3px solid #1f6fd1;padding:1px;color:#1f6fd1}
.hakobu-sheet-wait{grid-column:1/-1;text-align:center;color:#6b7f95;font-weight:700;padding:24px 0}

/* 生データ */
.hakobu-raw-pane{overflow:auto;background:#f4f7fb;padding:4px 10px 10px}
.hakobu-raw-pane h4{margin:10px 2px 8px;font:900 15px "Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;color:#0d2a4a}
.hakobu-raw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.is-hakobu-wide .hakobu-raw-grid{grid-template-columns:repeat(8,1fr)}
@media (min-width:700px){.hakobu-raw-grid{grid-template-columns:repeat(5,1fr)}}
.hakobu-raw-grid button{border:0;padding:0;background:#ccd;border-radius:6px;overflow:hidden;aspect-ratio:4/3;cursor:pointer}
.hakobu-raw-grid button img{width:100%;height:100%;object-fit:cover;display:block}
.hakobu-raw-empty{text-align:center;color:#6b7f95;font-weight:700;padding:40px 0}

@media print{.hakobu-pane,.hakobu-act,.hakobu-sheet,.hakobu-sheet-back,.hakobu-pane-seg{display:none!important}}

/* ===== 帳票設定の画面（スマホ：番号の丸で1つずつ／PC・iPad：台帳の右に①〜⑥） ===== */
html body .report-settings-view.rs-wizard{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;padding:0!important;background:#eef2f6!important;font-family:"Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;color:#0d2a4a;overflow:hidden!important}
.rs-head{display:flex!important;align-items:center;justify-content:space-between;padding:6px 10px!important;background:#fff;border-bottom:1px solid #d5dde6;flex:none}
.rs-head h2{margin:0!important;font:900 18px "Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif!important;color:#0d2a4a!important}
.rs-exit{height:38px;padding:0 14px;border-radius:8px;border:0;background:#0d2a4a;color:#fff;font-weight:800;font-size:14px;font-family:inherit;cursor:pointer}
.rs-steps{display:flex;margin:0;padding:8px 4px 6px;list-style:none;background:#fff;border-bottom:1px solid #d5dde6;flex:none}
.rs-steps li{flex:1;position:relative}
.rs-steps li:not(:last-child):after{content:'';position:absolute;top:15px;left:calc(50% + 16px);right:calc(-50% + 16px);height:2px;background:#c9d6e4}
.rs-steps li.is-done:not(:last-child):after{background:#1f6fd1}
.rs-steps button{width:100%;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;font-family:inherit}
.rs-steps b{width:30px;height:30px;border-radius:50%;border:2px solid #9aa9b8;color:#7b8a99;display:grid;place-items:center;font:900 14px sans-serif;background:#fff;box-sizing:border-box}
.rs-steps span{font-weight:800;font-size:11px;font-family:inherit;color:#7b8a99;white-space:nowrap}
.rs-steps .is-done b{border-color:#1f6fd1;color:#1f6fd1}.rs-steps .is-done span{color:#1f6fd1}
.rs-steps .is-on b{background:#0d2a4a;border-color:#0d2a4a;color:#fff}.rs-steps .is-on span{color:#0d2a4a}
.rs-body{flex:1;min-height:0;overflow:auto;padding-bottom:8px}
.rs-q{font-weight:900;font-size:21px;font-family:inherit;text-align:center;margin:10px 0 8px}
.rs-q small{display:block;font-weight:700;font-size:13px;font-family:inherit;color:#6b7f95;margin-top:4px}
.rs-big{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 14px}
.rs-big button{background:#fff;border:1px solid #9bb4d0;border-radius:14px;padding:12px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:900;font-size:17px;font-family:inherit;color:#123a63;cursor:pointer}
.rs-big button[aria-pressed=true]{border:3px solid #1f6fd1;padding:10px 4px 8px;background:#e6f1ff}
.rs-sub{font-weight:800;font-size:13px;font-family:inherit;color:#6b7f95;margin:6px 14px 6px}
.rs-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 12px}
.rs-chips button{position:relative;height:38px;border-radius:10px;border:1px solid #9bb4d0;background:#fff;font-weight:800;font-size:15px;font-family:inherit;color:#123a63;cursor:pointer}
.rs-chips button[aria-pressed=true]{border:3px solid #1f6fd1;background:#e6f1ff}
.rs-chips i{position:absolute;left:-5px;top:-7px;width:20px;height:20px;border-radius:50%;background:#1f6fd1;color:#fff;font:900 12px/20px sans-serif;font-style:normal;text-align:center}
.rs-foot{flex:none;display:flex;gap:10px;padding:8px 12px 10px;background:#eef2f6}
.rs-foot button{flex:1;height:50px;border-radius:12px;border:1px solid #9bb4d0;background:#fff;color:#123a63;font-weight:800;font-size:17px;font-family:inherit;cursor:pointer}
.rs-foot .rs-next{flex:2;border:0;background:#1f6fd1;color:#fff;font-weight:900}
.rs-preview{display:flex;justify-content:center;padding:8px 0}
.rs-preview .photo-report-pages{width:240px;max-width:70%}
.rs-summary{margin:8px 12px 0;background:#fff;border-radius:12px;padding:6px 12px;font-weight:700;font-size:13px;font-family:inherit;color:#33475b}
.rs-summary div{display:flex;align-items:center;gap:8px;min-height:30px}
.rs-summary dt{width:80px;flex:none;color:#0d2a4a;font-weight:900}
.rs-summary dd{margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rs-summary dd:last-child{flex:none}
.rs-summary button{border:0;background:none;color:#1f6fd1;font-weight:800;font-size:14px;font-family:inherit;cursor:pointer}
/* PC・iPad：台帳の右の窓 */
html body .sp49-report-settings.rs-panel{width:560px!important;max-width:46%!important;overflow:auto!important;background:#eef2f6!important;padding:0!important;font-family:"Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;color:#0d2a4a}
html body .sp49-report-settings.rs-panel>header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#fff;border-bottom:1px solid #d5dde6}
.rs-panel .rs-row{display:flex;gap:10px;padding:8px 12px;border-bottom:1px solid #dde4ec;align-items:flex-start}
.rs-panel .rs-row>b{width:104px;flex:none;padding-top:6px;font-weight:900;font-size:14px;font-family:inherit;color:#33475b}
.rs-panel .rs-row>div{flex:1;min-width:0}
.rs-panel .rs-big{grid-template-columns:repeat(4,1fr);gap:6px;padding:0}
.rs-panel .rs-big button{padding:4px;gap:4px;font-size:13px;border-radius:10px}
.rs-panel .rs-big button[aria-pressed=true]{padding:2px}
.rs-panel .rs-big svg{width:38px;height:53px}
.rs-panel .rs-chips{grid-template-columns:repeat(4,1fr);gap:6px;padding:0}
.rs-panel .rs-chips button{height:32px;font-size:13px}
.rs-panel .rs-sub{margin:2px 0 4px}
html body .rs-wizard .rs-body .rs-q{font-weight:900!important;font-size:21px!important;line-height:1.3!important;color:#0d2a4a!important;text-align:center!important;margin:12px 0 10px!important}
html body .rs-wizard .rs-body .rs-q small{display:block!important;font-weight:700!important;font-size:13px!important;color:#6b7f95!important;margin-top:4px!important}
html body .rs-wizard .rs-body .rs-sub,html body .rs-panel .rs-sub{font-weight:800!important;font-size:13px!important;color:#6b7f95!important;margin:8px 0 6px!important;padding:0 14px!important}
html body .rs-panel .rs-sub{padding:0!important;margin:2px 0 4px!important}

html body:not(.genba-phone) .photo-ledger-view.sp49-report-open.sp49-report-open{grid-template-columns:minmax(0,1fr) min(600px,48%)!important}
html body .photo-ledger-view.sp49-report-open .sp49-report-settings.rs-panel{width:auto!important;max-width:none!important}

@layer genbaLedgerPaper{
/* ===== 帳票設定 v5：紙の形（はじめの「左・3枚・左の帯」は今のまま。ここは選んだ時だけ効く） ===== */
html body .photo-report-page.is-layout-right.is-layout-right.is-layout-right:not(#hk):not(#hk2)>.photo-report-row.photo-report-row{grid-template-columns:7% minmax(0,41%) minmax(0,52%)!important}
html body .photo-report-page.is-layout-right.is-layout-right.is-layout-right:not(#hk):not(#hk2)>.photo-report-row.photo-report-row.is-number-hidden{grid-template-columns:minmax(0,44%) minmax(0,56%)!important}
html body .photo-report-page.is-layout-right.is-layout-right.is-layout-right:not(#hk):not(#hk2)>.photo-report-row>.photo-report-number{order:0!important}
html body .photo-report-page.is-layout-right.is-layout-right.is-layout-right:not(#hk):not(#hk2)>.photo-report-row>.photo-report-comment{order:1!important;border-left:0!important;border-right:1px solid #555!important}
html body .photo-report-page.is-layout-right.is-layout-right.is-layout-right:not(#hk):not(#hk2)>.photo-report-row>.photo-report-photo{order:2!important}

html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row.photo-report-row{grid-template-columns:7% minmax(0,1fr)!important;grid-template-rows:minmax(0,1.7fr) minmax(0,1fr)!important}
html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row.photo-report-row.is-number-hidden{grid-template-columns:minmax(0,1fr)!important}
html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row>.photo-report-photo{grid-column:1/-1!important;grid-row:1!important;width:auto!important;border-bottom:1px solid #555!important}
html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row>.photo-report-number{grid-column:1!important;grid-row:2!important}
html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row>.photo-report-comment{grid-column:-2/-1!important;grid-row:2!important;border-left:0!important}
html body .photo-report-page.is-layout-top.is-layout-top.is-layout-top:not(#hk):not(#hk2)>.photo-report-row:not(.is-number-hidden)>.photo-report-comment{border-left:1px solid #555!important}

html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-page-head{grid-column:1/-1!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-row.photo-report-row{position:relative!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-row:nth-of-type(even){border-left:1px solid #555!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-row>.photo-report-photo{grid-column:1!important;grid-row:1!important;width:auto!important;border-bottom:1px solid #555!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-row>.photo-report-comment{grid-column:1!important;grid-row:2!important;border-left:0!important}
html body .photo-report-page.is-layout-grid.is-layout-grid.is-layout-grid:not(#hk):not(#hk2)>.photo-report-row>.photo-report-number{position:absolute!important;left:0!important;top:0!important;z-index:3!important;width:auto!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:row!important;gap:2px!important;padding:1px 5px!important;background:#fff!important;border:0!important;border-right:1px solid #555!important;border-bottom:1px solid #555!important}

/* No.の場所：写真の上・説明の中 */
html body .photo-report-page .photo-report-photo{position:relative}
html body .photo-report-page .photo-report-number-badge{position:absolute;left:4px;top:4px;z-index:3;display:flex;align-items:center;gap:2px;padding:1px 6px;background:#fff;border:1px solid #555;font-size:11px;font-weight:700;line-height:1.4}
html body .photo-report-page .photo-report-number-row{display:flex;align-items:center;gap:4px;padding:2px 4px;border-bottom:1px solid #bbb;font-size:11px;font-weight:700}
html body .photo-report-page .photo-report-number-badge .photo-ledger-number-input,html body .photo-report-page .photo-report-number-row .photo-ledger-number-input{width:3.2em!important;min-width:0!important;height:auto!important;border:0!important;background:transparent!important;font:inherit!important;padding:0!important;text-align:left!important}

/* 表紙 */
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover{display:flex!important;align-items:center!important;justify-content:center!important;grid-template-rows:minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-body{width:80%;text-align:center;align-self:center!important;justify-self:center!important;grid-row:1/-1!important;grid-column:1/-1!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;color:#222}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-kind{font-size:30px!important;letter-spacing:.4em;border-bottom:1px solid #555;display:inline-block;padding:0 1em 6px;margin:0 0 110px!important}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover h2{font-size:38px!important;font-weight:600!important;line-height:1.4!important;border-bottom:1px solid #555;padding-bottom:8px;margin:0 0 24px!important}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-site{font-size:22px!important;margin:0 0 110px!important}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-period,html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-date{font-size:20px!important;margin:0 0 14px!important}
html body .photo-report-page.photo-report-cover.photo-report-cover.photo-report-cover .photo-report-cover-company{font-size:24px!important;margin:70px 0 0!important;border-bottom:1px solid #555;display:inline-block;min-width:60%;padding-bottom:6px}
.is-cover-block .photo-ledger-page-check{display:none!important}

html body .photo-report-page.is-layout-right.is-layout-right:not(#hk):not(#hk2) .photo-ledger-no-number-check{left:auto!important;right:6px!important}
html body .photo-report-page.photo-report-page:not(#hk):not(#hk2) .photo-report-number-badge>.photo-ledger-number-input,html body .photo-report-page.photo-report-page:not(#hk):not(#hk2) .photo-report-number-row>.photo-ledger-number-input{width:3.2em!important;min-width:0!important;max-width:3.2em!important;height:auto!important;border:0!important;background:transparent!important;font:inherit!important;padding:0!important;margin:0!important;text-align:left!important;box-shadow:none!important}
html body .photo-report-page.photo-report-page:not(#hk):not(#hk2) .photo-report-number-badge{width:auto!important;max-width:40%!important}

/* 2026-10-27 見解1〜4：2列・横（8枚）・3列（12枚）・罫線・余白・表紙の行 */
html body .photo-report-page.is-layout-side2.is-layout-side2.is-layout-side2:not(#hk):not(#hk2),html body .photo-report-page.is-layout-grid3.is-layout-grid3.is-layout-grid3:not(#hk):not(#hk2){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body .photo-report-page.is-layout-grid3.is-layout-grid3.is-layout-grid3:not(#hk):not(#hk2){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important}
html body .photo-report-page:is(.is-layout-side2,.is-layout-grid3):not(#hk):not(#hk2)>.photo-report-page-head{grid-column:1/-1!important}
html body .photo-report-page.is-layout-side2:not(#hk):not(#hk2)>.photo-report-row.photo-report-row{position:relative!important;grid-template-columns:minmax(0,60%) minmax(0,40%)!important;grid-template-rows:minmax(0,1fr)!important}
html body .photo-report-page.is-layout-side2:not(#hk):not(#hk2)>.photo-report-row:nth-of-type(even),html body .photo-report-page.is-layout-grid3:not(#hk):not(#hk2)>.photo-report-row:not(:nth-of-type(3n+1)){border-left:1px solid #555!important}
html body .photo-report-page.is-layout-side2:not(#hk):not(#hk2)>.photo-report-row>.photo-report-photo{grid-column:1!important;grid-row:1!important;width:auto!important}
html body .photo-report-page.is-layout-side2:not(#hk):not(#hk2)>.photo-report-row>.photo-report-comment{grid-column:2!important;grid-row:1!important}
html body .photo-report-page.is-layout-grid3:not(#hk):not(#hk2)>.photo-report-row.photo-report-row{position:relative!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)!important}
html body .photo-report-page.is-layout-grid3:not(#hk):not(#hk2)>.photo-report-row>.photo-report-photo{grid-column:1!important;grid-row:1!important;width:auto!important;border-bottom:1px solid #555!important}
html body .photo-report-page.is-layout-grid3:not(#hk):not(#hk2)>.photo-report-row>.photo-report-comment{grid-column:1!important;grid-row:2!important;border-left:0!important}
html body .photo-report-page:is(.is-layout-side2,.is-layout-grid3):not(#hk):not(#hk2)>.photo-report-row>.photo-report-number.photo-report-number{position:absolute!important;left:0!important;top:0!important;z-index:3!important;width:auto!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:row!important;gap:2px!important;padding:1px 5px!important;background:#fff!important;border:0!important;border-right:1px solid #555!important;border-bottom:1px solid #555!important}
html body .photo-report-page:is(.is-layout-side2,.is-layout-grid3):not(#hk):not(#hk2) .photo-report-comment{font-size:.85em}
html body .photo-report-page:is(.is-layout-side2,.is-layout-grid3,.is-layout-grid):not(#hk):not(#hk2)>.photo-report-row>.photo-report-number>.photo-ledger-number-input{width:2.6em!important;min-width:0!important;max-width:2.6em!important;height:auto!important;border:0!important;padding:0!important;margin:0!important;font:inherit!important;background:transparent!important}
html body .photo-report-page:is(.is-layout-side2,.is-layout-grid3,.is-layout-grid):not(#hk):not(#hk2)>.photo-report-row>.photo-report-number>.photo-ledger-row-check{display:none!important}
/* 罫線（自由に書く） */
html body .photo-report-page:not(#hk):not(#hk2) .photo-report-main-content.is-ruled>:is(p,textarea){background-image:linear-gradient(to bottom,transparent calc(100% - 1px),#7d8792 calc(100% - 1px))!important;background-size:100% 1.6em!important;background-repeat:repeat-y!important;background-color:transparent!important;line-height:1.6em!important;background-attachment:local!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
html body .photo-report-page:not(#hk):not(#hk2) .photo-report-main-content.is-ruled>strong{display:none!important}
/* 空いた枠に「余白」 */
html body .photo-report-page.is-blank-mark:not(#hk):not(#hk2) .is-ledger-empty>.photo-report-photo{position:relative}
html body .photo-report-page.is-blank-mark:not(#hk):not(#hk2) .is-ledger-empty>.photo-report-photo::after{content:'余　白';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2em;letter-spacing:.3em;color:#222;pointer-events:none}
html body .photo-report-page.is-blank-mark:not(#hk):not(#hk2) .is-ledger-empty>.photo-report-photo>.photo-ledger-drop-message{opacity:0}
@media print{html body .photo-report-page.is-blank-mark:not(#hk):not(#hk2) .is-ledger-empty>.photo-report-photo>.photo-ledger-drop-message{display:none!important}}
/* 表紙の行 */
html body .photo-report-page.photo-report-cover:not(#hk) .photo-report-cover-rows{text-align:left;margin:0 0 50px}
html body .photo-report-page.photo-report-cover:not(#hk) .photo-report-cover-row{display:flex;align-items:flex-end;gap:16px;margin:0 0 26px;font-size:20px}
html body .photo-report-page.photo-report-cover:not(#hk) .photo-report-cover-row>span{width:8.5em;flex:none;white-space:pre}
html body .photo-report-page.photo-report-cover:not(#hk) .photo-report-cover-row>b{flex:1;font-weight:400;border-bottom:1px solid #555;padding:0 0 4px 6px;min-height:1.3em}
html body .photo-report-page.photo-report-cover:not(#hk) .photo-report-cover-body>.photo-report-cover-row{margin-top:60px}

}
html body .photo-ledger-view.sp49-report-open .sp49-report-settings.rs-panel{padding-bottom:60px!important}
html body:has(.hakobu-act) .fg-pin-menu-portal{display:none!important}

.rs-chips.rs-chips-2{grid-template-columns:1fr 1fr!important}
.rs-info{display:grid;gap:8px;padding:0 14px}
.rs-info label{display:flex;align-items:center;gap:8px;font-weight:800;font-size:14px;color:#33475b}
.rs-info label>span{width:5em;flex:none}
.rs-info input{flex:1;min-width:0;height:40px;border:1px solid #9bb4d0;border-radius:8px;padding:0 10px;font-size:16px;font-family:inherit;background:#fff;color:#0d2a4a}
.rs-panel .rs-info{padding:0}
.rs-panel .rs-big{grid-template-columns:repeat(3,1fr)}
.rs-wizard .rs-big:has(>button:nth-child(3)){grid-template-columns:repeat(3,1fr);gap:8px;padding:0 10px}
.rs-wizard .rs-big:has(>button:nth-child(3))>button{padding:8px 2px 6px;font-size:15px}
