:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f4f6f8}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100vh}.app-shell[data-theme=dark]{color-scheme:dark;background:#0f172a;color:#e5e7eb}.app-shell[data-theme=dark] .topbar,.app-shell[data-theme=dark] .sheet-tab-bar,.app-shell[data-theme=dark] .profile-menu,.app-shell[data-theme=dark] .board-table-summary,.app-shell[data-theme=dark] .tool-modal{border-color:#334155;background:#000;color:#e5e7eb}.app-shell[data-theme=dark] .sheet-tab,.app-shell[data-theme=dark] .sheet-settings-button,.app-shell[data-theme=dark] .button,.app-shell[data-theme=dark] button,.app-shell[data-theme=dark] input,.app-shell[data-theme=dark] select,.app-shell[data-theme=dark] textarea{border-color:#475569;color:#e5e7eb;background:#111827}.app-shell[data-theme=dark] .sheet-tab.active{color:#93c5fd;border-color:#60a5fa;background:#111827}.app-shell[data-theme=dark] .profile-menu-heading,.app-shell[data-theme=dark] .sheet-tab-label,.app-shell[data-theme=dark] .board-display-options legend,.app-shell[data-theme=dark] .board-display-options label{color:#cbd5e1}.app-shell[data-theme=dark] .profile-menu button:hover:not(:disabled),.app-shell[data-theme=dark] .sheet-settings-button:hover,.app-shell[data-theme=dark] .board-axis-edit-button:hover{background:#1e293b}.app-shell[data-theme=dark] .board-axis-corner,.app-shell[data-theme=dark] .board-axis-label,.app-shell[data-theme=dark] .board-check-cell{border-color:#334155;background:#0f172a;color:#e5e7eb}.app-shell[data-theme=dark] .board-column-label,.app-shell[data-theme=dark] .board-axis-corner{background:#1e293b}.app-shell[data-theme=dark] .board-note-menu{border-color:#475569;background:#111827;color:#e5e7eb}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #cfd6e0;background:#fff}.topbar h1{margin:0;font-size:20px;letter-spacing:0}.brand-mark{display:inline-flex;align-items:center;min-width:0;gap:10px}.brand-icon{width:34px;height:34px;border:1px solid #d4af37;border-radius:999px;object-fit:cover;background:#000;box-shadow:0 2px 10px #1118272e}.login-actions{display:flex;gap:8px}.auth-status{min-height:36px;display:inline-flex;align-items:center;color:#111827;font-size:14px}.auth-status-muted{color:#4b5563}.auth-menu{position:relative}.profile-button{min-width:0;padding:0 10px 0 6px}.profile-avatar{width:26px;height:26px;border-radius:999px;object-fit:cover}.profile-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#2563eb;font-weight:700}.profile-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:10;width:200px;border:1px solid #b7c1cf;border-radius:8px;background:#fff;box-shadow:0 14px 32px #11182729;padding:6px}.profile-menu-heading{display:flex;align-items:center;gap:6px;padding:8px;color:#2f3a4b;font-size:13px;border-bottom:1px solid #e5eaf0}.profile-menu button{justify-content:flex-start;width:100%;margin-top:6px;border-color:transparent}.profile-menu button:hover:not(:disabled){background:#f3f5f8}.button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid #8a96a8;border-radius:6px;color:#111827;text-decoration:none;background:#fff}.workspace{padding:0 20px 20px}.board-overview{display:grid;gap:0;margin:0}.sheet-tab-bar{display:flex;align-items:center;gap:6px;margin:0 -20px 12px;overflow-x:auto;padding:8px 20px 0;border-bottom:1px solid #d9e0ea;background:#fff}.sheet-tab-label{color:#334155;font-size:13px;font-weight:700}.sheet-tab{min-height:30px;padding:0 10px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#111827;background:#fff;white-space:nowrap}.sheet-tab.active{color:#1f4fd1;border-color:#2563eb;background:#fff}.sheet-settings-button{display:inline-flex;align-items:center;align-self:center;gap:4px;height:30px;min-height:30px;line-height:1;padding:0 8px;border:0;border-radius:0;color:#111827;background:#fff;white-space:nowrap}.sheet-settings-button svg{display:block;flex:0 0 auto}.sheet-settings-button:hover{background:#eef2f7}.board-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.board-display-options{display:inline-flex;align-items:center;gap:6px;min-height:34px;margin:0;padding:4px 8px;border:1px solid #c7d2e1;background:#fff}.board-display-options legend{padding:0 4px;color:#42526a;font-size:11px;font-weight:700}.board-display-options label{display:inline-flex;align-items:center;gap:3px;color:#1f2a37;font-size:12px}.board-display-options input{width:14px;height:14px}.board-create-form{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px}.board-create-form input,.board-create-form select{width:120px;min-height:30px;border:1px solid #8a96a8;border-radius:0;padding:0 8px;color:#111827;background:#fff}.board-create-form select{width:104px}.board-create-form button{min-height:30px;border-radius:0;white-space:nowrap}.board-form-error{margin:0;color:#b42318;font-size:13px;font-weight:700}.board-canvas{overflow:auto;min-height:72px;padding:0 0 40px}.board-canvas-space{position:relative;z-index:0;width:var(--board-canvas-width);height:var(--board-canvas-height)}.board-table-summary{position:absolute;box-sizing:border-box;width:max-content;min-width:240px;padding:10px 10px 18px;border:1px solid #8f99aa;border-radius:0;background:#fff}.board-table-summary.moving{border-color:#4f7ee8;box-shadow:0 8px 20px #0f172a29}.board-table-summary.locked{border-color:#64748b}.board-note-card{position:absolute;box-sizing:border-box;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:80px;min-height:64px;border:1px solid #c9a934;border-radius:0;color:#111827;box-shadow:0 10px 24px #0f172a24}.board-note-card.moving,.board-note-card.resizing{box-shadow:0 14px 32px #0f172a3d}.board-note-card.locked{border-color:#8a96a8}.board-note-header{position:relative;display:flex;align-items:center;gap:6px;min-height:32px;padding:6px;border-bottom:1px solid rgb(17 24 39 / 12%);cursor:grab}.board-note-title-input{flex:1 1 auto;min-width:0;border:0;padding:2px 4px;color:inherit;background:transparent;font:inherit;font-weight:800}.board-note-title-view{flex:1 1 auto;min-width:0;overflow:hidden;padding:2px 4px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;user-select:none}.board-note-title-input:focus,.board-note-body-input:focus{outline:2px solid rgb(37 99 235 / 45%);background:#ffffff85}.board-note-title-input:disabled,.board-note-body-input:disabled{cursor:default;opacity:1}.board-note-menu-wrap{position:relative;flex:0 0 auto}.board-note-menu-button{flex:0 0 28px;width:28px;min-height:28px;padding:0;border:0;border-radius:0;color:#111827;background:transparent;box-shadow:none;letter-spacing:0;line-height:1}.board-note-menu-button:hover{color:#2563eb;background:transparent}.board-note-menu-dots{width:4px;height:4px;border-radius:999px;background:currentColor;box-shadow:-7px 0 0 currentColor,7px 0 0 currentColor}.board-note-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:30;display:grid;min-width:128px;gap:4px;border:1px solid #8a96a8;padding:6px;background:#fff;box-shadow:0 12px 28px #0f172a2e}.board-note-menu[hidden]{display:none}.board-note-menu button,.board-note-menu label{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:30px;border:0;padding:0 6px;color:#111827;background:transparent;font-size:12px;font-weight:800}.board-note-menu input[type=color]{width:28px;height:24px;border:0;padding:0}.board-note-menu .danger-menu-item{color:#b42318}.board-note-body{overflow:auto;margin:0;border:0;padding:8px;color:#1f2937;background:transparent;font:inherit;font-size:13px;line-height:1.45;resize:none;white-space:pre-wrap}.board-note-resize-handle{position:absolute;right:0;bottom:0;width:18px;min-height:18px;height:18px;border:0;border-left:1px solid rgb(17 24 39 / 16%);border-top:1px solid rgb(17 24 39 / 16%);border-radius:0;padding:0;background:#ffffff8c;cursor:nwse-resize;touch-action:none}.board-note-resize-handle:disabled{cursor:default;opacity:.55}.floating-board-actions{position:fixed;right:24px;bottom:24px;z-index:15;display:flex;align-items:center;gap:8px}.floating-table-add-button{min-height:42px}.floating-table-add-button,.floating-note-add-button{min-height:42px;padding:0 14px;border-color:#1f4fd1;color:#fff;background:#2563eb;box-shadow:0 12px 28px #2563eb47;font-weight:800}.floating-table-add-button:hover{background:#1f4fd1}.floating-note-add-button{border-color:#b45309;background:#b45309;box-shadow:0 12px 28px #b4530938}.floating-note-add-button:hover{background:#92400e}.board-check-grid{display:grid;align-items:stretch;overflow:auto;width:max-content;max-width:100%;margin-top:10px;border-top:1px solid #d2d9e4}.board-axis-corner,.board-axis-label,.board-check-cell{display:flex;align-items:center;min-width:0;color:#111827}.board-axis-label{overflow:hidden;font:inherit}.board-axis-corner,.board-column-label{min-height:30px;border-bottom:1px solid #c6cfdd;background:#edf2f8}.board-column-label,.board-row-label{gap:6px;justify-content:space-between;padding:4px 6px}.board-axis-edit-button{width:100%;border:0;border-radius:0;font:inherit;text-align:left}.board-row-label.board-axis-edit-button{border-right:1px solid #d2d9e4;border-bottom:1px solid #d2d9e4}.board-column-label.board-axis-edit-button{border-bottom:1px solid #c6cfdd}.board-axis-edit-button:hover{background:#e8eef7}.board-axis-label-text{display:inline-flex;align-items:center;gap:5px;min-width:0}.board-character-axis-label{flex-direction:column;align-items:center;gap:1px;line-height:1.15;width:100%;text-align:center}.board-character-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-character-meta{max-width:100%;overflow:visible;overflow-wrap:anywhere;color:#526174;font-size:10px;font-weight:600;white-space:normal}.board-character-meta span{display:block}.board-task-color-swatch{flex:0 0 auto;width:10px;height:10px;border:1px solid #ffffff;box-shadow:0 0 0 1px #9aa8ba;overflow:visible}.board-task-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-row-label{justify-content:flex-start;border-right:1px solid #d2d9e4;border-bottom:1px solid #d2d9e4;font-size:13px}.board-sortable-axis-label{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.board-sortable-axis-label.dragging{opacity:.2}.board-drag-overlay{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid #64748b;color:#111827;background:#fff;box-shadow:0 8px 20px #0f172a2e;font-size:13px;font-weight:700}.board-check-cell{justify-content:center;border-bottom:1px solid #edf1f6}.board-check{width:18px;height:18px;margin:0;accent-color:var(--task-color, #2563eb)}.board-check-placeholder{width:18px;height:18px;border:1px dashed #c6cfdd;background:#f8fafc}.board-table-heading{display:flex;align-items:flex-start;gap:8px;color:#111827}.board-table-mode-group{display:inline-flex;align-items:flex-start;gap:6px;min-width:0;flex:0 1 auto}.board-table-title{display:inline-flex;align-items:center;gap:6px;justify-content:flex-start;min-height:26px;min-width:0;max-width:180px;flex:0 1 auto}.board-table-static-title{color:#111827;font:inherit}.board-table-move-handle{min-height:26px;padding:0;border:0;color:#111827;background:transparent;font:inherit;text-align:left;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.board-table-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-table-move-handle:hover{color:#1f4fd1;background:transparent}.board-table-summary.moving .board-table-move-handle{cursor:grabbing}.board-table-actions{display:inline-flex;flex:0 0 auto;flex-wrap:wrap;gap:4px;margin-left:auto;justify-content:flex-end}.board-table-mode-actions{display:inline-flex;flex:0 0 auto;gap:4px}.board-table-actions button,.board-table-mode-actions button{display:inline-flex;align-items:center;justify-content:center;gap:3px;height:26px;min-height:26px;padding:0 6px;border-radius:0;color:#334155;background:#f8fafc;font-size:12px;font-weight:700;white-space:nowrap}.board-table-actions button:hover,.board-table-mode-actions button:hover{color:#1f4fd1;border-color:#7fa4f8;background:#eef4ff}.board-table-actions button:disabled,.board-table-mode-actions button:disabled{cursor:default;color:#94a3b8;border-color:#cbd5e1;background:#f8fafc}.board-table-mode-actions button.active{color:#fff;border-color:#1f4fd1;background:#2563eb}.board-empty{margin:0;color:#475569}.matrix-board{display:grid;gap:10px}.matrix-toolbar{display:flex;justify-content:flex-end}.matrix-reorder-button.active{color:#fff;border-color:#1f4fd1;background:#2563eb}.matrix{overflow:auto;border:1px solid #8f99aa;background:#fff}.matrix-row{display:grid;grid-template-columns:180px repeat(var(--column-count),var(--column-width));width:max-content;min-width:100%;min-height:var(--row-height);border-bottom:1px solid #c8d0dc}.matrix-header{position:sticky;top:0;z-index:1;background:#e9eef5;font-weight:700}.matrix-task-cell,.matrix-cell{display:flex;align-items:center;justify-content:center;min-width:0;padding:6px 8px;border-right:1px solid #c8d0dc;color:#111827}.matrix-label-button{border-top:0;border-left:0;border-bottom:0;border-radius:0;background:#fff;font:inherit;cursor:pointer}.matrix-label-button:hover{background:#f6f8fb}.matrix-header .matrix-label-button{background:transparent}.matrix-header .matrix-label-button:hover{background:#dde6f2}.matrix-task-cell{align-items:flex-start;flex-direction:column;gap:2px;font-weight:650}.matrix-task-cell small,.matrix-cell small{color:#2f3a4b;font-size:12px}.matrix-cell{flex-direction:column;gap:2px}.matrix-label-line{display:inline-flex;align-items:center;max-width:100%;gap:4px}[data-reorder-target=true]{cursor:grab}.matrix-sortable-cell{touch-action:none;-webkit-user-select:none;user-select:none;outline:0}.matrix-sortable-cell:focus-visible{box-shadow:inset 0 0 0 2px #2563eb}.matrix-sortable-cell.dragging{color:transparent;background:#f6f8fb;box-shadow:inset 0 0 0 1px #9aa8ba;cursor:grabbing}.matrix-sortable-cell.dragging *{visibility:hidden}.matrix-drag-overlay{display:flex;min-width:150px;min-height:var(--row-height, 40px);flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:8px 10px;border:1px solid #8a96a8;color:#111827;background:#fff;box-shadow:0 16px 36px #11182738;font-weight:700;cursor:grabbing}.matrix-check{border-top:0;border-left:0;border-bottom:0;border-radius:0;background:#fff;font:inherit;cursor:pointer}.character-label,.character-meta{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-check:disabled{cursor:default;background:#fff}.error-text{color:#b42318}.status-text{margin:10px 0 0;font-size:13px;font-weight:700}.notice-text{margin:10px 0 0;color:#2f3a4b}.workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}.workspace-actions button{min-height:38px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:flex-start;justify-content:center;padding:72px 20px 20px;background:#11182770}.tool-modal{width:min(920px,100%);max-height:calc(100vh - 96px);overflow:auto;border:1px solid #b7c1cf;border-radius:8px;background:#fff;box-shadow:0 24px 60px #11182747}.task-tool-modal{width:min(520px,100%)}.tool-modal-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #d9e0ea;background:#fff}.tool-modal-header h2{margin:0;font-size:16px}.modal-close-button{width:34px;padding:0}.tool-modal-body{padding:12px}.edit-modal{width:min(520px,100%)}.character-axis-edit-modal{width:min(680px,100%)}.edit-form{display:grid;gap:12px}.edit-form label{display:grid;gap:6px;color:#2f3a4b;font-size:13px;font-weight:700}.readonly-value{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;border:1px solid #d8dee8;padding:6px 8px;color:#2f3a4b;background:#f8fafc;font-size:13px;font-weight:700}.readonly-value strong{min-width:0;overflow:hidden;color:#111827;text-overflow:ellipsis;white-space:nowrap}.compact-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.compact-edit-grid label{gap:4px;min-width:0}.task-edit-basic-grid{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:8px}.task-axis-style-grid{grid-template-columns:90px 90px minmax(116px,1fr)}.character-axis-layout-grid{display:grid;grid-template-columns:90px 90px minmax(260px,1fr);align-items:end;gap:8px}.character-axis-layout-grid label{gap:4px;min-width:0}.character-axis-layout-grid .board-display-options{min-height:36px;min-width:260px;margin:0;align-self:end}.edit-form input,.edit-form select,.edit-form textarea{width:100%;min-width:0;min-height:36px;border:1px solid #8a96a8;border-radius:6px;padding:0 8px;color:#111827;background:#fff;font:inherit}.compact-edit-grid input{min-height:32px}.color-edit-row{display:flex;align-items:center;gap:8px;color:#111827;font-weight:700}.edit-form .color-edit-input{width:44px;min-height:32px;padding:2px}.separator-edit-grid{display:grid;grid-template-columns:72px minmax(90px,1fr) 72px;gap:8px}.separator-edit-grid label{gap:4px}.separator-edit-grid input,.separator-edit-grid select{min-height:32px}.edit-form textarea{min-height:76px;padding:8px;resize:vertical}.memo-field{margin-top:2px}.compact-notice{margin-top:-4px;font-size:12px}.table-config-modal{width:min(620px,100%)}.note-config-modal textarea{min-height:140px}.note-style-grid{display:grid;grid-template-columns:72px repeat(2,minmax(80px,1fr));gap:8px;align-items:end}.note-style-grid label{gap:4px}.orientation-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.orientation-option{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:6px;align-items:center;border:1px solid #d8dee8;padding:8px;color:#111827;font-size:13px;font-weight:700}.orientation-option small{grid-column:1 / -1;color:#526173;font-size:12px;font-weight:600}.character-detail-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border:1px solid #d8dee8;padding:8px;color:#334155;background:#f8fafc;font-size:12px;font-weight:700}.character-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #c7d2e1;border-radius:8px;padding:10px;color:#111827;background:#f8fafc}.character-summary-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;color:#fff;background:#1f4fd1;font-size:15px;font-weight:800}.character-summary-main{display:grid;min-width:0;gap:5px}.character-summary-title{min-width:0;overflow:hidden;color:#111827;text-overflow:ellipsis;white-space:nowrap}.character-summary-meta{display:flex;flex-wrap:wrap;gap:4px}.character-summary-chip{border:1px solid #c7d2e1;border-radius:999px;padding:2px 7px;color:#334155;background:#fff;font-size:12px;font-weight:800}.character-summary-card button{min-height:32px;white-space:nowrap}.inline-check{display:inline-flex;align-items:center;gap:4px;color:#526173;font-size:12px;font-weight:700}.visibility-fieldset{display:grid;gap:8px;margin:0;border:1px solid #d8dee8;padding:10px}.visibility-fieldset legend{padding:0 4px;color:#2f3a4b;font-size:13px;font-weight:700}.checkbox-target-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.checkbox-target-row{display:flex;align-items:center;min-width:0;gap:6px;border:1px solid #e1e7ef;padding:6px 8px;color:#111827;background:#f8fafc;font-size:12px;font-weight:700}.checkbox-target-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-form .toggle-row{display:flex;align-items:center;gap:8px;color:#111827;font-weight:600}.toggle-row input{width:16px;height:16px;min-height:0;padding:0}.edit-form input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0}.edit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.edit-actions .primary-button{margin-left:auto}.primary-button{border-color:#1f4fd1;color:#fff;background:#2563eb}.primary-button:hover{background:#1f4fd1}.secondary-button{border-color:#64748b;color:#1f2937;background:#f8fafc}.secondary-button:hover{background:#e2e8f0}.danger-button{border-color:#b42318;color:#fff;background:#b42318}.danger-button:hover{background:#971b12}.sheet-settings-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.sheet-settings-editor{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.3fr);gap:12px}.sheet-settings-tab-panel,.sheet-settings-detail,.sheet-settings-workspace{display:grid;align-content:start;gap:8px}.sheet-settings-label{color:#334155;font-size:12px;font-weight:800}.sheet-settings-tab-list{display:flex;flex-wrap:wrap;gap:4px}.sheet-settings-tab{min-height:30px;padding:0 8px;border:0;border-radius:0;color:#111827;background:#f3f6fa;font-weight:700}.sheet-settings-tab.active{color:#1f4fd1;box-shadow:inset 0 -2px #2563eb;background:#fff}.sheet-settings-selected-card{display:grid;gap:8px;padding:10px;border:1px solid #c7d2e1;color:#111827;background:#f8fafc}.sheet-settings-selected-card strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-settings-edit-zone{display:grid;gap:8px;padding:10px;border:1px solid #d8dee8;background:#fff}.sheet-settings-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.sheet-settings-edit-zone h3{margin:0;color:#111827;font-size:13px}.table-structure-fieldset{gap:8px}.table-transpose-button{width:fit-content;display:inline-flex;align-items:center;gap:4px}.tool-panel{border:1px solid #b7c1cf;border-radius:8px;background:#fff;padding:12px}.tool-panel h2{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:15px}.compact-task-panel{padding:10px}.inline-form{display:flex;flex-wrap:wrap;gap:8px}.compact-task-form{align-items:center}.compact-task-form input{flex:1 1 220px;min-width:0}.compact-task-reset{display:inline-flex;align-items:center;gap:6px;color:#334155;font-size:12px;font-weight:800;white-space:nowrap}.compact-task-form select{flex:0 0 112px}.compact-task-reset select{width:118px}.compact-task-form button{flex:0 0 auto;margin-left:auto;padding:0 12px}.manual-character-panel{margin-top:8px}.manual-character-form{align-items:center}.manual-character-heading{color:#111827;font-size:13px}.manual-character-form input{flex:1 1 112px;min-width:96px}.inline-form input,.inline-form select{min-height:34px;border:1px solid #8a96a8;border-radius:6px;padding:0 8px}button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid #8a96a8;border-radius:6px;color:#111827;background:#fff;cursor:pointer}@keyframes spin{to{transform:rotate(360deg)}}.spin-icon{animation:spin 1s linear infinite}.candidate-list{display:grid;gap:6px;margin:10px 0}.candidate-row{display:grid;grid-template-columns:24px 80px minmax(80px,1fr) 90px 80px 110px;gap:8px;align-items:center;min-height:32px;color:#111827}.candidate-header{color:#2f3a4b;font-size:13px;font-weight:700}.segmented{display:flex;flex-wrap:wrap;gap:6px}.segmented button.active{background:#111827;color:#fff}@media(max-width:560px){.topbar{align-items:flex-start;flex-direction:column}.login-actions,.auth-menu,.profile-button{width:100%}.login-actions{flex-wrap:wrap}.login-actions .button{flex:1 1 150px}.profile-button{justify-content:space-between}.profile-menu{left:0;right:auto;width:100%}.workspace-actions button{flex:1 1 160px}.modal-backdrop{padding:56px 10px 10px}.candidate-list{overflow-x:auto}.candidate-row{min-width:620px}.compact-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orientation-option-grid,.character-detail-panel,.checkbox-target-list,.task-edit-basic-grid,.task-axis-style-grid,.character-axis-layout-grid,.note-style-grid,.sheet-settings-editor{grid-template-columns:1fr}.character-summary-card{grid-template-columns:auto minmax(0,1fr)}.character-summary-card button{grid-column:1 / -1;justify-self:end}.character-axis-layout-grid .board-display-options{min-width:0}.compact-task-form input,.compact-task-form select,.compact-task-form button{flex:1 1 100%}}
