/* V8 Content Library & Course Builder */
.v8-shell{--v8-green:#164d3c;--v8-deep:#12382d;--v8-lime:#d9f08b;--v8-paper:#f7f6f0;--v8-line:#e5e9e1;--v8-muted:#78857b;color:var(--ink,#172e27);font-family:var(--body,system-ui,sans-serif)}
.v8-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:12px 0 20px}.v8-kicker{font-size:9px;letter-spacing:1.6px;color:#6c8a74;font-weight:850;text-transform:uppercase}.v8-header h1,.v8-page-head h1{font:800 clamp(27px,3.2vw,38px)/1.15 var(--display,system-ui);letter-spacing:-1.2px;margin:8px 0}.v8-header p,.v8-page-head p{font-size:12px;color:#718078;line-height:1.65;margin:0;max-width:720px}.v8-header-chip{padding:9px 12px;border:1px solid #dce6d9;border-radius:30px;background:#f1f6ed;color:#547554;font-size:8px;font-weight:850;letter-spacing:1px;white-space:nowrap}.v8-notice{display:flex;gap:11px;align-items:flex-start;padding:13px 15px;border:1px solid #eadfbd;background:#fff9e9;border-radius:13px;margin:15px 0}.v8-notice>span{font-size:18px;color:#96783a}.v8-notice b,.v8-notice small{display:block}.v8-notice b{font-size:10px;color:#765e30}.v8-notice small{font-size:9px;color:#907d56;line-height:1.5;margin-top:3px}.v8-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}.v8-stat{background:#fff;border:1px solid var(--v8-line);border-radius:14px;padding:14px 16px;min-height:80px}.v8-stat small{display:block;color:#77867b;font-size:9px;font-weight:700}.v8-stat strong{display:block;font:800 24px var(--display);margin-top:7px;color:#214a36}.v8-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #e2e7df;padding-bottom:9px;margin:16px 0}.v8-tab{border:1px solid transparent;background:transparent;color:#6e7d72;border-radius:10px;padding:10px 13px;font-size:10px;font-weight:800}.v8-tab.active{background:#eaf2e8;border-color:#dbe9d8;color:#27563d}.v8-library-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.55fr);gap:13px;align-items:start}.v8-list-panel,.v8-editor-panel,.v8-exchange-card,.v8-queue{background:#fff;border:1px solid var(--v8-line);border-radius:16px;min-width:0}.v8-list-panel{padding:14px;position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto}.v8-list-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.v8-list-title h2{margin:0;font:800 16px var(--display)}.v8-list-title small{font-size:8px;color:#879388}.v8-filters{display:grid;gap:7px;margin:13px 0}.v8-filters input,.v8-filters select,.v8-field input,.v8-field select,.v8-field textarea{width:100%;border:1px solid #e3e8e0;border-radius:9px;background:#fff;color:#344c3d;padding:10px 11px;font:10px var(--body,system-ui);box-sizing:border-box;min-width:0}.v8-filters input:focus,.v8-field input:focus,.v8-field select:focus,.v8-field textarea:focus{outline:2px solid #a9c7a8;outline-offset:1px}.v8-record-list{display:grid;gap:7px}.v8-record-card{width:100%;border:1px solid #edf0ea;background:#fff;border-radius:11px;padding:11px;text-align:left;display:grid;gap:6px;color:#31483a}.v8-record-card:hover,.v8-record-card.active{border-color:#9ebd9f;background:#f6faf3}.v8-record-top{display:flex;align-items:center;justify-content:space-between}.v8-record-top small{font-size:8px;color:#849286}.v8-record-card strong{font-size:11px;line-height:1.4}.v8-record-card>span:not(.v8-record-top){font-size:8px;color:#75847a}.v8-record-card>small{font-size:8px;color:#849086;line-height:1.5}.v8-status{display:inline-flex;align-items:center;border-radius:30px;padding:5px 8px;font-size:8px;font-weight:850;white-space:nowrap}.status-draft{background:#f1f1ed;color:#6c736b}.status-review{background:#fff3dc;color:#8a692e}.status-approved{background:#e9f3e4;color:#527a45}.status-published{background:#e2f0ec;color:#226e57}.status-archived{background:#ececf0;color:#686979}.v8-empty-list{padding:28px 12px;text-align:center;display:grid;justify-items:center;gap:9px;color:#7c897e}.v8-empty-list>div{font-size:26px}.v8-empty-list b{font-size:10px;font-weight:600;line-height:1.5}.v8-editor-panel{padding:18px;min-height:520px}.v8-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf0ea}.v8-editor-head h2{font:800 20px var(--display);margin:5px 0}.v8-editor-head p{font-size:8px;color:#849086;margin:0}.v8-editor-head-actions{display:flex;gap:6px;flex-wrap:wrap}.v8-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce5da;border-radius:9px;padding:10px 13px;background:#fff;color:#355842;font-size:9px;font-weight:850;cursor:pointer;text-decoration:none}.v8-button:hover{transform:translateY(-1px);box-shadow:0 6px 15px #1d493014}.v8-button.primary{background:#174c39;border-color:#174c39;color:#fff}.v8-button.light{background:#f4f7f1}.v8-button.danger-ghost{border-color:#efd9d1;color:#965b49}.v8-button.small{padding:8px 10px;font-size:8px}.v8-button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.v8-form-section{padding:18px 0;border-bottom:1px solid #edf0ea}.v8-form-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.v8-form-section-title>span{width:27px;height:27px;border-radius:9px;background:#edf4e9;color:#47784f;display:grid;place-items:center;font-size:9px;font-weight:900}.v8-form-section-title b,.v8-form-section-title small{display:block}.v8-form-section-title b{font-size:11px}.v8-form-section-title small{font-size:8px;color:#89958b;margin-top:2px}.v8-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v8-field{display:grid;gap:5px;font-size:8px;color:#6d7e72;font-weight:850;min-width:0}.v8-field.full{grid-column:1/-1}.v8-field textarea{resize:vertical;line-height:1.55;min-height:60px}.v8-field input[type=date]{min-height:35px}.v8-resource-add{border:1px solid #e8ece5;background:#fafbf8;border-radius:12px;padding:12px}.v8-resource-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.v8-file-button{position:relative;overflow:hidden}.v8-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.v8-hint,.v8-empty-inline{font-size:8px;color:#8b968d;line-height:1.55;margin:8px 0 0}.v8-resource-list{display:grid;gap:6px;margin-top:10px}.v8-resource{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #edf0ea;border-radius:10px}.v8-resource-icon{width:27px;height:27px;background:#eef3ea;color:#4a7551;display:grid;place-items:center;border-radius:8px}.v8-resource-copy{flex:1;min-width:0}.v8-resource-copy b,.v8-resource-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v8-resource-copy b{font-size:9px}.v8-resource-copy small{font-size:7px;color:#879287;margin-top:3px}.v8-resource-actions{display:flex;gap:7px;align-items:center}.v8-resource-actions button,.v8-resource-actions a{border:0;background:transparent;color:#527d5a;font-size:8px;font-weight:800;text-decoration:none;cursor:pointer}.v8-resource-actions button:last-child{color:#a16b5e;font-size:15px}.v8-form-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:15px}.v8-small-note{font-size:7px;color:#98a096;overflow-wrap:anywhere}.v8-button-row{display:flex;gap:7px;flex-wrap:wrap}.v8-workflow-box{margin-top:14px;border:1px solid #e2e9df;background:#f8faf6;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.v8-workflow-box p{margin:5px 0 0;font-size:8px;color:#7c897f;line-height:1.5;max-width:440px}.v8-workflow-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.v8-history{margin-top:17px}.v8-history h3{font:800 12px var(--display);margin:0 0 8px}.v8-history-row{display:grid;grid-template-columns:35px 1fr auto;gap:8px;padding:8px 0;border-top:1px solid #edf0ea;align-items:center}.v8-history-row b{font-size:8px;color:#4e7955}.v8-history-row span{font-size:8px}.v8-history-row small{font-size:7px;color:#8b968d}.v8-empty-editor{height:100%;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#78877b;padding:25px}.v8-empty-editor h2{font:800 20px var(--display);color:#294d37;margin:10px 0 5px}.v8-empty-editor p{font-size:10px;line-height:1.6;max-width:310px}.v8-empty-symbol{width:50px;height:50px;border-radius:15px;background:#edf4e8;color:#4f8057;display:grid;place-items:center;font-size:24px}.v8-warning{border:1px solid #ecdfbd;background:#fff8e8;color:#806537;border-radius:10px;padding:10px 12px;font-size:8px;line-height:1.55;margin:12px 0}.v8-preview{margin-top:15px;border:1px solid #dbe7da;border-radius:13px;overflow:hidden}.v8-preview-top{display:flex;align-items:center;justify-content:space-between;background:#f0f6ed;padding:10px 13px;font-size:9px;font-weight:850}.v8-preview-body{padding:18px}.v8-preview-body h2{font:800 22px var(--display);margin:8px 0}.v8-preview-body h3{font:800 12px var(--display);margin:17px 0 6px}.v8-preview-body p,.v8-preview-body li{font-size:9px;line-height:1.7;color:#55685b}.v8-preview-summary{font-size:11px!important;color:#6d8172!important}.v8-page-head{padding:18px 0}.v8-page-head h1{margin-bottom:6px}.v8-table-wrap{background:#fff;border:1px solid var(--v8-line);border-radius:14px;overflow:auto}.v8-table{width:100%;border-collapse:collapse;min-width:680px}.v8-table th,.v8-table td{text-align:left;padding:12px;border-bottom:1px solid #edf0ea;font-size:9px;vertical-align:top}.v8-table th{background:#f6f8f4;color:#6e7d70;font-size:8px;text-transform:uppercase;letter-spacing:.7px}.v8-table td b,.v8-table td small{display:block}.v8-table td small{font-size:7px;color:#8a968b;margin-top:3px;line-height:1.5}.v8-table-empty{text-align:center;color:#89948a;padding:30px!important}.v8-workflow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.v8-queue{padding:12px;min-height:160px}.v8-queue-head{display:flex;align-items:center;justify-content:space-between;gap:4px}.v8-queue-head>strong{font:800 19px var(--display)}.v8-queue>p{font-size:8px;color:#869287;min-height:22px;line-height:1.45}.v8-queue-row{width:100%;position:relative;text-align:left;display:grid;gap:4px;background:#f8faf6;border:1px solid #e8eee5;border-radius:8px;padding:8px;margin-top:5px}.v8-queue-row b{font-size:8px;line-height:1.4;padding-right:10px}.v8-queue-row small{font-size:7px;color:#879287}.v8-queue-row span{position:absolute;right:8px;top:8px;color:#5f8867}.v8-queue-empty{font-size:8px;color:#9aa49a}.v8-exchange-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v8-exchange-card{padding:23px;min-height:190px;display:flex;flex-direction:column;align-items:flex-start}.v8-exchange-icon{font-size:23px;color:#5c8864}.v8-exchange-card h2{font:800 17px var(--display);margin:13px 0 5px}.v8-exchange-card p{font-size:9px;line-height:1.6;color:#819086;flex:1}.v8-footer{margin-top:22px;border-top:1px solid #e4e9e0;padding:12px 3px;color:#97a095;font-size:8px}.v8-toast{position:fixed;right:24px;bottom:24px;z-index:9999;background:#173f31;color:#fff;padding:11px 15px;border-radius:10px;font-size:9px;box-shadow:0 12px 35px #071c1733;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.v8-toast.show{opacity:1;transform:translateY(0)}#v8PrintSheet{display:none}
@media(max-width:1080px){.v8-library-layout{grid-template-columns:1fr}.v8-list-panel{position:static;max-height:340px}.v8-workflow-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.v8-header{display:block}.v8-header-chip{display:inline-flex;margin-top:12px}.v8-stat-grid{grid-template-columns:1fr 1fr}.v8-editor-panel{padding:13px}.v8-editor-head{display:block}.v8-editor-head-actions{margin-top:10px}.v8-form-grid{grid-template-columns:1fr}.v8-field.full{grid-column:auto}.v8-form-footer,.v8-workflow-box{align-items:flex-start;flex-direction:column}.v8-workflow-actions{justify-content:flex-start}.v8-workflow-grid{grid-template-columns:1fr 1fr}.v8-exchange-grid{grid-template-columns:1fr}.v8-history-row{grid-template-columns:30px 1fr}.v8-history-row small{grid-column:2}.v8-tabs{overflow:auto;flex-wrap:nowrap}.v8-tab{white-space:nowrap}.v8-record-card{padding:9px}}
@media(max-width:420px){.v8-workflow-grid{grid-template-columns:1fr}.v8-stat{padding:11px}.v8-editor-head h2{font-size:17px}.v8-button-row{width:100%}.v8-button-row .v8-button{flex:1}}
@media(prefers-reduced-motion:reduce){.v8-button,.v8-toast{transition:none}}
@media print{body.v8-printing>*:not(#v8PrintSheet){display:none!important}body.v8-printing #v8PrintSheet{display:block!important;position:absolute;inset:0;width:100%;box-sizing:border-box;padding:14mm;background:#fff;color:#111;font:10pt Arial,sans-serif}#v8PrintSheet header{display:flex;justify-content:space-between;gap:15px;border-bottom:2px solid #28543c;padding-bottom:10px;font-size:9pt}#v8PrintSheet h1{font-size:22pt;margin:15px 0}#v8PrintSheet h2{font-size:13pt;margin:18px 0 6px}#v8PrintSheet p,#v8PrintSheet li{line-height:1.6;font-size:9pt}#v8PrintSheet footer{border-top:1px solid #999;padding-top:9px;margin-top:25px;font-size:8pt;color:#555}}
.v8-fieldset{border:0;min-width:0;padding:0;margin:0}
