:root{color-scheme:light;font-family:Hiragino Sans,Yu Gothic,Meiryo,system-ui,sans-serif;color:#1d2528;background:#eef1ec;--ink: #1d2528;--muted: #657174;--line: #cad2cc;--paper: #fbfcf8;--paper-2: #f4f7f1;--accent: #0b6f73;--accent-dark: #084f52;--warn: #9c4f18;--danger: #9d2d2d;--shadow: 0 8px 22px rgba(28, 39, 40, .07)}*{box-sizing:border-box}body{margin:0;background:repeating-linear-gradient(0deg,rgba(29,37,40,.025) 0,rgba(29,37,40,.025) 1px,transparent 1px,transparent 26px),#f1f3ef}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}button:disabled,select:disabled,input:disabled{cursor:not-allowed;opacity:.45}select,input,textarea{width:100%;border:1px solid #bac5bf;border-radius:4px;background:#fff;color:var(--ink);padding:5px 7px;font-size:12px;line-height:1.25}textarea{resize:vertical;min-height:30px}.appShell{width:min(1920px,calc(100vw - 10px));margin:0 auto;padding:5px 0 14px}.uploadOnlyShell{display:grid;min-height:100vh;place-items:center;padding:18px}.uploadHero{display:grid;gap:18px;width:min(620px,100%);border:1px solid var(--line);background:#fbfcf8f5;padding:28px}.uploadHero h1{font-size:28px}.uploadLead{margin:0;color:#455255;font-size:14px;line-height:1.6}.appHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border:1px solid rgba(186,197,191,.85);border-radius:2px;background:#fbfcf8eb;box-shadow:var(--shadow)}.headerActions{display:flex;align-items:flex-start;gap:6px}.eyebrow{margin:0 0 6px;color:var(--accent-dark);font-size:11px;font-weight:700;letter-spacing:0}h1,h2{margin:0;letter-spacing:0}h1{font-size:20px}h2{font-size:14px}main{margin-top:5px}.workspace{display:grid;grid-template-columns:142px minmax(0,1fr);gap:5px;align-items:start}.sideRail{display:grid;gap:5px;position:sticky;top:5px;max-height:calc(100vh - 72px);align-content:start}.sideBrand{display:flex;align-items:center;gap:6px;min-height:34px;border:1px solid var(--line);background:#fff;padding:0 9px;color:#334043;font-size:12px;font-weight:800}.sideNav{display:grid;border:1px solid var(--line);border-bottom:0;background:#fff}.sideNavButton{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:34px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#f8faf7;padding:0 9px;font-size:12px;font-weight:700}.sideNavButton:last-child{border-bottom:1px solid var(--line)}.sideNavButton.active{background:var(--accent);color:#fff}.mainPane{min-width:0}.uploader{display:flex;align-items:flex-start;gap:8px}.uploadButton,.primaryButton,.secondaryButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:30px;border-radius:2px;padding:5px 9px;font-weight:700;font-size:12px}.uploadButton{position:relative;overflow:hidden;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer}.uploadButton input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.uploadOnlyShell .uploader{display:grid}.uploadOnlyShell .uploadButton{min-height:44px;font-size:14px}.primaryButton{border-color:var(--accent);background:var(--accent);color:#fff}.secondaryButton{background:#fff}.errorText{color:var(--danger);font-size:13px}.panel{border:1px solid rgba(186,197,191,.9);border-radius:2px;background:#fbfcf8f5;box-shadow:none}.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid var(--line)}.summaryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}.summaryItem{display:grid;gap:3px;min-height:54px;padding:7px 8px;background:var(--paper)}.summaryItem span{color:var(--muted);font-size:11px}.summaryItem strong{font-size:20px;line-height:1}.warnings{display:grid;gap:3px;padding:7px 10px 9px;color:var(--warn);font-size:12px}.tableWrap{overflow:auto;max-width:100%}.sidePanel .tableWrap{max-height:50vh}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{border:1px solid #d9dfda;padding:3px 4px;vertical-align:top;font-size:12px;line-height:1.25}th{position:sticky;top:0;z-index:1;background:var(--paper-2);color:#3d494c;text-align:left;font-weight:800}td{background:#fff}tr:hover td{background:#f7fbfb}.dictionaryStack{display:grid;gap:0}.dictionarySectionTitle{padding:5px 7px;border-bottom:1px solid var(--line);background:#eef4f1;color:#334043;font-size:12px;font-weight:800}.dictionaryTable{min-width:620px}.wideCell{width:34%}.smallCell{font-size:11px;color:#4a5659}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.emptyCell{padding:16px;color:var(--muted);text-align:center}.slideTable{min-width:1220px}.slideTable th:nth-child(1){width:42px}.slideTable th:nth-child(2){width:112px}.slideTable th:nth-child(3){width:270px}.slideTable th:nth-child(4){width:145px}.slideTable th:nth-child(5){width:290px}.slideTable th:nth-child(6){width:112px}.slideTable th:nth-child(7){width:250px}.slideTable th:nth-child(8){width:170px}.slideTable th:nth-child(9){width:42px}.slideTable td select,.slideTable td input,.slideTable td textarea{border:0;border-radius:0;background:transparent;padding:2px 3px;min-height:24px;box-shadow:none;display:block;overflow:hidden}.targetQuestionText{padding:2px 3px 3px;color:#4f5b5e;font-size:11px;line-height:1.25;white-space:normal}.slideTable td select:focus,.slideTable td input:focus,.slideTable td textarea:focus{outline:2px solid rgba(11,111,115,.35);outline-offset:-2px;background:#fff}.pageCell{font-weight:400;font-size:12px;text-align:center;color:#4f5b5e}.buttonGroup{display:flex;gap:4px}.deleteButton{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:0;padding:0}.filterEditor{display:grid;gap:4px}.choiceChecks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:92px;overflow:auto;padding:3px;border:1px solid #d5ddd7;border-radius:0;background:#fff}.draggingRow td{background:#e8f4f3}.slideTable tbody tr[draggable=true]{cursor:move}.addRow td{background:#f8faf7;padding:0}.addRowButton{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:30px;border:0;border-radius:0;background:transparent;color:var(--accent-dark);font-weight:800}.choiceChecks label{display:flex;gap:4px;align-items:flex-start;min-width:0;color:#354145;font-size:11px}.choiceChecks input{width:auto;margin-top:2px}.exportPanel{min-height:260px}.jsonArea{display:block;min-height:260px;border:0;border-radius:0;background:#162023;color:#d8eee9;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.4;padding:10px}@media(max-width:760px){.appShell{width:calc(100vw - 8px);padding-top:4px}.appHeader,.panelHeader{align-items:flex-start;flex-direction:column}.headerActions{display:grid;width:100%}.workspace{grid-template-columns:1fr}.sideRail{position:static;max-height:none}.sideNav{grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.sideNavButton{justify-content:center;border-right:1px solid var(--line);border-bottom:0;padding:0 5px}.sideBrand{display:none}.uploader{justify-items:stretch;width:100%}.uploadButton,.primaryButton,.secondaryButton{width:100%}.summaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
