:root{font-family:"Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;color:#192825;background:#f3f4ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,48px);background:#172927;color:#fff;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border:1px solid #b8d8a9;border-radius:9px;color:#b8d8a9;font-weight:800;letter-spacing:-.07em}.brand strong{display:block;font-size:15px;letter-spacing:.04em}.brand small{display:block;font-size:9px;letter-spacing:.22em;color:#9db6ae;margin-top:2px}.top-actions{display:flex;align-items:center;gap:8px}.save-status{font-size:11px;color:#b6c9c1;margin-right:8px;white-space:nowrap}.button{border:1px solid transparent;border-radius:9px;padding:10px 15px;font-size:13px;font-weight:700;min-height:40px;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:#d8ebac;color:#183024}.button.primary:hover{background:#e7f5c7}.button.quiet{background:transparent;border-color:#527269;color:#ecf5ec}.button.quiet:hover{background:#2e4740}.button.secondary{background:#fff;border-color:#cbd4cd;color:#29443c}.button.danger{background:#fff3ef;color:#a43d2e;border-color:#eac8bd}.button.small{padding:6px 10px;min-height:32px;font-size:12px}.app-shell{max-width:1510px;margin:auto;padding:34px clamp(18px,3vw,48px) 50px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:900;color:#688d71}.intro h1{margin:7px 0 7px;font-size:clamp(24px,2.7vw,38px);line-height:1.3;letter-spacing:-.035em}.intro p{margin:0;color:#60716a;font-size:13px;line-height:1.7}.progress-block{min-width:165px;text-align:right;font-size:11px;font-weight:800;color:#547360}.progress-track{height:5px;background:#dbe2d8;border-radius:10px;overflow:hidden;margin-top:8px}.progress-track>div{height:100%;background:#77a681;width:20%;transition:width .3s}.workspace{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(480px,1.1fr);align-items:start;gap:22px}.editor,.preview-panel{background:#fff;border:1px solid #e2e8e0;border-radius:16px;box-shadow:0 10px 36px rgba(26,49,39,.045);overflow:hidden}.steps{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid #e6ece6}.step-button{background:#f9fbf7;color:#7a8c80;border:0;border-right:1px solid #e6ece6;min-height:62px;padding:9px 3px;font-size:12px;font-weight:800}.step-button:last-child{border-right:0}.step-button.active{background:#fff;color:#183d2e;box-shadow:inset 0 -3px #7fa982}.step-button .step-num{display:block;font-size:10px;font-weight:900;margin-bottom:3px;opacity:.7}.editor-content{padding:24px;min-height:520px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.section-heading h2{margin:3px 0 5px;font-size:21px}.section-heading p{margin:0;color:#66796f;font-size:12px;line-height:1.6}.section-kicker{font-size:10px;font-weight:900;letter-spacing:.13em;color:#789c82}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.wide{grid-column:1/-1}.field label,.field>span{font-size:11px;font-weight:800;color:#40574a}.field input,.field select,.field textarea{width:100%;border:1px solid #cedbd0;border-radius:8px;background:#fff;padding:10px 11px;color:#20382a;outline:none;font-size:13px;min-height:40px}.field textarea{min-height:75px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6a9d76;box-shadow:0 0 0 3px #e4f0e5}.field small{font-size:10px;color:#73867b}.card-list{display:grid;gap:13px}.entry-card{border:1px solid #dde6dc;background:#fbfcfa;border-radius:12px;padding:16px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.card-head strong{font-size:14px}.card-head .meta{font-size:11px;color:#698073}.card-actions{display:flex;gap:6px}.subhead{display:flex;align-items:center;justify-content:space-between;margin:26px 0 13px;padding-bottom:8px;border-bottom:1px solid #e2e9e2;font-size:13px;font-weight:900}.subhead:first-child{margin-top:0}.inline-choice{display:flex;align-items:center;gap:9px;min-height:40px;font-size:12px;font-weight:700;color:#415d4a}.inline-choice input{accent-color:#337a54;width:17px;height:17px}.template-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:22px}.template-button{border:1px solid #cbd8ca;border-radius:10px;background:#fbfdf9;text-align:left;padding:13px}.template-button:hover{border-color:#6f9d72;background:#f1f8ee}.template-button strong{display:block;font-size:13px}.template-button small{display:block;color:#6a7e6d;font-size:10px;margin-top:4px}.add-row{margin-top:14px}.tip{border-left:3px solid #a7c59f;background:#f3f8f1;border-radius:0 8px 8px 0;padding:10px 13px;color:#4e6858;font-size:11px;line-height:1.6;margin:14px 0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}.stat{background:#f1f6ef;border-radius:10px;padding:12px}.stat b{display:block;font-size:23px;line-height:1}.stat span{font-size:10px;color:#62806b;font-weight:800}.position-row{display:grid;grid-template-columns:1fr 90px 90px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0ec;font-size:12px}.position-row input{width:100%;border:1px solid #d2dfd1;border-radius:7px;padding:7px}.position-row small{display:block;color:#75877a}.editor-footer{padding:16px 24px;border-top:1px solid #e7ece5;display:flex;justify-content:space-between}.preview-panel{position:sticky;top:18px}.preview-head{display:flex;justify-content:space-between;align-items:end;padding:23px 23px 14px}.preview-head h2{font-size:20px;margin:4px 0 0}.drag-hint{font-size:10px;color:#65816a;background:#edf5eb;border-radius:99px;padding:6px 9px}.stage-preview{padding:0 20px;user-select:none}.stage-preview svg{display:block;width:100%;height:auto;touch-action:none}.stage-preview [data-drag-kind]{cursor:grab}.stage-preview [data-drag-kind]:active{cursor:grabbing}.preview-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:17px 23px 22px}.summary-pill{border:1px solid #e0e8df;border-radius:9px;padding:10px}.summary-pill b{display:block;font-size:16px}.summary-pill span{font-size:10px;color:#64786b}.local-note{font-size:11px;color:#718076;line-height:1.6;margin-top:22px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);background:#1d362b;color:#fff;padding:11px 18px;border-radius:9px;box-shadow:0 10px 25px #0002;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20}.toast.show{transform:translate(-50%,0);opacity:1}

/* Stage SVG */
.stage-bg{fill:#fbfcfa;stroke:#294239;stroke-width:2}.stage-grid{stroke:#e1eae0;stroke-width:1}.stage-center{stroke:#c4d1c4;stroke-width:1.5;stroke-dasharray:5 6}.stage-side{font-size:14px;font-weight:800;fill:#718a76;letter-spacing:.08em}.stage-audience{fill:#e8eee6}.stage-audience-text{font-size:13px;font-weight:800;fill:#536f59;letter-spacing:.26em}.person-body{fill:#fff;stroke:#253f35;stroke-width:2.5}.person-drum{fill:#f3f7ef}.person-name{font-size:14px;font-weight:800;fill:#1e342b;text-anchor:middle}.person-role{font-size:10px;font-weight:800;fill:#638270;text-anchor:middle}.gear-body{fill:#fff;stroke:#385347;stroke-width:2}.gear-body.brought{fill:#fff0a4}.gear-label{font-size:12px;font-weight:800;fill:#213c30;text-anchor:middle}.mic-icon{stroke:#5b775f;stroke-width:2;fill:#fff}.monitor-icon{fill:#dce8d9;stroke:#66876d;stroke-width:1.5}.iem-tag{fill:#d8ebac;stroke:#5c8667;stroke-width:1}.iem-text{font-size:9px;font-weight:900;fill:#2a5734;text-anchor:middle}.pc-tag{fill:#e4edf7;stroke:#66839a;stroke-width:1}.pc-text{font-size:9px;font-weight:900;fill:#254864;text-anchor:middle}.empty-stage{font-size:21px;font-weight:800;fill:#809684;text-anchor:middle}
.inventory{margin-top:22px;border:1px solid #dbe4d9;border-radius:10px;overflow:hidden;font-size:12px}.inventory summary{padding:12px 14px;font-weight:800;cursor:pointer;background:#f6faf5}.inventory-inner{padding:12px 14px}.inventory-inner p{font-size:11px;color:#64796b;line-height:1.5;margin:0 0 10px}.inventory table{border-collapse:collapse;width:100%}.inventory th,.inventory td{border-bottom:1px solid #e0e8df;text-align:left;padding:6px 5px}.inventory th{color:#4c6b53;font-size:10px}.inventory td:last-child{text-align:center}
.roster-setup{border:1px solid #dce7dc;background:#f8fbf7;border-radius:12px;padding:15px;margin-bottom:22px}.roster-setup p{font-size:12px;line-height:1.6;color:#55705c;margin:0 0 13px}.roster-setup>small{display:block;font-size:10px;color:#6d8171;margin-top:11px}.count-options{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.count-button{border:1px solid #bfd1c0;background:#fff;border-radius:8px;padding:10px 0;font-size:13px;font-weight:800;color:#365340}.count-button:hover,.count-button.selected{background:#dceecb;border-color:#77a683;color:#21402d}.count-custom{display:flex;align-items:center;gap:8px;margin-top:11px}.count-custom label{font-size:11px;font-weight:800;color:#45624c;white-space:nowrap}.count-custom input{width:88px;min-height:34px;border:1px solid #c7d8c7;border-radius:7px;padding:6px 8px;background:#fff}.count-custom button{white-space:nowrap}@media(max-width:650px){.count-options{grid-template-columns:repeat(3,1fr)}.count-custom{flex-wrap:wrap}.count-custom label{width:100%}}

#printRoot{display:none}.print-page{width:210mm;min-height:297mm;padding:11mm 15mm 10mm;background:#fff;color:#182722;break-after:page}.print-page:last-child{break-after:auto}.print-topline{height:3mm;background:#244a35;margin-bottom:5mm}.print-header{display:flex;justify-content:space-between;gap:10mm;align-items:flex-start;border-bottom:1px solid #c8d3c8;padding-bottom:4mm;margin-bottom:3mm}.print-header h1{font-size:22pt;margin:0 0 1mm;letter-spacing:-.04em}.print-header p{font-size:8pt;margin:0;color:#5e7162}.print-meta{text-align:right;font-size:8pt;line-height:1.6}.print-meta strong{display:block;font-size:10pt}.print-section-title{font-size:10pt;font-weight:900;margin:4mm 0 2mm;letter-spacing:.04em}.print-stage svg{width:100%;display:block}.print-legend{display:flex;gap:5mm;align-items:center;font-size:7pt;color:#64766c;margin-top:1.5mm}.legend-box{width:5mm;height:3.5mm;border:1px solid #556b59;background:#fff0a4;display:inline-block;margin-right:1mm;vertical-align:middle}.print-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:5mm;align-items:start}.print-grid .print-table{font-size:7.1pt}.print-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:1.5mm 0 4mm;font-size:7.7pt}.print-table th,.print-table td{border:1px solid #aebeb0;padding:1.6mm 2mm;vertical-align:top;word-break:break-word;line-height:1.35}.print-table th{background:#eaf1e9;text-align:left;font-weight:900}.print-table td:first-child{font-weight:700}.print-drum-note{border:1px solid #b9c7b8;padding:2mm 2.5mm;font-size:7.2pt;line-height:1.45;word-break:break-word}.print-note{border:1px solid #b9c7b8;padding:3mm;font-size:8pt;line-height:1.5;white-space:pre-wrap;word-break:break-word;min-height:13mm}.print-note.empty{color:#89998b}.print-footer{font-size:6.5pt;color:#718675;text-align:right;margin-top:4mm}.print-section{break-inside:avoid}

@media(max-width:1100px){.workspace{grid-template-columns:1fr}.preview-panel{position:static}.stage-preview{max-width:760px;margin:auto}.topbar{height:auto;min-height:72px;padding-top:12px;padding-bottom:12px}.top-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:650px){.topbar{align-items:flex-start}.brand{padding-top:2px}.top-actions{max-width:200px}.top-actions .save-status{display:none}.top-actions .button{font-size:10px;padding:7px 8px;min-height:31px}.app-shell{padding-top:22px}.intro{display:block}.progress-block{margin-top:18px;text-align:left}.editor-content{padding:16px}.editor-footer{padding:14px 16px}.step-button{min-height:52px;font-size:10px}.field-grid,.field-grid.three{grid-template-columns:1fr}.template-list{grid-template-columns:1fr 1fr}.preview-head{padding:17px 16px 10px}.preview-head h2{font-size:17px}.stage-preview{padding:0 9px}.preview-summary{padding:12px;gap:5px}.summary-pill{padding:7px}.position-row{grid-template-columns:1fr 65px 65px}.drag-hint{font-size:9px}}
@page{size:A4 portrait;margin:0}@media print{html,body{margin:0;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.topbar,.app-shell,.toast{display:none!important}#printRoot{display:block!important}.print-page{margin:0;box-shadow:none}.print-stage svg{max-height:130mm}.print-table{font-size:7.2pt}.print-section{break-inside:avoid}}
