.voo-publisher {
    --voo-navy: #101438;
    --voo-navy-soft: #1b224e;
    --voo-blue: #5c6fb2;
    --voo-gold: #d0a04a;
    --voo-ink: #22263b;
    --voo-muted: #697083;
    --voo-line: #e2e5ed;
    --voo-soft: #f5f6fa;
    --voo-cream: #fbf7ef;
    max-width: 1680px;
    margin: 20px 20px 0 0;
    color: var(--voo-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.voo-publisher * { box-sizing: border-box; }
.voo-publisher button, .voo-publisher input, .voo-publisher textarea, .voo-publisher select { font: inherit; }
.voo-publisher [hidden] { display: none !important; }

.voo-app-header {
    min-height: 92px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid var(--voo-line);
    border-radius: 18px 18px 0 0;
    background: #fff;
}

.voo-brand, .voo-header-actions, .voo-editor-bar-actions, .voo-media-field {
    display: flex;
    align-items: center;
}

.voo-brand { gap: 16px; }
.voo-brand img { width: 132px; height: 56px; object-fit: contain; object-position: left center; }
.voo-brand p, .voo-brand h1 { margin: 0; }
.voo-brand p { color: var(--voo-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.voo-brand h1 { color: var(--voo-navy); font-size: 26px; line-height: 1.1; letter-spacing: -.025em; }
.voo-header-actions { gap: 12px; }
.voo-connection { color: #4c556a; font-size: 13px; font-weight: 650; }
.voo-connection i { width: 8px; height: 8px; margin-right: 7px; display: inline-block; border-radius: 50%; background: #27a768; box-shadow: 0 0 0 4px rgba(39,167,104,.12); }

.voo-app-shell { min-height: 730px; display: grid; grid-template-columns: 220px minmax(0,1fr); border: 1px solid var(--voo-line); border-top: 0; border-radius: 0 0 18px 18px; background: #fff; overflow: hidden; }
.voo-sidebar { min-height: 100%; padding: 30px 18px 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--voo-navy); }
.voo-section-tabs { display: grid; gap: 8px; }
.voo-section-tabs button { width: 100%; padding: 13px 14px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; color: rgba(255,255,255,.74); background: transparent; cursor: pointer; text-align: left; font-size: 14px; font-weight: 700; }
.voo-section-tabs button:hover { color: #fff; background: rgba(255,255,255,.07); }
.voo-section-tabs button.is-active { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 3px 0 var(--voo-gold); }
.voo-section-tabs .dashicons { width: 20px; height: 20px; font-size: 20px; }
.voo-sidebar-note { padding: 17px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.06); }
.voo-sidebar-note strong, .voo-sidebar-note span { display: block; }
.voo-sidebar-note strong { margin-bottom: 6px; color: #fff; font-size: 13px; }
.voo-sidebar-note span { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }

.voo-workspace { min-width: 0; background: var(--voo-soft); }
.voo-library { padding: 42px; }
.voo-library-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.voo-library-heading h2, .voo-form-heading h2 { margin: 0 0 8px; color: var(--voo-navy); font-size: 34px; line-height: 1.1; letter-spacing: -.035em; }
.voo-library-heading p:not(.voo-eyebrow), .voo-form-heading > p:last-child { margin: 0; color: var(--voo-muted); font-size: 14px; }
.voo-eyebrow { margin: 0 0 8px !important; color: var(--voo-blue) !important; font-size: 11px !important; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.voo-button { min-height: 40px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 750; line-height: 1; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.voo-button:hover { transform: translateY(-1px); }
.voo-button:disabled { opacity: .55; cursor: wait; transform: none; }
.voo-button-primary { color: #fff !important; border-color: var(--voo-navy); background: var(--voo-navy); box-shadow: 0 7px 18px rgba(16,20,56,.16); }
.voo-button-primary:hover { background: var(--voo-navy-soft); }
.voo-button-quiet { color: var(--voo-navy) !important; border-color: #d8dce7; background: #fff; }
.voo-button-danger { color: #a12f35 !important; border-color: #efcdd0; background: #fff5f5; }
.voo-text-link { color: var(--voo-blue); font-size: 13px; font-weight: 700; text-decoration: none; }

.voo-list { display: grid; gap: 12px; }
.voo-list-item { padding: 17px 18px; display: grid; grid-template-columns:minmax(0,1fr) auto; align-items: center; gap: 20px; border: 1px solid var(--voo-line); border-radius: 13px; background: #fff; box-shadow: 0 8px 26px rgba(16,20,56,.045); }
.voo-list-item h3 { margin: 0 0 6px; color: var(--voo-navy); font-size: 17px; line-height: 1.25; }
.voo-list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--voo-muted); font-size: 12px; }
.voo-status { padding: 4px 8px; border-radius: 99px; background: #eef0f8; color: var(--voo-blue); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.voo-status.is-live { color: #19744a; background: #e8f7ef; }
.voo-list-actions { display: flex; align-items: center; gap: 8px; }
.voo-list-actions a { color: var(--voo-muted); text-decoration: none; }
.voo-empty, .voo-loading { padding: 62px 25px; border: 1px dashed #cbd0dc; border-radius: 14px; color: var(--voo-muted); background: rgba(255,255,255,.7); text-align: center; }

.voo-editor-bar { min-height: 70px; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--voo-line); background: #fff; }
.voo-editor-bar-actions { gap: 9px; }
.voo-back { padding: 8px 2px; border: 0; color: var(--voo-navy); background: none; cursor: pointer; font-weight: 750; }
.voo-editor-grid { display: grid; grid-template-columns: minmax(470px,.86fr) minmax(520px,1.14fr); min-height: 740px; }
.voo-form-panel { padding: 36px 38px 80px; background: #fff; }
.voo-form-heading { margin-bottom: 31px; }
.voo-content-form { max-width: 720px; }
.voo-field { margin-bottom: 19px; }
.voo-field label { margin-bottom: 7px; display: block; color: #3d4357; font-size: 12px; font-weight: 750; }
.voo-field input, .voo-field textarea, .voo-field select, .voo-theme-grid input { width: 100%; max-width: none; padding: 11px 12px; border: 1px solid #d7dbe5; border-radius: 8px; color: var(--voo-ink); background: #fff; box-shadow: none; }
.voo-field input:focus, .voo-field textarea:focus, .voo-field select:focus, .voo-theme-grid input:focus { border-color: var(--voo-blue); box-shadow: 0 0 0 3px rgba(92,111,178,.12); outline: none; }
.voo-field textarea { min-height: 76px; resize: vertical; line-height: 1.55; }
.voo-field small { margin-top: 6px; display: block; color: var(--voo-muted); font-size: 11px; line-height: 1.5; }
.voo-template-help { margin: -8px 0 20px; padding: 12px 14px; border-left: 3px solid var(--voo-gold); border-radius: 0 8px 8px 0; color: #5e6578; background: var(--voo-cream); font-size: 12px; line-height: 1.55; }
.voo-fields-2, .voo-theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.voo-section-divider { margin: 32px 0 19px; border-top: 1px solid var(--voo-line); }
.voo-section-divider span { position: relative; top: -9px; padding-right: 10px; color: var(--voo-blue); background: #fff; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.voo-theme-grid { margin-bottom: 12px; }
.voo-media-field { margin: 0 0 13px; justify-content: space-between; gap: 16px; }
.voo-media-field strong, .voo-media-field span { display: block; }
.voo-media-field strong { margin-bottom: 3px; color: #3d4357; font-size: 13px; }
.voo-media-field span { color: var(--voo-muted); font-size: 11px; }
.voo-cover-preview, .voo-gallery-preview { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.voo-cover-preview:empty, .voo-gallery-preview:empty { display: none; }
.voo-media-thumb { position: relative; width: 96px; height: 76px; border-radius: 9px; overflow: hidden; background: #e8eaf1; }
.voo-cover-preview .voo-media-thumb { width: 180px; height: 112px; }
.voo-media-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.voo-media-thumb button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(16,20,56,.86); cursor: pointer; font-size: 16px; line-height: 24px; }

.voo-preview-panel { min-width: 0; padding: 22px; background: #e9ebf2; }
.voo-preview-heading { margin-bottom: 11px; display: flex; justify-content: space-between; color: #545b70; font-size: 12px; font-weight: 750; }
.voo-preview-heading small { color: #858b9c; font-weight: 600; }
#voo-preview { width: 100%; height: calc(100vh - 194px); min-height: 680px; display: block; border: 0; border-radius: 13px; background: #fff; box-shadow: 0 18px 48px rgba(16,20,56,.13); }

.voo-notice { margin: 14px 0; padding: 13px 16px; border: 1px solid #c8e7d6; border-radius: 10px; color: #176941; background: #edfaf3; font-weight: 650; }
.voo-notice.is-error { color: #963139; border-color: #efced1; background: #fff4f4; }

body.toplevel_page_voo-publisher #wpcontent { padding-left: 20px; }
body.toplevel_page_voo-publisher .notice:not(.voo-notice), body.toplevel_page_voo-publisher .update-nag { display: none; }
body.toplevel_page_voo-publisher .voo-publisher > .fs-notice,
body.toplevel_page_voo-publisher .voo-publisher > .updated { display: none !important; }

@media (max-width: 1200px) {
    .voo-editor-grid { grid-template-columns: 1fr; }
    .voo-preview-panel { border-top: 1px solid var(--voo-line); }
    #voo-preview { height: 760px; }
}

@media (max-width: 782px) {
    .voo-publisher { margin-right: 10px; }
    .voo-app-header, .voo-library-heading, .voo-editor-bar { align-items: stretch; flex-direction: column; }
    .voo-header-actions, .voo-editor-bar-actions { flex-wrap: wrap; }
    .voo-app-shell { grid-template-columns: 1fr; }
    .voo-sidebar { min-height: auto; padding: 13px; }
    .voo-section-tabs { grid-template-columns: repeat(3,1fr); }
    .voo-sidebar-note { display: none; }
    .voo-library, .voo-form-panel { padding: 28px 20px 58px; }
    .voo-list-item { grid-template-columns: 1fr; }
    .voo-fields-2, .voo-theme-grid { grid-template-columns: 1fr; }
    .voo-brand img { width: 110px; }
    #voo-preview { min-height: 570px; height: 70vh; }
}

html { background: #eef0f5; }
.voo-web-body { min-height: 100vh; margin: 0; padding: 22px; background: #eef0f5; }
.voo-web-body .voo-publisher { max-width: 1680px; margin: 0 auto; }
.voo-web-body .voo-app-header { padding-right: 30px; }
.voo-web-account { max-width: 1680px; margin: 0 auto 10px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; color: #6b7183; font: 600 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voo-web-account a { padding: 6px 10px; border: 1px solid #d5d9e4; border-radius: 7px; color: #101438; background: #fff; text-decoration: none; }
.voo-web-body .voo-section-tabs .dashicons { display: none; }
.voo-web-body .voo-section-tabs button { padding-left: 16px; }

.voo-login-shell { min-height: calc(100vh - 44px); display: grid; place-items: center; }
.voo-login-card { width: min(100%, 470px); padding: 46px 44px; border: 1px solid #e0e3eb; border-radius: 22px; background: #fff; box-shadow: 0 24px 75px rgba(16,20,56,.13); }
.voo-login-logo { width: 160px; height: 72px; margin-bottom: 27px; display: block; object-fit: contain; object-position: left center; }
.voo-login-eyebrow { margin: 0 0 9px; color: #5c6fb2; font: 800 11px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.voo-login-card h1 { margin: 0 0 14px; color: #101438; font: 760 38px/1.08 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing: -.04em; }
.voo-login-copy { margin: 0 0 30px; color: #697083; font: 400 15px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voo-login-form { display: grid; gap: 17px; }
.voo-login-form label { display: grid; gap: 7px; color: #3d4357; font: 750 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voo-login-form input[type="text"], .voo-login-form input[type="password"] { width: 100%; padding: 13px 14px; border: 1px solid #d6dae4; border-radius: 9px; color: #22263b; background: #fff; font: 400 15px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voo-login-form input:focus { border-color: #5c6fb2; outline: none; box-shadow: 0 0 0 3px rgba(92,111,178,.13); }
.voo-login-form .voo-remember { display: flex; align-items: center; grid-template-columns: auto 1fr; gap: 9px; color: #697083; font-weight: 600; }
.voo-login-button { min-height: 48px; border: 0; border-radius: 10px; color: #fff; background: #101438; cursor: pointer; font: 760 14px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; box-shadow: 0 9px 24px rgba(16,20,56,.2); }
.voo-login-button:hover { background: #1b224e; }
.voo-login-error { margin: 0 0 20px; padding: 12px 13px; border: 1px solid #efcdd0; border-radius: 8px; color: #99353b; background: #fff4f4; font: 650 12px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.voo-login-footnote { margin: 22px 0 0; color: #8a90a0; font: 400 11px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }

@media (max-width: 782px) {
    .voo-web-body { padding: 10px; }
    .voo-login-shell { min-height: calc(100vh - 20px); }
    .voo-login-card { padding: 36px 25px; }
    .voo-login-card h1 { font-size: 32px; }
    .voo-web-account { margin: 4px 4px 9px; }
}
