:root{color:#1f2937;background:#f6f8fb;font-synthesis:none;font-family:Inter,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.app-splash{display:grid;min-height:100vh;place-content:center;padding:32px;text-align:center}.app-splash h1{margin:0;color:#0f172a;font-size:clamp(2rem,6vw,4rem);font-weight:700}.app-splash p{margin:16px 0 0;color:#475569;font-size:1.125rem}a{color:inherit}button,input,select,textarea{font:inherit}.button{align-items:center;border:0;border-radius:6px;cursor:pointer;display:inline-flex;font-weight:700;gap:6px;justify-content:center;line-height:1.2;min-height:38px;text-decoration:none;white-space:nowrap}.button:disabled{cursor:not-allowed;opacity:.65}.button--sm{font-size:.86rem;min-height:32px;padding:7px 10px}.button--md{font-size:.95rem;padding:10px 14px}.button--primary{background:#14532d;color:#fff}.button--secondary{background:#0f766e;color:#fff}.button--subtle{background:#eef6f5;color:#0f5f59}.button--danger{background:#b91c1c;color:#fff}.badge{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:.78rem;font-weight:700;line-height:1;min-height:24px;padding:4px 9px;white-space:nowrap}.badge--neutral{background:#eef2f7;border-color:#d7dee8;color:#334155}.badge--info{background:#e8f4ff;border-color:#bfdbfe;color:#1d4ed8}.badge--success{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.badge--warning{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.badge--danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.loading-state{align-items:center;color:#475569;display:inline-flex;gap:10px;min-height:44px}.loading-state__spinner{animation:spin .8s linear infinite;border:3px solid #dbe3ef;border-top-color:#0f766e;border-radius:50%;height:20px;width:20px}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.app-shell__sidebar{background:#fff;border-right:1px solid #dde5ef;display:flex;flex-direction:column;gap:20px;padding:20px 16px}.app-shell__brand{align-items:center;display:grid;gap:10px;grid-template-columns:42px minmax(0,1fr);min-height:48px}.app-shell__brand-mark{align-items:center;background:#14532d;border-radius:8px;color:#fff;display:inline-flex;font-weight:800;height:42px;justify-content:center;width:42px}.app-shell__brand strong,.app-shell__topbar strong{color:#0f172a;display:block;font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell__brand span:not(.app-shell__brand-mark),.app-shell__eyebrow{color:#64748b;display:block;font-size:.78rem;margin-top:3px}.app-shell__nav{display:grid;gap:6px}.app-shell__nav-link{align-items:center;border-radius:6px;color:#334155;display:grid;font-size:.94rem;font-weight:700;gap:10px;grid-template-columns:22px minmax(0,1fr);min-height:38px;padding:8px 10px;text-decoration:none}.app-shell__nav-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell__nav-link:hover{background:#f1f5f9}.app-shell__nav-link--active{background:#e7f4f2;color:#0f766e}.app-shell__main{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}.app-shell__topbar{align-items:center;background:#fff;border-bottom:1px solid #dde5ef;display:flex;gap:16px;justify-content:space-between;min-height:68px;padding:14px 24px}.app-shell__topbar-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.app-shell__topbar-error{color:#b91c1c;display:block;font-size:.82rem;font-weight:700;margin-top:4px}.app-shell__content{min-width:0;padding:24px}.project-page{display:grid;gap:16px;min-width:0}.project-page__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.project-page__actions{align-items:center;display:flex;flex:0 0 auto;gap:10px}.project-page__header h1,.placeholder-page h1{color:#0f172a;font-size:1.55rem;line-height:1.25;margin:0}.project-page__header p,.placeholder-page p{color:#64748b;line-height:1.6;margin:8px 0 0}.alert{border-radius:6px;font-size:.92rem;line-height:1.5;padding:10px 12px}.alert--danger{background:#fef2f2;color:#b91c1c}.alert--info{background:#e8f4ff;color:#1d4ed8}.alert--success{background:#ecfdf5;color:#047857}.metric-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:4px}.metric-card,.department-summary__item{background:#fff;border:1px solid #dde5ef;border-radius:8px;padding:14px}.metric-card span,.department-summary__item span{color:#64748b;display:block;font-size:.84rem;font-weight:700}.metric-card strong,.department-summary__item strong{color:#0f172a;display:block;font-size:1.7rem;line-height:1.1;margin-top:8px}.department-summary{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.project-filters{background:#fff;border:1px solid #dde5ef;border-radius:8px;display:grid;gap:14px;padding:16px}.project-filters__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.project-filters__header h2{color:#0f172a;font-size:1.05rem;margin:0}.project-filters__header p{color:#64748b;font-size:.9rem;margin:4px 0 0}.project-filters__grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.project-filter-field{display:grid;gap:6px}.project-filter-field--wide{grid-column:span 2}.project-filter-field span{color:#334155;font-size:.86rem;font-weight:700}.project-filter-field input,.project-filter-field select{background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;min-height:38px;padding:8px 10px;width:100%}.project-filter-field input:focus,.project-filter-field select:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f;outline:none}.project-table-wrap{background:#fff;border:1px solid #dde5ef;border-radius:8px;min-width:0;overflow-x:auto;position:relative}.project-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.project-table__cell{background:#fff;border-bottom:1px solid #e6edf5;color:#1f2937;font-size:.88rem;line-height:1.45;overflow-wrap:anywhere;padding:10px 12px;text-align:left;vertical-align:top}.project-table__cell--head{background:#eef2f7;color:#334155;font-size:.8rem;font-weight:800;position:sticky;top:0;white-space:nowrap;z-index:3}.project-table__cell--serial{left:0;position:sticky;text-align:center;z-index:2}.project-table__cell--serial.project-table__cell--head{z-index:5}.project-table__cell--name{box-shadow:1px 0 #d8e1ec;font-weight:700;left:80px;position:sticky;z-index:2}.project-table__cell--name.project-table__cell--head{z-index:5}.project-table__cell--actions{box-shadow:-1px 0 #d8e1ec;position:sticky;right:0;text-align:center;z-index:2}.project-table__cell--actions.project-table__cell--head{z-index:5}.project-table__action-link{width:100%}.project-detail-page{max-width:1180px}.project-detail-page__back-link{align-items:center;color:#0f766e;display:inline-flex;font-size:.88rem;font-weight:700;gap:6px;margin-bottom:8px;text-decoration:none}.detail-section{background:#fff;border:1px solid #dde5ef;border-radius:8px;display:grid;gap:14px;padding:18px}.detail-section h2{color:#0f172a;font-size:1rem;margin:0}.detail-section__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.status-suggestion{background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;color:#c2410c;font-size:.9rem;font-weight:700;line-height:1.45;margin:0;padding:8px 10px}.detail-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.field{display:grid;gap:6px;min-width:0}.field--wide{grid-column:span 2}.field__label{color:#64748b;font-size:.8rem;font-weight:800}.field__value{color:#1f2937;line-height:1.5;min-height:24px;overflow-wrap:anywhere}.field input,.field select,.field textarea{background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;min-height:38px;padding:8px 10px;width:100%}.field textarea{min-height:88px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24;outline:none}.editable-fields-form{display:grid;gap:14px}.detail-actions{display:flex;justify-content:flex-end}.detail-placeholder,.detail-placeholder-list{color:#64748b;line-height:1.6;margin:0}.detail-placeholder-list{padding-left:20px}.attachments-panel{display:grid;gap:12px;min-width:0}.attachments-upload{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.attachments-file-picker{position:relative}.attachments-file-input{height:1px;opacity:0;overflow:hidden;position:absolute;width:1px}.attachments-upload__summary{color:#64748b;font-size:.9rem;font-weight:700}.attachments-table-wrap{border:1px solid #dde5ef;border-radius:8px;min-width:0;overflow-x:auto}.attachments-table{border-collapse:separate;border-spacing:0;min-width:760px;table-layout:fixed;width:100%}.attachments-table th,.attachments-table td{background:#fff;border-bottom:1px solid #e6edf5;color:#1f2937;font-size:.88rem;line-height:1.45;overflow-wrap:anywhere;padding:10px 12px;text-align:left;vertical-align:middle}.attachments-table th{background:#eef2f7;color:#334155;font-size:.8rem;font-weight:800;white-space:nowrap}.attachments-table tr:last-child td{border-bottom:0}.attachments-file-name{align-items:center;display:inline-flex;gap:8px;min-width:0}.attachments-file-name svg{color:#0f766e;flex:0 0 auto}.attachments-actions{display:flex;flex-wrap:wrap;gap:8px}.empty-state{color:#64748b;padding:28px;text-align:center}.muted{color:#94a3b8}.kanban-board{display:grid;gap:14px;grid-auto-columns:minmax(248px,280px);grid-auto-flow:column;min-height:460px;overflow-x:auto;padding-bottom:8px}.kanban-column{background:#f8fafc;border:1px solid #dde5ef;border-radius:8px;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:420px}.kanban-column__header{align-items:center;border-bottom:1px solid #dde5ef;display:flex;gap:10px;justify-content:space-between;min-height:52px;padding:12px}.kanban-column__header h2{color:#0f172a;font-size:.98rem;margin:0}.kanban-column__cards{display:grid;gap:10px;grid-auto-rows:max-content;overflow-y:auto;padding:12px}.kanban-card{background:#fff;border:1px solid #dce5ef;border-radius:8px;color:#334155;cursor:pointer;display:grid;gap:7px;line-height:1.45;padding:12px;text-align:left;width:100%}.kanban-card:hover{border-color:#0f766e}.kanban-card strong{color:#0f172a;overflow-wrap:anywhere}.kanban-card span,.kanban-card p{font-size:.84rem;margin:0;overflow-wrap:anywhere}.placeholder-page{background:#fff;border:1px solid #dde5ef;border-radius:8px;display:grid;gap:14px;max-width:720px;padding:24px}.placeholder-page a{color:#0f766e;font-weight:700;text-decoration:none}.import-page{display:grid;gap:16px;min-width:0}.import-page__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.import-page__header h1,.import-panel h2{color:#0f172a;line-height:1.25;margin:0}.import-page__header h1{font-size:1.55rem}.import-page__header p{color:#64748b;line-height:1.6;margin:8px 0 0}.import-panel{background:#fff;border:1px solid #dde5ef;border-radius:8px;display:grid;gap:14px;min-width:0;padding:18px}.import-panel h2{font-size:1rem}.import-panel__title-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.import-file-picker{align-items:center;border:1px dashed #94a3b8;border-radius:8px;color:#0f766e;cursor:pointer;display:inline-flex;font-weight:800;gap:8px;justify-content:center;min-height:72px;padding:14px;position:relative}.import-file-picker input{top:0;right:0;bottom:0;left:0;cursor:pointer;opacity:0;position:absolute}.import-alert{align-items:flex-start;display:flex;gap:8px}.import-summary{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(138px,1fr))}.import-summary__item{background:#fff;border:1px solid #dde5ef;border-radius:8px;min-width:0;padding:14px}.import-summary__item span{color:#64748b;display:block;font-size:.82rem;font-weight:800}.import-summary__item strong{color:#0f172a;display:block;font-size:1.4rem;line-height:1.2;margin-top:8px;overflow-wrap:anywhere}.import-report-ok{align-items:center;color:#047857;display:inline-flex;font-weight:800;gap:8px;margin:0}.import-issue-list{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;display:grid;gap:6px;line-height:1.55;margin:0;padding:12px 12px 12px 32px}.import-table-wrap{border:1px solid #dde5ef;border-radius:8px;min-width:0;overflow-x:auto}.import-table{border-collapse:separate;border-spacing:0;min-width:1100px;table-layout:fixed;width:100%}.import-table th,.import-table td{background:#fff;border-bottom:1px solid #e6edf5;color:#1f2937;font-size:.86rem;line-height:1.45;overflow-wrap:anywhere;padding:10px 12px;text-align:left;vertical-align:top}.import-table th{background:#eef2f7;color:#334155;font-size:.78rem;font-weight:800;position:sticky;top:0;white-space:nowrap}.import-table tr:last-child td{border-bottom:0}.import-table__row--blocking td{background:#fffbfb}.import-issue-badges{align-items:flex-start;display:flex;flex-wrap:wrap;gap:6px}.import-issue-badges .badge{line-height:1.25;min-height:26px;white-space:normal}.import-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.import-actions__hint{color:#b91c1c;font-size:.9rem;font-weight:700}@media(max-width:860px){.app-shell{grid-template-columns:1fr}.app-shell__sidebar{border-bottom:1px solid #dde5ef;border-right:0;gap:12px;padding:14px}.app-shell__nav{grid-auto-columns:minmax(132px,max-content);grid-auto-flow:column;overflow-x:auto;padding-bottom:4px}.app-shell__content,.app-shell__topbar{padding-left:16px;padding-right:16px}.import-page__header{align-items:stretch;flex-direction:column}}@media(max-width:560px){.app-shell__topbar,.project-page__header,.app-shell__topbar-actions,.project-filters__header,.project-page__actions{align-items:stretch;flex-direction:column}.metric-grid,.department-summary,.detail-grid,.project-filters__grid{grid-template-columns:1fr}.project-filter-field--wide{grid-column:span 1}.detail-section__header{align-items:stretch;flex-direction:column}.field--wide{grid-column:span 1}}
