.sc-section { --sc-ink: #2e322b; --sc-muted: #716a5c; --sc-green: #3e5949; --sc-line: #d9d0be; color: var(--sc-ink); background: #f6efe3; scroll-margin-top: 95px; }
.sc-section *, .sc-section *::before, .sc-section *::after { box-sizing: border-box; }
.sc-section [hidden] { display: none !important; }
.sc-section:focus { outline: none; }
.sc-section[data-sc-focus-mode="programmatic"]:focus { outline: none !important; }
.sc-section:focus-visible:not([data-sc-focus-mode="programmatic"]) { outline: 3px solid #456957; outline-offset: -4px; }
.sc-section a, .sc-section button { touch-action: manipulation; }
.sc-section :focus-visible { outline: 3px solid #456957; outline-offset: 4px; }
.sc-section a { color: inherit; }
.sc-section button, .sc-section textarea { font: inherit; }
.sc-section h1, .sc-section h2, .sc-section h3, .sc-section h4, .sc-section h5, .sc-section p, .sc-section li, .sc-section a { overflow-wrap: anywhere; }
.sc-shell { width: min(1232px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 48px; }
.sc-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.sc-header > div { min-width: 0; max-width: 890px; }
.sc-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--sc-green); font-size: 11px; letter-spacing: .08em; font-weight: 650; }
.sc-eyebrow > span { width: 7px; height: 7px; background: #74856a; border-radius: 50%; }
.sc-header .sc-title { margin: 0; font-size: clamp(29px, 3.2vw, 43px); line-height: 1.4; letter-spacing: -.035em; font-weight: 650; }
.sc-lead { max-width: 850px; margin: 14px 0 0; font-size: 14px; line-height: 1.9; color: var(--sc-muted); }
.sc-catalog-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; flex-shrink: 0; min-height: 44px; padding: 10px 0; font-size: 12px; color: var(--sc-green) !important; border-bottom: 1px solid #a8b298; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 25px; color: #837966; font-size: 11px; line-height: 1.75; }
.sc-section .sc-content-methods .lp-scenes [data-content-scene-link] { min-height: 0; }
.sc-content-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 14px; color: var(--sc-muted); font-size: 11px; line-height: 1.8; }
.sc-content-examples > span { margin-right: 3px; }
.sc-content-examples > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-green); text-underline-offset: 4px; }
.sc-workflow-panel { margin: 28px 0; padding: 26px; border: 1px solid var(--sc-line); border-radius: 12px; background: #f9f4e9; }
.sc-workflow-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.sc-workflow-heading h2 { margin: 0; font-size: 23px; line-height: 1.6; font-weight: 650; scroll-margin-top: 108px; }
.sc-workflow-heading > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-green); font-size: 12px; text-underline-offset: 4px; }
.sc-workflow-description { margin: 8px 0 20px; color: var(--sc-muted); font-size: 13px; line-height: 1.9; }
.sc-workflow-description:last-child { margin-bottom: 0; }
.sc-workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sc-workflow-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid #e1d8c5; border-radius: 9px; background: #fffaf1; }
.sc-workflow-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.65; font-weight: 650; }
.sc-workflow-card > p { margin: 0 0 16px; color: var(--sc-muted); font-size: 12px; line-height: 1.9; }
.sc-workflow-output { margin: auto 0 12px; padding: 12px 14px; border-radius: 6px; background: #eff1e6; }
.sc-workflow-output > span { color: var(--sc-green); font-size: 10px; font-weight: 650; }
.sc-workflow-output p { margin: 5px 0 0; color: #54614a; font-size: 12px; line-height: 1.8; }
.sc-workflow-links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sc-workflow-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-green); font-size: 12px; line-height: 1.8; text-underline-offset: 4px; }
@media (max-width: 1000px) { .sc-workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sc-workflow-panel { margin: 24px 0; padding: 18px 16px; }.sc-workflow-heading h2 { font-size: 21px; }.sc-workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }.sc-workflow-card { padding: 18px; } }
.sc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 0; border-top: 1px solid var(--sc-line); }
.sc-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-filters button, .sc-empty button { min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #6d685b; font-size: 13px; line-height: 1.5; cursor: pointer; }
.sc-filters button[aria-pressed="true"] { background: var(--sc-green); color: #fffaf1; }
.sc-count { margin: 0; color: #827965; font-size: 11px; }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.sc-card { display: flex; min-width: 0; height: 100%; flex-direction: column; padding: 22px 22px 0; border: 1px solid var(--sc-line); border-radius: 12px; background: #fffaf1; scroll-margin-top: 108px; }
.sc-card:has(.sc-details[open]) { grid-column: 1 / -1; border-color: #a8b59c; }
.sc-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 17px; }
.sc-category, .sc-kind { padding: 4px 8px; border-radius: 4px; font-size: 10px; line-height: 1.55; }
.sc-category { background: #e9edde; color: #52634d; }
.sc-kind { border: 1px solid #ded6c5; color: #7f7560; }
.sc-kind-own-work { color: #52634d; border-color: #c5ceb8; background: #f1f3e9; }
.sc-card-intro { min-width: 0; }
.sc-card-copy { min-width: 0; }
.sc-card-number { display: block; color: #9b9b84; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.sc-card h3 { margin: 8px 0 10px; font-size: 22px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; }
.sc-card-copy > p { margin: 0; color: var(--sc-muted); font-size: 12px; line-height: 1.9; }
.sc-output-badge { display: block; margin-top: 12px; font-size: 10px; line-height: 1.8; color: #798068; }
.sc-preview { height: 228px; margin: 20px 0; overflow: hidden; border: 1px solid #e6dfcd; border-radius: 7px; background: #f4f0e5; }
.sc-preview-image { display: flex; flex-direction: column; }
.sc-preview-image img { display: block; width: 100%; min-height: 0; flex: 1 1 auto; object-fit: contain; background: #eee8d9; }
.sc-card[data-sc-case="daily-action-card"] .sc-preview-image img { object-fit: cover; object-position: center top; }
.sc-preview-image > span { display: block; flex: 0 0 auto; padding: 8px 10px; overflow: hidden; color: #7b745f; font-size: 10px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.sc-preview-text { padding: 18px; }
.sc-preview-text > span { display: block; margin: 0 0 11px; color: #637356; font-size: 10px; font-weight: 650; }
.sc-preview-text > p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-line-clamp: 7; -webkit-box-orient: vertical; white-space: pre-wrap; font-size: 12px; line-height: 1.85; color: #635f50; }
.sc-details { margin-top: auto; border-top: 1px solid #e5dcc9; }
.sc-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 56px; padding: 12px 0; cursor: pointer; color: var(--sc-green); font-size: 12px; font-weight: 650; list-style: none; }
.sc-details > summary::-webkit-details-marker { display: none; }
.sc-toggle { flex: 0 0 auto; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #cbd2bf; border-radius: 50%; font-size: 15px; line-height: 1; font-weight: 400; transition: transform .15s ease; }
.sc-details[open] .sc-toggle { transform: rotate(45deg); }
.sc-card:has(.sc-details[open]) .sc-card-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 35px; align-items: center; margin: 0 0 22px; }
.sc-card:has(.sc-details[open]) .sc-preview { margin: 0; height: 220px; }
.sc-card:has(.sc-details[open]) h3 { font-size: clamp(23px, 2.4vw, 31px); }
.sc-detail-body { padding: 2px 0 26px; }
.sc-detail-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 12px 0 19px; border-bottom: 1px solid #e5dcc9; }
.sc-detail-heading p { margin: 0; color: #8b806b; font-size: 11px; line-height: 1.8; }
.sc-permalink { display: inline-flex; align-items: center; gap: 15px; min-height: 35px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; color: var(--sc-green) !important; }
.sc-input-process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.sc-detail-section { min-width: 0; padding: 23px 0 0; }
.sc-detail-section h4, .sc-limits h4 { margin: 0 0 13px; font-size: 15px; font-weight: 650; line-height: 1.65; }
.sc-detail-section p, .sc-detail-section li, .sc-limits li { color: #6a6858; font-size: 12px; line-height: 1.9; }
.sc-detail-section p { margin: 0; }
.sc-detail-section ol, .sc-limits ul { margin: 0; padding-left: 19px; }
.sc-detail-section li, .sc-limits li { padding-left: 3px; margin-bottom: 7px; }
.sc-preserve { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.sc-outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.sc-outputs > section { min-width: 0; padding: 19px; border: 1px solid #e3dbc8; border-radius: 8px; background: #f6f1e5; }
.sc-outputs > section:only-child { grid-column: 1 / -1; }
.sc-outputs h5 { margin: 0 0 12px; color: #56664e; font-size: 12px; font-weight: 650; line-height: 1.7; }
.sc-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sc-images figure { margin: 0; min-width: 0; }
.sc-images figure:only-child { max-width: 640px; grid-column: 1 / -1; }
.sc-images figure > a { display: block; overflow: hidden; border: 1px solid #ddd4c0; border-radius: 7px; background: #f0ebdf; }
.sc-images img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.sc-images figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 17px; padding: 9px 0 0; font-size: 11px; color: #847960; line-height: 1.8; }
.sc-images figcaption a { color: var(--sc-green); text-decoration: underline; text-underline-offset: 4px; }
.sc-file-links, .sc-skill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-file-links a, .sc-skill-links a { display: inline-flex; max-width: 100%; min-height: 43px; align-items: center; gap: 14px; padding: 10px 13px; border: 1px solid #d1d7c3; border-radius: 6px; color: var(--sc-green); font-size: 11px; line-height: 1.7; }
.sc-file-links a { background: #f1f2e8; }
.sc-extension-label { margin-top: 15px !important; color: #877e69 !important; font-size: 11px !important; }
.sc-extension-list { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 5px 0 0; padding: 0; list-style: none; }
.sc-extension-list li { padding: 0; margin: 0; font-size: 11px; }
.sc-limits { margin: 26px 0 0; padding: 18px 20px; border-left: 3px solid #b4bba3; border-radius: 0 7px 7px 0; background: #eff1e6; }
.sc-limits h4 { font-size: 13px; }
.sc-limits li:last-child { margin-bottom: 0; }
.sc-prompt { margin: 24px 0 0; padding: 21px; border: 1px solid #ccd5c0; border-radius: 9px; background: #edf0e3; }
.sc-prompt label { display: block; font-size: 15px; font-weight: 650; line-height: 1.7; }
.sc-prompt > p { margin: 6px 0 13px; color: #758068; font-size: 11px; line-height: 1.8; }
.sc-prompt textarea { display: block; width: 100%; max-width: 100%; min-height: 120px; padding: 13px; border: 1px solid #bcc8ae; border-radius: 6px; background: #fffdf5; color: #4d5647; font-size: 12px; line-height: 1.9; resize: vertical; overflow-wrap: anywhere; }
.sc-copy-row { display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; margin-top: 13px; }
.sc-copy-row button { min-height: 44px; flex-shrink: 0; padding: 10px 17px; border: 1px solid var(--sc-green); border-radius: 6px; background: var(--sc-green); color: #fffaf1; font-size: 12px; line-height: 1.6; cursor: pointer; }
.sc-copy-row button:disabled { cursor: wait; opacity: .65; }
.sc-copy-status { color: #5c6d4f; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.sc-empty { padding: 30px 20px; border: 1px dashed #c2c7b2; border-radius: 9px; text-align: center; background: #f1efe1; }
.sc-empty p { margin: 0 0 12px; color: var(--sc-muted); font-size: 13px; }
.sc-empty button { background: var(--sc-green); color: #fffaf1; }
.sc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sc-project-archive { width: min(1232px, calc(100% - 48px)); min-width: 0; margin: 0 auto 45px; border: 1px solid #d9d0be; border-radius: 10px; background: #fffaf1; }
.sc-project-archive > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 23px; list-style: none; color: #3e5949; font-size: 14px; font-weight: 650; line-height: 1.7; cursor: pointer; }
.sc-project-archive > summary::-webkit-details-marker { display: none; }
.sc-project-archive > summary::after { content: '＋'; flex-shrink: 0; font-size: 20px; line-height: 1; font-weight: 400; }
.sc-project-archive[open] > summary { border-bottom: 1px solid #d9d0be; }
.sc-project-archive[open] > summary::after { content: '−'; }
.sc-project-archive > summary:focus-visible { outline: 3px solid #456957; outline-offset: 4px; border-radius: 8px; }
.sc-project-archive > section { max-width: 100%; }
.personal-home .ph-learning-step .ph-scenes > a { width: auto; height: auto; min-height: 36px; max-width: 100%; }
@media (hover: hover) { .sc-filters button:hover:not([aria-pressed="true"]) { background: #ebe9db; }.sc-file-links a:hover, .sc-skill-links a:hover { border-color: #99ac88; background: #e8eddd; }.sc-details > summary:hover { color: #243d2b; } }
@media (max-width: 1000px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.sc-header { align-items: flex-start; flex-direction: column; gap: 15px; }.sc-catalog-link { padding-top: 0; }.sc-shell { padding-top: 38px; } }
@media (max-width: 620px) { .sc-shell { width: calc(100% - 32px); padding: 31px 0 35px; }.sc-header .sc-title { font-size: 29px; }.sc-lead { font-size: 13px; }.sc-meta { gap: 6px 18px; margin-top: 19px; }.sc-toolbar { gap: 14px; padding: 17px 0; }.sc-filters { gap: 5px; }.sc-filters button { padding: 10px 13px; font-size: 12px; }.sc-count { width: 100%; }.sc-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }.sc-card { padding: 19px 17px 0; }.sc-card h3 { font-size: 22px; }.sc-preview { height: 228px; }.sc-card:has(.sc-details[open]) .sc-card-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }.sc-card:has(.sc-details[open]) .sc-preview { height: 215px; }.sc-card:has(.sc-details[open]) h3 { font-size: 23px; }.sc-input-process, .sc-outputs, .sc-images { grid-template-columns: minmax(0, 1fr); gap: 14px; }.sc-input-process { gap: 0; }.sc-detail-section { padding-top: 21px; }.sc-outputs > section { padding: 16px; }.sc-limits { padding: 16px; }.sc-prompt { padding: 16px; }.sc-prompt textarea { font-size: 16px; line-height: 1.75; }.sc-file-links a, .sc-skill-links a { font-size: 12px; }.sc-copy-row { align-items: flex-start; flex-direction: column; }.sc-project-archive { width: calc(100% - 32px); margin-bottom: 32px; }.sc-project-archive > summary { min-height: 60px; padding: 16px 18px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .sc-toggle { transition: none; }.sc-section, .sc-section * { scroll-behavior: auto; } }
