:root { --bg: #f6f5f2; --panel: #ffffff; --border: #e2ddd3; --ink: #201d18; --ink-soft: #6b6558; --accent: #b5482f; --accent-ink: #ffffff; --green: #2f7d4f; --green-bg: #e7f3ea; --amber: #a5680c; --amber-bg: #fbf0dc; --red: #b23a3a; --red-bg: #fbe8e6; --blue: #3a5ba0; --blue-bg: #e9eef8; --radius: 10px; --shadow: 0 1px 2px rgba(32,29,24,0.06), 0 8px 24px rgba(32,29,24,0.05); font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; } .hidden { display: none !important; } .topbar { background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; } .topbar-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .brand { display: flex; align-items: center; gap: 12px; } .brand-mark { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); border-radius: 10px; font-size: 22px; font-weight: 700; } .brand h1 { font-size: 17px; margin: 0; } .brand p { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 0; } .topbar-actions { display: flex; align-items: center; gap: 12px; } .font-info-badge { font-size: 12.5px; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; } main { max-width: 1280px; margin: 0 auto; padding: 28px 24px 80px; } .btn { font: inherit; font-size: 13.5px; font-weight: 600; border-radius: 8px; padding: 9px 16px; border: 1px solid transparent; cursor: pointer; transition: filter .12s ease, background .12s ease; } .btn-primary { background: var(--accent); color: var(--accent-ink); } .btn-primary:hover { filter: brightness(1.07); } .btn-primary:disabled { opacity: .5; cursor: not-allowed; } .btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); } .btn-ghost:hover { background: var(--bg); } .btn-block { width: 100%; } .btn-small { padding: 5px 10px; font-size: 12px; border-radius: 6px; } .upload-section { display: flex; flex-direction: column; align-items: center; padding-top: 40px; } .dropzone { width: 100%; max-width: 640px; background: var(--panel); border: 2px dashed var(--border); border-radius: 16px; padding: 56px 32px; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; } .dropzone.dragover { border-color: var(--accent); background: #fdf3f0; } .dropzone-icon { font-size: 40px; margin-bottom: 10px; } .dropzone-title { font-size: 16px; font-weight: 600; margin: 4px 0; } .dropzone-sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; } .error-box { max-width: 640px; margin-top: 16px; background: var(--red-bg); color: var(--red); border: 1px solid #eec9c5; border-radius: 10px; padding: 12px 16px; font-size: 13.5px; } .workspace { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; } .font-warning-banner { grid-column: 1 / -1; background: var(--amber-bg); color: var(--amber); border: 1px solid #edd4a3; border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; line-height: 1.5; } .font-warning-banner strong.banner-title { display: block; margin-bottom: 3px; font-size: 14px; } .subset-success-banner { grid-column: 1 / -1; background: var(--green-bg); color: var(--green); border: 1px solid #b9ddc3; border-radius: var(--radius); padding: 12px 18px; font-size: 13.5px; font-weight: 600; } .subset-tool { margin-top: 12px; padding-top: 12px; border-top: 1px solid #edd4a3; display: flex; flex-direction: column; gap: 8px; } .subset-tool p { margin: 0; } .subset-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; } .subset-checkbox input { width: 16px; height: 16px; accent-color: var(--amber); } .subset-label { font-weight: 600; margin-top: 4px; } .subset-textarea { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #edd4a3; border-radius: 7px; background: var(--panel); color: var(--ink); resize: vertical; } .subset-actions { display: flex; align-items: center; gap: 12px; } .subset-status { font-size: 12.5px; color: var(--ink-soft); } .sidebar { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 16px; } .sidebar-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); } .sidebar-card h2 { font-size: 13px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); } .info-list { margin: 0; font-size: 13px; } .info-list div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--border); } .info-list div:last-child { border-bottom: none; } .info-list dt { color: var(--ink-soft); } .info-list dd { margin: 0; font-weight: 600; text-align: right; } .status-summary { list-style: none; margin: 0; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 6px; } .status-summary li { display: flex; align-items: center; gap: 8px; } .status-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; } .build-report { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; font-size: 12.5px; box-shadow: var(--shadow); } .build-report h3 { margin: 0 0 8px; font-size: 13px; } .build-report ul { margin: 0; padding-left: 18px; } .build-report .download-link { display: inline-block; margin-top: 10px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 13px; } .char-list { display: flex; flex-direction: column; gap: 10px; } .char-row { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; } .char-row-summary { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: transparent; border: none; cursor: pointer; text-align: left; font: inherit; color: inherit; } .char-glyph-badge { width: 44px; height: 44px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex: none; } .mini-preview { width: 30px; height: 30px; } .char-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; } .char-title { font-weight: 700; font-size: 15px; } .char-label { font-size: 12px; color: var(--ink-soft); } .char-status-pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; } .status-present { background: var(--green-bg); color: var(--green); } .status-existing_unmapped { background: var(--blue-bg); color: var(--blue); } .status-composable { background: var(--blue-bg); color: var(--blue); } .status-composable_synthetic { background: var(--amber-bg); color: var(--amber); } .status-needs_attention { background: var(--red-bg); color: var(--red); } .char-include { display: flex; align-items: center; } .char-include input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; } .chevron { color: var(--ink-soft); transition: transform .15s ease; } .char-row.open .chevron { transform: rotate(180deg); } .char-editor { border-top: 1px solid var(--border); padding: 18px 20px 22px; background: #fcfbf9; } .editor-grid { display: grid; grid-template-columns: 260px 1fr; gap: 22px; } .editor-preview { display: flex; flex-direction: column; align-items: center; gap: 10px; } .big-preview { width: 220px; height: 220px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; } .editor-warnings { font-size: 12px; color: var(--amber); text-align: center; } .editor-warnings .warn-line { background: var(--amber-bg); border-radius: 6px; padding: 6px 8px; margin-top: 4px; } .editor-warnings .warn-line.attention { background: var(--red-bg); color: var(--red); } .field-group { margin-bottom: 14px; } .field-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; } .field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 150px; } .field label { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; } .field input[type="text"], .field input[type="number"] { font: inherit; padding: 7px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); } .field-slider { display: flex; align-items: center; gap: 8px; } .field-slider input[type="range"] { flex: 1; } .field-slider input[type="number"] { width: 78px; } .source-desc { font-size: 12px; color: var(--ink-soft); background: var(--bg); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; } .field-actions { display: flex; gap: 8px; margin-top: 4px; } .existing-note { font-size: 13px; color: var(--ink-soft); background: var(--bg); border-radius: 8px; padding: 12px 14px; } .needs-attention-note { font-size: 13px; color: var(--red); background: var(--red-bg); border-radius: 8px; padding: 12px 14px; } @media (max-width: 900px) { .workspace { grid-template-columns: 1fr; } .sidebar { position: static; } .editor-grid { grid-template-columns: 1fr; } }