/* ============================================
   Favicon.ico Guide & Generator - SURITD TOOLS
   Tool-specific styles only
   Global vars from custom_styles.css
   No border-left: 4px
   ============================================ */

/* LAYOUT */
.tool-container { max-width: 960px; margin: 0 auto; padding: 24px 20px 60px; }

/* HEADER */
.tool-header { text-align: center; margin-bottom: 24px; }
.tool-title-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; }
.tool-icon-wrapper { width: 48px; height: 48px; border-radius: 10px; background: var(--primary, #3399cc); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-icon-wrapper i, .tool-icon-wrapper svg { width: 24px; height: 24px; }
.tool-title { font-size: 1.7rem; font-weight: 700; color: var(--text-primary, #333); margin: 0; line-height: 1.2; }
.tool-description { max-width: 800px; margin: 0 auto; color: var(--text-secondary, #555); font-size: 1.05rem; line-height: 1.6; }
.tool-description strong { color: var(--text-primary, #333); }

/* QUICK NAVIGATION - collapsible */
.guide-toc { background: var(--card-bg, #fff); border: 1px solid var(--border-color, #e0e0e0); border-radius: 12px; margin-bottom: 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.toc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; background: none; border: none; cursor: pointer; transition: background 0.2s; }
.toc-toggle:hover { background: var(--card-secondary, #f8f9fa); }
.toc-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-primary, #333); white-space: nowrap; }
.toc-label i, .toc-label svg { width: 16px; height: 16px; color: var(--primary, #3399cc); }
.toc-chevron { width: 18px; height: 18px; color: var(--text-muted, #999); transition: transform 0.3s ease; }
.guide-toc.open .toc-chevron { transform: rotate(180deg); }
.toc-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.guide-toc.open .toc-links { max-height: 200px; padding: 0 20px 16px; }
.toc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.toc-link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; background: var(--card-secondary, #f8f9fa); color: var(--text-secondary, #555); font-size: 0.84rem; font-weight: 500; text-decoration: none; border: 1px solid var(--border-color, #e0e0e0); transition: all 0.2s ease; }
.toc-link:hover { background: var(--primary, #3399cc); color: #fff; border-color: var(--primary, #3399cc); transform: translateY(-1px); }
.toc-link i, .toc-link svg { width: 13px; height: 13px; }

/* UPLOAD SECTION */
.section-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: var(--primary, #3399cc); margin-bottom: 12px; }
.section-label i, .section-label svg { width: 18px; height: 18px; }
.upload-area { border: 2px dashed var(--border-color, #e0e0e0); border-radius: 14px; padding: 48px 24px; text-align: center; cursor: pointer; transition: all 0.25s ease; background: var(--card-bg, #fff); }
.upload-area:hover, .upload-area.dragover { border-color: var(--primary, #3399cc); background: var(--info-bg, #ebf5fb); }
.upload-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.upload-icon { width: 56px; height: 56px; border-radius: 10px; background: var(--info-bg, #ebf5fb); color: var(--primary, #3399cc); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.upload-icon i, .upload-icon svg { width: 28px; height: 28px; }
.upload-title { font-size: 1.15rem; font-weight: 600; color: var(--text-primary, #333); margin: 0; }
.upload-subtitle { color: var(--text-muted, #999); font-size: 0.9rem; margin: 0; }
.file-types { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.file-type-badge { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; background: var(--card-secondary, #f8f9fa); color: var(--text-secondary, #555); border-radius: 999px; letter-spacing: 0.03em; }
.upload-hint { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted, #999); margin-top: 8px; }
.upload-hint i, .upload-hint svg { width: 14px; height: 14px; }
.upload-note { text-align: center; font-size: 0.85rem; color: var(--text-muted, #999); margin-top: 12px; }
.upload-note a { color: var(--primary, #3399cc); text-decoration: none; }
.upload-note a:hover { text-decoration: underline; }

/* EDITOR */
.editor-section { background: #fff; border: 1px solid var(--border-color, #e0e0e0); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
[data-theme="dark"] .editor-section { background: var(--card-bg); }
.editor-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--card-secondary, #f8f9fa); border-bottom: 1px solid var(--border-color, #e0e0e0); }
.file-info { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-primary, #333); }
.file-info i, .file-info svg { width: 16px; height: 16px; color: var(--primary, #3399cc); }
.file-meta { font-size: 0.8rem; color: var(--text-muted, #999); padding: 2px 8px; background: var(--card-tertiary, #f1f5f9); border-radius: 6px; }
.btn-text { display: flex; align-items: center; gap: 6px; background: none; border: none; color: var(--primary, #3399cc); font-size: 0.85rem; font-weight: 500; cursor: pointer; padding: 6px 10px; border-radius: 6px; transition: background 0.25s; }
.btn-text:hover { background: var(--info-bg, #ebf5fb); }
.btn-text i, .btn-text svg { width: 14px; height: 14px; }
.editor-body { display: grid; grid-template-columns: 1fr 280px; gap: 0; }
.crop-panel { padding: 20px; border-right: 1px solid var(--border-color, #e0e0e0); }
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-primary, #333); margin-bottom: 12px; }
.panel-title i, .panel-title svg { width: 16px; height: 16px; color: var(--primary, #3399cc); }
.crop-area-wrapper { display: flex; justify-content: center; align-items: center; background: var(--card-secondary, #f8f9fa); border-radius: 10px; padding: 12px; min-height: 280px; overflow: hidden; }
.crop-canvas-container { position: relative; display: inline-block; }
.crop-canvas-container canvas { display: block; border-radius: 6px; }
.crop-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.crop-box { position: absolute; border: 2px solid var(--primary, #3399cc); background: transparent; cursor: move; box-shadow: 0 0 0 9999px rgba(0,0,0,0.35); }
.crop-handle { position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid var(--primary, #3399cc); border-radius: 2px; }
.crop-handle.nw { top: -6px; left: -6px; cursor: nw-resize; }
.crop-handle.ne { top: -6px; right: -6px; cursor: ne-resize; }
.crop-handle.sw { bottom: -6px; left: -6px; cursor: sw-resize; }
.crop-handle.se { bottom: -6px; right: -6px; cursor: se-resize; }
.crop-handle.n { top: -6px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
.crop-handle.s { bottom: -6px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
.crop-handle.e { top: 50%; right: -6px; transform: translateY(-50%); cursor: e-resize; }
.crop-handle.w { top: 50%; left: -6px; transform: translateY(-50%); cursor: w-resize; }
.crop-size-label { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 2; }
.crop-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; }
.crop-info { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted, #999); }
.crop-info i, .crop-info svg { width: 14px; height: 14px; }
.crop-buttons { display: flex; gap: 6px; }
.settings-panel { padding: 20px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.preview-section { background: var(--card-secondary, #f8f9fa); border-radius: 10px; padding: 14px; border: 1px solid var(--border-color, #e0e0e0); }
.preview-section .panel-title { margin-bottom: 10px; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.preview-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; background: var(--card-bg, #fff); border-radius: 6px; }
.preview-item canvas { background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><rect width="4" height="4" fill="%23ddd"/><rect x="4" y="4" width="4" height="4" fill="%23ddd"/></svg>') repeat; border-radius: 2px; image-rendering: pixelated; max-width: 100%; height: auto; }
.preview-item span { font-size: 0.7rem; color: var(--text-muted, #999); font-weight: 500; }
.browser-preview { margin-top: 8px; }
.browser-tab { display: flex; align-items: center; gap: 8px; background: var(--card-bg, #fff); padding: 8px 12px; border-radius: 6px 6px 0 0; font-size: 0.82rem; color: var(--text-primary, #333); border-bottom: 2px solid var(--primary, #3399cc); overflow: hidden; }
.browser-tab canvas { width: 16px; height: 16px; image-rendering: pixelated; }
.option-group { margin-bottom: 14px; }
.option-group:last-child { margin-bottom: 0; }
.options-section { background: var(--card-secondary, #f8f9fa); border-radius: 10px; padding: 14px; border: 1px solid var(--border-color, #e0e0e0); }
.options-section .panel-title { margin-bottom: 10px; }
.options-section .fit-option, .options-section .bg-option { background: var(--card-bg, #fff); }
.option-label { font-size: 0.82rem; font-weight: 600; color: var(--text-primary, #333); margin-bottom: 8px; display: block; }
.fit-options, .bg-options { display: flex; gap: 4px; }
.fit-option, .bg-option { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 6px; border: 1px solid var(--border-color, #e0e0e0); background: var(--card-bg, #fff); cursor: pointer; transition: all 0.2s; font-size: 0.75rem; color: var(--text-secondary, #555); }
.fit-option input, .bg-option input { display: none; }
.fit-option i, .fit-option svg, .bg-option svg { width: 16px; height: 16px; }
.fit-option.active, .bg-option.active { border-color: var(--primary, #3399cc); background: var(--info-bg, #ebf5fb); color: var(--primary, #3399cc); }
.bg-swatch { width: 20px; height: 20px; border-radius: 4px; border: 1px solid var(--border-color, #e0e0e0); }
.bg-swatch.transparent { background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><rect width="4" height="4" fill="%23ddd"/><rect x="4" y="4" width="4" height="4" fill="%23ddd"/></svg>') repeat; }
.bg-swatch.white { background: #fff; }
.bg-swatch.black { background: #1e293b; }
.option-hint { font-size: 0.78rem; color: var(--text-muted, #999); margin-top: 6px; }
.package-options { display: flex; flex-direction: column; gap: 6px; }
.package-option { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary, #555); cursor: pointer; }
.package-option input[type="checkbox"] { accent-color: var(--primary, #3399cc); }
.action-bar { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border-color, #e0e0e0); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn i, .btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary, #3399cc); color: #fff; }
.btn-primary:hover { background: var(--primary-dark, #2980b9); box-shadow: 0 4px 14px rgba(51, 153, 204, 0.3); }
.btn-secondary { background: var(--card-secondary, #f8f9fa); color: var(--text-secondary, #555); border: 1px solid var(--border-color, #e0e0e0); }
.btn-secondary:hover { background: var(--card-tertiary, #f1f5f9); }
.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-small { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; border-radius: 6px; border: 1px solid var(--border-color, #e0e0e0); background: var(--card-bg, #fff); color: var(--text-secondary, #555); cursor: pointer; transition: all 0.2s; }
.btn-small:hover { background: var(--card-secondary, #f8f9fa); color: var(--text-primary, #333); }
.btn-small i, .btn-small svg { width: 13px; height: 13px; }

/* PROCESSING */
.processing-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(4px); }
.processing-content { background: var(--card-bg, #fff); border-radius: 14px; padding: 36px; text-align: center; max-width: 380px; width: 90%; box-shadow: var(--shadow-lg); }
.processing-spinner { width: 44px; height: 44px; border: 3px solid var(--border-color, #e0e0e0); border-top-color: var(--primary, #3399cc); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text { font-weight: 600; color: var(--text-primary, #333); margin-bottom: 12px; }
.progress-bar { width: 100%; height: 6px; background: var(--card-secondary, #f8f9fa); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: var(--primary, #3399cc); border-radius: 999px; transition: width 0.3s; width: 0; }
.processing-status { font-size: 0.82rem; color: var(--text-muted, #999); }

/* RESULTS */
.results-section { background: var(--card-bg, #fff); border: 1px solid var(--border-color, #e0e0e0); border-radius: 14px; padding: 36px 24px; text-align: center; box-shadow: var(--shadow-md); }
.results-header { margin-bottom: 24px; }
.success-icon { color: var(--success-color, #2ecc71); margin-bottom: 8px; }
.success-icon i, .success-icon svg { width: 48px; height: 48px; }
.results-header h2 { font-size: 1.3rem; color: var(--text-primary, #333); margin: 0 0 4px; }
.results-header p { color: var(--text-muted, #999); font-size: 0.9rem; margin: 0; }
.generated-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-bottom: 24px; }
.file-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; background: var(--card-secondary, #f8f9fa); border-radius: 6px; }
.file-card canvas { image-rendering: pixelated; }
.file-card span { font-size: 0.72rem; color: var(--text-muted, #999); word-break: break-all; text-align: center; }
.file-card .file-icon { width: 28px; height: 28px; color: var(--primary, #3399cc); }
.code-section { text-align: left; margin-bottom: 24px; }
.code-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.code-header span { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-primary, #333); }
.code-header i, .code-header svg { width: 16px; height: 16px; color: var(--primary, #3399cc); }
.code-block { background: var(--card-secondary, #f8f9fa); color: var(--text-primary, #333); padding: 16px; border-radius: 10px; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: 0.82rem; line-height: 1.6; overflow-x: auto; white-space: pre; margin: 0; border: 1px solid var(--border-color, #e0e0e0); }
.download-section { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ERROR */
.error-message { background: var(--error-bg, #fadbd8); color: var(--error-color, #e74c3c); padding: 14px 20px; border-radius: 10px; font-size: 0.9rem; margin-top: 16px; text-align: center; }
.error-message a { color: var(--error-color, #e74c3c); font-weight: 600; }

/* ============================================
   GUIDE-SPECIFIC STYLES
   ============================================ */

/* Sizes Table */
.sizes-table-wrapper { overflow-x: auto; margin: 16px 0; }
.sizes-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.sizes-table th { background: var(--primary, #3399cc); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.82rem; }
.sizes-table th:first-child { border-radius: 6px 0 0 0; }
.sizes-table th:last-child { border-radius: 0 6px 0 0; }
.sizes-table td { padding: 10px 14px; border-bottom: 1px solid var(--border-color, #e0e0e0); color: var(--text-secondary, #555); }
.sizes-table tr:hover td { background: var(--info-bg, #ebf5fb); }
.size-badge { display: inline-block; padding: 3px 10px; background: var(--card-secondary, #f8f9fa); border-radius: 6px; font-size: 0.82rem; font-weight: 600; color: var(--text-primary, #333); font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }
.priority-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.priority-tag.essential { background: var(--success-bg, #e7f7ed); color: var(--success-color, #2ecc71); }
.priority-tag.recommended { background: var(--info-bg, #ebf5fb); color: var(--primary, #3399cc); }
.priority-tag.optional { background: var(--card-secondary, #f8f9fa); color: var(--text-muted, #999); }

/* Formats Grid */
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.format-card { padding: 20px; border-radius: 10px; background: var(--card-secondary, #f8f9fa); border: 1px solid var(--border-color, #e0e0e0); }
.format-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.format-header i, .format-header svg { width: 20px; height: 20px; color: var(--primary, #3399cc); }
.format-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary, #333); margin: 0; }
.format-card > p { font-size: 0.88rem; color: var(--text-secondary, #555); line-height: 1.6; margin: 0 0 12px; }
.format-pros-cons { display: flex; flex-direction: column; gap: 4px; }
.format-pro, .format-con { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; }
.format-pro { color: var(--success-color, #2ecc71); }
.format-con { color: var(--error-color, #e74c3c); }
.format-pro i, .format-pro svg, .format-con i, .format-con svg { width: 14px; height: 14px; }

/* Code Example */
.code-example { margin: 16px 0; }
.code-example-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.code-example-header span { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-primary, #333); }
.code-example-header i, .code-example-header svg { width: 16px; height: 16px; color: var(--primary, #3399cc); }

/* Collapsible code */
.code-collapsible { position: relative; max-height: 4.5em; overflow: hidden; transition: max-height 0.35s ease; }
.code-collapsible .code-block { margin: 0; border-radius: 10px 10px 0 0; border-bottom: none; }
.code-collapsible.expanded { max-height: 500px; }
.code-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 2.5em; background: linear-gradient(transparent, var(--card-secondary, #f8f9fa)); pointer-events: none; transition: opacity 0.3s; }
.code-collapsible.expanded .code-fade { opacity: 0; }
.code-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 8px; margin-top: 0; background: none; border: 1px solid var(--border-color, #e0e0e0); border-top: none; border-radius: 0 0 10px 10px; color: var(--primary, #3399cc); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.code-toggle:hover { background: var(--card-secondary, #f8f9fa); }
.code-toggle i, .code-toggle svg { width: 14px; height: 14px; transition: transform 0.3s; }
.code-toggle.expanded i, .code-toggle.expanded svg { transform: rotate(180deg); }
.code-toggle.expanded span::after { content: ''; }
.code-toggle span { pointer-events: none; }
.copy-snippet { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; border-radius: 6px; border: 1px solid var(--border-color, #e0e0e0); background: var(--card-bg, #fff); color: var(--text-secondary, #555); cursor: pointer; transition: all 0.2s; }
.copy-snippet:hover { background: var(--card-secondary, #f8f9fa); color: var(--text-primary, #333); }
.copy-snippet i, .copy-snippet svg { width: 13px; height: 13px; }

/* Browser Support */
.browser-grid { margin: 16px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color, #e0e0e0); }
.browser-row { display: grid; grid-template-columns: 140px repeat(4, 1fr); align-items: center; }
.browser-header-row { background: var(--primary, #3399cc); color: #fff; font-weight: 600; font-size: 0.82rem; }
.browser-row:not(.browser-header-row) { border-bottom: 1px solid var(--border-color, #e0e0e0); }
.browser-row:not(.browser-header-row):last-child { border-bottom: none; }
.browser-row:not(.browser-header-row):hover { background: var(--info-bg, #ebf5fb); }
.browser-cell { padding: 10px 14px; font-size: 0.88rem; text-align: center; }
.browser-name-cell { text-align: left; display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-primary, #333); }
.browser-header-row .browser-name-cell { color: #fff; }
.browser-name-cell i, .browser-name-cell svg { width: 16px; height: 16px; }
.support-yes { color: var(--success-color, #2ecc71); width: 18px; height: 18px; }
.support-no { color: var(--error-color, #e74c3c); width: 18px; height: 18px; }
.support-partial { color: var(--warning-color, #f1c40f); width: 18px; height: 18px; }

/* (Troubleshooting now uses global .faq-list/.faq-item accordion from custom_styles.css) */

/* Appearances Grid */
.appearances-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.appearance-item { display: flex; gap: 14px; padding: 16px; background: var(--card-secondary, #f8f9fa); border-radius: 10px; border: 1px solid var(--border-color, #e0e0e0); }
.appearance-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--info-bg, #ebf5fb); color: var(--primary, #3399cc); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.appearance-icon i, .appearance-icon svg { width: 20px; height: 20px; }
.appearance-content strong { display: block; font-size: 0.92rem; color: var(--text-primary, #333); margin-bottom: 4px; }
.appearance-content p { font-size: 0.85rem; color: var(--text-secondary, #555); margin: 0; line-height: 1.5; }
.appearance-content a { color: var(--primary, #3399cc); text-decoration: none; }
.appearance-content a:hover { text-decoration: underline; }

/* Guide Note */
.guide-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: var(--info-bg, #ebf5fb); border-radius: 10px; font-size: 0.9rem; color: var(--text-secondary, #555); line-height: 1.7; margin-top: 18px; border: 1px solid rgba(51, 153, 204, 0.15); }
.guide-note > i, .guide-note > svg { width: 20px; height: 20px; min-width: 20px; color: var(--primary, #3399cc); flex-shrink: 0; margin-top: 3px; }
.guide-note > span { flex: 1; min-width: 0; }
.guide-note a { color: var(--primary, #3399cc); font-weight: 500; text-decoration: none; }
.guide-note a:hover { text-decoration: underline; }
.guide-note code { background: rgba(51, 153, 204, 0.1); color: var(--text-primary, #333); padding: 2px 7px; border-radius: 4px; font-size: 0.85em; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }

/* ============================================
   INFO CONTAINER REINFORCEMENT
   Force card styling for info-container-full
   within this page's layout
   ============================================ */
.info-sections { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.info-sections > .info-container-full { background: #fff; border-radius: 12px; padding: 1.5rem 2rem 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid var(--border-color, #e0e0e0); width: 100%; }
[data-theme="dark"] .info-sections > .info-container-full { background: var(--card-bg, #1e293b); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .tool-container { padding: 16px 12px 40px; }
    .tool-title { font-size: 1.4rem; }
    .editor-body { grid-template-columns: 1fr; }
    .crop-panel { border-right: none; border-bottom: 1px solid var(--border-color, #e0e0e0); }
    .formats-grid { grid-template-columns: 1fr; }
    .appearances-grid { grid-template-columns: 1fr; }
    .guide-toc .toc-links { gap: 5px; }
    .browser-row { grid-template-columns: 100px repeat(4, 1fr); }
    .browser-cell { padding: 8px 6px; font-size: 0.8rem; }
    .info-sections > .info-container-full { padding: 1.25rem 1.25rem 1.5rem; }
}
@media (max-width: 480px) {
    .tool-title-row { flex-direction: column; gap: 8px; }
    .action-bar { flex-direction: column; }
    .action-bar .btn { width: 100%; justify-content: center; }
    .download-section { flex-direction: column; }
    .download-section .btn { width: 100%; justify-content: center; }
}
