:root{--suc-bg: #f3f4f6;--suc-surface: #ffffff;--suc-fg: #030712;--suc-muted: #6b7280;--suc-border: #e5e7eb;--suc-accent: #0e7490;--suc-error-bg: #fef2f2;--suc-error-fg: #b91c1c}:root[data-theme=dark]{--suc-bg: #374151;--suc-surface: #030712;--suc-fg: #f9fafb;--suc-muted: #9ca3af;--suc-border: #374151;--suc-accent: #22d3ee;--suc-error-bg: #2a1215;--suc-error-fg: #f87171}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--suc-bg);color:var(--suc-fg);font-family:Inter,Noto Sans JP,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji",sans-serif}#root{min-height:100vh;padding:1rem}.suc-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:.5rem;background:var(--suc-error-bg);color:var(--suc-error-fg);padding:2rem;text-align:center;border-radius:.5rem}.suc-error h2{margin:0;font-size:1.1rem}.suc-error p{margin:0;font-size:.9rem}.suc-document{max-width:none;font-size:.875rem;line-height:1.5rem;word-wrap:break-word}.suc-document h1,.suc-document h2,.suc-document h3,.suc-document h4,.suc-document h5,.suc-document h6{font-size:1.125rem;line-height:1.75rem;font-weight:600;margin:1rem 0 .5rem}.suc-document p,.suc-document ul,.suc-document ol{margin:.5rem 0}.suc-document a{color:inherit;text-decoration:underline}.suc-document table{border-collapse:collapse;margin:1em 0}.suc-document th,.suc-document td{border:1px solid var(--suc-border);padding:.25rem .5rem;vertical-align:top}.suc-document img{max-width:100%}.suc-document pre{background:color-mix(in srgb,var(--suc-fg) 6%,var(--suc-surface));padding:.8em;border-radius:.5rem;overflow-x:auto}.suc-document code{font-family:JetBrains Mono,Menlo,ui-monospace,SFMono-Regular,Consolas,monospace}.suc-sheet-tabs{display:flex;gap:.25rem;padding:.375rem .25rem;background:color-mix(in srgb,var(--suc-fg) 4%,var(--suc-surface));border:1px solid var(--suc-border);border-top:0;border-radius:0 0 .5rem .5rem}.suc-sheet-tabs button{border:1px solid transparent;background:transparent;color:var(--suc-muted);border-radius:4px 4px 0 0;padding:.25rem .9rem;cursor:pointer;font-size:.8125rem}.suc-sheet-tabs button[aria-selected=true]{background:var(--suc-surface);border-color:var(--suc-border);color:var(--suc-fg);font-weight:600}.suc-grid{overflow:auto;border:1px solid var(--suc-border);border-radius:.5rem .5rem 0 0;background:var(--suc-surface);max-height:calc(100vh - 6rem)}.suc-grid table{border-collapse:collapse;font-size:.8125rem;table-layout:fixed;width:max-content;min-width:100%}.suc-grid th{position:sticky;top:0;z-index:1;width:6.5rem;font-weight:400;text-align:center;color:var(--suc-muted);background:color-mix(in srgb,var(--suc-fg) 4%,var(--suc-surface))}.suc-grid th:first-child{width:2.5rem}.suc-grid th,.suc-grid td{border-right:1px solid var(--suc-border);border-bottom:1px solid var(--suc-border);padding:.2rem .4rem;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--suc-fg)}.suc-grid td.suc-num{text-align:right}.suc-grid .suc-rownum{position:sticky;left:0;color:var(--suc-muted);text-align:center;user-select:none;background:color-mix(in srgb,var(--suc-fg) 4%,var(--suc-surface))}.suc-page{background:var(--suc-surface);max-width:850px;margin:0 auto;padding:4rem 5rem;border-radius:.5rem;box-shadow:0 1px 2px #0000000d;min-height:60vh}@media(max-width:700px){.suc-page{padding:2rem 1.5rem}}.suc-docx{font-size:1rem;line-height:1.75}.suc-docx h1{font-size:1.75rem;line-height:2.25rem;margin:1.5rem 0 .75rem}.suc-docx h2{font-size:1.375rem;line-height:1.875rem;margin:1.25rem 0 .625rem}.suc-docx h3{font-size:1.125rem}.suc-docx th,.suc-docx td{border:0;padding:.25rem 1rem .25rem 0}.suc-svg{display:flex;align-items:center;justify-content:center;min-height:60svh;height:100%}.suc-svg svg,.suc-svg img{max-width:100%;max-height:90vh;height:auto}.suc-html-frame{display:block;width:100%;height:calc(100vh - 2rem);border:0;border-radius:.5rem;background:#fff}#root.suc-full-bleed{padding:0}#root.suc-full-bleed .suc-html-frame{height:100vh;border-radius:0}.suc-pdf{display:flex;flex-direction:column;gap:1rem}.suc-pdf-page{width:100%;border-radius:.5rem;background:#fff;box-shadow:0 1px 2px #0000000d;overflow:hidden}.suc-pdf-page canvas{display:block;width:100%;height:auto}.suc-plain{margin:0;width:100%;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.875rem;line-height:1.5rem}
