.app-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
body { --bs-link-decoration: none; }
a, a:hover, a:focus, button, button:hover, button:focus, summary, abbr[title], u, .text-decoration-underline { text-decoration: none !important; }
a:not(.btn):not(.workspace-brand):not(.workspace-nav-link):hover, .title-button:hover { color: var(--projects-accent); background-color: #e9f0ff; }
.segmented-control { display: inline-flex; gap: 4px; padding: 4px; background: #e7edf7; border-radius: 12px; max-width: 100%; flex-wrap: wrap; }
.segmented-control .app-button { border: 0; background: transparent; color: #526179; }
.segmented-control .app-button[aria-pressed="true"] { background: white; color: #2154b5; box-shadow: 0 2px 8px #1d387e12; }
.segmented-control .app-button:hover { background: #e9f0ff; color: var(--projects-accent); }
.segmented-control .app-button[aria-pressed="true"]:hover { background: white; }
.quick-task-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick-task-form .input-group { flex: 1; min-width: min(100%, 280px); }
.quick-task-form > p { flex-basis: 100%; }
.issue-spreadsheet .app-table-wrap { max-height: 65vh; overflow: auto; }
.issue-spreadsheet .app-table { min-width: 1540px; table-layout: fixed; }
.issue-spreadsheet .app-table th { position: sticky; top: 0; z-index: 1; background: #f6f8fc; white-space: nowrap; }
.issue-spreadsheet .app-table th:nth-child(1) { width: 220px; }
.issue-spreadsheet .app-table th:nth-child(2) { width: 340px; }
.issue-spreadsheet .app-table th:nth-child(3) { width: 110px; }
.issue-spreadsheet .app-table th:nth-child(4) { width: 130px; }
.issue-spreadsheet .app-table th:nth-child(5), .issue-spreadsheet .app-table th:nth-child(6), .issue-spreadsheet .app-table th:nth-child(7) { width: 150px; }
.issue-spreadsheet .app-table th:nth-child(8) { width: 120px; }
.issue-spreadsheet .app-table th:nth-child(9) { width: 170px; }
.issue-spreadsheet .app-table td { vertical-align: top; overflow-wrap: anywhere; }
.issue-spreadsheet .issue-detail { white-space: pre-wrap; }
.issue-spreadsheet textarea { resize: vertical; min-height: 90px; }
.issue-spreadsheet .form-control, .issue-spreadsheet .form-select { border-radius: 4px; }
.issue-edit-actions { margin: 8px 0 12px; }
.issue-save-feedback { margin: 12px 0; }
.issue-options { margin-top: 12px; }
.issue-options > summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.issue-spreadsheet-formal .issue-toolbar-actions { flex-wrap: wrap; gap: 12px; }
.issue-spreadsheet-formal .issue-edit-actions { margin: 0; }
.issue-spreadsheet-formal .issue-table-help { margin: 0 0 12px; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table { min-width: 880px; font-size: 12px; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table:has(textarea) { min-width: 1120px; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(1) { width: 13%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(2), .issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(3) { width: 16%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(4) { width: 6%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(5) { width: 9%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(6), .issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(7), .issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(8) { width: 9%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(9) { width: 7%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th:nth-child(10) { width: 6%; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th, .issue-spreadsheet.issue-spreadsheet-formal .app-table td { padding: 8px 5px; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table th { white-space: normal; }
.issue-spreadsheet-formal .app-table .form-control, .issue-spreadsheet-formal .app-table .form-select { width: 100%; min-width: 0; padding: 6px 3px; font-size: 11px; }
.issue-spreadsheet-formal .app-table .form-select { padding-right: 18px; background-position: right 3px center; background-size: 12px 10px; }
.issue-spreadsheet-formal .app-table .app-button { padding: 4px; font-size: 11px; }
.issue-spreadsheet-formal .app-table .app-badge { padding: 4px; font-size: 10px; white-space: normal; }
.issue-spreadsheet.issue-spreadsheet-formal .app-table textarea { height: 88px; min-height: 88px; line-height: 1.5; }
.issue-spreadsheet-formal .issue-pagination { margin-top: 12px; }
@media (max-width: 560px) {
    .issue-spreadsheet-formal .issue-toolbar-actions { width: 100%; justify-content: space-between; gap: 8px; }
    .issue-spreadsheet-formal .issue-toolbar-actions .app-button { padding-right: 10px; padding-left: 10px; }
}
.creation-templates { margin: 16px 0; }
.creation-templates summary, .report-output summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.template-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; margin: 12px 0; }
.template-choice { display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 12px; text-align: left; border: 1px solid var(--projects-border); border-radius: 10px; background: white; color: var(--projects-ink); }
.template-choice[aria-pressed="true"] { border: 2px solid var(--projects-accent); background: #eaf2ff; }
@media (max-width: 560px) {
    .page-heading .eyebrow, .page-heading p { display: none; }
    .page-heading { gap: 8px; margin-bottom: 12px; }
    .project-search-panel { padding: 12px; margin-bottom: 8px; }
    .project-search-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .project-summary-grid { margin-top: 8px; }
    .template-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.app-button, .icon-button, .form-control, .form-select { min-height: 44px; border-radius: 10px; }
.app-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.btn-primary { background: var(--projects-accent); border-color: var(--projects-accent); }
.btn-soft { background: #e9f0ff; color: #2154b5; border-color: #e9f0ff; }
.btn-outline-secondary { border-color: #c4cfdf; color: var(--projects-ink); background: white; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 44px; padding: 8px; border: 0; background: transparent; color: inherit; }
.icon-button:hover { background: #e9f0ff; color: var(--projects-accent); }
:focus-visible { outline: 3px solid #2864d9; outline-offset: 3px; }
.app-card { padding: 22px; border: 1px solid var(--projects-border); border-radius: var(--projects-radius); box-shadow: var(--projects-shadow); min-width: 0; }
.app-card h2.h5 { font-size: 16px; font-weight: 750; }
.app-badge { display: inline-block; padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 650; background: #e9f0ff; color: #2453ac; white-space: nowrap; }
.app-badge.green { color: #076451; background: #ddf5ec; }
.app-badge.orange { color: #88500c; background: #fff0dd; }
.app-badge.gray { color: #526179; background: #eef1f6; }
.preview-notice { border: 1px solid #d5e4fb; background: #eaf2ff; border-radius: 10px; padding: 10px 14px; color: #365886; font-size: 12px; }
.user-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #edf2fb; color: #526179; font-size: 12px; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; background: #c43f50; border-radius: 50%; }
.home-hero { padding: 26px; border-radius: var(--projects-radius); background: linear-gradient(115deg, #193b76, #2864d9); color: white; margin-bottom: 20px; }
.home-hero h2 { font-size: 20px; font-weight: 750; }
.home-hero p { color: #e0ebff; margin: 8px 0 0; }
.home-tabs { display: flex; padding: 4px; background: #e7edf7; border-radius: 12px; width: max-content; max-width: 100%; gap: 4px; margin-bottom: 20px; }
.home-tabs button { border: 0; min-height: 44px; padding: 10px 20px; background: transparent; color: #526179; border-radius: 9px; font-weight: 650; }
.home-tabs button.active { background: white; color: #2453ac; box-shadow: 0 2px 8px #1d387e12; }
.metric-label { color: var(--projects-muted); margin-bottom: 10px; font-size: 12px; }
.metric-value { font-size: 30px; font-weight: 800; }
.metric-value small { font-size: 12px; color: var(--projects-muted); margin-left: 6px; }
.work-item { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--projects-border); border-radius: 11px; width: 100%; background: white; text-align: left; color: var(--projects-ink); min-height: 64px; }
.work-item:hover { background: #f6f9ff; border-color: #adc3ea; }
.work-item .item-text { flex: 1; min-width: 0; }
.work-item strong { display: block; overflow-wrap: anywhere; }
.work-item small { color: var(--projects-muted); }
.project-tile { text-align: left; background: white; border: 1px solid var(--projects-border); border-radius: var(--projects-radius); padding: 20px; color: var(--projects-ink); }
.project-tile:hover { border-color: #adc3ea; box-shadow: var(--projects-shadow); }
.project-tile h3 { font-size: 16px; font-weight: 750; margin: 12px 0; overflow-wrap: anywhere; }
.project-tile p { font-size: 12px; color: var(--projects-muted); }
.app-table-wrap { position: relative; border: 1px solid var(--projects-border); border-radius: 12px; }
.app-table > caption.visually-hidden { position: absolute !important; }
.app-table { font-size: 13px; }
.app-table th { background: #f7f9fe; color: #526179; font-size: 11px; padding: 14px; white-space: nowrap; }
.app-table td { padding: 12px 14px; border-color: var(--projects-border); }
.app-table .title-button { min-width: 180px; min-height: 44px; text-align: left; border: 0; background: none; color: var(--projects-ink); font-weight: 650; padding: 0; }
.app-table td:not(:first-child) { white-space: nowrap; }
.app-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 18px; }
.app-empty .app-icon { width: 36px; height: 36px; color: var(--projects-muted); }
.app-dialog { color: var(--projects-ink); background: white; border: 0; padding: 0; box-shadow: 0 24px 80px #08152c55; max-height: 90dvh; width: min(570px, calc(100% - 32px)); border-radius: 16px; overflow: hidden; }
.app-dialog[open] { display: flex; flex-direction: column; }
.app-dialog::backdrop { background: #101e3988; backdrop-filter: blur(3px); }
.app-drawer { margin: 0 0 0 auto; width: min(580px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 16px 0 0 16px; }
.wide-modal { width: min(1100px, calc(100% - 32px)); max-width: calc(100% - 32px); }
.configuration-fields { min-width: 0; display: grid; gap: 20px; }
.configuration-fields > div { min-width: 0; }
.configuration-fields label { display: block; margin-bottom: 6px; }
.configuration-metadata > .form-control { margin-bottom: 16px; }
.configuration-json-editor, .configuration-json-view { min-height: 360px; line-height: 1.6; tab-size: 2; resize: vertical; }
.configuration-json-view { background: #f7f9fe; margin-top: 12px; }
.configuration-saved-json { margin: 20px 0; }
.template-editor-fields { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); align-items: start; }
.template-editor-fields .configuration-reason { grid-column: 1 / -1; }
.template-form-editor fieldset { min-width: 0; }
.template-task-entry { margin-bottom: 10px; }
.template-advanced { margin-top: 16px; }
.template-advanced > summary { padding: 10px 0; cursor: pointer; }
.template-form-editor .configuration-json-editor { min-height: 220px; }
.template-definition { border: 1px solid var(--projects-border); border-radius: 12px; }
.template-definition > summary { padding: 14px 16px; cursor: pointer; }
.template-definition > summary .item-sub { margin-left: 12px; }
.template-definition-body { padding: 0 16px 16px; }
@media (max-width: 760px) {
    .template-editor-fields { grid-template-columns: minmax(0, 1fr); }
    .wide-modal { width: calc(100% - 16px); max-width: calc(100% - 16px); }
}
.dialog-header { padding: 18px 22px; border-bottom: 1px solid var(--projects-border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; }
.dialog-body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-footer { padding: 16px 22px; border-top: 1px solid var(--projects-border); display: flex; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.app-toast { position: fixed; bottom: 24px; right: 24px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; color: white; background: #193453; box-shadow: var(--projects-shadow); max-width: calc(100% - 32px); }
.notification-item { padding: 16px 0; border-bottom: 1px solid var(--projects-border); }
.mobile-menu-list { display: grid; gap: 6px; }
.mobile-menu-list a { display: flex; align-items: center; gap: 12px; color: var(--projects-ink); text-decoration: none; padding: 12px; min-height: 44px; border-radius: 10px; }
.mobile-menu-list a.active { background: #e9f0ff; color: var(--projects-accent); }
.project-tabs { display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; padding: 4px; margin: 16px 0; background: #edf2fa; border-radius: 10px; }
.project-tabs button { flex-shrink: 0; border: 0; background: transparent; min-height: 44px; padding: 10px 14px; border-radius: 8px; color: #526179; }
.project-tabs button.active { background: white; color: #2453ac; }
.project-navigation { flex-wrap: wrap; overflow: visible; white-space: normal; align-items: center; }
.project-more { display: flex; align-items: center; gap: 8px; padding: 4px; min-width: 0; }
.project-more select { width: auto; max-width: 100%; }
.menu-more summary { cursor: pointer; min-height: 44px; padding: 12px; font-weight: 600; }
.menu-more summary::before { content: "＋"; margin-right: 8px; }
.menu-more[open] > summary::before { content: "−"; }
.workspace-sidebar .menu-more { flex-shrink: 1; }
.panel { background: white; border: 1px solid var(--projects-border); border-radius: var(--projects-radius); box-shadow: var(--projects-shadow); min-width: 0; }
.panel-pad { padding: 21px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.panel-title h2, .panel-title h3 { margin: 0; font-size: 15px; font-weight: 800; }
.action-group { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.item-list { display: grid; gap: 9px; list-style: none; padding: 0; margin: 16px 0; }
.item-row { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--projects-border); background: white; border-radius: 11px; padding: 13px; min-width: 0; }
.item-row:hover { border-color: #bdceee; background: #fbfdff; }
.item-row .grow { flex: 1; min-width: 0; }
.item-title { font-size: 13px; font-weight: 750; overflow-wrap: anywhere; text-decoration: none; color: var(--projects-ink); }
.item-sub { font-size: 11px; color: var(--projects-muted); margin-top: 3px; overflow-wrap: anywhere; }
.item-icon { height: 33px; width: 33px; border-radius: 10px; background: #eef3ff; color: #4470ce; display: grid; place-items: center; flex-shrink: 0; }
.project-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 12px; margin-bottom: 18px; }
.project-filter label { display: block; font-size: 11px; font-weight: 750; color: var(--projects-muted); margin-bottom: 6px; }
.project-filter .filter-actions, .project-filter .filter-note { grid-column: 1 / -1; }
.project-filter .filter-note { font-size: 11px; color: var(--projects-muted); margin: 0; }
.project-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 16px 0; }
.project-summary-grid .project-card { height: 100%; }
.task-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--projects-border); }
.project-detail-section { display: none; }
.project-detail-tabs[data-selected="overview"] .project-detail-section[data-tab="overview"],
.project-detail-tabs[data-selected="wbs"] .project-detail-section[data-tab="wbs"],
.project-detail-tabs[data-selected="report"] .project-detail-section[data-tab="report"],
.project-detail-tabs[data-selected="tasks"] .project-detail-section[data-tab="tasks"],
.project-detail-tabs[data-selected="issues"] .project-detail-section[data-tab="issues"],
.project-detail-tabs[data-selected="process"] .project-detail-section[data-tab="process"],
.project-detail-tabs[data-selected="meetings"] .project-detail-section[data-tab="meetings"],
.project-detail-tabs[data-selected="files"] .project-detail-section[data-tab="files"],
.project-detail-tabs[data-selected="members"] .project-detail-section[data-tab="members"],
.project-detail-tabs[data-selected="history"] .project-detail-section[data-tab="history"],
.project-detail-tabs[data-selected="settings"] .project-detail-section[data-tab="settings"] { display: block; }
.project-detail-page .project-detail-section[data-tab="overview"] { background: white; border: 1px solid var(--projects-border); border-radius: var(--projects-radius); padding: 21px; }
.project-detail-section dl { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr); gap: 8px 16px; }
.project-detail-section dt { font-size: 12px; color: var(--projects-muted); }
.project-detail-section dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .project-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .project-filter { grid-template-columns: minmax(0, 1fr); } .item-row { flex-wrap: wrap; } }
.gantt-scroll { overflow: auto; border: 1px solid var(--projects-border); border-radius: 12px; max-height: 65vh; }
.gantt-grid { min-width: calc(240px + var(--timeline-width)); }
.gantt-heading, .gantt-row { display: grid; grid-template-columns: 240px var(--timeline-width); min-height: 44px; }
.gantt-heading { position: sticky; top: 0; z-index: 3; background: #f7f9fe; color: var(--projects-muted); font-size: 11px; font-weight: 750; }
.gantt-heading > div:first-child { padding: 14px 12px; position: sticky; left: 0; background: #f7f9fe; z-index: 4; }
.gantt-scale { position: relative; }
.gantt-scale span { position: absolute; top: 14px; white-space: nowrap; }
.gantt-task { position: sticky; left: 0; z-index: 2; border: 0; border-right: 1px solid var(--projects-border); background: white; color: var(--projects-ink); font-size: 12px; font-weight: 650; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gantt-row { border-top: 1px solid var(--projects-border); height: 44px; }
.gantt-body { position: relative; }
.gantt-dependencies { position: absolute; left: 240px; top: 0; z-index: 1; pointer-events: none; overflow: hidden; color: #64748b; }
.gantt-dependency { fill: none; stroke: #64748b; stroke-width: 1.5; }
.gantt-dependency.attention { stroke: #b45309; stroke-dasharray: 4 3; }
.gantt-dependency.selected { stroke: #315dc8; stroke-width: 3; }
.gantt-dependency.muted { opacity: .25; }
.gantt-task { display: flex; align-items: center; gap: 5px; }
.gantt-task .title-button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gantt-collapse { flex: 0 0 20px; min-width: 20px; }
.record-editor-footer { position: sticky; bottom: 0; z-index: 3; background: white; border-top: 1px solid var(--projects-border); padding: 12px 0; }
.gantt-lane { position: relative; background: repeating-linear-gradient(to right, transparent 0, transparent calc(var(--day-width) - 1px), #e2e9f3 calc(var(--day-width) - 1px), #e2e9f3 var(--day-width)); }
.gantt-bar { position: absolute; top: 8px; height: 28px; border: 0; border-radius: 7px; background: #e7efff; color: #315dc8; font-size: 10px; font-weight: 750; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: grab; }
.gantt-bar.green { background: #dcf7ef; color: #087c6b; }
.gantt-bar.orange { background: #fff0dd; color: #9c6017; }
.gantt-bar.gray { background: #eef1f6; color: #64748b; }
.gantt-preview-bar { top: 4px; height: 36px; border: 2px dashed #315dc8; background: rgba(231, 239, 255, .65); z-index: 2; pointer-events: none; cursor: default; }
.gantt-toolbar { align-items: end; }
.gantt-toolbar label { font-size: 11px; color: var(--projects-muted); }
.wbs-panel .table caption { caption-side: top; padding: 12px 14px; }
.schedule-preview { background: #e9f0ff; }
.project-card { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow-wrap: anywhere; }
.project-card .project-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--projects-radius); cursor: pointer; }
.project-card .project-open:disabled::after { cursor: default; }
.project-card:has(.project-open:focus-visible) { outline: 3px solid #2864d9; outline-offset: 3px; }
.project-card .app-button, .project-card a { position: relative; z-index: 1; align-self: flex-start; }
.project-search-panel { margin-bottom: 16px; }
.project-search-row { display: flex; align-items: end; gap: 12px; }
.project-search-row .grow { flex: 1; min-width: 0; }
.filter-disclosure > summary, .progress-help > summary { cursor: pointer; min-height: 44px; padding: 12px 0; }
.issue-additional > summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-weight: 600; }
.issue-additional { margin-bottom: 16px; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.k-label { color: var(--projects-muted); font-size: 10px; font-weight: 750; margin-bottom: 5px; }
.project-name { color: var(--projects-ink); font-size: 16px; font-weight: 800; line-height: 1.4; margin: 0; }
.project-card .title-button { border: 0; background: transparent; padding: 0; text-align: left; min-height: 44px; }
.project-card p { margin: 0; }
.project-card-progress { display: grid; gap: 6px; min-width: 0; }
.project-card-progress .progress-row { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 750; color: var(--projects-muted); }
.project-card-progress progress { flex: 1; min-width: 0; height: 7px; border: 0; border-radius: 8px; overflow: hidden; background: #e8eef8; accent-color: var(--projects-accent); }
.project-card-progress progress::-webkit-progress-bar { background: #e8eef8; border-radius: 8px; }
.project-card-progress progress::-webkit-progress-value { background: var(--projects-accent); border-radius: 8px; }
.project-card-progress progress::-moz-progress-bar { background: var(--projects-accent); border-radius: 8px; }
.project-card-progress .progress-unavailable { flex: 1; height: 7px; border-radius: 8px; background: #e8eef8; }
.project-card-progress .app-button { justify-self: start; }
.card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--projects-muted); font-size: 11px; margin-top: auto; background: transparent; border: 0; padding: 0; }
.card-footer .app-icon { width: 14px; height: 14px; }
.project-deadlines { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--projects-muted); margin-top: 10px; }
.app-badge.red { background: #ffecef; color: #bd4050; }
.app-badge.purple { background: #f2eaff; color: #7650b1; }
.workspace-records label, .record-field-grid label { display: block; font-size: 12px; font-weight: 750; margin: 14px 0 6px; }
.workspace-records fieldset { display: grid; gap: 5px; }
.record-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.record-title { padding: 0; border: 0; background: transparent; color: var(--projects-ink); font-size: 13px; font-weight: 750; text-align: left; min-height: 44px; overflow-wrap: anywhere; }
.record-title:hover { color: var(--projects-accent); }
.record-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.idea-card { cursor: pointer; text-align: left; width: 100%; }
.idea-effect { display: flex; flex-wrap: wrap; gap: 12px; padding: 14px; background: #e1f5f0; border-radius: 11px; font-size: 11px; color: #087d70; }
.idea-effect span { display: grid; gap: 5px; }
.idea-effect strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.soft-area { background: #f8faff; border: 1px solid var(--projects-border); padding: 16px; border-radius: 12px; }
.file-drop-zone { position: relative; display: grid; place-items: center; min-height: 100px; padding: 20px; border: 2px dashed #bdceee; border-radius: 12px; background: #f8faff; color: var(--projects-muted); text-align: center; }
.file-drop-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop-zone:focus-within { outline: 3px solid var(--projects-accent); outline-offset: 3px; }
.file-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 16px 0; }
.file-preview-grid p { overflow-wrap: anywhere; }
.file-image-preview { display: block; width: 100%; height: 160px; object-fit: contain; margin-bottom: 10px; }
.file-saved-image { display: block; max-width: 100%; max-height: 65vh; margin: auto; object-fit: contain; }
@media (max-width: 500px) { .record-field-grid { grid-template-columns: minmax(0, 1fr); } }
.material-controls, .toolbar.report-controls { align-items: flex-end; }
.material-controls label, .report-controls > label { display: grid; gap: 6px; min-width: 0; }
.material-controls .search-input { max-width: 520px; }
.report-controls > label { flex: 0 1 180px; }
.report-output { position: relative; }
.report-output > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid #c4cfdf; border-radius: 10px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.report-output > summary::-webkit-details-marker { display: none; }
.report-output > summary::after { content: "▾"; }
.report-output[open] > summary::after { content: "▴"; }
.report-output > .action-group { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; display: grid; width: 200px; max-width: calc(100vw - 64px); padding: 10px; border: 1px solid var(--projects-border); border-radius: 12px; background: white; box-shadow: var(--projects-shadow); }
@media (max-width: 600px) {
    .material-controls .search-input { flex-basis: 100%; }
    .report-controls > label { flex: 1 1 140px; }
    .report-output > .action-group { position: static; width: 100%; margin-top: 8px; }
    .report-output[open] { flex-basis: 100%; }
}
.live-report { background: white; border: 1px solid var(--projects-border); border-radius: 12px; padding: 24px; margin-top: 20px; }
.report-heading { border-bottom: 1px solid var(--projects-border); margin-bottom: 20px; padding-bottom: 16px; }
.report-heading h2 { font-size: 23px; font-weight: 800; }
.report-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.report-summary-grid > div { background: #f4f7fc; border-radius: 10px; padding: 16px; }
.live-report h3 { font-size: 16px; font-weight: 800; margin: 24px 0 14px; }
.live-report dl { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px 16px; }
.live-report dd, .report-text { white-space: pre-wrap!important; overflow-wrap: anywhere; }
@media (max-width: 700px) { .report-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .live-report { padding: 16px; } }
