/* ========================================================================== TIS-RMS TECHNICAL DOCUMENTATION & SYSTEM MANUAL Minimalist, Clean Design System for Technical Documentation ========================================================================== */ :root { /* Color Palette - Light Mode */ --bg-primary: #FFFFFF; --bg-surface: #FFFFFF; --bg-surface-elevated: #F8FAFC; --bg-subtle: #F1F5F9; --border-subtle: #E2E8F0; --border-strong: #CBD5E1; --text-primary: #0F172A; --text-secondary: #475569; --text-muted: #64748B; --primary: #059669; --primary-hover: #047857; --primary-light: #ECFDF5; --primary-border: #A7F3D0; --accent-blue: #2563EB; --accent-blue-light: #EFF6FF; --accent-amber: #D97706; --accent-amber-light: #FFFBEB; --accent-rose: #DC2626; --accent-rose-light: #FEF2F2; --sidebar-w: 270px; --header-h: 60px; --radius-xs: 4px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08); --transition: all 0.15s ease-in-out; } [data-theme="dark"] { --bg-primary: #0B0F17; --bg-surface: #111827; --bg-surface-elevated: #162032; --bg-subtle: #1A2436; --border-subtle: #1E293B; --border-strong: #334155; --text-primary: #F8FAFC; --text-secondary: #94A3B8; --text-muted: #64748B; --primary: #10B981; --primary-hover: #059669; --primary-light: rgba(16, 185, 129, 0.12); --primary-border: rgba(16, 185, 129, 0.25); --accent-blue: #3B82F6; --accent-blue-light: rgba(59, 130, 246, 0.12); --accent-amber: #F59E0B; --accent-amber-light: rgba(245, 158, 11, 0.12); --accent-rose: #EF4444; --accent-rose-light: rgba(239, 68, 68, 0.12); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.35); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4); } /* Base & Reset */ * { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; } a { color: var(--primary); text-decoration: none; transition: var(--transition); } a:hover { text-decoration: underline; } code, kbd { font-family: 'JetBrains Mono', Consolas, Monaco, monospace; font-size: 0.85em; } code { background: var(--bg-subtle); border: 1px solid var(--border-subtle); padding: 2px 5px; border-radius: var(--radius-xs); color: var(--text-primary); } kbd { background: var(--bg-surface-elevated); border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 2px 6px; border-radius: var(--radius-xs); font-size: 0.8em; color: var(--text-primary); } /* ── Top Header ─────────────────────────────────────────── */ .doc-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } .header-left { display: flex; align-items: center; gap: 12px; } .mobile-menu-btn, .mobile-search-btn { display: none; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-primary); cursor: pointer; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; } .mobile-menu-btn:hover, .mobile-search-btn:hover { background: var(--bg-subtle); border-color: var(--border-strong); } .sidebar-backdrop { display: none; position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; } .sidebar-backdrop.active { display: block; opacity: 1; pointer-events: auto; } .header-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; } .header-brand img { width: 30px; height: 30px; border-radius: var(--radius-xs); object-fit: contain; flex-shrink: 0; } .brand-text h1 { font-size: 0.98rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; } .brand-text span { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; } .header-search { flex: 1; max-width: 380px; margin: 0 20px; position: relative; } .search-input-wrap { display: flex; align-items: center; background: var(--bg-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 0 12px; transition: var(--transition); } .search-input-wrap:focus-within { border-color: var(--primary); background: var(--bg-surface); box-shadow: 0 0 0 2px var(--primary-light); } .search-icon { color: var(--text-muted); margin-right: 8px; flex-shrink: 0; } .search-input { width: 100%; height: 34px; background: transparent; border: none; outline: none; font-size: 0.85rem; color: var(--text-primary); } .search-kbd { font-size: 0.7rem; font-family: monospace; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 2px 5px; color: var(--text-muted); flex-shrink: 0; } .header-actions { display: flex; align-items: center; gap: 8px; } .platform-pill-toggle { display: flex; background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 2px; border: 1px solid var(--border-subtle); } .platform-btn { padding: 4px 10px; font-size: 0.78rem; font-weight: 500; border: none; background: transparent; color: var(--text-secondary); border-radius: var(--radius-xs); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 5px; } .platform-btn.active { background: var(--bg-surface); color: var(--text-primary); box-shadow: var(--shadow-sm); font-weight: 600; } .theme-toggle-btn, .print-btn { width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .theme-toggle-btn:hover, .print-btn:hover { background: var(--bg-subtle); color: var(--text-primary); border-color: var(--border-strong); } /* ── Layout Container ───────────────────────────────────── */ .doc-layout { display: flex; max-width: 1440px; margin: 0 auto; position: relative; } /* ── Sidebar Navigation ─────────────────────────────────── */ .doc-sidebar { width: var(--sidebar-w); flex-shrink: 0; height: calc(100vh - var(--header-h)); position: sticky; top: var(--header-h); border-right: 1px solid var(--border-subtle); padding: 24px 14px 40px; overflow-y: auto; background: var(--bg-surface); } .doc-sidebar::-webkit-scrollbar { width: 4px; } .doc-sidebar::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 4px; } .sidebar-heading { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 20px 0 6px 10px; } .sidebar-heading:first-of-type { margin-top: 0; } .sidebar-nav { list-style: none; } .sidebar-nav li { margin-bottom: 2px; } .nav-link { display: flex; align-items: center; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: var(--transition); gap: 8px; } .nav-link:hover { color: var(--text-primary); background: var(--bg-subtle); text-decoration: none; } .nav-link.active { color: var(--primary); background: var(--primary-light); font-weight: 600; } .nav-icon { display: flex; align-items: center; color: var(--text-muted); flex-shrink: 0; } .nav-link:hover .nav-icon { color: var(--text-primary); } .nav-link.active .nav-icon { color: var(--primary); } .nav-icon svg { width: 15px; height: 15px; } .nav-badge { margin-left: auto; font-size: 0.68rem; font-weight: 600; padding: 1px 6px; border-radius: var(--radius-xs); background: var(--bg-subtle); color: var(--text-muted); } .nav-link.active .nav-badge { background: var(--bg-surface); color: var(--primary); } /* ── Main Content Area ──────────────────────────────────── */ .doc-main { flex: 1; min-width: 0; padding: 36px 48px 80px; max-width: 980px; } /* ── Hero Banner (Minimalist) ───────────────────────────── */ .hero-banner { padding: 0 0 32px 0; border-bottom: 1px solid var(--border-subtle); margin-bottom: 40px; } .hero-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--primary); background: var(--primary-light); border: 1px solid var(--primary-border); padding: 3px 8px; border-radius: var(--radius-xs); margin-bottom: 14px; } .hero-title { font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.02em; } .hero-subtitle { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; max-width: 800px; } .hero-badges { display: flex; flex-wrap: wrap; gap: 6px; } .badge-item { display: inline-block; font-size: 0.75rem; font-weight: 500; padding: 3px 8px; border-radius: var(--radius-xs); background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border-subtle); } /* ── Sections & Typography ──────────────────────────────── */ .doc-section { margin-bottom: 56px; } .section-header { margin-bottom: 18px; } .section-title { font-size: 1.45rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.015em; margin-bottom: 6px; } .section-subtitle { font-size: 0.92rem; color: var(--text-secondary); } .subheading { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin: 28px 0 12px; } .paragraph { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; } /* ── Minimalist Module Summary ──────────────────────────── */ .module-summary { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 14px 18px; margin: 16px 0 20px; } .module-summary-label { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); margin-bottom: 8px; } .module-summary-list { list-style: none; } .module-summary-list li { font-size: 0.88rem; color: var(--text-secondary); padding: 3px 0 3px 18px; position: relative; line-height: 1.5; } .module-summary-list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); } .module-summary-list strong { color: var(--text-primary); font-weight: 600; } /* ── Minimalist Callout Boxes ───────────────────────────── */ .callout { border-radius: var(--radius-md); padding: 14px 18px; margin: 18px 0; display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.55; border: 1px solid var(--border-subtle); } .callout.tip { background: var(--primary-light); border-left: 3px solid var(--primary); border-color: var(--primary-border); } .callout.important { background: var(--accent-blue-light); border-left: 3px solid var(--accent-blue); } .callout.warning { background: var(--accent-amber-light); border-left: 3px solid var(--accent-amber); } .callout-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; } .callout.tip .callout-icon { color: var(--primary); } .callout.important .callout-icon { color: var(--accent-blue); } .callout.warning .callout-icon { color: var(--accent-amber); } .callout-icon svg { width: 18px; height: 18px; } /* ── Minimalist Documentation Figures (Screenshots) ─────── */ .mockup-container { margin: 24px 0 28px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface); overflow: hidden; } .mockup-tabs { display: flex; align-items: center; gap: 4px; background: var(--bg-subtle); border-bottom: 1px solid var(--border-subtle); padding: 6px 12px; } .mockup-tab-btn { padding: 4px 12px; border-radius: var(--radius-xs); font-size: 0.8rem; font-weight: 500; border: 1px solid transparent; background: transparent; color: var(--text-secondary); cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 5px; } .mockup-tab-btn:hover { color: var(--text-primary); background: var(--bg-surface-elevated); } .mockup-tab-btn.active { background: var(--bg-surface); color: var(--primary); font-weight: 600; border-color: var(--border-subtle); box-shadow: var(--shadow-sm); } .mockup-pane { background: var(--bg-surface); } /* Clean Document Figure */ .doc-figure { margin: 0; display: flex; flex-direction: column; background: var(--bg-surface); cursor: zoom-in; position: relative; } .doc-figure-img-wrap { width: 100%; display: flex; justify-content: center; align-items: center; background: var(--bg-subtle); padding: 12px; } .doc-figure img { max-width: 100%; height: auto; max-height: 480px; object-fit: contain; display: block; border-radius: var(--radius-xs); border: 1px solid var(--border-subtle); transition: opacity 0.2s ease; } .doc-figure:hover img { opacity: 0.96; } .doc-figure figcaption { padding: 8px 14px; font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border-subtle); background: var(--bg-surface); display: flex; align-items: center; justify-content: space-between; } .doc-figure figcaption .zoom-hint { font-size: 0.72rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; } .doc-figure figcaption .zoom-hint svg { width: 12px; height: 12px; } /* Android Figure Centered Display */ .doc-figure-android .doc-figure-img-wrap { padding: 16px; background: var(--bg-subtle); } .doc-figure-android img { max-width: 600px; margin: 0 auto; } /* ── Feature Grids & Step Cards ─────────────────────────── */ .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; } .feature-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 16px; transition: var(--transition); } .feature-card:hover { border-color: var(--border-strong); } .card-icon { width: 28px; height: 28px; border-radius: var(--radius-xs); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; } .card-icon svg { width: 16px; height: 16px; } .card-title { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; } .card-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.5; } /* Steps Container */ .steps-container { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; } .step-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 14px 16px; display: flex; align-items: flex-start; gap: 14px; } .step-number { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; } .step-content h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; } .step-content p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.5; } /* ── Tables & Data Grids ────────────────────────────────── */ .table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface); } table.doc-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; text-align: left; } table.doc-table th { background: var(--bg-subtle); padding: 10px 14px; font-weight: 600; color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); font-size: 0.82rem; } table.doc-table td { padding: 10px 14px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); } table.doc-table tr:last-child td { border-bottom: none; } table.doc-table tr:hover td { background: var(--bg-subtle); } .badge { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 2px 7px; border-radius: var(--radius-xs); text-transform: uppercase; } .badge.success { background: #DCFCE7; color: #166534; } .badge.info { background: #DBEAFE; color: #1E40AF; } .badge.warning { background: #FEF3C7; color: #92400E; } .badge.danger { background: #FEE2E2; color: #991B1B; } [data-theme="dark"] .badge.success { background: rgba(22, 101, 52, 0.3); color: #86EFAC; } [data-theme="dark"] .badge.info { background: rgba(30, 64, 175, 0.3); color: #93C5FD; } [data-theme="dark"] .badge.warning { background: rgba(146, 64, 14, 0.3); color: #FDE68A; } [data-theme="dark"] .badge.danger { background: rgba(153, 27, 27, 0.3); color: #FCA5A5; } /* ── FAQ Accordion Section ─────────────────────────────── */ .faq-category { margin: 28px 0 14px; } .faq-category:first-of-type { margin-top: 14px; } .faq-category-title { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; } .faq-category-title svg { width: 16px; height: 16px; } .faq-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; transition: var(--transition); } .faq-item:hover { border-color: var(--border-strong); } .faq-question { width: 100%; padding: 12px 16px; background: transparent; border: none; text-align: left; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: inherit; } .faq-question svg { transition: transform 0.2s ease; flex-shrink: 0; color: var(--text-muted); } .faq-item.active { border-color: var(--primary-border); } .faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); } .faq-answer { display: none; padding: 0 16px 14px; color: var(--text-secondary); font-size: 0.86rem; line-height: 1.6; border-top: 1px solid var(--border-subtle); background: var(--bg-surface-elevated); } .faq-item.active .faq-answer { display: block; } .faq-answer p { margin-top: 10px; } .faq-answer p:first-child { margin-top: 12px; } .faq-answer ul { margin: 8px 0 8px 18px; } .faq-answer li { margin-bottom: 4px; } /* ── Lightbox Modal ─────────────────────────────────────── */ .lightbox-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.85); display: none; align-items: center; justify-content: center; padding: 20px; } .lightbox-modal.active { display: flex; } .lightbox-img { max-width: 95%; max-height: 88vh; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.15); } .lightbox-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; border: none; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .lightbox-close:hover { background: rgba(255, 255, 255, 0.3); } .lightbox-caption { position: absolute; bottom: 18px; background: rgba(0, 0, 0, 0.75); color: #fff; padding: 6px 14px; border-radius: var(--radius-xs); font-size: 0.82rem; max-width: 80%; text-align: center; } /* ── Footer ─────────────────────────────────────────────── */ .doc-footer { margin-top: 56px; border-top: 1px solid var(--border-subtle); padding: 24px 0 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: var(--text-muted); } .footer-credits { display: flex; align-items: center; gap: 10px; } .footer-credits img { width: 24px; height: 24px; } /* ── Responsive Adaptations ─────────────────────────────── */ @media (max-width: 1024px) { :root { --header-h: 56px; } .mobile-menu-btn { display: flex !important; } .mobile-search-btn { display: flex !important; } .print-btn { display: none !important; } .header-search { position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; max-width: none; background: var(--bg-surface); padding: 8px 14px; border-bottom: 1px solid var(--border-subtle); display: none; box-shadow: var(--shadow-md); z-index: 90; } .header-search.mobile-open { display: block !important; } .search-kbd { display: none; } .doc-sidebar { position: fixed; top: 0; bottom: 0; left: -300px; height: 100vh; z-index: 100; width: 280px; background: var(--bg-surface); border-right: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); transition: transform 0.25s ease; padding: 16px 14px 40px; } .doc-sidebar.open { transform: translateX(300px); } .doc-main { padding: 24px 20px 60px; } } @media (max-width: 768px) { .doc-header { padding: 0 12px; } .platform-pill-toggle .platform-text { display: none; } .platform-btn { padding: 4px 6px; } .hero-banner { padding-bottom: 24px; margin-bottom: 28px; } .hero-title { font-size: 1.5rem; } .hero-subtitle { font-size: 0.9rem; } .doc-section { margin-bottom: 40px; } .section-title { font-size: 1.25rem; } .feature-grid { grid-template-columns: 1fr; gap: 10px; } .mockup-container { margin: 18px 0; } .doc-figure-img-wrap { padding: 8px; } .table-wrap { margin: 14px 0; } table.doc-table th, table.doc-table td { padding: 8px 10px; font-size: 0.78rem; } } @media (max-width: 480px) { .doc-main { padding: 16px 12px 48px; } .brand-text span { display: none; } .brand-text h1 { font-size: 0.88rem; } .hero-title { font-size: 1.3rem; } .doc-footer { flex-direction: column; align-items: flex-start; gap: 8px; } } /* Print Styles */ @media print { .doc-header, .doc-sidebar, .mockup-tabs, .theme-toggle-btn, .print-btn, .zoom-hint { display: none !important; } .doc-main { padding: 0; max-width: 100%; } .doc-section { page-break-inside: avoid; } }