/* DocuVault Studio · white / navy / teal. UI chrome only; private paper is raster. */
:root { --studio-ink:#17263c; --studio-muted:#6d7b8b; --studio-teal:#16776a; --studio-line:#e2e8ee; --studio-canvas:#f5f7fa; --primary:#16776a; --primary-hover:#106458; --text-primary:#17263c; --text-muted:#6d7b8b; --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
body.studio-v3 { background:#fff; color:var(--studio-ink); font:14px/1.6 var(--font-sans); letter-spacing:0; }
.studio-v3 a { color:inherit; text-decoration:none; }
.studio-v3 button,.studio-v3 input,.studio-v3 select,.studio-v3 textarea { font-family:inherit; }
.studio-v3 button { cursor:pointer; }
.studio-v3 :focus-visible { outline:2px solid #16776a; outline-offset:3px; }
.app-header { height:76px; padding:0 4%; display:flex; align-items:center; gap:56px; border-bottom:1px solid var(--studio-line); background:#fff; }
.app-brand { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; color:var(--studio-ink); font-size:21px; font-weight:700; letter-spacing:-.6px; }
.app-brand svg { width:28px; height:32px; color:var(--studio-teal); }
.app-brand b { font-weight:600; }
.app-nav { display:flex; gap:32px; align-self:stretch; align-items:center; font-size:14px; font-weight:600; }
.app-nav a { display:flex; align-items:center; height:100%; position:relative; }
.app-nav a:hover,.app-nav a.active { color:var(--studio-teal); }
.app-nav a.active:after { content:""; height:2px; position:absolute; left:0; right:0; bottom:17px; background:var(--studio-teal); }
.app-header .nav-actions { margin-left:auto; gap:9px; white-space:nowrap; }
.studio-v3 .btn { min-height:40px; padding:9px 18px; border-radius:7px; font-size:14px; font-weight:600; border:1px solid transparent; box-shadow:none; }
.studio-v3 .btn-primary,.studio-v3 .btn-gold { background:var(--studio-teal); border-color:var(--studio-teal); color:#fff; }
.studio-v3 .btn-primary:hover,.studio-v3 .btn-gold:hover { background:#106458; }
.studio-v3 .btn-outline,.studio-v3 .btn-ghost-dark { background:#fff; color:var(--studio-ink); border-color:#ccd6e0; }
.studio-v3 .btn-outline:hover,.studio-v3 .btn-ghost-dark:hover { background:#f5f7fa; }
.studio-intro { padding:38px 4% 34px; background:#f7f9fb; border-bottom:1px solid var(--studio-line); }
.studio-intro h1 { font-size:40px; letter-spacing:-1.4px; font-weight:750; line-height:1.4; margin-bottom:6px; }
.studio-intro p { font-size:20px; color:#65788e; }
.intro-actions { display:flex; gap:14px; margin-top:21px; }
.intro-actions .btn { min-height:44px; padding:10px 25px; }
.intro-actions .btn span { margin-left:18px; }
.library-shell { display:grid; grid-template-columns:216px minmax(0,1fr); max-width:1600px; margin:auto; padding:0 4%; min-height:700px; }
.library-rail { padding:28px 22px 40px 0; border-right:1px solid var(--studio-line); }
.library-rail h2 { font-size:13px; font-weight:700; margin:0 0 14px 9px; }
.rail-item { width:100%; display:flex; justify-content:space-between; align-items:center; gap:8px; padding:9px 12px; border:0; border-radius:6px; background:transparent; color:#52657b; font-size:14px; text-align:left; }
.rail-item>span:last-child { color:#738699; font-size:12px; }
.rail-item:hover { background:#f5f7fa; }
.rail-item.active { color:#16776a; background:#eaf6f3; font-weight:600; }
.rail-item.active>span:last-child { color:inherit; }
.rail-note { border-top:1px solid var(--studio-line); margin:25px 0 0; padding:23px 10px; color:var(--studio-muted); font-size:12px; line-height:1.8; }
.rail-note strong { display:block; color:#42576b; font-size:13px; margin-bottom:7px; }
.library-main { min-width:0; padding:26px 0 48px 28px; }
.library-heading { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.library-heading h2 { font-size:25px; letter-spacing:-.7px; font-weight:700; white-space:nowrap; }
.library-heading h2 small { font-size:13px; color:#718197; font-weight:500; margin-left:5px; }
.library-search { display:flex; align-items:center; gap:10px; max-width:580px; min-width:0; flex:1; margin-left:auto; border:1px solid #d9e1ea; border-radius:7px; height:42px; padding:0 13px; color:#8192a7; }
.library-search>span { font-size:26px; line-height:1; }
.library-search input { border:0; outline:none; background:transparent; width:100%; min-width:0; color:var(--studio-ink); font-size:14px; }
.library-search input::placeholder { color:#8a98a8; }
.view-switch { display:flex; padding:3px; border:1px solid var(--studio-line); border-radius:7px; }
.view-switch button { width:33px; height:33px; border:1px solid transparent; border-radius:5px; background:white; color:#718197; font-size:22px; line-height:1; }
.view-switch button.active { color:var(--studio-teal); border-color:#91bdb5; background:#f4faf8; }
.library-types { display:flex; gap:22px; border-bottom:1px solid var(--studio-line); margin-bottom:24px; overflow:auto; }
.library-types .seg-btn { flex:none; background:transparent; border:0; border-bottom:2px solid transparent; border-radius:0; padding:8px 7px 12px; color:#617187; font-size:14px; font-weight:500; white-space:nowrap; }
.library-types .seg-btn.active { color:var(--studio-teal); border-bottom-color:var(--studio-teal); background:transparent; box-shadow:none; font-weight:600; }
.studio-cards-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 18px; }
.studio-card { border:1px solid var(--studio-line); border-radius:9px; background:#fff; overflow:hidden; min-width:0; transition:box-shadow .18s,border-color .18s; }
.studio-card:hover { border-color:#a9cbc5; box-shadow:0 8px 22px #23364a0a; }
.sc-stage { position:relative; display:block; padding:16px; height:244px; background:#f8fafb; overflow:hidden; cursor:pointer; }
.sc-stage img { display:block; width:100%; height:auto; border:1px solid #e8edf1; border-radius:4px; box-shadow:0 4px 12px #20384a06; }
.sc-body { padding:15px 17px 0; }
.sc-title { font-size:15px; font-weight:650; line-height:1.5; min-height:45px; margin:0 0 8px; color:var(--studio-ink); }
.sc-meta { display:flex; gap:16px; font-size:12px; color:#7c8ca0; margin-bottom:16px; }
.sc-open { display:flex; align-items:center; justify-content:space-between; border:0; border-top:1px solid var(--studio-line); background:white; width:100%; padding:12px 0 14px; color:var(--studio-teal); font-size:14px; font-weight:600; text-align:left; }
.sc-open:hover { color:#0e5149; }
.studio-footer { border-top:1px solid var(--studio-line); padding:22px 4%; display:flex; align-items:center; flex-wrap:wrap; gap:28px; color:#77889a; font-size:12px; }
.studio-footer .app-brand { font-size:15px; margin-right:auto; letter-spacing:0; }
.studio-footer .app-brand svg { width:21px; height:25px; }
.studio-footer a:hover { color:var(--studio-teal); }
.library-empty { padding:90px 15px; text-align:center; color:#6d7b8b; }
.library-empty h3 { font-size:19px; color:var(--studio-ink); margin-bottom:8px; }
.library-empty button { margin-top:18px; }
.ledger-wrap { overflow:auto; border:1px solid var(--studio-line); border-radius:8px; }
.ledger-wrap table { width:100%; border-collapse:collapse; font-size:13px; white-space:nowrap; }
.ledger-wrap td,.ledger-wrap th { padding:14px 16px; border-bottom:1px solid #edf1f5; text-align:left; }
.ledger-wrap th { background:#f7f9fb; color:#6b7d90; font-size:12px; }
.ledger-wrap .fmt-pill,.ledger-wrap .cat-tag { font-size:12px; color:#6d7b8b; }
.ledger-flag { display:none; }
.studio-v3 .wb-shell { width:100%; height:100%; max-width:none; max-height:none; border-radius:0; border:0; background:#f5f7fa; box-shadow:none; }
.studio-v3 #workbenchModal { padding:0; background:#f5f7fa; }
.studio-v3 .wb-header { min-height:68px; background:white; border-bottom:1px solid var(--studio-line); color:var(--studio-ink); padding:12px 22px; }
.studio-v3 .wb-header .btn { min-height:38px; padding:8px 13px; }
.studio-v3 .wb-select { border:1px solid #d4dde6; color:#17263c; background:white; border-radius:7px; min-height:39px; font-size:14px; }
.studio-v3 #wbBalanceBadge { display:none!important; }
.studio-v3 .wb-form-sidebar { width:310px; background:#fff; border-right:1px solid var(--studio-line); }
.studio-v3 .wb-form-head { background:white; border-bottom:1px solid var(--studio-line); padding:24px 22px 18px; }
.studio-v3 .wb-form-head h4 { color:#17263c; font-size:20px; margin-bottom:5px; }
.studio-v3 .wb-form-head p { color:#7a8a9e; font-size:12px; line-height:1.7; }
.studio-v3 .wb-field-filter { background:white; border:1px solid #d6dfe8; border-radius:7px; color:#17263c; height:40px; margin-top:15px; }
.studio-v3 .wb-fields-list { padding:22px; }
.studio-v3 .wb-f-item { margin-bottom:20px; }
.studio-v3 .wb-fields-list .wb-f-item label { color:#52657b; font-size:12px; font-weight:600; margin-bottom:7px; }
.studio-v3 .wb-f-item input,.studio-v3 .wb-f-item textarea { background:white; border:1px solid #d6dfe8; border-radius:6px; color:#24384f; font-size:14px; line-height:1.6; padding:9px 10px; }
.studio-v3 .wb-canvas-area { background:#eef2f6; }
.studio-v3 .wb-preview-frame { padding:32px!important; }
.studio-v3 .wb-page-wrap { max-width:780px; }
.studio-v3 .wb-raster-page { box-shadow:0 2px 16px #20384a12; }
.studio-v3 .wb-render-status { color:#68816f; }
.studio-v3 .wb-inline-editor { color:#17263c; background:#fff; border-color:#d6e0e7; box-shadow:0 10px 36px #1c354324; }
.studio-v3 .wb-inline-actions button { background:#fff; color:#52657b; border-color:#d3dde5; }
.studio-v3 .wb-inline-actions .wb-inline-save { background:#16776a; border-color:#16776a; color:white; }
.studio-v3 .wb-inline-hint { color:#8795a4; }
.studio-v3 .wb-inline-error { color:#b42318; }
.studio-v3 .wb-text-hit:hover,.studio-v3 .wb-text-hit:focus-visible,.studio-v3 .wb-text-hit.is-editing { background:#16776a15; outline-color:#16776a; }
.guide-page { max-width:1100px; margin:0 auto; padding:65px 28px 90px; }
.guide-page h1 { font-size:36px; letter-spacing:-1px; }
.guide-lead { font-size:19px; color:#748498; margin-top:10px; }
.guide-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; margin:55px 0; }
.guide-steps article>span { color:#16776a; font-size:14px; }
.guide-steps h2 { font-size:20px; margin:12px 0; }
.guide-steps p,.guide-detail p { color:#6d7b8b; font-size:14px; line-height:1.9; }
.guide-detail { border-top:1px solid var(--studio-line); padding:32px 0; }
.guide-detail h2 { margin-bottom:14px; font-size:22px; }
.guide-detail p { margin-bottom:12px; }
@media(min-width:1600px) { .studio-intro { padding-left:calc((100vw - 1472px)/2); } }
@media(max-width:1100px) { .app-header { gap:25px; } .app-brand { font-size:18px; } .app-nav { gap:20px; } .library-shell { grid-template-columns:180px minmax(0,1fr); } .studio-cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .studio-intro h1 { font-size:34px; } .studio-v3 .wb-header { flex-wrap:wrap; } }
@media(max-width:720px) {
 .app-header { height:auto; min-height:68px; padding:14px 18px 0; flex-wrap:wrap; gap:0; }
 .app-brand { font-size:17px; gap:8px; } .app-brand svg { width:23px; height:27px; }
 .app-header .nav-actions { gap:5px; } .app-header .nav-actions .btn { font-size:12px; min-height:32px; padding:5px 9px; }
 .app-nav { order:3; width:100%; gap:28px; height:45px; font-size:13px; } .app-nav a.active:after { bottom:0; }
 .studio-intro { padding:28px 20px 30px; } .studio-intro h1 { font-size:27px; letter-spacing:-1px; line-height:1.5; } .studio-intro p { font-size:15px; margin-top:6px; }
 .intro-actions { gap:10px; margin-top:20px; } .intro-actions .btn { padding:8px 15px; font-size:13px; }
 .library-shell { display:block; padding:0 18px; } .library-rail { padding:17px 0 10px; border-right:0; border-bottom:1px solid var(--studio-line); } .library-rail h2,.rail-note { display:none; }
 #regionTabs { display:flex; overflow:auto; gap:5px; padding-bottom:5px; } .rail-item { flex:none; width:auto; padding:7px 12px; font-size:13px; white-space:nowrap; } .rail-item>span:last-child { display:none; }
 .library-main { padding:20px 0 32px; } .library-heading { flex-wrap:wrap; gap:12px; margin-bottom:16px; } .library-heading h2 { font-size:24px; } .library-search { order:3; flex-basis:100%; max-width:none; height:42px; } .view-switch { margin-left:auto; }
 .library-types { gap:10px; margin-bottom:19px; } .library-types .seg-btn { font-size:13px; }
 .studio-cards-grid { gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); } .sc-stage { padding:10px; height:155px; } .sc-body { padding:11px 11px 0; } .sc-title { font-size:13px; min-height:39px; } .sc-meta { flex-wrap:wrap; gap:2px 7px; font-size:11px; margin-bottom:12px; } .sc-open { font-size:12px; padding:10px 0; }
 .studio-footer { padding:22px 20px; gap:14px; } .studio-footer .app-brand { width:100%; } .studio-footer>span { display:none; }
 .studio-v3 .wb-header { padding:8px; min-height:56px; } .studio-v3 .wb-h-left { width:100%; flex-wrap:nowrap; gap:6px; } .studio-v3 .wb-h-left .btn { font-size:12px; padding:6px 8px; } .studio-v3 .wb-h-left>.btn:nth-child(2),.studio-v3 .wb-h-left>.btn:last-child { display:none; } .studio-v3 .wb-h-right { display:none; }
 .studio-v3 .wb-mobile-tabs { background:white; border-bottom:1px solid var(--studio-line); } .studio-v3 .wb-mobile-tabs button { background:#f6f8fa; color:#64778c; border:1px solid #dce4eb; } .studio-v3 .wb-mobile-tabs button[aria-selected="true"] { background:#16776a; color:white; border-color:#16776a; }
 .studio-v3 .wb-form-sidebar { width:100%; } .studio-v3 .wb-form-head { padding:18px; } .studio-v3 .wb-fields-list { padding:18px; } .studio-v3 .wb-f-item input,.studio-v3 .wb-f-item textarea { font-size:16px; }
 .studio-v3 .wb-mobile-zoom,.studio-v3 .wb-mobile-footer { background:white; color:#64778c; border-color:#dce4eb; } .studio-v3 .wb-mobile-zoom button { background:#f6f8fa; border-color:#ccd7e1; color:#425a70; }
 .studio-v3 .wb-preview-frame { padding:12px!important; } .studio-v3 .wb-mobile-menu:not([hidden]) { background:#fff; color:#17263c; border-color:#dce4eb; }
 .guide-page { padding:32px 20px 48px; } .guide-page h1 { font-size:28px; } .guide-lead { font-size:16px; } .guide-steps { grid-template-columns:1fr; gap:25px; margin:30px 0; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }
.home-hero { background:#f5f8fb; padding:42px 5% 20px; border-bottom:1px solid #edf1f5; }
.home-hero-grid { max-width:1400px; margin:auto; display:grid; grid-template-columns:.9fr 1.1fr; gap:50px; align-items:center; }
.home-hero h1 { font-size:56px; line-height:1.3; letter-spacing:-2px; color:#14233a; font-weight:750; }
.home-hero-copy>p { font-size:21px; line-height:1.8; color:#6d7d91; margin-top:22px; max-width:480px; }
.home-hero .intro-actions { margin-top:32px; gap:18px; }
.home-hero .intro-actions .btn { min-height:49px; font-size:16px; }
.home-demo { border:1px solid #dce4ed; border-radius:9px; overflow:hidden; background:#fff; box-shadow:0 8px 32px #34495e08; }
.demo-bar { height:40px; display:flex; align-items:center; gap:7px; padding:0 14px; border-bottom:1px solid #dce4ed; font-size:12px; }
.demo-bar i { width:9px; height:9px; border-radius:50%; background:#efaa9c; }
.demo-bar i:nth-child(2) { background:#efca85; }.demo-bar i:nth-child(3) { background:#87c49e; }.demo-bar strong { margin-left:8px; }
.demo-workspace { display:grid; grid-template-columns:32% 1fr; min-height:340px; background:#eaf0f5; }
.demo-inspector { padding:28px 17px; background:#fafcfe; border-right:1px solid #dce4ed; font-size:12px; }
.demo-inspector b { display:block; margin-bottom:8px; }.demo-inspector>span { display:block; padding:9px; border:1px solid #d4dfe8; border-radius:5px; color:#66788d; background:#fff; margin-bottom:24px; line-height:1.9; }
.demo-paper { position:relative; background:#fff; margin:21px 26px 0 24px; padding:32px 26px; min-height:340px; box-shadow:0 0 4px #24384f25; font-size:12px; }
.demo-paper h3 { font-size:21px; text-align:center; margin-bottom:13px; }.demo-rule { border-top:1px solid #8f9cad; margin-bottom:21px; }.demo-paper p { color:#69788c; line-height:2.2; }.demo-paper mark { background:#d9eee8; color:#294b46; padding:2px 7px; }
.demo-lines { margin:17px 0; }.demo-lines i { display:block; height:5px; background:#e6ebf0; margin:10px 0; }.demo-lines i:last-child { width:75%; }.demo-small { font-size:11px; }
.demo-edit { position:absolute; top:115px; right:9px; width:170px; padding:13px; border-radius:7px; background:white; border:1px solid #e0e6ee; box-shadow:0 8px 30px #20384a24; }.demo-edit b { display:block; font-size:12px; }.demo-edit span { display:block; padding:6px 8px; margin:7px 0; border:1px solid #91bab1; border-radius:4px; color:#42576b; }.demo-edit small { display:block; font-size:9px; color:#8b99a8; }.demo-edit em { display:block; width:max-content; margin:11px 0 0 auto; padding:5px 8px; border-radius:4px; background:#16776a; color:white; font-size:10px; font-style:normal; }
.home-facts { margin:28px 0 0; text-align:center; color:#7d8c9f; font-size:13px; }.home-facts span { margin:0 12px; }
.home-section { padding:50px 5%; max-width:1600px; margin:auto; }.home-section h2 { font-size:32px; line-height:1.5; letter-spacing:-1px; margin-bottom:30px; }
.home-features>h2 { text-align:center; }.home-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }.home-feature-grid article { display:flex; gap:18px; }.home-feature-grid h3,.home-steps h3 { font-size:18px; margin-bottom:8px; }.home-feature-grid p,.home-steps p { color:#7a8a9d; font-size:14px; line-height:1.9; }
.feature-symbol { display:flex; flex:none; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; background:#f4f8fa; color:#16776a; font-size:29px; }.feature-pdf { font-size:13px; font-weight:700; }
.home-how { border-top:1px solid #edf1f5; }.home-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:38px; }.home-steps article { display:flex; gap:22px; }.home-steps article>span { color:#16776a; font-size:40px; font-weight:650; line-height:1.3; padding-right:20px; border-right:1px solid #dce4ed; }
.home-band { display:flex; justify-content:space-between; align-items:center; gap:40px; padding:40px 8%; background:#f5f8fb; }.home-band h2 { font-size:36px; line-height:1.5; letter-spacing:-1px; }.home-band ul { list-style:none; font-size:21px; color:#64778b; line-height:2.1; }
.home-faq details { border:1px solid #dfe6ed; border-radius:6px; margin-bottom:10px; }.home-faq summary { padding:16px 20px; cursor:pointer; font-size:16px; font-weight:600; }.home-faq details p { background:#f6f9fb; color:#7a8a9d; line-height:1.9; padding:17px 20px; font-size:14px; }.home-final-cta { text-align:center; padding-top:40px; }.home-final-cta h2 { font-size:28px; margin-bottom:18px; }
@media(max-width:1100px) { .home-hero h1 { font-size:43px; }.home-hero-grid { gap:28px; }.demo-workspace { min-height:310px; }.demo-paper { padding:22px 16px; margin:18px 15px 0; }.home-feature-grid { gap:25px; } }
@media(max-width:720px) { .home-hero { padding:30px 20px 24px; }.home-hero-grid { grid-template-columns:1fr; gap:28px; }.home-hero h1 { font-size:39px; letter-spacing:-1.5px; }.home-hero-copy>p { font-size:17px; margin-top:14px; }.home-hero .intro-actions { margin-top:22px; gap:12px; }.home-hero .intro-actions .btn { min-height:43px; font-size:13px; }.demo-inspector { padding:22px 10px; }.demo-paper { margin:15px 12px 0; padding:22px 14px; }.demo-workspace { min-height:315px; }.demo-paper h3 { font-size:17px; }.demo-edit { width:135px; top:120px; right:5px; }.home-facts { font-size:11px; }.home-facts span { margin:0 5px; }.home-section { padding:32px 20px; }.home-section h2 { font-size:26px; margin-bottom:22px; }.home-feature-grid,.home-steps { grid-template-columns:1fr; gap:24px; }.home-feature-grid h3,.home-steps h3 { font-size:17px; }.home-band { padding:30px 22px; gap:20px; }.home-band h2 { font-size:25px; }.home-band ul { font-size:14px; }.home-faq summary { padding:14px 16px; font-size:14px; } }
