.manuals-shell { display:grid; gap:18px; }
.manuals-intro { position:relative; display:flex; align-items:center; justify-content:space-between; gap:28px; overflow:hidden; padding:28px 30px; color:#fff; background:#13213a; border-radius:12px; box-shadow:0 15px 30px rgb(18 31 59 / 14%); }
.manuals-intro::after { position:absolute; right:-82px; bottom:-165px; width:310px; height:310px; border:1px solid rgb(255 255 255 / 16%); border-radius:50%; box-shadow:0 0 0 42px rgb(255 255 255 / 5%),0 0 0 84px rgb(255 255 255 / 3%); content:""; }
.manuals-intro > div:first-child { position:relative; z-index:1; max-width:720px; }
.manuals-intro .eyebrow { color:#ff9da5; }
.manuals-intro h2 { margin:7px 0; font-size:29px; letter-spacing:0; }
.manuals-intro p { margin:0; color:#d1d9ea; font-size:13px; line-height:1.7; }
.manuals-intro-mark { position:relative; z-index:1; display:grid; width:72px; height:72px; flex:0 0 auto; place-items:center; border:1px solid rgb(255 255 255 / 18%); border-radius:10px; background:rgb(255 255 255 / 8%); font-size:37px; }
.manuals-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.manuals-summary > div { display:flex; align-items:baseline; gap:9px; padding:16px 18px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.manuals-summary strong { color:var(--ink); font-size:25px; letter-spacing:0; }
.manuals-summary span { color:var(--muted); font-size:12px; }
.manuals-card { overflow:visible; }
.manual-list { display:grid; gap:9px; padding:0 18px 18px; }
.manual-row { display:grid; grid-template-columns:42px minmax(145px,1fr) minmax(250px,.8fr) auto; align-items:center; gap:14px; padding:13px; border:1px solid var(--line); border-radius:10px; transition:.18s ease; }
.manual-row:hover { border-color:#cbd5ed; background:#fcfdff; }
.manual-row-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:9px; color:var(--brand); background:#fff0f1; font-size:20px; }
.manual-row-main { display:grid; min-width:0; gap:4px; }
.manual-row-main strong { overflow:hidden; color:var(--ink); font-size:14px; white-space:nowrap; text-overflow:ellipsis; }
.manual-row-link { display:inline-flex; width:max-content; max-width:100%; min-height:32px; align-items:center; gap:7px; border-radius:7px; color:var(--ink); cursor:pointer; text-decoration:none; touch-action:manipulation; transition:color .18s ease,background .18s ease,box-shadow .18s ease; }
.manual-row-link strong { min-width:0; }
.manual-row-link svg { width:14px; height:14px; flex:0 0 14px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; color:#8997ad; transition:color .18s ease,transform .18s ease; }
.manual-row-link:hover { color:#c24f22; }
.manual-row-link:hover strong { color:inherit; }
.manual-row-link:hover svg { color:#d55d2a; transform:translate(2px,-2px); }
.manual-row-link:focus-visible { outline:0; box-shadow:0 0 0 3px rgb(213 93 42 / 18%); }
.manual-row-main span { overflow:hidden; color:var(--muted); font-size:11px; white-space:nowrap; text-overflow:ellipsis; }
.manual-tags { display:flex; flex-wrap:wrap; gap:5px; }
.manual-tag { padding:4px 7px; border-radius:999px; color:#8290a8; background:#f1f4f8; font-size:10px; font-weight:750; white-space:nowrap; }
.manual-tag.ready { color:#087457; background:#e5f8f1; }
.manual-editor-modal { width:min(100%,1280px)!important; }
.manual-editor-head { align-items:center; }
.manual-editor-head-actions { display:flex; align-items:center; gap:10px; }
.manual-editor { padding:0; }
.manual-editor-layout { display:grid; grid-template-columns:205px minmax(0,1fr); }
.manual-editor-nav { position:sticky; top:75px; display:grid; align-content:start; gap:4px; min-height:100%; padding:22px 13px; border-right:1px solid var(--line); background:#f7f9fd; }
.manual-editor-nav > span { padding:0 9px 8px; color:#9ba7bc; font-size:9px; font-weight:850; letter-spacing:.15em; }
.manual-editor-nav__links { display:grid; gap:4px; }
.manual-editor-nav a { padding:9px; border-radius:8px; color:#66758f; font-size:12px; font-weight:750; text-decoration:none; }
.manual-editor-nav a:hover { color:#25344e; background:#eef2f8; }
.manual-editor-nav__danger { display:grid; gap:6px; margin-top:22px; padding:17px 8px 0; border-top:1px solid #dce3ed; }
.manual-editor-nav__delete { width:100%; min-height:44px; border:1px solid #efc3c8; }
.manual-editor-nav__delete svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.manual-editor-nav__danger small { color:#9b6d73; font-size:10px; line-height:1.45; text-align:center; }
.manual-editor-content { min-width:0; }
.manual-editor-section { padding:28px; border-bottom:1px solid var(--line); scroll-margin-top:20px; }
.manual-editor-section:last-child { border-bottom:0; }
.manual-editor-section-head { margin-bottom:18px; }
.manual-editor-section-head > span { display:block; margin-bottom:5px; color:var(--brand); font-size:10px; font-weight:850; letter-spacing:.15em; }
.manual-editor-section-head h3 { margin:0; color:var(--ink); font-size:19px; }
.manual-editor-section-head p { max-width:690px; margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.manual-product-summary { display:flex; align-items:center; gap:12px; min-height:72px; margin-top:4px; padding:11px; border:1px solid #e0e7f2; border-radius:9px; background:#fbfcff; }
.manual-product-summary > div { display:grid; width:50px; height:50px; flex:0 0 auto; overflow:hidden; place-items:center; color:#94a0b8; background:#eef2f7; border-radius:7px; }
.manual-product-summary img { width:100%; height:100%; object-fit:cover; }
.manual-product-summary span { display:grid; min-width:0; gap:3px; }
.manual-product-summary b { overflow:hidden; color:var(--ink); font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
.manual-product-summary small { color:var(--muted); font-size:11px; }
.manual-product-summary .button { margin-left:auto; }
.manual-resource-field { display:grid; gap:12px; padding:14px; border:1px solid #d9e3f1; border-radius:13px; background:linear-gradient(145deg,#f8faff,#fff); }
.manual-resource-empty,.manual-resource-selected { display:flex; min-width:0; align-items:center; gap:12px; padding:13px; border:1px dashed #c8d5e8; border-radius:11px; background:#f3f6fb; }
.manual-resource-selected { border-style:solid; border-color:#c9d9f1; background:linear-gradient(135deg,#eef4ff,#fbfdff); }
.manual-resource-empty > span,.manual-resource-selected > span { display:grid; width:48px; height:48px; flex:0 0 auto; place-items:center; border-radius:12px; color:#5270a8; background:#e2eafa; }
.manual-resource-empty svg,.manual-resource-selected svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.manual-resource-empty > div,.manual-resource-selected > div { display:grid; min-width:0; gap:4px; }
.manual-resource-empty strong,.manual-resource-selected strong { overflow:hidden; color:#2c3b54; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.manual-resource-empty small,.manual-resource-selected small { color:#77849a; font-size:10px; line-height:1.5; }
.manual-resource-selected > i { margin-left:auto; padding:5px 8px; border-radius:999px; color:#2f639f; background:#dfeeff; font-size:9px; font-style:normal; font-weight:850; white-space:nowrap; }
.manual-resource-actions { display:flex; flex-wrap:wrap; gap:8px; }
.manual-resource-actions .button { min-height:40px; justify-content:center; }
.manual-resource-field > small { color:#77849a; font-size:10px; line-height:1.55; }
.manual-bound-product { display:grid; gap:4px; padding:13px; border:1px solid #dfe6f2; border-radius:9px; background:#fbfcff; }
.manual-bound-product span { color:#8794aa; font-size:10px; font-weight:800; letter-spacing:.1em; }
.manual-bound-product strong { color:var(--ink); font-size:14px; }
.manual-bound-product small { color:var(--muted); font-size:11px; }
.manual-editor-section h4 { margin:23px 0 10px; color:var(--ink); font-size:13px; }
.manual-spec-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; border-top:1px solid var(--line); }
.manual-spec-list div { display:grid; grid-template-columns:minmax(90px,.85fr) minmax(90px,1.15fr); gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:12px; }
.manual-spec-list div:nth-child(odd) { margin-right:20px; }
.manual-spec-list dt { color:var(--muted); }
.manual-spec-list dd { margin:0; color:var(--ink); font-weight:700; }
.manual-language-list { display:grid; gap:8px; margin-bottom:12px; }
.manual-language-slots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.manual-language-slot { position:relative; display:grid; grid-template-columns:30px minmax(0,1fr) auto auto; align-items:center; gap:11px; min-height:86px; padding:13px; overflow:hidden; border:1px solid #dfe6f2; border-radius:10px; background:#fbfcff; transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.manual-language-slot:hover { border-color:#b8c8e3; transform:translateY(-1px); }
.manual-language-slot__number { color:#98a6bc; font-size:10px; font-weight:850; font-variant-numeric:tabular-nums; letter-spacing:.08em; }
.manual-language-slot__copy { display:grid; min-width:0; gap:3px; }
.manual-language-slot__copy > strong { overflow:hidden; color:var(--ink); font-size:14px; white-space:nowrap; text-overflow:ellipsis; }
.manual-language-slot__copy > span { color:#7b899f; font-size:10px; }
.manual-language-slot__files { display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; }
.manual-language-slot__files span { padding:3px 5px; border-radius:4px; color:#a0aaba; background:#edf1f7; font-size:9px; font-weight:800; letter-spacing:.04em; }
.manual-language-slot__files .is-ready { color:#087457; background:#e5f8f1; }
.manual-language-slot__status { display:grid; grid-template-columns:7px max-content; align-items:center; gap:6px; color:#8390a4; font-size:10px; font-weight:750; white-space:nowrap; }
.manual-language-slot__status i { display:block; width:7px; height:7px; border-radius:50%; background:#b9c2cf; }
.manual-language-slot__actions { display:grid; gap:6px; justify-items:stretch; }
.manual-language-slot__actions .button { justify-content:center; white-space:nowrap; }
.manual-language-slot--processing .manual-language-slot__status { color:#486ca9; }
.manual-language-slot--processing .manual-language-slot__status i { background:#4b78c4; animation:manual-language-working 1.35s ease-in-out infinite; }
.manual-language-slot--review { border-color:#ecd6a6; background:#fffdf6; }
.manual-language-slot--review .manual-language-slot__status { color:#9b6a16; }
.manual-language-slot--review .manual-language-slot__status i { background:#d59a2d; }
.manual-language-slot--failed { border-color:#efc2c5; background:#fff9f9; }
.manual-language-slot--failed .manual-language-slot__status { color:#b2434d; }
.manual-language-slot--failed .manual-language-slot__status i { background:#cc4f5a; }
.manual-language-slot--approved { border-color:#94d9b1; background:#f2fcf6; box-shadow:0 9px 22px rgb(14 121 80 / 12%); animation:manual-language-approved 2.8s ease-in-out infinite; }
.manual-language-slot--approved::after { position:absolute; top:0; right:0; left:0; height:3px; background:#16a56e; content:""; }
.manual-language-slot--approved .manual-language-slot__number { color:#14835b; }
.manual-language-slot--approved .manual-language-slot__status { color:#087457; }
.manual-language-slot--approved .manual-language-slot__status i { display:grid; place-items:center; width:17px; height:17px; color:#fff; background:#15a56e; font-size:11px; }
.manual-language-slot--approved .manual-language-slot__status i::before { content:"✓"; }
.manual-language-extras { display:grid; gap:8px; margin:16px 0 12px; padding-top:15px; border-top:1px solid var(--line); }
.manual-language-extras > span { color:#8794aa; font-size:10px; font-weight:850; letter-spacing:.12em; }
@keyframes manual-language-working { 50% { opacity:.38; transform:scale(.72); } }
@keyframes manual-language-approved { 50% { box-shadow:0 12px 28px rgb(14 121 80 / 20%); } }
.manual-language-row { display:grid; grid-template-columns:minmax(130px,.8fr) minmax(220px,1fr) auto; gap:12px; align-items:center; padding:12px; border:1px solid #dfe6f2; border-radius:9px; background:#fbfcff; }
.manual-language-row > div:first-child { display:grid; gap:4px; min-width:0; }
.manual-language-row strong { overflow:hidden; color:var(--ink); font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
.manual-language-row span { color:var(--muted); font-size:11px; }
.manual-language-files { display:flex; flex-wrap:wrap; gap:5px; }
.manual-language-files a { padding:4px 6px; border-radius:5px; color:#62708a; background:#edf1f7; font-size:10px; text-decoration:none; }
.manual-language-files a:not([href]) { color:#b0b9c7; }
.manual-language-actions { display:flex; gap:6px; justify-content:flex-end; }
.manual-faq-list { display:grid; gap:8px; margin-bottom:12px; }
.manual-faq-list article { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px; border:1px solid #dfe6f2; border-radius:9px; background:#fbfcff; }
.manual-faq-list article > div { display:grid; gap:4px; min-width:0; }
.manual-faq-list strong { color:var(--ink); font-size:13px; }
.manual-faq-list span { overflow:hidden; color:var(--muted); font-size:11px; white-space:nowrap; text-overflow:ellipsis; }
.manual-muted { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.manual-callout { margin:0; padding:12px; border-left:3px solid var(--brand); color:#53617a; background:#f1f5fb; font-size:12px; line-height:1.6; }
.manual-language-timing { margin:12px 0 0; padding:10px 12px; border:1px solid #cde8da; border-radius:7px; color:#087457; background:#f1fbf6; font-size:12px; line-height:1.55; }
.manual-language-timing--error { border-color:#efc2c5; color:#a73743; background:#fff7f7; }
.manual-language-submit-status { margin:12px 0 0; padding:11px 12px; border:1px solid #bdd5f5; border-radius:7px; color:#245caa; background:#f2f7ff; font-size:12px; font-weight:700; line-height:1.55; }
.manual-language-submit-status.is-error { border-color:#efc2c5; color:#a73743; background:#fff7f7; }
.manual-save-note { color:var(--muted); font-size:11px; }
.manual-delete-modal { width:min(100%,570px); }
.manual-delete-target { display:grid; grid-template-columns:46px minmax(0,1fr); align-items:center; gap:12px; margin-bottom:16px; }
.manual-delete-target > span { display:grid; width:46px; height:46px; place-items:center; border-radius:12px; color:#a82f40; background:#ffecee; }
.manual-delete-target svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.manual-delete-target > div { display:grid; min-width:0; gap:3px; }
.manual-delete-target strong,.manual-delete-target small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.manual-delete-target strong { color:var(--ink); font-size:14px; }
.manual-delete-target small { color:var(--muted); font-size:11px; }
.manual-delete-warning { margin-bottom:16px; padding:15px 17px; border:1px solid #f1c6ca; border-radius:11px; color:#7d3841; background:#fff7f7; }
.manual-delete-warning strong { color:#a32737; }
.manual-delete-warning ul { display:grid; gap:6px; margin:9px 0 0; padding-left:19px; font-size:12px; line-height:1.5; }
.manual-delete-error { margin-top:14px; padding:11px 13px; border:1px solid #f1c0c5; border-radius:9px; color:#a72838; background:#fff3f4; font-size:12px; font-weight:700; line-height:1.5; }
.manual-delete-error[hidden] { display:none; }
.manual-delete-modal .modal-foot .button.danger { min-height:44px; padding-inline:17px; color:#fff; background:#b92c3d; }
.manual-delete-modal .modal-foot .button.danger:hover { background:#9f2031; }

.subtitle-style-modal { width:min(100%,620px); }
.subtitle-style-list { display:grid; gap:8px; margin-bottom:14px; }
.subtitle-style-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px; border:1px solid #dfe6f2; border-radius:9px; background:#fbfcff; }
.subtitle-style-row__preview { display:grid; flex:0 0 auto; place-items:center; width:150px; min-height:44px; padding:6px; border-radius:7px; background:#1c2634 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='8' height='8' fill='%23283041'/%3E%3Crect x='8' y='8' width='8' height='8' fill='%23283041'/%3E%3C/svg%3E"); }
.subtitle-style-row__main { display:grid; min-width:0; flex:1 1 auto; gap:3px; }
.subtitle-style-row__main strong { overflow:hidden; color:var(--ink); font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
.subtitle-style-row__main span { color:var(--muted); font-size:11px; }
.subtitle-style-row__actions { display:flex; flex:0 0 auto; gap:6px; }
.subtitle-style-add { width:100%; justify-content:center; }
.subtitle-style-swatch { display:inline-block; padding:5px 10px; line-height:1.3; white-space:nowrap; }
.subtitle-style-preview-block { display:grid; gap:8px; margin-top:6px; padding:16px; border:1px solid var(--line); border-radius:10px; background:#0f1622; }
.subtitle-style-preview-block > span { color:#8794aa; font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.subtitle-style-preview-stage { display:grid; place-items:center; min-height:64px; }
.subtitle-style-shadow-toggle { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--ink); }
.subtitle-style-shadow-toggle input { width:auto; }


@media (min-width:1025px) {
  .manuals-shell { gap:22px; }
  .manuals-intro { min-height:188px; padding:34px 38px; border-radius:17px; background:linear-gradient(118deg,#122942,#1e4666 68%,#d55d2a); box-shadow:0 20px 42px rgb(19 45 71 / 15%); }
  .manuals-intro::before { position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,22,40,.28),transparent); content:""; }
  .manuals-intro > div:first-child,.manuals-intro-mark { z-index:1; }
  .manuals-intro h2 { font-size:34px; letter-spacing:-.04em; }
  .manuals-intro p { max-width:650px; color:#e2ebf3; font-size:14px; }
  .manuals-intro-mark { width:82px; height:82px; border-radius:15px; background:rgb(255 255 255 / 12%); }
  .manuals-summary { gap:16px; }
  .manuals-summary > div { min-height:92px; padding:20px; border-radius:14px; box-shadow:0 10px 21px rgb(22 45 70 / 4%); }
  .manuals-summary strong { font-size:30px; }
  .manual-list { gap:11px; padding:0 21px 22px; }
  .manual-row { min-height:74px; padding:15px; border-radius:12px; background:#fff; }
  .manual-row:hover { border-color:#edb18d; box-shadow:0 10px 20px rgb(25 46 70 / 6%); transform:translateY(-1px); }
  .manual-row-icon { width:46px; height:46px; border-radius:12px; color:#d55d2a; background:#fff2eb; }
  .manual-editor-modal { width:min(100%,1360px)!important; }
  .manual-editor-layout { grid-template-columns:230px minmax(0,1fr); }
  .manual-editor-nav { top:69px; padding:26px 15px; background:#f4f7fa; }
  .manual-editor-nav a { padding:11px 10px; border-radius:9px; }
  .manual-editor-nav a:hover { color:#1d3650; background:#e8eff5; }
  .manual-editor-section { padding:34px; }
  .manual-editor-section-head h3 { font-size:22px; }
  .manual-language-slot { min-height:94px; padding:15px; border-radius:12px; }
  .manual-language-slot:hover { border-color:#e6a17b; box-shadow:0 11px 22px rgb(19 44 70 / 6%); }
}
@media (max-width:900px) { .manual-row { grid-template-columns:42px 1fr auto; }.manual-tags { grid-column:2 / -1; }.manuals-summary { grid-template-columns:1fr; }.manual-editor-layout { grid-template-columns:1fr; }.manual-editor-nav { position:static; display:grid; grid-template-columns:minmax(0,1fr) auto; overflow:visible; min-height:auto; padding:10px; border-right:0; border-bottom:1px solid var(--line); }.manual-editor-nav > span { display:none; }.manual-editor-nav__links { display:flex; overflow-x:auto; overscroll-behavior-inline:contain; }.manual-editor-nav a { flex:0 0 auto; white-space:nowrap; }.manual-editor-nav__danger { align-self:start; margin:0 0 0 8px; padding:0 0 0 8px; border-top:0; border-left:1px solid #dce3ed; }.manual-editor-nav__danger small { display:none; }.manual-editor-nav__delete { min-height:44px; white-space:nowrap; }.manual-spec-list { grid-template-columns:1fr; }.manual-spec-list div:nth-child(odd) { margin-right:0; }.manual-language-row { grid-template-columns:1fr; }.manual-language-actions { justify-content:flex-start; } }
@media (max-width:560px) { .manuals-intro { padding:20px; }.manuals-intro h2 { font-size:24px; }.manuals-intro-mark { display:none; }.manual-row { grid-template-columns:38px 1fr; }.manual-row > .button { grid-column:1 / -1; }.manual-row-icon { width:38px; height:38px; }.manual-row-link { min-height:44px; }.manual-tags { grid-column:1 / -1; }.manual-editor-nav__delete { width:44px; padding:0; }.manual-editor-nav__delete span { display:none; }.manual-editor-section { padding:21px 17px; }.manual-product-summary { align-items:flex-start; flex-wrap:wrap; }.manual-product-summary .button { width:100%; margin-left:0; }.manual-resource-actions .button { flex:1 1 100%; }.manual-editor-head-actions .button { display:none; }.manual-save-note { display:none; } }
@media (max-width:720px) { .manual-language-slots { grid-template-columns:1fr; }.manual-language-slot { grid-template-columns:26px minmax(0,1fr) auto; }.manual-language-slot__status { grid-column:2; justify-self:start; }.manual-language-slot__actions { grid-column:3; grid-row:1 / span 2; } }

@media (prefers-reduced-motion:reduce) {
  .manual-row-link,.manual-row-link svg { transition:none; }
  .manual-row-link:hover svg { transform:none; }
}
