.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1.25rem;background:radial-gradient(circle at top left,#dbeafe 0%,transparent 42%),radial-gradient(circle at bottom right,#d1fae5 0%,transparent 38%),var(--color-bg)}.auth-card{width:min(100%,420px);background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;box-shadow:0 10px 30px #11182714;overflow:hidden}.auth-card-header{padding:1.5rem 1.75rem 1rem;background:linear-gradient(135deg,var(--color-header),#e0f2fe);border-bottom:1px solid var(--color-border)}.auth-card-header h1{margin:0;font-size:1.45rem;letter-spacing:.01em}.auth-subtitle{margin:.35rem 0 0;color:var(--color-muted);font-size:.95rem}.auth-card-body{padding:1.5rem 1.75rem 1.75rem;display:flex;flex-direction:column;gap:1rem}.auth-field-label{display:inline-flex;align-items:center;gap:.35rem}.auth-field-error{margin:0;color:#b91c1c;font-size:.82rem;font-weight:400}.auth-help-inline{margin:0;color:var(--color-muted);font-size:.82rem;font-weight:400}.field-help{position:relative;display:inline-flex}.field-help-trigger{width:1.1rem;height:1.1rem;border-radius:999px;border:1px solid #93c5fd;background:#eff6ff;color:#1d4ed8;font-size:.72rem;font-weight:700;line-height:1;cursor:help;padding:0}.field-help-tooltip{position:absolute;top:calc(100% + .35rem);left:0;z-index:20;width:max-content;max-width:260px;padding:.55rem .65rem;border:1px solid var(--color-border);border-radius:6px;background:#fff;color:var(--color-text);font-size:.78rem;font-weight:400;line-height:1.45;box-shadow:0 8px 20px #1118271f}.auth-field{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;font-weight:600}.auth-field input,.admin-field input,.admin-field select{width:100%;border:1px solid var(--color-border);border-radius:4px;padding:.55rem .65rem;font:inherit;font-weight:400;background:#fff}.auth-field input:focus,.admin-field input:focus,.admin-field select:focus{outline:2px solid #93c5fd;outline-offset:1px}.auth-submit,.admin-primary-button{margin-top:.25rem;border:1px solid #1d4ed8;background:#2563eb;color:#fff;font-weight:600;padding:.6rem 1rem;border-radius:4px;cursor:pointer}.auth-submit:disabled,.admin-primary-button:disabled{opacity:.6;cursor:not-allowed}.auth-error{margin:0;padding:.55rem .7rem;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;border-radius:4px;font-size:.9rem}.auth-success{margin:0;padding:.55rem .7rem;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:4px;font-size:.9rem}.auth-loading{padding:2rem;text-align:center;color:var(--color-muted)}.home-page{width:100%;display:flex;justify-content:center;padding:1rem 0}.home-auth-card{width:min(100%,480px);box-shadow:0 8px 24px #1118270f}.home-auth-card .auth-card-header h2{margin:0;font-size:1.35rem}.home-auth-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.home-auth-actions .auth-submit{margin-top:0}.sidebar-guest-note{margin:0;padding:.65rem .75rem;font-size:.82rem;color:var(--color-muted);line-height:1.45}.admin-page{display:flex;flex-direction:column;gap:1rem}.admin-page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.admin-page-header h2{margin:0;font-size:1.35rem}.admin-page-header p{margin:.35rem 0 0;color:var(--color-muted);font-size:.92rem}.admin-layout{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:1rem;align-items:start}@media(max-width:900px){.admin-layout{grid-template-columns:1fr}}.admin-panel{border:1px solid var(--color-border);background:var(--color-surface);padding:1rem}.admin-panel h3{margin:0 0 .85rem;font-size:1.05rem}.admin-form{display:grid;gap:.85rem}.admin-field{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600}.admin-table-wrap{border:1px solid var(--color-border);background:var(--color-surface);overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:.7rem .85rem;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle}.admin-table th{background:#f9fafb;font-size:.85rem;color:var(--color-muted)}.admin-table tbody tr:hover{background:#f9fafb}.admin-badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.78rem;font-weight:600;border:1px solid transparent}.admin-badge.is-admin{background:#dbeafe;color:#1e40af;border-color:#93c5fd}.admin-badge.is-user{background:#ecfeff;color:#0e7490;border-color:#a5f3fc}.admin-badge.is-active{background:#dcfce7;color:#166534;border-color:#86efac}.admin-badge.is-inactive{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.admin-secondary-button{border:1px solid #0f766e;background:#0d9488;color:#fff;font-weight:600;padding:.35rem .7rem;border-radius:4px;cursor:pointer}.admin-secondary-button:hover{background:#0f766e}.admin-empty{padding:1.5rem;color:var(--color-muted);text-align:center}.admin-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182773;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000}.admin-modal{width:min(100%,460px);background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 20px 40px #1118272e}.admin-modal-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.1rem;border-bottom:1px solid var(--color-border);background:#f9fafb}.admin-modal-header h3{margin:0;font-size:1.05rem}.admin-modal-close{border:1px solid var(--color-border);background:#fff;width:2rem;height:2rem;border-radius:4px;cursor:pointer;line-height:1}.admin-modal-body{padding:1rem 1.1rem 1.1rem;display:grid;gap:.85rem}.admin-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;padding-top:.25rem}.admin-cancel-button{border:1px solid var(--color-border);background:#fff;color:var(--color-text);font-weight:600;padding:.45rem .85rem;border-radius:4px;cursor:pointer}.admin-checkbox-field{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:500}.admin-help{margin:0;color:var(--color-muted);font-size:.82rem;font-weight:400}.chapare-page{display:flex;flex-direction:column;gap:1.25rem}.chapare-title{margin:0;font-size:1.35rem}.chapare-url-section h3,.chapare-status-section h3,.chapare-command-section h3{margin:0 0 .75rem;font-size:1.05rem}.chapare-help{margin:0 0 .75rem;color:var(--color-muted);font-size:.9rem;line-height:1.5}.chapare-url-row{display:flex;gap:.6rem}.chapare-input{flex:1;border:1px solid var(--color-border);padding:.45rem .6rem;font:inherit}.chapare-input-sm{width:120px;border:1px solid var(--color-border);padding:.2rem .35rem;font:inherit;font-size:.85rem}.chapare-input-number{width:60px;border:1px solid var(--color-border);padding:.2rem .35rem;font:inherit;font-size:.85rem}.chapare-button{border:1px solid var(--color-border);background:#fff;padding:.45rem .9rem;cursor:pointer;font:inherit}.chapare-button.primary{background:#2563eb;border-color:#2563eb;color:#fff}.chapare-button.success{background:#16a34a;border-color:#16a34a;color:#fff}.chapare-error{margin-top:.75rem;color:#dc3545;padding:.65rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px}.chapare-copy-message{margin-top:.75rem;color:#166534;padding:.65rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:4px}.chapare-loading{text-align:center;padding:1.25rem;color:var(--color-muted)}.chapare-result-layout{display:flex;gap:1.25rem;margin-bottom:1.5rem}.chapare-status-section{flex:5;min-width:0}.chapare-command-section{flex:3;min-width:0}.chapare-status-config{background:#f8f9fa;padding:.9rem;border-radius:4px;border:1px solid #dee2e6}.chapare-type-selection{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-bottom:.9rem;border-bottom:1px solid #dee2e6;margin-bottom:.9rem}.chapare-label{font-size:.9rem;width:100%}.chapare-radio{display:inline-flex;align-items:center;gap:.3rem;font-size:.9rem}.chapare-enemy-life{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#fff;border:1px solid #dee2e6;border-radius:4px}.chapare-status-items{display:flex;flex-direction:column;gap:.55rem}.chapare-status-item{display:flex;align-items:center;gap:.5rem}.chapare-status-label{width:80px;font-size:.85rem}.chapare-other-settings{margin-top:1rem;padding-top:.9rem;border-top:1px solid #dee2e6;display:flex;flex-direction:column;gap:.55rem}.chapare-other-settings h4{margin:0 0 .35rem;font-size:.95rem}.chapare-setting-item{display:flex;align-items:center;gap:.45rem;font-size:.85rem}.chapare-setting-item input[type=number],.chapare-setting-item select{border:1px solid var(--color-border);padding:.2rem .35rem;font:inherit}.chapare-output-button{margin-top:.75rem;width:100%;padding:.8rem;font-size:1.05rem}.chapare-command-text{width:100%;min-height:400px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem;border:1px solid var(--color-border);padding:.6rem;resize:vertical;box-sizing:border-box}.chapare-command-section .chapare-button{margin-top:.5rem}.chapare-table-section{margin-bottom:1.5rem}.chapare-muted{color:var(--color-muted);margin:0}.chapare-table{width:100%;border-collapse:collapse;margin-bottom:.75rem;font-size:.72rem;background:#fff;border:1px solid #ccc;table-layout:fixed}.chapare-table th,.chapare-table td{border:1px solid #ccc;padding:.2rem .3rem;vertical-align:top;line-height:1.3}.chapare-table th{background:#f0f0f0;font-weight:700}.chapare-table tr:nth-child(2n){background:#fafafa}.skills-table{max-width:600px}.ninpo-table th:nth-child(1),.ninpo-table td:nth-child(1),.ninpo-table th:nth-child(2),.ninpo-table td:nth-child(2){width:28px;text-align:center}.ninpo-table th:nth-child(3),.ninpo-table td:nth-child(3){width:120px;font-weight:700}.ninpo-table th:nth-child(6),.ninpo-table td:nth-child(6),.ninpo-table th:nth-child(7),.ninpo-table td:nth-child(7),.ninpo-table th:nth-child(9),.ninpo-table td:nth-child(9){width:48px;text-align:center}@media(max-width:768px){.chapare-url-row{flex-direction:column}.chapare-result-layout{grid-template-columns:1fr}}.ryuha-page{display:flex;flex-direction:column;gap:1rem;max-width:80rem;width:100%}.ryuha-page-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.ryuha-page-header h2{margin:0;font-size:1.35rem}.ryuha-header-actions{display:flex;flex-wrap:wrap;gap:.5rem}.ryuha-panel,.ryuha-section,.ryuha-footer-panel{border:1px solid #94a3b8;background:#fff;padding:1rem 1.1rem;border-radius:8px;box-shadow:0 1px 3px #0f172a14}.ryuha-section-title,.ryuha-view-heading{margin:0 0 .75rem;font-size:1.02rem;font-weight:700;color:#111827}.ryuha-section-heading-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.75rem}.ryuha-section-heading-row .ryuha-section-title{margin-bottom:0}.ryuha-merit-total{margin:0;font-size:.9rem;color:#4b5563}.ryuha-merit-readonly{display:inline-flex;min-width:2.5rem;justify-content:center;font-weight:700;color:#111827}.ryuha-view,.ryuha-editor{max-width:76rem;width:100%}.ryuha-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ryuha-side-grid{display:grid;grid-template-columns:11rem minmax(0,1fr);gap:1rem;margin-top:1rem;align-items:start}.ryuha-dual-section,.ryuha-stack-section{display:flex;flex-direction:column;gap:1rem}.ryuha-field{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600}.ryuha-field-label,.ryuha-inline-field{font-size:.88rem;font-weight:600}.ryuha-inline-field,.ryuha-inline-num-field{display:inline-flex;align-items:center;gap:.5rem}.ryuha-input,.ryuha-select,.ryuha-textarea{width:100%;border:1px solid #94a3b8;border-radius:4px;padding:.45rem .55rem;font:inherit;font-weight:400;background:#fff}.ryuha-input-sm{width:4.5rem;max-width:100%}.ryuha-input-num,.ryuha-select-num{width:4.5rem;max-width:100%;text-align:center}.ryuha-select-num{padding-left:.25rem;padding-right:.25rem}.ryuha-textarea{resize:vertical;min-height:3rem}.ryuha-notes-field{height:100%}.ryuha-notes-textarea{min-height:180px}.ryuha-image-block{display:flex;flex-direction:column;gap:.5rem}.ryuha-image-preview{width:100%;max-width:10rem;aspect-ratio:1;object-fit:cover;border:1px solid #d8dee8;border-radius:6px;background:#f9fafb}.ryuha-image-placeholder{width:100%;max-width:10rem;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px dashed #cfd6e0;border-radius:6px;color:var(--color-muted);background:#f9fafb;font-size:.85rem}.ryuha-file-input{font-size:.85rem}.ryuha-row-actions{display:inline-flex;gap:.25rem}.ryuha-icon-button{width:2rem;height:2rem;border:1px solid #64748b;background:#e2e8f0;color:#1e293b;border-radius:4px;cursor:pointer;font-weight:700}.ryuha-icon-button:hover:not(:disabled){background:#cbd5e1}.ryuha-icon-button:disabled{opacity:.45;cursor:not-allowed}.ryuha-table-wrap{overflow-x:auto}.ryuha-table{width:100%;border-collapse:collapse;min-width:720px}.ryuha-table th,.ryuha-table td{border:1px solid #94a3b8;padding:.45rem;vertical-align:top;text-align:left;font-size:.85rem}.ryuha-table thead th{background:#111;color:#fff;font-weight:700;border-color:#fff;white-space:nowrap}.ryuha-list-table thead th{background:#111;color:#fff}.ryuha-edit-table{min-width:860px}.ryuha-history-edit-table{min-width:720px}.ryuha-list-table{min-width:640px}.ryuha-empty-cell{text-align:center;color:var(--color-muted)}.ryuha-info-table,.ryuha-basic-form-table{width:100%;border-collapse:collapse;table-layout:fixed}.ryuha-info-table th,.ryuha-info-table td,.ryuha-basic-form-table th,.ryuha-basic-form-table td{border:1px solid #94a3b8;padding:.5rem .65rem;vertical-align:middle;font-size:.9rem;line-height:1.5;word-break:break-word}.ryuha-info-table th,.ryuha-basic-form-table th{background:#f1f5f9;font-weight:700;text-align:left;white-space:nowrap}.ryuha-info-table--view th{background:#065f46;color:#fff;border-color:#fff;white-space:normal;font-size:.84rem;line-height:1.35;padding:.45rem .5rem}.ryuha-info-table--view .ryuha-col-label{width:4.5rem}.ryuha-info-table--view .ryuha-col-num{width:3.75rem}.ryuha-view-bar-heading{margin:-.85rem -1rem .85rem;padding:.55rem .85rem;background:#065f46;color:#fff;font-size:1rem;font-weight:700;border-radius:7px 7px 0 0;border-bottom:1px solid rgba(255,255,255,.45)}.ryuha-notes-view-section{padding-top:.85rem}.ryuha-basic-view-section .ryuha-view-heading{margin-bottom:.75rem}.ryuha-basic-view-tables{display:flex;flex-direction:column;width:100%}.ryuha-basic-view-tables>table+table,.ryuha-basic-view-tables>.ryuha-basic-view-upper+table{margin-top:-1px}.ryuha-basic-view-upper{display:grid;grid-template-columns:minmax(0,1fr) 6.5rem;width:100%;border:1px solid #94a3b8;background:#fff}.ryuha-basic-view-fields{width:100%;table-layout:fixed;border:none}.ryuha-basic-view-fields th,.ryuha-basic-view-fields td{border-top:none;border-left:none}.ryuha-basic-view-fields tr:last-child th,.ryuha-basic-view-fields tr:last-child td{border-bottom:none}.ryuha-basic-view-upper .ryuha-basic-view-image-frame{display:flex;align-items:center;justify-content:center;width:6.5rem;height:6.5rem;box-sizing:border-box;border-left:1px solid #94a3b8;border-top:none;border-right:none;border-bottom:none;padding:.3rem;align-self:start;background:#fff}.ryuha-basic-view-image{display:block;max-width:100%;max-height:100%;object-fit:contain}.ryuha-basic-view-main,.ryuha-basic-view-bottom{width:100%;table-layout:fixed}.ryuha-basic-view-main--split .ryuha-col-label{width:4.5rem}.ryuha-info-table--view .ryuha-basic-stats-row th{font-size:.76rem;line-height:1.25;padding:.35rem .4rem}.ryuha-info-table--view .ryuha-basic-stats-row td{padding:.35rem .45rem;font-size:.86rem}.ryuha-col-label{width:5rem}.ryuha-col-num{width:4.5rem}.ryuha-col-image{width:7.5rem}.ryuha-col-value{width:auto}.ryuha-cell-num,.ryuha-cell-date{width:4.5rem;text-align:center;white-space:nowrap}.ryuha-info-notes-cell{white-space:pre-wrap;line-height:1.6}.ryuha-info-image-cell{width:10rem;text-align:center}.ryuha-view-image{max-width:9rem;max-height:9rem;object-fit:contain;display:block;margin:0 auto}.ryuha-view{display:flex;flex-direction:column;gap:1rem}.ryuha-view-card{border:1px solid #94a3b8;border-radius:8px;padding:.85rem 1rem 1rem;background:#fff;box-shadow:0 1px 3px #0f172a14}.ryuha-sheet-table{width:100%;border-collapse:collapse;min-width:640px}.ryuha-sheet-table th,.ryuha-sheet-table td{border:1px solid #64748b;padding:.48rem .6rem;vertical-align:top;text-align:left;font-size:.86rem;line-height:1.5;word-break:break-word}.ryuha-sheet-table tbody tr:not(.ryuha-sub-row):not(.ryuha-ninpo-effect-row)+tr:not(.ryuha-sub-row):not(.ryuha-ninpo-effect-row) td,.ryuha-sheet-table tbody tr.ryuha-sub-row+tr:not(.ryuha-sub-row):not(.ryuha-ninpo-effect-row) td{border-top:2px solid #475569}.ryuha-sheet-table thead th{background:#065f46;color:#fff;font-weight:700;border-color:#fff;white-space:nowrap}.ryuha-sheet-table tbody tr:nth-child(2n):not(.ryuha-sub-row){background:#fafafa}.ryuha-sheet-table--ninpo .ryuha-cell-num,.ryuha-sheet-table--history .ryuha-cell-num{width:3.5rem}.ryuha-sheet-table--history .ryuha-cell-date{width:6.5rem}.ryuha-sub-row td{background:#f8fafc!important;color:#374151;font-size:.84rem;padding-top:.35rem;padding-bottom:.65rem;border-top:none;border-color:#64748b}.ryuha-cell-pre-wrap{white-space:pre-wrap;word-break:break-word;line-height:1.6}.ryuha-ninpo-effect-row td{background:#f8fafc;border-top:none;padding-top:0;padding-bottom:.75rem}.ryuha-effect-field{width:100%;flex-direction:column;align-items:stretch;gap:.35rem}.ryuha-ninpo-effect-textarea{min-height:5.5rem;width:100%}.ryuha-ninpo-edit-table tbody tr.ryuha-ninpo-effect-row+tr td{border-top:2px solid #475569}.ryuha-muted{color:var(--color-muted)}.ryuha-history-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.65rem}.ryuha-search-row{display:flex;flex-wrap:wrap;gap:.5rem}.ryuha-search-row input{flex:1;min-width:180px;border:1px solid var(--color-border);padding:.45rem .55rem;font:inherit}.ryuha-primary-button,.ryuha-secondary-button,.ryuha-add-button,.ryuha-danger-button{border-radius:4px;padding:.45rem .85rem;font-weight:600;cursor:pointer}.ryuha-primary-button{border:1px solid #1d4ed8;background:#2563eb;color:#fff}.ryuha-primary-button:hover{background:#1d4ed8}.ryuha-secondary-button{border:1px solid #475569;background:#e2e8f0;color:#1e293b}.ryuha-secondary-button:hover{background:#cbd5e1}.ryuha-add-button{border:1px solid #334155;background:#cbd5e1;color:#0f172a;margin-top:.65rem}.ryuha-add-button:hover{background:#94a3b8;color:#fff}.ryuha-danger-button{border:1px solid #b91c1c;background:#fef2f2;color:#b91c1c}.ryuha-action-row,.ryuha-save-row{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.75rem}.ryuha-visibility-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:.75rem}.ryuha-radio{display:inline-flex;align-items:center;gap:.35rem;font-weight:500}.ryuha-help{margin:0;color:var(--color-muted);font-size:.85rem;line-height:1.5}.ryuha-error,.ryuha-message{padding:.55rem .7rem;border-radius:4px;font-size:.9rem}.ryuha-error{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}.ryuha-message{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}@media(max-width:900px){.ryuha-basic-grid,.ryuha-side-grid{grid-template-columns:1fr}.ryuha-notes-textarea{min-height:140px}.ryuha-view,.ryuha-editor{max-width:none}}.ryuha-mobile-only{display:none}@media(max-width:640px){.ryuha-page-header{flex-direction:column;align-items:stretch}.ryuha-page-header h2{font-size:1.15rem}.ryuha-header-actions{flex-direction:column}.ryuha-header-actions .ryuha-primary-button,.ryuha-header-actions .ryuha-secondary-button,.ryuha-action-row .ryuha-primary-button,.ryuha-action-row .ryuha-danger-button{width:100%}.ryuha-col-label,.ryuha-info-table th,.ryuha-basic-form-table th{width:5rem}.ryuha-basic-view-upper{grid-template-columns:minmax(0,1fr) 5.5rem}.ryuha-basic-view-upper .ryuha-basic-view-image-frame{width:5.5rem;height:5.5rem}.ryuha-desktop-only{display:none}.ryuha-mobile-only{display:block}.ryuha-table-wrap{overflow-x:visible}}.ryuha-card-list{display:flex;flex-direction:column;gap:.75rem}.ryuha-row-card{border:1px solid #94a3b8;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 1px 2px #0f172a0f}.ryuha-row-card-title{margin:0;padding:.55rem .75rem;background:#065f46;color:#fff;font-size:.92rem;font-weight:700;line-height:1.4;word-break:break-word}.ryuha-row-card-fields{margin:0;padding:.55rem .75rem .65rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .75rem}.ryuha-card-field{display:flex;flex-direction:column;gap:.15rem;min-width:0}.ryuha-card-field dt{margin:0;font-size:.72rem;font-weight:700;color:#065f46;letter-spacing:.02em}.ryuha-card-field dd{margin:0;font-size:.86rem;line-height:1.45;word-break:break-word}.ryuha-row-card-block{border-top:1px solid #cbd5e1;padding:.55rem .75rem .65rem;background:#f8fafc;font-size:.86rem;line-height:1.55}.ryuha-row-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .65rem;padding:.55rem .75rem;background:#065f46;color:#fff}.ryuha-row-card-date,.ryuha-row-card-category{font-size:.86rem;font-weight:600}.ryuha-row-card-merit{margin-left:auto;font-size:.86rem;font-weight:700}.ryuha-card-empty{margin:0;padding:.75rem;text-align:center;color:#6b7280;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.auto-resize-textarea{display:block;width:100%;box-sizing:border-box;overflow-x:hidden;overflow-y:hidden;resize:none;field-sizing:content}.scenario-field textarea.auto-resize-textarea,textarea.auto-resize-textarea{resize:none}.scenario-page{display:flex;flex-direction:column;gap:1rem}.scenario-page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.scenario-page-header h2{margin:0;font-size:1.35rem}.scenario-primary-button,.scenario-secondary-button,.scenario-save-button{border:1px solid transparent;padding:.45rem .9rem;cursor:pointer;color:#fff;font-weight:600}.scenario-primary-button,.scenario-save-button{background:#2563eb;border-color:#1d4ed8}.scenario-secondary-button{background:#0d9488;border-color:#0f766e}.scenario-danger-button{border:1px solid #b91c1c;background:#dc2626;color:#fff;font-weight:600;padding:.2rem .55rem;cursor:pointer}.scenario-save-button:disabled,.scenario-secondary-button:disabled,.scenario-danger-button:disabled{opacity:.55;cursor:not-allowed}.scenario-search{border:1px solid var(--color-border);padding:.85rem;background:#fafafa}.scenario-search-row{display:flex;gap:.6rem}.scenario-search-row input,.scenario-field input[type=text],.scenario-field input[type=password],.scenario-field input[type=number],.scenario-pc-row input[type=number]{border:1px solid var(--color-border);padding:.4rem .55rem;font:inherit}.scenario-search-row input{flex:1}.scenario-help{margin:.5rem 0 0;color:var(--color-muted);font-size:.85rem}.scenario-table-wrap{overflow-x:auto;border:1px solid var(--color-border)}.scenario-table{width:100%;border-collapse:collapse;background:#fff}.scenario-table th,.scenario-table td{border-bottom:1px solid var(--color-border);padding:.7rem .75rem;text-align:left;font-size:.92rem}.scenario-table th{background:#f3f4f6;font-weight:600}.scenario-table a{color:#1d4ed8;text-decoration:underline}.scenario-sheet-bar{display:flex;align-items:stretch;gap:.35rem;border:1px solid var(--color-border);background:#f3f4f6;padding:.35rem}.scenario-sheet-scroller{display:flex;gap:.25rem;overflow-x:auto;flex:1;min-width:0;scrollbar-width:thin}.scenario-sheet-tab,.scenario-sheet-scroll{border:1px solid #94a3b8;background:#e2e8f0;padding:.4rem .75rem;cursor:pointer;white-space:nowrap}.scenario-sheet-tab.is-active{background:#fff;border-color:#2563eb;border-bottom-color:#fff;font-weight:600;color:#1e3a8a}.scenario-sheet-tab.is-special{border-width:2px;font-weight:600}.scenario-sheet-tab.is-participants{background:#dbeafe;border-color:#2563eb;color:#1e3a8a}.scenario-sheet-tab.is-participants.is-active{background:#bfdbfe;border-color:#1d4ed8;color:#1e3a8a}.scenario-sheet-tab.is-settings{background:#dcfce7;border-color:#16a34a;color:#14532d}.scenario-sheet-tab.is-settings.is-active{background:#bbf7d0;border-color:#15803d;color:#14532d}.scenario-sheet-tab.is-preview{background:#ffedd5;border-color:#ea580c;color:#9a3412}.scenario-sheet-tab.is-preview.is-active{background:#fed7aa;border-color:#c2410c;color:#9a3412}.scenario-sheet-tab.is-character-sheets{background:#ede9fe;border-color:#7c3aed;color:#4c1d95}.scenario-sheet-tab.is-character-sheets.is-active{background:#ddd6fe;border-color:#6d28d9;color:#4c1d95}.scenario-sheet-tab.is-scenario-sheets{background:#ccfbf1;border-color:#0d9488;color:#134e4a}.scenario-sheet-tab.is-scenario-sheets.is-active{background:#99f6e4;border-color:#0f766e;color:#134e4a}.scenario-sheet-tab.is-scene-table{background:#fce7f3;border-color:#db2777;color:#9d174d}.scenario-sheet-tab.is-scene-table.is-active{background:#fbcfe8;border-color:#be185d;color:#9d174d}.scenario-sheet-add{min-width:2rem;font-weight:700;background:#16a34a;border-color:#15803d;color:#fff}.scenario-sheet-scroll{flex-shrink:0;width:2rem;padding:0;background:#64748b;border-color:#475569;color:#fff}.scenario-editor-body.is-readonly{pointer-events:none;opacity:.92}.scenario-visibility-row{display:flex;gap:1rem;flex-wrap:wrap}.scenario-radio{display:inline-flex;align-items:center;gap:.35rem}.scenario-editor-body{border:1px solid var(--color-border);padding:1rem;background:#fff;min-height:280px}.scenario-settings{display:flex;flex-direction:column;gap:1rem;max-width:720px}.scenario-field{display:flex;flex-direction:column;gap:.4rem}.scenario-field label,.scenario-label{font-weight:600;font-size:.92rem}.scenario-pc-row{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.scenario-checkbox{display:inline-flex;align-items:center;gap:.35rem;font-weight:400}.scenario-placeholder-panel h3{margin:0 0 .5rem}.scenario-placeholder-panel p,.scenario-placeholder-panel ul{margin:0;line-height:1.6}.scenario-placeholder-panel ul{margin-top:.75rem;padding-left:1.2rem}.scenario-error,.scenario-message{padding:.65rem .75rem;border-radius:4px}.scenario-error{background:#f8d7da;border:1px solid #f5c6cb;color:#842029}.scenario-message{background:#ecfdf5;border:1px solid #a7f3d0;color:#166534}.scenario-sheet-tab.is-draggable{cursor:grab}.scenario-sheet-tab.is-dragging{opacity:.55}.scenario-sheet-tab.is-drag-over{outline:2px dashed #2563eb;outline-offset:-2px}.scenario-sheet-tab-wrap{position:relative;display:inline-flex;flex-shrink:0}.scenario-sheet-tab-wrap.is-dragging{opacity:.55}.scenario-sheet-tab-wrap.is-drag-over{outline:2px dashed #2563eb;outline-offset:-2px}.scenario-sheet-tab.has-delete{padding-right:1.35rem}.scenario-sheet-tab-delete{position:absolute;top:0;right:0;width:1.1rem;height:1.1rem;padding:0;border:none;border-radius:0 0 0 .25rem;background:#b91c1c;color:#fff;font-size:.85rem;line-height:1;cursor:pointer}.scenario-sheet-tab-delete:hover{background:#991b1b}.handout-panel{display:flex;flex-direction:column;gap:1rem;max-width:760px}.character-sheets-panel{display:flex;flex-direction:column;gap:.6rem;max-width:1000px}.character-sheets-table-wrap{overflow-x:auto;border:1px solid var(--color-border)}.character-sheets-table{width:100%;border-collapse:collapse;table-layout:fixed}.character-sheets-table th{padding:.3rem .4rem;border-bottom:1px solid var(--color-border);background:#f3f4f6;font-size:.8rem;text-align:left}.character-sheets-table td{padding:.22rem .3rem;border-bottom:1px solid #e5e7eb}.character-sheets-table tbody tr:last-child td{border-bottom:none}.character-sheets-table th:nth-child(2),.character-sheets-table td:nth-child(2){width:28%}.character-sheets-table th:nth-child(3),.character-sheets-table td:nth-child(3){width:auto}.character-sheets-table input{width:100%;box-sizing:border-box;border:1px solid var(--color-border);padding:.28rem .4rem;font:inherit;font-size:.85rem;line-height:1.2}.character-sheet-number{width:2.5rem;text-align:center!important;color:#475569;font-size:.8rem}.character-sheet-action{width:2.8rem;text-align:center!important}.character-sheet-delete{width:1.55rem;height:1.55rem;padding:0;border:1px solid #b91c1c;background:#fff;color:#b91c1c;font-weight:700;line-height:1;cursor:pointer}.character-sheet-delete:hover{background:#b91c1c;color:#fff}.character-sheet-add{align-self:flex-start;padding:.3rem .6rem;font-size:.85rem}.scenario-sheets-panel{display:flex;flex-direction:column;gap:.75rem;max-width:900px}.scene-sheet-tab-bar{display:flex;align-items:stretch;gap:.3rem}.scene-sheet-tabs{display:flex;flex-wrap:nowrap;gap:.25rem;padding:.35rem;border:1px solid var(--color-border);background:#f3f4f6;overflow-x:auto;flex:1;min-width:0;scrollbar-width:thin}.scene-sheet-tab-scroll{flex-shrink:0;width:2rem;padding:0;border:1px solid #475569;background:#64748b;color:#fff;font-size:1.1rem;line-height:1;cursor:pointer}.scene-sheet-tab-scroll:hover{background:#475569}.scene-sheet-tab-wrap{position:relative;display:inline-flex;flex-shrink:0}.scene-sheet-tab-wrap.is-dragging{opacity:.55}.scene-sheet-tab-wrap.is-drag-over{outline:2px dashed #0f766e;outline-offset:-2px}.scene-sheet-trigger-message{position:fixed;z-index:100;width:300px;overflow:hidden;border:1px solid #e2e8f0;border-radius:.65rem;background:#fff;box-shadow:0 10px 25px #0f172a21,0 2px 6px #0f172a14;pointer-events:none}.scene-sheet-trigger-message-label{padding:.55rem .75rem .35rem;color:#64748b;font-size:.74rem;font-weight:600}.scene-sheet-trigger-message-body{max-height:8rem;overflow-y:auto;padding:0 .75rem .65rem;color:#334155;font-size:.82rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}.scene-sheet-tab{border:1px solid #94a3b8;background:#e2e8f0;padding:.35rem .7rem;font:inherit;font-size:.85rem;cursor:pointer;white-space:nowrap}.scene-sheet-tab.is-draggable{cursor:grab}.scene-sheet-tab.has-delete{padding-right:1.35rem}.scene-sheet-tab.is-active{border-color:#0f766e;background:#ccfbf1;color:#134e4a;font-weight:600}.scene-sheet-tab.is-scene-list{background:#dbeafe;border-color:#2563eb;color:#1e3a8a;font-weight:600}.scene-sheet-tab.is-scene-list.is-active{background:#bfdbfe;border-color:#1d4ed8;color:#1e3a8a}.scene-sheet-tab-delete{position:absolute;top:0;right:0;width:1.1rem;height:1.1rem;padding:0;border:none;border-radius:0 0 0 .25rem;background:#b91c1c;color:#fff;font-size:.85rem;line-height:1;cursor:pointer}.scene-sheet-tab-delete:hover{background:#991b1b}.scene-sheet-tab.scene-sheet-add{min-width:2rem;padding-inline:.5rem;border-color:#15803d;background:#16a34a;color:#fff;font-weight:700}.scene-sheet-list{border:1px solid var(--color-border);background:#fafafa;overflow-x:auto}.scene-sheet-list-help{margin:0;padding:.45rem .6rem .2rem;color:#64748b;font-size:.8rem}.scene-sheet-list-table{width:100%;border-collapse:collapse;table-layout:fixed}.scene-sheet-list-table th{padding:.35rem .5rem;border-bottom:1px solid var(--color-border);background:#f3f4f6;font-size:.8rem;text-align:left}.scene-sheet-list-table td{padding:.2rem .35rem;border-bottom:1px solid #e5e7eb;vertical-align:middle}.scene-sheet-list-table tbody tr:last-child td{border-bottom:none}.scene-sheet-list-row{cursor:grab}.scene-sheet-list-row.is-dragging{opacity:.55}.scene-sheet-list-row.is-drag-over{outline:2px dashed #0f766e;outline-offset:-2px;background:#f0fdfa}.scene-sheet-list-handle{width:2.4rem;text-align:center!important;color:#94a3b8;font-size:.85rem;letter-spacing:-.08em;-webkit-user-select:none;user-select:none}.scene-sheet-list-number{width:2.5rem;text-align:center!important;color:#475569;font-size:.8rem}.scene-sheet-list-table th:nth-child(3),.scene-sheet-list-table td:nth-child(3){width:26%}.scene-sheet-list-link{display:block;width:100%;box-sizing:border-box;border:none;background:transparent;padding:.35rem .4rem;text-align:left;font:inherit;font-size:.9rem;color:#1d4ed8;cursor:pointer;white-space:pre-wrap;word-break:break-word}.scene-sheet-list-link:hover{background:#eff6ff;text-decoration:underline}.scene-sheet-list-link.is-muted{color:#64748b}.scene-sheet-editor{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid var(--color-border);background:#fafafa}.scene-sheet-editor input[type=text]{width:100%;box-sizing:border-box;border:1px solid var(--color-border);padding:.4rem .55rem;font:inherit}.scene-content-textarea{min-height:15rem;line-height:1.6}.scene-sheet-pager{display:grid;grid-template-columns:1fr auto 1fr;gap:.6rem;align-items:stretch;margin-top:.25rem;padding-top:.85rem;border-top:1px solid var(--color-border)}.scene-sheet-pager-button{display:flex;flex-direction:column;gap:.15rem;border:1px solid #94a3b8;background:#fff;padding:.5rem .7rem;font:inherit;cursor:pointer;text-align:left}.scene-sheet-pager-button.is-next{text-align:right;justify-self:end}.scene-sheet-pager-button.is-prev{justify-self:start}.scene-sheet-pager-button.is-list{align-items:center;justify-content:center;text-align:center;padding:.55rem .85rem;background:#dbeafe;border-color:#2563eb;color:#1e3a8a;font-weight:600}.scene-sheet-pager-button:hover{background:#f8fafc}.scene-sheet-pager-button.is-list:hover{background:#bfdbfe}.scene-sheet-pager-label{font-size:.75rem;color:#64748b}.scene-sheet-pager-title{font-size:.95rem;font-weight:600;color:#0f766e;word-break:break-word}.scene-sheet-pager-placeholder{min-height:1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.handout-category-row{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.handout-category-row select,.handout-category-row input,.scenario-field textarea,.handout-panel .scenario-field input[type=text]{border:1px solid var(--color-border);padding:.4rem .55rem;font:inherit;width:100%;box-sizing:border-box}.scenario-field textarea{width:100%;resize:vertical;box-sizing:border-box}.scenario-field textarea:disabled,.scenario-secondary-button:disabled{opacity:.55;cursor:not-allowed}.scene-table-panel{display:flex;flex-direction:column;gap:.75rem;max-width:900px}.scene-sheet-tab.is-scene-table-output{background:#fef3c7;border-color:#d97706;color:#92400e;font-weight:600}.scene-sheet-tab.is-scene-table-output.is-active{background:#fde68a;border-color:#b45309;color:#92400e}.scene-table-output{border:1px solid var(--color-border);background:#fafafa;padding:.85rem}.scene-table-output-intro{margin:0 0 .85rem;color:#334155;font-size:.92rem;line-height:1.5}.scene-table-output-list{display:flex;flex-direction:column;gap:.9rem}.scene-table-editor{display:flex;flex-direction:column;gap:.85rem}.scene-table-dice-options{display:flex;flex-wrap:wrap;gap:1rem}.scene-table-description-grid{display:flex;flex-direction:column;gap:.45rem}.scene-table-description-row{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.45rem;align-items:start}.scene-table-description-row label{padding-top:.28rem;font-size:.88rem;font-weight:700;text-align:center}.scene-table-description-input{width:100%;box-sizing:border-box}.scenario-preview-panel h3{margin:0 0 .75rem}.scenario-preview-meta{margin:0 0 1rem;padding-left:1.2rem;line-height:1.6}.scenario-preview-sheets{display:flex;flex-direction:column;gap:.85rem}.scenario-preview-card{border:1px solid var(--color-border);padding:.75rem;background:#fafafa}.scenario-preview-card h4{margin:0 0 .5rem}.scenario-preview-card pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:.8rem}.handout-fixed-name{margin:0 0 .35rem;font-size:1.05rem;font-weight:600}.scenario-preview-handouts{margin-bottom:1.25rem}.scenario-preview-section-title{margin:0 0 .55rem;font-size:1rem}.scenario-preview-panel .scene-sheet-tab-bar{margin-bottom:.85rem}.scenario-preview-handout-body{display:flex;flex-direction:column;gap:.9rem}.scenario-preview-copy-block{border:1px solid var(--color-border);padding:.75rem;background:#fafafa}.scenario-preview-copy-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.45rem}.scenario-preview-copy-header h5{margin:0;font-size:.95rem}.scenario-preview-copy-text{width:100%;box-sizing:border-box;border:1px solid var(--color-border);padding:.5rem .6rem;font:inherit;line-height:1.5;resize:vertical;background:#fff;white-space:pre-wrap}.handout-secrets{gap:.85rem}.handout-secret-title-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.trailer-panel,.regu-panel,.participants-panel{max-width:640px;display:flex;flex-direction:column;gap:.9rem}.participants-actions{display:flex;justify-content:flex-start}.participants-textarea,.trailer-textarea{min-height:280px}.regu-field-inline{max-width:280px}.regu-input-small{max-width:140px}.regu-radio-row{display:flex;gap:1rem}.regu-notes{min-height:160px}@media(max-width:768px){.scenario-page-header{flex-direction:column;align-items:stretch}.scenario-search-row{flex-direction:column}}.app-shell{display:flex;min-height:100vh;background:var(--color-bg)}.app-sidebar{width:var(--sidebar-width);flex-shrink:0;display:flex;flex-direction:column;background:var(--color-surface);border-right:1px solid var(--color-border)}.app-sidebar.is-collapsed{width:var(--sidebar-collapsed-width)}.sidebar-top{display:flex;align-items:center;gap:.35rem;padding:.4rem .5rem;border-bottom:1px solid var(--color-border);min-height:40px}.sidebar-home-link{flex:1;display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .55rem;border-radius:4px;font-weight:600;font-size:.95rem;line-height:1.2}.sidebar-app-icon{width:28px;height:28px;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#eff6ff);border:1px solid #93c5fd;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;color:#1e3a5f;flex-shrink:0}.sidebar-app-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-home-link:hover{background:#f9fafb}.sidebar-home-link.is-active{background:var(--color-accent)}.sidebar-collapse-button{margin-left:auto;border:1px solid var(--color-border);background:var(--color-surface);width:26px;height:26px;cursor:pointer;flex-shrink:0}.sidebar-nav{display:flex;flex-direction:column;gap:.35rem;padding:.75rem;flex:1}.sidebar-group{display:flex;flex-direction:column;gap:.25rem}.sidebar-link,.sidebar-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.65rem .75rem;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--color-text);text-align:left;cursor:pointer}.sidebar-link:hover,.sidebar-group-toggle:hover{background:#f9fafb}.sidebar-link.is-active{background:var(--color-accent)}.sidebar-group-icon{font-size:.95rem;line-height:1}.sidebar-children{display:flex;flex-direction:column;gap:.2rem;padding-left:.75rem}.sidebar-child-link{font-size:.95rem}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--color-border);padding:.75rem}.sidebar-user{display:flex;align-items:center;gap:.65rem;padding:.5rem .25rem}.sidebar-user-avatar{width:36px;height:36px;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#eff6ff);border:1px solid #93c5fd;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:#1e3a5f;line-height:1}.sidebar-user-meta{display:flex;flex-direction:column;min-width:0;flex:1}.sidebar-user-name{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-role{font-size:.8rem;color:var(--color-muted)}.sidebar-settings-link{border:1px solid var(--color-border);width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.app-main-column{flex:1;min-width:0;display:flex;flex-direction:column}.app-header{background:var(--color-header);border-bottom:1px solid #9fc8e0}.app-header-inner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem 1rem}.header-menu-button{display:none;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #7aa8c4;border-radius:4px;background:#ffffffd9;cursor:pointer;flex-shrink:0}.header-menu-icon{display:block;width:16px;height:2px;background:#1e3a5f;position:relative}.header-menu-icon:before,.header-menu-icon:after{content:"";position:absolute;left:0;width:16px;height:2px;background:#1e3a5f}.header-menu-icon:before{top:-5px}.header-menu-icon:after{top:5px}.sidebar-backdrop,.sidebar-mobile-close-button{display:none}.app-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;margin-left:auto}.header-text-link{color:#1e3a5f;font-size:.9rem}.header-logout-button{border:1px solid #7aa8c4;background:#ffffffbf;padding:.25rem .7rem;cursor:pointer}.app-content:has(.home-page){display:flex;align-items:center;justify-content:center}.app-content{flex:1;padding:1.25rem;background:var(--color-surface)}.app-footer{border-top:1px solid var(--color-border);background:var(--color-surface);padding:.75rem 1rem;display:flex;flex-direction:column;gap:.25rem}.app-footer-text{margin:0;color:var(--color-muted);font-size:.8rem;line-height:1.5}.home-page,.placeholder-page{display:flex;flex-direction:column;gap:1rem}.home-panel{border:1px solid var(--color-border);padding:1rem;max-width:640px}.home-panel h2,.placeholder-page h2{margin:0 0 .5rem;font-size:1.15rem}.home-panel p,.placeholder-page p{margin:0;line-height:1.6}.home-status{margin-top:.85rem!important;padding:.65rem .75rem;border-radius:4px}.home-status.is-ok{background:#ecfdf5;border:1px solid #a7f3d0}.home-status.is-error{background:#fff7ed;border:1px solid #fed7aa}@media(max-width:768px){.header-menu-button{display:inline-flex}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;border:none;padding:0;background:#0f172a73;cursor:pointer}body.app-nav-open{overflow:hidden}.app-shell{flex-direction:row}.app-sidebar{position:fixed;top:0;left:0;z-index:1000;width:min(18rem,86vw);height:100vh;max-height:100dvh;border-right:1px solid var(--color-border);border-bottom:none;transform:translate(-100%);transition:transform .22s ease;box-shadow:0 10px 30px #0f172a2e}.app-sidebar.is-mobile-open{transform:translate(0)}.app-sidebar.is-collapsed{width:min(18rem,86vw)}.app-sidebar.is-collapsed .sidebar-nav,.app-sidebar.is-collapsed .sidebar-bottom,.app-sidebar.is-collapsed .sidebar-home-link .sidebar-app-name{display:flex}.app-sidebar.is-collapsed .sidebar-nav{flex-direction:column}.sidebar-collapse-button{display:none}.sidebar-mobile-close-button{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;border:1px solid var(--color-border);background:var(--color-surface);width:30px;height:30px;cursor:pointer;font-size:1.1rem;line-height:1}.sidebar-top{min-height:auto}.app-main-column{width:100%}.app-content{padding:.85rem}.app-header-inner{padding:.45rem .75rem}.app-header-actions{flex-wrap:wrap;justify-content:flex-end}.header-logout-button{max-width:120px}}:root{--color-bg: #f3f4f6;--color-surface: #ffffff;--color-border: #d1d5db;--color-text: #111827;--color-muted: #6b7280;--color-accent: #c7f0c2;--color-header: #c9e4f5;--sidebar-width: 240px;--sidebar-collapsed-width: 64px;--font-sans: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:var(--font-sans);color:var(--color-text);background:var(--color-bg)}a{color:inherit;text-decoration:none}button{font:inherit}
