/* Clean Travel Diary Publishing Studio CSS (The Neumanns) */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: #F7F4EE; color: #191815; line-height: 1.55; }
.studio-login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.studio-login-card { width: min(420px, 100%); background: #FFFFFF; border: 1.5px solid #DED6C7; border-radius: 18px; padding: 32px; box-shadow: 0 20px 44px -20px rgba(25, 24, 21, 0.22); }
.studio-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: #154D42; margin: 0 0 6px; }
.studio-login-card h1 { margin: 0 0 8px; font-family: 'Poppins', sans-serif; font-size: 1.7rem; }
.studio-muted { color: #565249; font-size: 0.93rem; margin-top: 0; }
.studio-top { background: #FFFFFF; border-bottom: 1.5px solid #DED6C7; position: sticky; top: 0; z-index: 30; }
.studio-top-inner { width: min(1160px, 100% - 32px); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.studio-brand { font-family: 'Poppins', sans-serif; font-weight: 700; text-decoration: none; color: #191815; font-size: 1.15rem; }
.studio-brand span { font-weight: 500; color: #154D42; background: #E6F2EE; padding: 2px 8px; border-radius: 999px; font-size: 0.8rem; margin-left: 4px; }
.studio-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.studio-nav a { padding: 7px 14px; border-radius: 999px; text-decoration: none; color: #565249; font-weight: 600; font-size: 0.9rem; }
.studio-nav a.is-active, .studio-nav a:hover { background: #E6F2EE; color: #154D42; }
.studio-top-right { display: flex; gap: 14px; font-size: 0.88rem; }
.studio-top-right a { color: #565249; text-decoration: none; font-weight: 600; }
.studio-main { width: min(1160px, 100% - 32px); margin: 28px auto 64px; }
.studio-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #FFFFFF; border: 1.5px solid #DED6C7; border-radius: 14px; padding: 18px 20px; }
.stat-card span { display: block; font-size: 0.82rem; color: #565249; }
.stat-card strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.65rem; margin-top: 4px; }
.stat-card small { font-size: 0.75rem; color: #154D42; }
.studio-panel { background: #FFFFFF; border: 1.5px solid #DED6C7; border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.studio-theme-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.studio-theme-bar h2 { margin: 0 0 4px; font-size: 1.15rem; }
.studio-inline-form { display: flex; gap: 10px; align-items: center; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h1, .panel-head h2 { margin: 0; font-family: 'Poppins', sans-serif; font-size: 1.35rem; }
label { display: block; font-weight: 600; font-size: 0.88rem; margin: 14px 0 6px; }
input[type="text"], input[type="password"], input[type="email"], select, textarea { width: 100%; padding: 11px 13px; border-radius: 9px; border: 1.5px solid #D5CCBC; font-family: inherit; font-size: 0.96rem; background: #FFFFFF; color: #191815; }
textarea { line-height: 1.6; resize: vertical; }
.studio-btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; border: none; background: #154D42; color: #FFFFFF; font-weight: 700; font-size: 0.92rem; cursor: pointer; text-decoration: none; }
.studio-btn-primary:hover { background: #0D3830; }
.studio-btn-secondary { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #154D42; background: #FFFFFF; color: #154D42; font-weight: 700; cursor: pointer; }
.studio-btn-danger { padding: 9px 16px; border-radius: 999px; border: 1.5px solid #DC2626; background: #FEF2F2; color: #B91C1C; font-weight: 600; cursor: pointer; }
.studio-btn-sm { display: inline-block; padding: 5px 11px; border-radius: 8px; border: 1px solid #D5CCBC; text-decoration: none; color: #154D42; font-size: 0.84rem; font-weight: 600; }
.studio-table { width: 100%; border-collapse: collapse; }
.studio-table th, .studio-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #EDE7DC; font-size: 0.92rem; }
.row-sub { font-size: 0.8rem; color: #6E695F; margin-top: 2px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: #EDE7DC; color: #191815; }
.pill.is-live { background: #DCFCE7; color: #166534; }
.pill.is-draft { background: #FEF3C7; color: #92400E; }
.studio-alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: 0.92rem; }
.studio-alert.is-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.studio-alert.is-err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.editor-grid { display: grid; grid-template-columns: 1.55fr 0.75fr; gap: 20px; align-items: start; }
.editor-head-actions { display: flex; gap: 10px; align-items: center; }
.status-select { width: auto; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; padding: 10px; background: #F2ECE1; border-radius: 10px; }
.editor-toolbar button { padding: 6px 12px; border-radius: 8px; border: 1px solid #D5CCBC; background: #FFFFFF; color: #154D42; font-weight: 600; font-size: 0.84rem; cursor: pointer; }
.cover-preview { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: #F2ECE1; border: 1.5px dashed #CFC5B2; display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; color: #6E695F; font-size: 0.86rem; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.studio-upload-btn { display: block; text-align: center; padding: 10px; border-radius: 9px; background: #E6F2EE; color: #154D42; font-weight: 700; cursor: pointer; margin-top: 10px; }
.check-row { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-top: 14px; }
.check-row input { width: auto; }
.newsletter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.studio-back { margin-top: 18px; font-size: 0.88rem; }
.studio-hint { font-size: 0.82rem; color: #6E695F; margin-top: 8px; }
@media (max-width: 860px) { .studio-stats { grid-template-columns: repeat(2, 1fr); } .editor-grid { grid-template-columns: 1fr; } }
