@import "tailwindcss";

:root {
  --ink: #15241e;
  --forest: #173f32;
  --lime: #d9ff63;
  --paper: #f4f0e7;
  --cream: #fbf8f0;
  --muted: #68756f;
  --line: #d9ddd4;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }

.topbar {
  height: 72px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(21,36,30,.13);
  background: rgba(244,240,231,.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: var(--lime); background: var(--forest); font-size: 11px; letter-spacing: -.5px; }
.brand-dot { color: #6c9214; }
.view-switch { background: #e8e4da; border: 1px solid #ddd7cb; padding: 4px; border-radius: 100px; display: flex; gap: 2px; }
.view-switch button { border: 0; background: transparent; padding: 9px 17px; border-radius: 100px; color: #667069; font-size: 12px; font-weight: 700; }
.view-switch a { padding: 9px 15px; border-radius: 100px; background: var(--forest); color: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.view-switch button.active { background: var(--cream); color: var(--ink); box-shadow: 0 2px 8px rgba(21,36,30,.08); }
.status { font-size: 11px; font-weight: 700; color: #577062; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .07em; }
.status span, .live:before { width: 7px; height: 7px; border-radius: 50%; background: #50a64b; box-shadow: 0 0 0 4px rgba(80,166,75,.12); }

.experience-shell { min-height: calc(100vh - 72px); position: relative; }
.publisher { max-width: 1040px; margin: 0 auto; padding: 34px 230px 110px 52px; }
.publisher-nav { display: flex; align-items: center; gap: 27px; padding-bottom: 28px; margin-bottom: 54px; border-bottom: 1px solid #bfc5bc; color: #657169; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.publisher-nav b { margin-right: auto; color: var(--ink); font-size: 13px; letter-spacing: .12em; }
.story-meta, .eyebrow { color: #6b801e; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.publisher h1 { margin: 17px 0 20px; max-width: 720px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(56px, 6.3vw, 91px); line-height: .88; letter-spacing: -.065em; font-weight: 500; }
.dek { max-width: 640px; margin: 28px 0 25px; color: #4e5c55; font-family: Georgia, serif; font-size: 19px; line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 11px; font-size: 12px; margin: 30px 0 40px; }
.byline .avatar { width: 35px; height: 35px; border-radius: 50%; background: #d7d2c5; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.byline div { display: flex; flex-direction: column; gap: 3px; }
.byline small { color: #7e8882; }
.story-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; }
.story-copy { color: #35443d; font-family: Georgia, serif; font-size: 16px; line-height: 1.75; }
.dropcap { float: left; font-size: 62px; line-height: .8; margin: 9px 7px 0 0; color: var(--forest); }
.story-visual { height: 260px; background: #cad6c9; overflow: hidden; position: relative; border-radius: 2px; }
.story-visual .sun { position: absolute; width: 145px; height: 145px; border-radius: 50%; background: #e9f49e; right: 38px; top: 30px; }
.story-visual .road { position: absolute; height: 360px; width: 120px; background: #758c7f; left: 135px; top: -38px; transform: rotate(24deg); }
.story-visual .car { width: 66px; height: 30px; border-radius: 16px 20px 7px 7px; background: var(--forest); position: absolute; left: 113px; bottom: 79px; transform: rotate(24deg); }
.story-visual .car i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #17241f; bottom: -5px; }
.story-visual .car i:first-child { left: 10px; } .story-visual .car i:last-child { right: 10px; }
.story-visual > span { position: absolute; left: 20px; bottom: 18px; font-size: 9px; font-weight: 800; letter-spacing: .14em; }

.chatstreet {
  position: fixed;
  right: 4.5vw;
  top: 111px;
  width: min(410px, 31vw);
  max-height: calc(100vh - 142px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(225,255,126,.32);
  border-radius: 23px;
  background: #153c30;
  color: #f7f7ef;
  box-shadow: 0 30px 90px rgba(16,39,31,.28);
  z-index: 10;
  animation: arrive .38s ease-out both;
}
.chatstreet.minimized { width: 300px; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } }
.chat-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 14px 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat-head > div { display: flex; align-items: center; gap: 11px; }
.chat-head > div > div { display: flex; flex-direction: column; gap: 2px; }
.chat-head b { font-size: 14px; }
.chat-head small { font-size: 9px; color: #a9bdb4; text-transform: uppercase; letter-spacing: .11em; }
.spark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); color: var(--forest); font-size: 17px; }
.chat-head button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); background: transparent; color: white; }
.chat-body { padding: 17px; overflow: auto; scrollbar-width: thin; min-height: 180px; }
.context-pill { display: inline-flex; padding: 6px 9px; margin-bottom: 13px; border-radius: 100px; background: rgba(255,255,255,.07); color: #b9c8c1; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.message { margin-bottom: 10px; animation: message-in .24s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(6px); } }
.message p { margin: 0; font-size: 13px; line-height: 1.55; }
.message.assistant:not(.sponsored) { padding: 13px 14px; border-radius: 5px 16px 16px 16px; background: rgba(255,255,255,.085); color: #eef3ef; }
.message.user { margin-left: 55px; padding: 11px 13px; border-radius: 15px 5px 15px 15px; background: var(--lime); color: var(--ink); }
.message.sponsored { padding: 14px; border: 1px solid rgba(218,255,99,.5); border-radius: 16px; background: #f4f2e8; color: var(--ink); }
.sponsor-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.sponsor-label span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #738056; }
.sponsor-label b { font-size: 11px; letter-spacing: .08em; }
.sponsor-proof { display: flex; gap: 5px; margin-top: 11px; flex-wrap: wrap; }
.sponsor-proof span { padding: 5px 7px; background: #e5e5d6; border-radius: 5px; font-size: 9px; font-weight: 700; }
.quick-replies { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.quick-replies button { padding: 8px 10px; border-radius: 100px; border: 1px solid rgba(218,255,99,.45); background: transparent; color: #eff5e9; font-size: 10px; text-align: left; }
.quick-replies button:hover, .quick-replies button:focus-visible { background: var(--lime); color: var(--ink); outline: none; }
.typing { display: flex; gap: 4px; padding: 13px 14px; margin-bottom: 10px; width: fit-content; border-radius: 5px 15px 15px; background: rgba(255,255,255,.085); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #b7c8be; animation: dot 1s infinite alternate; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { to { opacity: .25; transform: translateY(-3px); } }
.composer { margin: 0 13px; padding: 7px 7px 7px 13px; display: flex; gap: 7px; border-radius: 13px; background: white; }
.composer input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 12px; }
.composer button { width: 31px; height: 31px; border-radius: 9px; border: 0; background: var(--lime); color: var(--ink); font-weight: 900; }
.disclosure { padding: 10px 14px 12px; text-align: center; font-size: 8px; color: #8fa79d; letter-spacing: .03em; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(17,31,26,.58); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 50; padding: 20px; }
.lead-modal { width: min(470px, 100%); padding: 34px; position: relative; border-radius: 24px; background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-close { position: absolute; right: 17px; top: 14px; border: 0; background: transparent; font-size: 26px; color: #77827c; }
.lead-modal h2 { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 35px; letter-spacing: -.03em; }
.lead-modal > p { color: #667069; font-size: 13px; line-height: 1.55; }
.lead-modal form { display: grid; gap: 13px; margin: 22px 0 14px; }
.lead-modal label { display: grid; gap: 6px; color: #56635c; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.lead-modal input { width: 100%; padding: 12px; border: 1px solid #d1d8cf; border-radius: 9px; background: white; font-size: 13px; text-transform: none; }
.lead-modal form button, .success button { padding: 13px; border: 0; border-radius: 10px; background: var(--forest); color: white; font-weight: 700; }
.lead-modal > small { color: #89928d; font-size: 9px; }
.success { text-align: center; padding: 18px 0 6px; }
.success > span { margin: auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 24px; font-weight: 900; }
.success p { color: #647069; font-size: 13px; line-height: 1.55; margin-bottom: 22px; }

.console { max-width: 1240px; margin: auto; padding: 55px 36px 90px; }
.console-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; }
.console-heading h1 { margin: 9px 0 0; font-family: Georgia, serif; font-size: 37px; font-weight: 500; letter-spacing: -.035em; }
.console-heading button { border: 0; background: var(--forest); color: white; border-radius: 10px; padding: 12px 17px; font-size: 12px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-grid article, .console-grid > article { background: #fbf9f2; border: 1px solid var(--line); border-radius: 15px; }
.metric-grid article { padding: 20px; display: flex; flex-direction: column; gap: 9px; }
.metric-grid small { color: #738079; font-size: 10px; font-weight: 700; }
.metric-grid strong { font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.metric-grid span { color: #6f8e42; font-size: 10px; }
.console-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; margin-top: 12px; }
.console-grid > article { padding: 23px; min-height: 390px; }
.panel-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 21px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.panel-head small { color: #78901e; font-weight: 800; letter-spacing: .12em; }
.panel-head h2 { margin: 5px 0 0; font-size: 18px; }
.panel-head > span { color: #78837d; font-size: 10px; padding: 7px 9px; border-radius: 7px; background: #efede5; }
.panel-head .live { display: flex; align-items: center; gap: 7px; color: #4f7850; }
.panel-head .live:before { content: ""; display: inline-block; }
.intent-row { display: grid; grid-template-columns: 170px 1fr 35px; align-items: center; gap: 15px; margin: 18px 0; }
.intent-row b { font-size: 11px; }
.intent-row > span { height: 7px; background: #e3e4db; border-radius: 10px; overflow: hidden; }
.intent-row i { display: block; height: 100%; background: #7ca430; border-radius: inherit; }
.intent-row em { color: #728078; font-size: 10px; font-style: normal; text-align: right; }
.insight { margin-top: 25px; padding: 15px; display: flex; gap: 12px; background: #eef4d8; border-radius: 10px; }
.insight > span { color: #718f22; }
.insight p { margin: 0; color: #5b695f; font-size: 10px; line-height: 1.55; }
.insight b { color: var(--ink); display: block; margin-bottom: 3px; }
.event-list > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid #e7e7df; }
.event-list > div > i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #8aaf36; }
.event-list p { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 10px; }
.event-list p span { color: #7b8580; }
.event-list time { color: #8d9691; font-size: 9px; }
.integration-strip { margin-top: 12px; padding: 20px 23px; display: flex; align-items: center; gap: 10px; border-radius: 15px; background: var(--forest); color: white; }
.integration-strip div { display: flex; flex-direction: column; gap: 5px; margin-right: auto; }
.integration-strip small { color: var(--lime); font-size: 9px; letter-spacing: .1em; }
.integration-strip b { font-family: Georgia, serif; font-size: 16px; font-weight: 500; }
.integration-strip > span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; font-size: 9px; color: #c6d4cd; }

@media (max-width: 1000px) {
  .status { display: none; }
  .publisher { padding-right: 42%; padding-left: 34px; }
  .chatstreet { width: 39vw; right: 2vw; }
  .publisher h1 { font-size: 62px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: 1fr; }
  .integration-strip { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .topbar { padding: 0 15px; height: 64px; }
  .brand > span:last-child, .view-switch button:last-child { display: none; }
  .view-switch { margin-left: auto; margin-right: 8px; }
  .experience-shell { padding-bottom: 430px; }
  .publisher { padding: 28px 20px 60px; }
  .publisher-nav span { display: none; }
  .publisher-nav { margin-bottom: 34px; }
  .publisher h1 { font-size: 52px; }
  .dek { font-size: 17px; }
  .story-grid { display: block; }
  .chatstreet, .chatstreet.minimized { position: fixed; width: calc(100% - 20px); max-height: 62vh; right: 10px; top: auto; bottom: 10px; border-radius: 20px; }
  .metric-grid { grid-template-columns: 1fr; }
  .console { padding: 35px 16px 80px; }
  .console-heading { align-items: start; gap: 20px; }
  .console-heading h1 { font-size: 28px; }
  .intent-row { grid-template-columns: 125px 1fr 30px; }
  .integration-strip > span { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ChatStreet Studio */
.studio-shell { min-height: 100vh; display: grid; grid-template-columns: 230px 1fr; background: #f2efe7; }
.studio-nav { position: sticky; top: 0; height: 100vh; padding: 26px 18px 20px; display: flex; flex-direction: column; background: #102e25; color: white; }
.studio-brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 17px; }
.studio-brand > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: var(--forest); font-size: 10px; font-weight: 900; }
.studio-campaign-pill { margin: 34px 0 22px; padding: 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.05); }
.studio-campaign-pill > i { width: 7px; height: 7px; border-radius: 50%; background: #7ccc66; box-shadow: 0 0 0 4px rgba(124,204,102,.12); }
.studio-campaign-pill div { display: flex; flex-direction: column; gap: 3px; }
.studio-campaign-pill small { color: #8eaaa0; font-size: 7px; letter-spacing: .1em; }
.studio-campaign-pill b { font-size: 11px; }
.studio-nav nav { display: grid; gap: 5px; }
.studio-nav nav button { padding: 11px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 9px; background: transparent; color: #a9bdb5; text-align: left; font-size: 11px; font-weight: 700; }
.studio-nav nav button > span { width: 20px; text-align: center; font-size: 14px; }
.studio-nav nav button.active { background: var(--lime); color: #18332a; }
.studio-nav-foot { margin-top: auto; padding: 13px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255,255,255,.1); }
.studio-nav-foot small { color: #7f9b91; font-size: 7px; letter-spacing: .12em; }
.studio-nav-foot b { margin-top: 3px; font-size: 11px; }
.studio-nav-foot span { color: #829a91; font-size: 8px; }
.studio-main { min-width: 0; }
.studio-top { height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d7dbd2; background: rgba(251,249,243,.9); backdrop-filter: blur(14px); }
.studio-top > div:first-child { display: flex; align-items: center; gap: 9px; color: #7c8680; font-size: 10px; }
.studio-top i { color: #adb3af; font-style: normal; }
.studio-top b { color: #283730; }
.studio-top-actions { display: flex; align-items: center; gap: 8px; }
.studio-top-actions a, .studio-top-actions button { padding: 10px 13px; border-radius: 8px; font-size: 9px; font-weight: 800; text-decoration: none; }
.studio-top-actions a { border: 1px solid #d1d6ce; color: #44544c; background: white; }
.studio-top-actions button { border: 0; background: var(--forest); color: white; }
.studio-workspace { display: grid; grid-template-columns: minmax(500px, 1fr) 440px; align-items: start; }
.studio-editor { padding: 48px 44px 100px; border-right: 1px solid #d9ddd4; }
.studio-title { max-width: 720px; margin-bottom: 38px; }
.studio-title > span { color: #738b20; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.studio-title h1 { margin: 13px 0 15px; font-family: Georgia, serif; font-size: clamp(35px, 3.5vw, 51px); line-height: .98; font-weight: 500; letter-spacing: -.045em; }
.studio-title p { max-width: 620px; margin: 0; color: #69766f; font-size: 12px; line-height: 1.6; }
.studio-editor form { max-width: 760px; }
.studio-section-head { margin: 40px 0 18px; padding-bottom: 12px; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid #d6dbd2; }
.studio-section-head > div { display: flex; align-items: center; gap: 11px; }
.studio-section-head b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #e0e8bd; color: #58701b; font-size: 8px; }
.studio-section-head h2 { margin: 0; font-size: 15px; }
.studio-section-head > span { color: #8c958f; font-size: 8px; }
.studio-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.studio-form-grid label { display: grid; gap: 7px; color: #65736c; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.studio-form-grid label.wide { grid-column: 1 / -1; }
.studio-form-grid input, .studio-form-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid #d3d9d0; border-radius: 8px; outline: 0; background: #fbfaf6; color: #23352c; font-size: 11px; line-height: 1.55; text-transform: none; resize: vertical; }
.studio-form-grid input:focus, .studio-form-grid textarea:focus { border-color: #829c3c; box-shadow: 0 0 0 3px rgba(130,156,60,.1); }
.studio-form-grid label > small { color: #919b95; font-size: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.color-input { display: grid; grid-template-columns: 43px 1fr; gap: 7px; }
.color-input input[type="color"] { height: 39px; padding: 3px; }
.studio-save { margin-top: 28px; padding: 12px 17px; border: 0; border-radius: 9px; background: var(--forest); color: white; font-size: 10px; font-weight: 800; }
.studio-preview { position: sticky; top: 72px; min-height: calc(100vh - 72px); padding: 30px 24px; background: #e6e3da; }
.preview-head { max-width: 390px; margin: 0 auto 15px; display: flex; align-items: end; justify-content: space-between; }
.preview-head div { display: flex; flex-direction: column; gap: 5px; }
.preview-head small { color: #75851f; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.preview-head b { font-size: 13px; }
.preview-head > span { color: #87918b; font-size: 8px; }
.studio-preview iframe { width: 390px; height: 620px; max-width: 100%; display: block; margin: auto; border: 0; border-radius: 24px; }
.studio-preview > p { max-width: 390px; margin: 13px auto 0; color: #7b857f; font-size: 8px; line-height: 1.5; }
.studio-preview > p i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #72aa43; }
.delivery-page, .analytics-page { padding: 52px 44px 100px; }
.delivery-status { margin-bottom: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 18px; border-radius: 13px; background: var(--forest); color: white; }
.delivery-status > div { margin-right: auto; display: flex; flex-direction: column; gap: 5px; }
.delivery-status small { color: var(--lime); font-size: 7px; letter-spacing: .12em; }
.delivery-status b { font-size: 11px; }
.delivery-status > span { color: #b4c8bf; font-size: 8px; }
.delivery-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #78d879; }
.tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag-card { min-width: 0; padding: 19px; border: 1px solid #d5dad2; border-radius: 14px; background: #fbfaf6; }
.tag-card > div > span { display: inline-block; padding: 5px 7px; border-radius: 5px; background: #e6edc9; color: #647820; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.tag-card h2 { margin: 14px 0 7px; font-size: 15px; }
.tag-card p { min-height: 47px; margin: 0; color: #768079; font-size: 9px; line-height: 1.5; }
.tag-card pre { height: 135px; overflow: auto; margin: 17px 0 12px; padding: 12px; border-radius: 8px; background: #102e25; color: #d5dfda; font: 8px/1.6 monospace; white-space: pre-wrap; word-break: break-all; }
.tag-card > button { width: 100%; padding: 10px; border: 1px solid #ced4cb; border-radius: 8px; background: white; color: #35483f; font-size: 9px; font-weight: 800; }
.platform-table { margin-top: 15px; border: 1px solid #d4dad1; border-radius: 14px; overflow: hidden; background: #fbfaf6; }
.platform-table > div { display: grid; grid-template-columns: .8fr 1.4fr 1.3fr .7fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #e0e3dc; font-size: 9px; align-items: center; }
.platform-table > div:first-child { background: #e9e8e1; color: #6d7771; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.platform-table > div:last-child { border-bottom: 0; }
.platform-table em { width: fit-content; padding: 5px 7px; border-radius: 100px; background: #e7edcd; color: #647a21; font-size: 8px; font-style: normal; }
.delivery-note { color: #7a847e; font-size: 9px; line-height: 1.55; }
.analytics-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.analytics-cards article { padding: 18px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #d5dad2; border-radius: 13px; background: #fbfaf6; }
.analytics-cards small { color: #738078; font-size: 8px; font-weight: 800; }
.analytics-cards strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.analytics-cards span { color: #7b8d47; font-size: 8px; line-height: 1.4; }
.analytics-empty { margin-top: 13px; padding: 25px; display: flex; align-items: center; gap: 16px; border: 1px solid #d5dad2; border-radius: 14px; background: #fbfaf6; }
.analytics-empty > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #e8efc8; color: #667d1f; font-size: 20px; }
.analytics-empty > div { margin-right: auto; }
.analytics-empty h2 { margin: 0 0 5px; font-size: 14px; }
.analytics-empty p { margin: 0; color: #76817b; font-size: 9px; }
.analytics-empty a { padding: 10px 12px; border-radius: 8px; background: var(--forest); color: white; font-size: 9px; font-weight: 800; text-decoration: none; }
.studio-loading { min-height: 100vh; display: grid; place-items: center; background: #f2efe7; color: #607069; font-size: 12px; }

@media (max-width: 1100px) {
  .studio-workspace { grid-template-columns: 1fr; }
  .studio-editor { border-right: 0; }
  .studio-preview { position: relative; top: 0; min-height: 0; }
  .tag-grid { grid-template-columns: 1fr; }
  .analytics-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .studio-shell { grid-template-columns: 1fr; }
  .studio-nav { position: relative; height: auto; padding: 13px; flex-direction: row; align-items: center; gap: 10px; overflow: auto; }
  .studio-campaign-pill, .studio-nav-foot { display: none; }
  .studio-nav nav { display: flex; margin-left: auto; }
  .studio-nav nav button { white-space: nowrap; }
  .studio-nav nav button > span { display: none; }
  .studio-top { padding: 0 14px; }
  .studio-top > div:first-child { display: none; }
  .studio-top-actions { margin-left: auto; }
  .studio-editor, .delivery-page, .analytics-page { padding: 34px 18px 80px; }
  .studio-form-grid { grid-template-columns: 1fr; }
  .studio-form-grid label.wide { grid-column: auto; }
  .platform-table { overflow-x: auto; }
  .platform-table > div { min-width: 720px; }
  .analytics-cards { grid-template-columns: 1fr; }
  .analytics-empty { align-items: flex-start; flex-wrap: wrap; }
}

