/* Wizzdy wears the Linkado portal's dress (design study 02): light surfaces, one system font,
   bands between blocks and the slant of the wordmark as the recurring detail. */

:root {
  --white: #fff; --canvas: #fbf9f4; --paper: #eee6da; --paper-deep: #e5dacb;
  --cool: #dfe9ed; --cool-deep: #3a6379; --warm: #f6e2cb; --header: #f7f2e9; --intro: #f5eddf;
  --brand-tint: #e8cfaa; --ink: #1c2430; --muted: #505c67; --quiet: #58616c;
  --brand: #e08014; --action-ink: #943d05; --line: #cdd6da; --line-warm: #d2c5b3;
  --good: #246447; --bad: #a33a2b; --warm-soft: #fff8ed; --warm-line: #dfc5a7;
  --surface-soft: #f3f0e8; --radius: 7px; --content: 1180px;
  font-family: system-ui, sans-serif; color: var(--ink); background: var(--canvas);
  font-synthesis: none; color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.6; background: var(--canvas); }
main { flex: 1 0 auto; width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; font-weight: 750; }
h2 { font-size: 22px; line-height: 1.35; font-weight: 750; }
h3 { font-size: 17px; line-height: 1.45; font-weight: 750; }
a { color: var(--action-ink); text-underline-offset: 3px; }
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: var(--radius); }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid var(--cool-deep); outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.slant { display: inline-block; background: var(--brand); width: 9px; height: 15px; clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%); flex: none; }
.skip { position: fixed; top: -100px; left: 20px; background: var(--ink); color: #fff; padding: 12px; z-index: 30; }
.skip:focus { top: 12px; }
.loading { padding: 60px 0; color: var(--muted); }

/* Header */
.header { background: var(--header); }
.header-main { min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); flex: none; }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.brand-label { font-size: 13px; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line); }
.header-search { margin-left: auto; width: min(380px, 42%); position: relative; display: flex; }
.header-search input { width: 100%; height: 44px; padding: 0 46px 0 14px; border: 1px solid var(--line-warm); background: var(--canvas); }
.header-search button { position: absolute; right: 1px; top: 1px; width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; color: var(--action-ink); }
.big-search { margin: 0; width: min(560px, 100%); flex: none; }
.big-search input { height: 50px; font-size: 16px; background: var(--white); }
.big-search button { height: 48px; }
.page-intro .big-search { margin-top: 0; }
.suggestions { position: absolute; top: 48px; left: 0; right: 0; background: var(--white); border: 1px solid var(--line-warm); border-radius: var(--radius); box-shadow: 0 8px 24px #1c243018; z-index: 20; padding: 6px 0; }
.suggestions a { display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; text-decoration: none; color: var(--ink); }
.suggestions a small { color: var(--muted); }
.suggestions a[aria-selected="true"], .suggestions a:hover { background: var(--warm-soft); }
.account { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.account small { display: block; color: var(--quiet); font-size: 11px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cool); color: var(--cool-deep); font-size: 12px; font-weight: 750; }
.link-button { border: 0; background: none; padding: 4px 0; color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; }
.nav-line { border-bottom: 1px solid var(--line-warm); }
.main-nav { display: flex; gap: 30px; }
.main-nav a { min-height: 46px; display: flex; align-items: center; text-decoration: none; color: var(--muted); font-size: 14px; position: relative; padding-bottom: 10px; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 750; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--brand); clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.status { position: sticky; top: 0; z-index: 25; padding: 11px 24px; background: var(--cool); color: var(--cool-deep); font-size: 14px; text-align: center; }
.status.error { background: #f6ddd8; color: var(--bad); }
.status.good { background: #dcebe2; color: var(--good); }

/* Page intro band with the slant */
.intro-band { background: var(--intro); overflow: clip; }
.page-intro { padding: 30px 0; position: relative; isolation: isolate; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.page-intro::after { content: ""; position: absolute; z-index: -1; width: 82px; height: 340px; right: 8%; top: -70px; background: var(--brand-tint); opacity: .45; transform: skewX(-19deg); }
.page-intro .subtitle { margin-top: 8px; color: var(--muted); max-width: 64ch; }
.section { padding: 32px 0; }
.section + .section { border-top: 1px solid var(--line-warm); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

/* Buttons and fields */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-warm); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14px; }
.button.primary { background: var(--brand); border-color: var(--brand); color: #1c1305; }
.button.primary:hover { background: #ca7010; }
.button.quiet { border-color: transparent; background: transparent; color: var(--action-ink); }
.button.danger { color: var(--bad); }
.button.small { min-height: 34px; padding: 4px 11px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
label { display: block; font-size: 13px; font-weight: 650; margin: 16px 0 6px; }
input[type=text], input[type=search], input[type=date], input[type=url], select, textarea { width: 100%; border: 1px solid #cbc3b6; background: var(--white); padding: 9px 11px; line-height: 1.45; }
textarea { resize: vertical; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
fieldset { border: 0; border-top: 1px solid var(--line-warm); margin: 26px 0 0; padding: 14px 0 0; min-width: 0; }
legend { font-weight: 750; font-size: 17px; padding-right: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }

/* Lists of articles and apps: lines, not cards */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--line-warm); }
.list > li > a, .list > li > .row { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.list > li > a:hover .title { color: var(--action-ink); text-decoration: underline; text-underline-offset: 3px; }
.title { font-weight: 700; display: block; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 3px; }
.excerpt { color: var(--muted); font-size: 14.5px; margin-top: 4px; display: block; }
mark { background: var(--warm); color: inherit; padding: 0 2px; border-radius: 3px; }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 1px 8px; border-radius: 99px; background: var(--cool); color: var(--cool-deep); }
.tag.warm { background: var(--warm); color: var(--action-ink); }
.tag.good { background: #dcebe2; color: var(--good); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; }
.apps-grid a { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-warm); text-decoration: none; color: var(--ink); }
.app-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; font-weight: 800; color: var(--action-ink); flex: none; overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.two-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
.empty { padding: 26px 0; color: var(--muted); }
.correction { margin-bottom: 14px; }

/* Article */
.article { max-width: 780px; padding: 30px 0 50px; }
.article h2 { margin: 30px 0 10px; font-size: 20px; }
.article .summary { font-size: 18px; color: var(--muted); margin-top: 8px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote, .prose pre, .prose details { margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line-warm); padding: 7px 8px; text-align: left; vertical-align: top; }
.prose th[align=right], .prose td[align=right] { text-align: right; }
.prose th[align=center], .prose td[align=center] { text-align: center; }
.prose blockquote { border-left: 4px solid var(--line); padding: 8px 14px; margin-left: 0; background: var(--surface-soft); }
.prose blockquote.hinweis-info { border-color: var(--cool-deep); background: #eef4f6; }
.prose blockquote.hinweis-warnung { border-color: var(--brand); background: var(--warm-soft); }
.prose code, .prose kbd { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; }
.prose code { background: var(--surface-soft); padding: 1px 5px; border-radius: 4px; }
.prose pre { background: var(--surface-soft); padding: 12px; overflow-x: auto; border-radius: var(--radius); }
.prose pre code { background: none; padding: 0; }
.prose kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--white); }
.prose details { border: 1px solid var(--line-warm); border-radius: var(--radius); padding: 8px 12px; }
.prose summary { cursor: pointer; font-weight: 650; }
.prose img { border: 1px solid var(--line-warm); border-radius: var(--radius); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { position: relative; padding: 4px 0 18px 48px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--action-ink); display: grid; place-items: center; font-weight: 800; }
figure { margin: 10px 0 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 5px; }
.transcript { margin-top: 8px; font-size: 14px; }
.version-note { border-left: 4px solid var(--brand); background: var(--warm-soft); padding: 10px 14px; margin: 18px 0; font-size: 14.5px; }
.feedback { margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line-warm); border-bottom: 1px solid var(--line-warm); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.references { padding-left: 20px; }

/* App page */
.profile-page { max-width: 1040px; padding: 24px 0 40px; }
.profile-page > h2, .profile-page section > h2 { margin: 0 0 18px; }
.profile-page .highlights { margin: 0 0 30px; gap: 12px; }
.profile-page .highlights li { padding: 14px; background: var(--warm-soft); border-radius: var(--radius); font-size: 14px; align-items: center; }
.profile-guides { margin: 22px 0 36px; }
.guide-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.guide-grid > li { min-width: 0; }
.guide-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line-warm); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; }
.guide-card:hover { border-color: var(--action-ink); }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.guide-preview, .guide-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--surface-soft); border-bottom: 1px solid var(--line-warm); }
.guide-placeholder { display: grid; place-items: center; background: var(--warm-soft); color: var(--action-ink); }
.guide-placeholder svg { width: 48px; height: 48px; }
.guide-card-body { padding: 16px 18px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; }
.guide-card h3 { text-wrap: pretty; }
.guide-card .meta { margin: 0; }
.guide-video { color: var(--action-ink); font-weight: 650; }
.guide-open { padding-top: 6px; margin-top: auto; color: var(--action-ink); font-size: 14px; font-weight: 700; }
.profile-information, .profile-questions { max-width: 780px; margin-top: 32px; }
.profile-detail { border-bottom: 1px solid var(--line-warm); }
.profile-detail > summary { padding: 14px 0; cursor: pointer; font-weight: 650; }
.profile-detail-body { padding: 0 0 18px; }
.profile-detail-body h3 { margin: 18px 0 8px; }
.profile-detail-body > ul { margin: 0; padding-left: 22px; }
.profile-detail-body li { margin: 6px 0; }
.editor-preview .profile-page { width: 100%; }

.profile-cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); margin-top: 22px; }
.highlights { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 26px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.highlights svg { color: var(--brand); width: 24px; height: 24px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 12px 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line-warm); }
.faq details { border-bottom: 1px solid var(--line-warm); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.profile-sources { margin-top: 32px; border-top: 1px solid var(--line-warm); padding-top: 16px; font-size: 14px; }
.profile-sources summary { cursor: pointer; font-weight: 650; }
.profile-sources p { margin: 12px 0 0; }

/* Editorial workspace */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.tabs a { padding: 7px 13px; border-radius: 99px; text-decoration: none; color: var(--muted); font-size: 14px; border: 1px solid transparent; }
.tabs a[aria-current="page"] { border-color: var(--line-warm); background: var(--white); color: var(--ink); font-weight: 700; }
.editor { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; padding-bottom: 60px; }
.editor-preview { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border: 1px solid var(--line-warm); border-radius: var(--radius); padding: 6px 22px 22px; }
.editor-preview .article { padding: 10px 0; }
.preview-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 12px; }
.md-toolbar { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 4px; }
.md-toolbar button { border: 1px solid var(--line-warm); background: var(--white); min-width: 32px; height: 30px; font-size: 13px; padding: 0 8px; }
.step-editor { border-left: 3px solid var(--paper-deep); padding: 4px 0 4px 14px; margin: 12px 0; }
.step-editor.drop, .dropzone.drop { outline: 3px dashed var(--brand); outline-offset: 4px; }
.step-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.media-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: 13px; }
.media-thumb { width: 64px; height: 42px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line-warm); }
.checklist { list-style: none; padding: 0; margin: 12px 0; font-size: 14px; }
.checklist li { padding: 3px 0 3px 26px; position: relative; }
.checklist li::before { content: "○"; position: absolute; left: 4px; color: var(--muted); }
.checklist li.ok::before { content: "✓"; color: var(--good); font-weight: 800; }
.editor-actions { position: sticky; bottom: 0; background: var(--canvas); border-top: 1px solid var(--line-warm); padding: 12px 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dropzone { border: 2px dashed var(--line-warm); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); margin: 12px 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.media-grid figure { margin: 0; }
.media-grid img, .media-grid .video-tile { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-warm); background: var(--paper); display: grid; place-items: center; }
.numbers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 26px; margin: 12px 0 24px; }
.numbers div { border-bottom: 1px solid var(--line-warm); padding: 8px 0; }
.numbers strong { display: block; font-size: 28px; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; border-bottom: 1px solid var(--line-warm); padding: 7px 6px; }
.table td.number, .table th.number { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--brand); border-radius: 4px; min-width: 2px; }

/* Pages without the application */
.plain-page main { padding: 50px 0; }
.notice-page { max-width: 640px; }
.notice-text { margin-top: 14px; font-size: 17px; color: var(--muted); }
.notice-actions { margin-top: 24px; }
.footer { border-top: 1px solid var(--line-warm); padding: 22px 0; font-size: 13px; color: var(--muted); margin-top: 40px; }

@media (max-width: 860px) {
  .header-main { flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .brand-label { display: none; }
  .header-search { order: 3; width: 100%; }
  .two-columns, .editor, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .editor-preview { position: static; max-height: none; }
}
/* Language of a profile (U-E91): two buttons in the intro, the chosen one filled. */
.language-switch { display: flex; gap: 6px; flex-shrink: 0; }
.language-switch .button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #1c1305; }

/* Search filters and editorial review keep their controls usable on narrow screens. */
.search-filters, .review-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin-bottom: 22px; }
.search-filters > .actions { grid-column: 1 / -1; margin-top: 14px; }
.result-count { margin: 18px 0 8px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.review-summary { margin-top: 16px; font-weight: 650; }
.review-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.review-version { padding: 18px 0; min-width: 0; }
.review-version h3 { font-size: 15px; margin-bottom: 8px; }
.review-version .small { margin: 8px 0; }
.review-reasons { padding-left: 20px; margin: 10px 0; color: var(--action-ink); }
.review-policy { border-top: 1px solid var(--line-warm); margin: 28px 0; padding-top: 18px; }
.review-policy > summary { font-weight: 750; cursor: pointer; }
.review-policy > form { max-width: 800px; margin-top: 14px; }
.policy-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 660px) {
  .search-filters, .review-filters, .review-versions { grid-template-columns: minmax(0, 1fr); }
  .review-versions { gap: 0; }
  .policy-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line-warm); }
  .policy-row > button { justify-self: start; margin-top: 8px; }
}

/* Guided instructions keep the screenshot and its annotation together at every size. */
.article-context { margin: 14px 0; border-bottom: 1px solid var(--line-warm); padding: 10px 0; }
.article-context summary { cursor: pointer; font-weight: 650; }
.article-context ul { padding-left: 22px; }
.guide-toolbar, .guide-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.guide-progress { font-weight: 750; color: var(--action-ink); }
.guide-navigation select { max-width: 100%; flex: 1; min-width: 140px; padding: 9px; }
.guide-steps > li { scroll-margin-top: 20px; }
.guide-steps h3 { margin: 0 0 10px; }
.guide-steps.one-step > li { padding-left: 0; }
.guide-steps.one-step > li::before { display: none; }
.instruction-image { position: relative; display: block; line-height: 0; width: 100%; }
.instruction-image > img { display: block; width: 100%; height: auto; }
.image-focus { position: absolute; border: 3px solid var(--brand); box-shadow: 0 0 0 2px #18212b, inset 0 0 0 1px #fff; border-radius: 5px; pointer-events: none; }
.image-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line-warm); background: var(--white); text-align: left; overflow: hidden; }
.zoom-label { display: block; padding: 8px 12px; font-size: 13px; color: var(--action-ink); }
.image-dialog { width: min(1400px, 96vw); max-width: 96vw; max-height: 94vh; border: 1px solid var(--line-warm); border-radius: 10px; padding: 16px; }
.image-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.image-dialog > button { display: block; margin: 0 0 12px auto; }
.image-dialog p { margin: 12px 0 0; }
.guide-success { border-left: 4px solid var(--good); padding: 8px 18px; margin: 26px 0; background: #f0f7f2; }
.article .guide-success h2 { margin: 8px 0; }
@media print {
  .guided-step[hidden], .guide-success[hidden] { display: block !important; }
  .guide-toolbar, .guide-navigation, .zoom-label, .image-dialog { display: none !important; }
}

.task-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.task-card { display:flex; flex-direction:column; gap:.75rem; padding:1.4rem; border:1px solid var(--line); border-radius:1rem; background:var(--paper); text-decoration:none; }
.task-card:hover { border-color:#e08014; }
.content-plan { display:grid; gap:1rem; margin:1.5rem 0; }
.plan-task { padding:1.5rem; border:1px solid var(--line); border-radius:1rem; }
.plan-task h2 { font-size:1.2rem; }
.plan-task .actions { margin-top:1rem; }
.plan-task li { margin:.5rem 0; }

.image-scroll { overflow:auto; max-height:72vh; margin-top:1rem; }
.image-scroll.zoomed .instruction-image { width:200%; max-width:none; }
.image-dialog > .actions { position:sticky; top:0; background:white; z-index:1; padding-bottom:.5rem; }

/* Editorial attention and direct image annotation. */
.editorial-attention { margin: 2rem 0; }
.attention-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.attention-panel { min-width: 0; padding: 1.25rem; border: 1px solid var(--line-warm); border-radius: 12px; background: var(--white); }
.attention-panel h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 1rem; margin: 0 0 .75rem; }
.attention-list { list-style: none; padding: 0; margin: 1rem 0; }
.attention-list > li { border-top: 1px solid var(--line-warm); padding: .85rem 0; overflow-wrap: anywhere; }
.attention-list a { font-weight: 650; }
.attention-list ul { padding-left: 1.2rem; margin: .5rem 0; }
.attention-list p { margin: .4rem 0; }
.attention-panel > a { display: block; margin-top: .8rem; }
.focus-editor { margin-top: 1rem; }
.focus-editor .actions { flex-wrap: wrap; margin: .75rem 0; }
.focus-canvas { position: relative; display: block; line-height: 0; border: 1px solid var(--line-warm); border-radius: 6px; overflow: hidden; }
.focus-canvas > img { display: block; width: 100%; height: auto; user-select: none; }
.focus-canvas.drawing { cursor: crosshair; touch-action: none; user-select: none; outline: 3px solid var(--brand); outline-offset: 2px; }
.focus-canvas:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.focus-precise { margin: .8rem 0; }
.focus-precise summary { cursor: pointer; font-weight: 650; }
@media (max-width: 1000px) {
  .attention-grid { grid-template-columns: minmax(0, 1fr); }
}

.backup-notice { display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:1rem 0; padding:1rem; border-left:4px solid var(--brand); background:var(--warm-soft); }
.backup-notice span { flex:1 1 26rem; }
.backup-status { margin:2rem 0; padding:1.25rem; border:1px solid var(--line-warm); border-radius:12px; background:var(--white); }
.backup-status p { margin:1rem 0; }
.backup-status dt { font-weight:650; }
.backup-status dd { margin:0 0 1rem; }

/* Guided starts and local editorial quality review. */
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.journey-card { display: grid; gap: .65rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; background: var(--white); }
.journey-card:hover { border-color: var(--brand); }
.journey-card strong { font-size: 1.3rem; }
.journey-icon { color: var(--brand); }
.journey-icon svg { width: 2rem; height: 2rem; }
.problem-heading { margin-top: 2rem; }
.problem-choices, .problem-options { display: flex; flex-wrap: wrap; gap: .8rem; }
.problem-options { flex-direction: column; max-width: 40rem; }
.problem-panel p { max-width: 46rem; }
.problem-panel nav { margin-top: 2rem; }
.journey-steps { list-style: none; padding: 0; }
.journey-steps li { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.journey-steps h2 { margin-top: 0; }
.journey-number { flex: 0 0 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #171717; font-weight: 700; }
.journey-next { margin-top: 2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 12px; }
.journey-next .actions { margin-top: 1rem; }
.quality-item { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.quality-item h2 { font-size: 1.15rem; margin: .4rem 0; }
.quality-item code { overflow-wrap: anywhere; }
@media (max-width: 650px) { .journey-grid { grid-template-columns: 1fr; } .journey-steps li { gap: .8rem; } }


/* Editorial maintenance tools keep long comparison values within the page. */
.transfer-selection { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .7rem; margin-block: 1rem; }
.transfer-choice { display: flex; align-items: start; gap: .5rem; }
.content-diff { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 28rem; overflow: auto; font-size: .8rem; }
.care-preview { max-width: 100%; width: 400px; max-height: 250px; object-fit: contain; object-position: left; }
.media-care .panel, .guidance-form .panel { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line, #b9b9b9); border-radius: .7rem; }
.guidance-form input, .guidance-form textarea, .guidance-form select { max-width: 100%; }
