@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --background: #ffffff;
  --foreground: #171717;
  --card: #ffffff;
  --card-foreground: #171717;
  --popover: #ffffff;
  --popover-foreground: #171717;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --secondary: #f5f5f5;
  --secondary-foreground: #171717;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #171717;
  --destructive: #e7000b;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #a1a1a1;
  --chart-1: #f54900;
  --chart-2: #009689;
  --chart-3: #104e64;
  --chart-4: #ffb900;
  --chart-5: #fe9a00;
  --radius: 0.625rem;
  --sidebar: #fafafa;
  --sidebar-foreground: #171717;
  --sidebar-primary: #171717;
  --sidebar-primary-foreground: #fafafa;
  --sidebar-accent: #f5f5f5;
  --sidebar-accent-foreground: #171717;
  --sidebar-border: #e5e5e5;
  --sidebar-ring: #a1a1a1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
    --card: #171717;
    --card-foreground: #ededed;
    --popover: #171717;
    --popover-foreground: #ededed;
    --primary: #ededed;
    --primary-foreground: #171717;
    --secondary: #262626;
    --secondary-foreground: #ededed;
    --muted: #262626;
    --muted-foreground: #a1a1a1;
    --accent: #262626;
    --accent-foreground: #ededed;
    --destructive: #ff6467;
    --border: #ffffff1a;
    --input: #ffffff26;
    --ring: #737373;
    --chart-1: #8e51ff;
    --chart-2: #00bc7d;
    --chart-3: #fe9a00;
    --chart-4: #ad46ff;
    --chart-5: #ff2056;
    --sidebar: #171717;
    --sidebar-foreground: #ededed;
    --sidebar-primary: #8e51ff;
    --sidebar-primary-foreground: #ededed;
    --sidebar-accent: #262626;
    --sidebar-accent-foreground: #ededed;
    --sidebar-border: #ffffff1a;
    --sidebar-ring: #737373;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", sans-serif;
}

button,
input,
select,
textarea,
table {
  font-family: "Inter", sans-serif;
}

.main-nav,
.mobile-menu,
.header-admin,
.eyebrow,
.button,
.text-link,
.note-meta,
.note-foot,
.filter-grid,
.archive-head,
.dialog-kicker,
.live-pill,
.market-labels,
.economic-meta,
.footer-links,
.about-role,
.section-index,
.login-back,
.login-security,
.sidebar-status,
.sidebar-bottom,
.admin-header p,
.admin-tabs-list,
.secure-label,
.tab-subtitle,
.form-grid label,
.background-grid,
.market-admin-summary span {
  font-family: "Poppins", sans-serif;
}

/* eshaerer executive editorial system */
:root {
  --ink: #17211c;
  --forest: #153c31;
  --forest-2: #0d2b23;
  --cream: #f4f0e6;
  --paper: #fbfaf6;
  --gold: #b08a4b;
  --sage: #bdc9bc;
  --line: rgba(23, 33, 28, 0.14);
  --muted: #69736d;
  --background: #f4f0e6;
  --foreground: #17211c;
  --card: #fbfaf6;
  --card-foreground: #17211c;
  --popover: #fbfaf6;
  --popover-foreground: #17211c;
  --primary: #153c31;
  --primary-foreground: #fffdf6;
  --secondary: #e7e3d8;
  --secondary-foreground: #17211c;
  --muted-foreground: #69736d;
  --accent: #e7e3d8;
  --accent-foreground: #17211c;
  --destructive: #b42318;
  --border: rgba(23,33,28,.16);
  --input: rgba(23,33,28,.2);
  --ring: #b08a4b;
  --radius: .35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site-page { min-height: 100vh; overflow: hidden; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { height: 84px; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { height: 100%; width: min(1240px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--ink); font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: -.06em; }
.brand-logo-mark { padding: 3px; overflow: hidden; }
.brand-logo-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy b { font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.main-nav a { padding: 32px 0 28px; color: #647069; border-bottom: 2px solid transparent; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-bottom-color: var(--gold); }
.mobile-admin-nav { display: none!important; }
.header-admin { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 70px 92px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--gold); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .dark-grid h2, .page-title h1 { font-family: "Montserrat", sans-serif; font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(56px, 6.4vw, 91px); line-height: .96; }
.hero h1 em { color: var(--forest); font-weight: 400; }
.hero-lead { max-width: 600px; margin: 31px 0 0; color: #5f6963; font-family: "Montserrat", sans-serif; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.button { height: 48px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; transition: .2s ease; cursor: pointer; }
.button-primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.button-primary:hover { background: var(--ink); transform: translateY(-2px); }
.button-ghost:hover { background: rgba(255,255,255,.5); }
.hero-monogram { min-height: 455px; position: relative; display: grid; place-items: center; }
.hero-uploaded-image { width: min(100%, 445px); max-height: 520px; display: block; object-fit: contain; box-shadow: 0 32px 72px rgba(23,33,28,.14); }
.monogram-core { position: relative; width: 210px; height: 270px; border: 1px solid rgba(21,60,49,.32); display: grid; place-items: center; background: rgba(251,250,246,.55); box-shadow: 0 40px 80px rgba(23,33,28,.08); }
.monogram-core:before, .monogram-core:after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(176,138,75,.55); }
.monogram-core:after { inset: 26px; border-color: rgba(21,60,49,.17); }
.monogram-core span { font-family: "Montserrat", sans-serif; font-size: 118px; color: var(--forest); line-height: 1; transform: translateX(-18px); }
.monogram-core small { position: absolute; font-family: "Montserrat", sans-serif; font-size: 62px; color: var(--gold); transform: translate(35px, 45px); }
.orbit { position: absolute; border: 1px solid rgba(21,60,49,.14); border-radius: 50%; }
.orbit-one { width: 370px; height: 370px; }
.orbit-two { width: 440px; height: 230px; transform: rotate(-35deg); }
.hero-quote { position: absolute; right: -24px; bottom: 16px; width: 250px; padding: 18px 20px; background: var(--forest); color: #f7f2e7; box-shadow: 0 24px 55px rgba(13,43,35,.23); }
.hero-quote svg { color: var(--gold); }
.hero-quote p { margin: 10px 0 0; font-family: "Montserrat", sans-serif; font-size: 13px; line-height: 1.55; }
.principles-strip { background: var(--paper); border-block: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-grid > div { min-height: 150px; padding: 30px 36px; border-right: 1px solid var(--line); position: relative; }
.principle-grid > div:first-child { border-left: 1px solid var(--line); }
.principle-grid span { position: absolute; top: 28px; right: 26px; color: var(--gold); font-family: "Montserrat", sans-serif; font-style: italic; }
.principle-grid strong { display: block; margin-top: 20px; font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 500; }
.principle-grid p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.content-section { padding-block: 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.04; }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; font-size: 12px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-card { min-height: 390px; padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s ease; }
.note-card:first-child { border-left: 1px solid var(--line); }
.note-card:hover { background: var(--paper); transform: translateY(-5px); }
.note-number { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 20px; font-style: italic; }
.note-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 43px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.note-meta span { color: var(--forest); font-weight: 700; }
.note-card h3 { margin: 20px 0 0; font-family: "Montserrat", sans-serif; font-size: 26px; line-height: 1.24; font-weight: 500; }
.note-card > p { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.note-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.note-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.home-projects { padding-block: 104px; border-top: 1px solid var(--line); background: rgba(251,250,246,.48); }
.project-heading { margin-bottom: 42px; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.home-project-grid > a { min-height: 330px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); transition: .22s ease; }
.home-project-grid > a:first-child { border-left: 1px solid var(--line); }
.home-project-grid > a:hover { background: var(--forest); color: white; transform: translateY(-5px); }
.home-project-grid > a > span { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 18px; font-style: italic; }
.home-project-grid time { margin-top: 38px; color: var(--muted); font-family: "Poppins", sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.home-project-grid > a:hover time, .home-project-grid > a:hover p { color: #b8c4bd; }
.home-project-grid h3 { margin: 15px 0 0; font-family: "Montserrat", sans-serif; font-size: 24px; line-height: 1.25; font-weight: 500; }
.home-project-grid p { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-project-grid footer { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.home-project-grid footer b { font-family: "Poppins", sans-serif; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.dark-section { background: var(--forest-2); color: #f5f0e5; padding-block: 105px; }
.dark-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.eyebrow-light { color: #d6b87e; }
.dark-grid h2 { margin: 0; max-width: 500px; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; }
.perspective-list { border-top: 1px solid rgba(255,255,255,.2); }
.perspective-list a { display: grid; grid-template-columns: 28px 1fr 24px; gap: 18px; align-items: center; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.2); transition: .2s ease; }
.perspective-list a:hover { padding-left: 12px; color: #e5c386; }
.perspective-list svg { width: 19px; }
.perspective-list span { display: flex; flex-direction: column; gap: 6px; }
.perspective-list b { font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 500; }
.perspective-list small { color: #aebbb4; font-size: 11px; }
.site-footer { background: #071c16; color: #e9e6dc; padding-block: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 48px; align-items: end; }
.brand-footer .brand-mark { border-color: rgba(255,255,255,.5); }
.brand-footer .brand-copy small { color: #92a199; }
.footer-grid > div:first-child > p { margin: 24px 0 0; color: #92a199; font-family: "Montserrat", sans-serif; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; gap: 9px; align-items: end; }
.footer-meta span { font-family: "Montserrat", sans-serif; font-size: 17px; }
.footer-meta small { color: #84948c; font-size: 10px; }
.reveal { animation: rise .7s ease both; }
.reveal-delay { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .section-shell, .header-inner { width: min(100% - 30px, 760px); }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 55px; }
  .hero-monogram { min-height: 390px; }
  .hero-quote { right: 0; }
  .principle-grid, .notes-grid, .home-project-grid { grid-template-columns: 1fr; }
  .principle-grid > div, .note-card, .home-project-grid > a { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .note-card { min-height: 330px; }
  .dark-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-meta { align-items: start; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .header-admin { padding: 9px 10px; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; padding-block: 50px 70px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-monogram { min-height: 340px; transform: scale(.87); }
  .section-heading { align-items: start; flex-direction: column; gap: 26px; }
  .content-section, .home-projects { padding-block: 80px; }
  .dark-section { padding-block: 75px; }
}

/* Inner public pages */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; padding: 9px 12px; border: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.mobile-menu nav { position: absolute; right: 0; top: 44px; width: 210px; display: flex; flex-direction: column; padding: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(23,33,28,.14); }
.mobile-menu nav a { padding: 12px; font-size: 13px; }
.mobile-menu nav a.active { color: var(--gold); }
.page-title { padding-block: 96px 72px; }
.page-title > div { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.page-title h1 { margin: 0; font-size: clamp(58px, 7vw, 92px); line-height: .94; }
.page-title h1 em, .compact-title h1 em, .about-intro h1 em { color: var(--gold); font-weight: 400; }
.page-title > div > p { margin: 0 0 7px; max-width: 440px; color: var(--muted); font-family: "Montserrat", sans-serif; font-size: 17px; line-height: 1.75; }
.filter-band { padding-block: 24px; background: var(--forest); color: white; }
.filter-grid { display: grid; grid-template-columns: 1.7fr .8fr .75fr .9fr; gap: 12px; }
.search-field, .date-field { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.23); }
.search-field input, .date-field input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }
.search-field input::placeholder { color: rgba(255,255,255,.6); }
.date-field input { color-scheme: dark; }
.filter-select { width: 100%!important; height: 46px!important; color: white!important; border-color: rgba(255,255,255,.23)!important; background: rgba(255,255,255,.08)!important; box-shadow: none!important; border-radius: 0!important; }
.archive-section { padding-block: 44px 112px; }
.archive-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.archive-head p { margin: 0; }
.archive-head button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--forest); cursor: pointer; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pagination { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; font-family: "Poppins", sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.pagination a { color: var(--forest); font-weight: 700; }
.pagination a:last-child, .pagination span:last-child { text-align: right; }
.pagination span { color: var(--muted); opacity: .65; }
.pagination strong { color: var(--muted); font-weight: 500; }
.archive-card { min-height: 405px; padding: 0; text-align: left; border: 1px solid var(--line); background: rgba(251,250,246,.58); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; transition: .23s ease; }
.archive-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(23,33,28,.09); }
.note-visual { height: 150px; position: relative; overflow: hidden; background: var(--forest); }
.note-visual img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.note-visual:before, .note-visual:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.note-visual:before { width: 210px; height: 210px; right: -40px; top: -100px; }
.note-visual:after { width: 120px; height: 120px; right: 48px; bottom: -74px; }
.visual-3 { background: #4d472f; }
.visual-5 { background: #203b4b; }
.note-visual span { position: absolute; left: 20px; bottom: 18px; color: rgba(255,255,255,.8); font-size: 9px; letter-spacing: .16em; }
.archive-card-body { flex: 1; display: flex; flex-direction: column; padding: 25px; }
.archive-card .note-meta { margin-top: 0; }
.archive-card h2 { margin: 18px 0 0; font-family: "Montserrat", sans-serif; font-size: 22px; font-weight: 500; line-height: 1.28; }
.archive-card p { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.archive-card .note-foot { margin-top: auto; }
.empty-state { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); text-align: center; }
.empty-state > svg { color: var(--gold); width: 36px; height: 36px; }
.empty-state h2 { margin: 20px 0 7px; font-family: "Montserrat", sans-serif; font-size: 28px; font-weight: 500; }
.empty-state p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.note-dialog { max-width: 720px!important; max-height: 86vh; overflow: auto; padding: 48px!important; border-radius: 0!important; background: var(--paper)!important; }
.dialog-kicker { margin: 0 0 10px; color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.note-dialog h2 { font-family: "Montserrat", sans-serif; font-size: 36px; line-height: 1.1; font-weight: 500; }
.note-dialog [data-slot="dialog-description"] { font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.6; }
.dialog-body p { font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.85; }
.dialog-rich-content h2, .dialog-rich-content h3 { margin: 24px 0 8px; font-family: "Montserrat", sans-serif; font-weight: 600; line-height: 1.3; }
.dialog-rich-content h2 { font-size: 22px; }.dialog-rich-content h3 { font-size: 18px; }
.dialog-rich-content p { margin: 16px 0; }
.dialog-rich-content ul, .dialog-rich-content ol { margin: 18px 0; padding-left: 28px; font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.8; }
.dialog-rich-content li + li { margin-top: 5px; }
.dialog-rich-content blockquote { margin: 24px 0; }
.dialog-body blockquote { margin: 30px 0; padding: 22px 25px; border-left: 3px solid var(--gold); background: var(--cream); font-family: "Montserrat", sans-serif; font-size: 18px; line-height: 1.6; }
.dialog-close { justify-self: start; border: 0; border-bottom: 1px solid; background: none; padding: 4px 0; cursor: pointer; font-size: 12px; }

/* Market page */
.market-hero { background: var(--forest-2); color: #f7f2e7; padding-block: 27px; }
.market-hero-grid { min-height: 92px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.compact-title { padding: 0; }
.compact-title h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(42px, 4.5vw, 60px); line-height: .96; font-weight: 400; letter-spacing: -.04em; }
.compact-title .eyebrow { margin-bottom: 10px; }
.economic-meta { min-width: 275px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 5px; }
.economic-meta span { color: #d5b979; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.economic-meta b { font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 500; }
.economic-meta small { color: #99aaa1; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.market-sync { display: grid; grid-template-columns: 48px 1fr 22px; gap: 15px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.sync-icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.09); color: #d4b77d; }
.market-sync > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.market-sync span { color: #aebbb4; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.market-sync b { font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 500; }
.market-sync small { color: #91a098; font-size: 10px; }
.market-sync > svg { color: #5fd29b; }
.market-section { padding-block: 17px 24px; }
.market-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 40px; }
.market-summary > div { padding: 25px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.market-summary > div:last-child { border-right: 0; }
.market-summary span { font-family: "Montserrat", sans-serif; font-size: 25px; }
.market-summary small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.market-table-wrap { border: 1px solid var(--line); background: var(--paper); }
.market-table-head { min-height: 54px; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.market-table-head .eyebrow { margin-bottom: 3px; font-size: 7px; }
.market-table-head h2 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 21px; font-weight: 500; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; color: #277657; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.live-pill i, .service-list i, .system-card em i, .sidebar-status i { width: 7px; height: 7px; background: #34a574; border-radius: 50%; box-shadow: 0 0 0 4px rgba(52,165,116,.12); }
.market-row { display: grid; grid-template-columns: 1.35fr 1fr .65fr 1fr; align-items: center; min-height: 48px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.market-row:last-child { border-bottom: 0; }
.market-labels { min-height: 28px; color: var(--muted); background: #f1eee5; font-size: 7px; text-transform: uppercase; letter-spacing: .12em; }
.instrument { display: flex; align-items: center; gap: 10px; }
.instrument-icon { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 9px; }
.instrument span, .price { display: flex; flex-direction: column; gap: 5px; }
.instrument b, .price b { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; }
.instrument small, .price small { color: var(--muted); font-size: 7px; }
.change { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; }
.change svg { width: 15px; }
.change.up { color: #277657; }.change.down { color: #a04438; }
.market-row time { color: var(--muted); font-size: 8px; white-space: nowrap; }
.data-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.data-notes > div { padding: 26px; border: 1px solid var(--line); }
.data-notes svg { color: var(--gold); }
.data-notes h3 { margin: 17px 0 8px; font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 500; }
.data-notes p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.disclaimer { margin: 26px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

/* CV page */
.project-hero { padding-block: 92px; background: var(--forest-2); color: #f6f1e6; }
.project-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.project-hero h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(55px, 6.6vw, 90px); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.project-hero h1 em { color: #d4b477; font-weight: 400; }
.project-hero-grid > p { margin: 0 0 4px; color: #b4c0b9; font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.8; }
.project-index { padding-block: 78px 110px; }
.project-index-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.project-index-head .eyebrow { margin: 0; }
.project-index-head > span { color: var(--muted); font-family: "Poppins", sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.project-list { display: flex; flex-direction: column; gap: 24px; }
.project-case { border: 1px solid var(--line); background: rgba(251,250,246,.62); transition: .23s ease; }
.project-case:hover { box-shadow: 0 24px 65px rgba(23,33,28,.08); transform: translateY(-3px); }
.project-case > header { display: grid; grid-template-columns: 55px 1fr 210px; gap: 25px; align-items: start; padding: 31px 34px; border-bottom: 1px solid var(--line); }
.project-number { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 22px; font-style: italic; }
.project-case time { color: var(--muted); font-family: "Poppins", sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.project-case h2 { margin: 9px 0 0; font-family: "Montserrat", sans-serif; font-size: 31px; font-weight: 500; line-height: 1.2; }
.project-role { display: flex; flex-direction: column; gap: 7px; padding-left: 22px; border-left: 1px solid var(--line); }
.project-role small, .project-story small { color: var(--gold); font-family: "Poppins", sans-serif; font-size: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .14em; }
.project-role b { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 500; }
.project-case-body { display: grid; grid-template-columns: repeat(3, 1fr); }
.project-story { min-height: 185px; padding: 27px 28px; display: grid; grid-template-columns: 28px 1fr; gap: 16px; border-right: 1px solid var(--line); }
.project-story:last-child { border-right: 0; }
.project-story > span { color: var(--gold); }
.project-story svg { width: 20px; }
.project-story p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.project-case > footer { min-height: 64px; padding: 15px 34px; display: grid; grid-template-columns: 1fr auto 25px; gap: 20px; align-items: center; border-top: 1px solid var(--line); background: rgba(21,60,49,.035); }
.project-case > footer strong { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; }
.project-case > footer div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.project-case > footer span { padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font-family: "Poppins", sans-serif; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.project-case > footer > svg { color: var(--gold); }

.about-hero { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; min-height: 585px; padding-block: 70px; }
.about-monogram { width: 330px; height: 400px; background: var(--forest); color: #f4ecda; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; box-shadow: 28px 28px 0 var(--sage); }
.about-image-frame { width: 350px; height: 405px; background: var(--paper); box-shadow: 28px 28px 0 var(--sage); overflow: hidden; }
.about-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.about-monogram:before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.25); }
.about-monogram span { font-family: "Montserrat", sans-serif; font-size: 98px; letter-spacing: -.08em; }
.about-monogram small { margin-top: 20px; color: #d5b579; font-size: 9px; text-transform: uppercase; letter-spacing: .22em; }
.about-intro h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(64px, 8vw, 102px); font-weight: 400; letter-spacing: -.055em; line-height: .8; }
.about-role { max-width: 600px; margin: 35px 0 0; color: var(--forest); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1.7; }
.about-intro blockquote { max-width: 650px; margin: 30px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); color: var(--muted); font-family: "Montserrat", sans-serif; font-size: 17px; line-height: 1.7; }
.cv-band { border-block: 1px solid var(--line); background: var(--paper); }
.cv-facts { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch; }
.cv-facts > div { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-left: 1px solid var(--line); }
.cv-facts small { color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.cv-facts b { font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 500; }
.cv-facts a { display: flex; align-items: center; gap: 9px; padding: 0 25px; background: var(--forest); color: white; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.cv-facts a svg { width: 16px; }
.cv-layout { display: grid; grid-template-columns: 300px 1fr; gap: 95px; padding-block: 105px; }
.cv-sidebar { display: flex; flex-direction: column; gap: 45px; }
.skill-intro { margin: -4px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.skill-matrix { border-top: 1px solid var(--line); }
.skill-matrix article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.skill-matrix article > span { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 10px; font-style: italic; }
.skill-matrix h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; line-height: 1.35; }
.skill-matrix p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.contact-card { padding: 27px; background: var(--forest); color: white; }
.contact-card .eyebrow { margin-bottom: 25px; }
.contact-card a, .contact-card > span { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 11px; }
.contact-card svg { width: 15px; color: #d7b778; }
.cv-main section { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.section-index { margin: 0 0 20px!important; color: var(--gold)!important; font-size: 9px!important; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.cv-main h2 { max-width: 760px; margin: 0 0 24px; font-family: "Montserrat", sans-serif; font-size: 38px; line-height: 1.18; font-weight: 500; }
.cv-main > section > p { max-width: 730px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.timeline > div { display: grid; grid-template-columns: 145px 1fr; column-gap: 25px; padding: 27px 0; border-top: 1px solid var(--line); }
.timeline time { grid-row: span 3; color: var(--gold); font-size: 10px; }
.timeline h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 21px; font-weight: 500; }
.timeline p { margin: 7px 0 12px; color: var(--forest); font-size: 11px; font-weight: 700; }
.timeline ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.credential-list { border-top: 1px solid var(--line); }
.credential-list article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.credential-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); }
.credential-icon svg { width: 20px; }
.credential-list small, .certification-grid > article > span { color: var(--gold); font-family: "Poppins", sans-serif; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.credential-list h3 { margin: 7px 0 0; font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 500; }
.credential-list p { margin: 6px 0 0; color: var(--forest); font-size: 11px; font-weight: 700; }
.credential-list em { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-style: normal; }
.certification-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.certification-grid article { min-height: 185px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.certification-grid svg { width: 24px; color: var(--gold); }
.certification-grid > article > span { margin-top: 25px; }
.certification-grid h3 { margin: 10px 0 0; font-family: "Montserrat", sans-serif; font-size: 19px; line-height: 1.35; font-weight: 500; }
.certification-grid p { margin: auto 0 0; padding-top: 15px; color: var(--muted); font-size: 10px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.value-grid > div { padding: 24px; border: 1px solid var(--line); }
.value-grid svg { color: var(--gold); }
.value-grid h3 { margin: 22px 0 7px; font-family: "Montserrat", sans-serif; font-size: 20px; }
.value-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

/* Admin */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); position: relative; }
.login-back { position: absolute; top: 30px; left: 35px; display: inline-flex; align-items: center; gap: 8px; z-index: 5; color: var(--muted); font-size: 11px; }
.login-back svg { width: 15px; }
.login-panel { width: min(440px, calc(100% - 50px)); margin: auto; }
.login-brand { display: inline-flex; align-items: center; gap: 12px; }
.login-brand > span:last-child { display: flex; flex-direction: column; }
.login-brand b { font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; }
.login-brand small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .18em; }
.login-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 75px 0 28px; background: var(--forest); color: white; }
.login-panel .eyebrow { margin-bottom: 14px; }
.login-panel h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 48px; font-weight: 500; }
.login-panel > p:not(.eyebrow) { max-width: 390px; margin: 16px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.google-login { width: 100%; height: 52px; border-radius: 0!important; background: var(--forest)!important; color: white!important; }
.google-g { width: 23px; height: 23px; display: grid; place-items: center; background: white; color: #3c665b; font-weight: 700; }
.login-security { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.login-security svg { width: 18px; color: #438b6e; }
.login-security span { display: flex; flex-direction: column; gap: 5px; }.login-security b { color: var(--ink); font-size: 11px; }.login-security small { font-size: 9px; }
.login-aside { background: var(--forest-2); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.admin-orbit { width: 310px; height: 310px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; position: relative; }
.admin-orbit:before, .admin-orbit:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.admin-orbit:before { width: 480px; height: 210px; transform: rotate(35deg); }.admin-orbit:after { width: 210px; height: 480px; transform: rotate(35deg); }
.admin-orbit span { font-family: "Montserrat", sans-serif; font-size: 90px; color: #d6b574; }
.login-aside blockquote { width: min(440px, calc(100% - 60px)); margin: 80px 0 0; font-family: "Montserrat", sans-serif; font-size: 18px; line-height: 1.65; text-align: center; color: #c3cec8; }
.admin-shell { min-height: 100vh; background: #eceae3; }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 22px; display: flex; flex-direction: column; background: var(--forest-2); color: white; }
.admin-sidebar .brand-mark { border-color: rgba(255,255,255,.6); }.admin-sidebar .login-brand small { color: #84978d; }
.admin-identity { display: flex; align-items: center; gap: 11px; margin-top: 50px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.12); }
.admin-identity > div { width: 36px; height: 36px; display: grid; place-items: center; background: #d4b576; color: var(--forest); font-family: "Montserrat", sans-serif; font-size: 12px; }
.admin-identity span { display: flex; flex-direction: column; gap: 4px; }.admin-identity b { font-family: "Montserrat", sans-serif; font-size: 13px; }.admin-identity small { color: #8ca096; font-size: 9px; }
.sidebar-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #a9b9b0; font-size: 9px; }
.sidebar-bottom { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.sidebar-bottom a, .sidebar-bottom button { display: flex; align-items: center; gap: 10px; padding: 11px 5px; color: #a9b9b0; background: none; border: 0; cursor: pointer; font-size: 10px; }.sidebar-bottom svg { width: 15px; }
.admin-main { width: 100%; min-width: 0; overflow-x: hidden; }
.admin-header { height: 98px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-header p { margin: 0 0 6px; color: var(--gold); font-size: 8px; letter-spacing: .15em; }.admin-header h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 25px; font-weight: 500; }
.admin-header-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 10px; }.admin-header-actions button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); background: white; }.admin-header-actions svg { width: 15px; }
.admin-tabs { display: grid!important; grid-template-columns: 225px minmax(0, 1fr); gap: 0!important; align-items: start; }
.admin-tabs-list { position: sticky; top: 98px; height: calc(100vh - 98px)!important; width: 100%!important; display: flex!important; flex-direction: column!important; justify-content: flex-start!important; gap: 6px!important; padding: 28px 14px!important; border-radius: 0!important; background: #e4e2db!important; }
.admin-tabs-list button { width: 100%!important; height: 42px!important; justify-content: flex-start!important; padding: 0 14px!important; color: #65706a!important; border-radius: 0!important; font-size: 11px!important; }
.admin-tabs-list button[data-state="active"] { background: var(--paper)!important; color: var(--forest)!important; box-shadow: none!important; border-left: 3px solid var(--gold)!important; }
.admin-tabs-list svg { width: 16px; }
.admin-tab-content { min-width: 0; padding: 38px; }
.tab-heading { min-height: 67px; display: flex; justify-content: space-between; align-items: start; margin-bottom: 26px; }.tab-heading .eyebrow { margin-bottom: 8px; }.tab-heading h2 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 34px; font-weight: 500; }
.secure-label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); color: #367b60; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.secure-label svg { width: 15px; }
.admin-primary { border-radius: 0!important; background: var(--forest)!important; color: white!important; }.admin-primary svg { width: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-grid > div { min-height: 128px; padding: 20px; display: grid; grid-template-columns: 30px 1fr; gap: 9px; border: 1px solid var(--line); background: var(--paper); position: relative; }.stat-grid > div > svg { color: var(--gold); width: 20px; }.stat-grid span { display: flex; flex-direction: column; }.stat-grid b { font-family: "Montserrat", sans-serif; font-size: 27px; font-weight: 500; }.stat-grid small { margin-top: 3px; color: var(--muted); font-size: 9px; }.stat-grid em { position: absolute; right: 16px; bottom: 14px; color: #3f8468; font-size: 8px; font-style: normal; }
.admin-grid-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 17px; }
.admin-card { border: 1px solid var(--line); background: var(--paper); }
.card-title { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }.card-title h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 500; }.card-title button { border: 0; background: none; color: var(--gold); font-size: 9px; }
.activity-list, .service-list { list-style: none; margin: 0; padding: 0 22px; }.activity-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 11px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }.activity-list li:last-child, .service-list li:last-child { border-bottom: 0; }.activity-icon { width: 30px; height: 30px; display: grid; place-items: center; background: #ebe8df; color: var(--forest); }.activity-icon svg { width: 14px; }.activity-list div { display: flex; flex-direction: column; gap: 4px; }.activity-list b { font-size: 10px; }.activity-list p { margin: 0; color: var(--muted); font-size: 8px; }.activity-list time { color: var(--muted); font-size: 8px; }
.service-list li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 9px; }.service-list span { display: flex; align-items: center; gap: 10px; }.service-list b { color: #377d61; font-weight: 500; }
.table-card { overflow-x: auto; }.table-card table { min-width: 780px; }.table-card th { height: 48px; background: #eeeae1; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.table-card td { height: 64px; font-size: 10px; }.table-card td:first-child b { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; }.status-live, .status-draft { padding: 5px 8px; color: #35785e; background: #e1eee7; font-size: 8px; }.status-draft { color: #8b703a; background: #efe8d8; }.row-action { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--forest); font-size: 9px; cursor: pointer; }.row-action:hover, .row-action:focus-visible { color: var(--gold); text-decoration: underline; outline: none; }.row-action svg { width: 13px; }
.admin-dialog { max-width: 700px!important; max-height: 90vh; overflow: auto; border-radius: 0!important; background: var(--paper)!important; }.admin-dialog h2 { font-family: "Montserrat", sans-serif; font-size: 26px; font-weight: 500; }
.admin-note-dialog { max-width: 860px!important; }
.form-card { margin-bottom: 16px; padding: 25px; }.form-card > h3 { margin: 0 0 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.form-grid.three { grid-template-columns: repeat(3, 1fr); }.form-grid.single { grid-template-columns: 1fr; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: #48544d; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.form-grid label svg { width: 13px; }.form-grid .wide { grid-column: 1 / -1; }.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: white; color: var(--ink); padding: 11px 12px; font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; }.form-grid textarea { resize: vertical; line-height: 1.6; }.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(176,138,75,.1); }.upload-field { padding: 18px; border: 1px dashed rgba(23,33,28,.25); }.upload-field small { color: var(--muted); font-weight: 400; }.form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.note-editor-grid { margin-top: 6px; }
.rich-field { display: flex; flex-direction: column; gap: 7px; }
.rich-field > span { color: #48544d; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rich-editor { border: 1px solid var(--line); background: white; }
.rich-editor:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(176,138,75,.1); }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 3px; padding: 7px; border-bottom: 1px solid var(--line); background: #eeeae1; }
.rich-toolbar button { width: 32px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; background: transparent; color: var(--forest); cursor: pointer; font-family: "Montserrat", sans-serif; font-size: 10px; }
.rich-toolbar button:hover, .rich-toolbar button:focus-visible { border-color: var(--gold); background: white; outline: none; }
.rich-toolbar svg { width: 15px; height: 15px; }
.rich-editor-area { min-height: 190px; padding: 16px; outline: 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: 13px; line-height: 1.75; }
.rich-editor-area:empty:before { content: attr(data-placeholder); color: #98a09b; pointer-events: none; }
.rich-editor-area p { margin: 0 0 13px; }.rich-editor-area p:last-child { margin-bottom: 0; }
.rich-editor-area ul, .rich-editor-area ol { padding-left: 24px; }
.rich-editor-area blockquote { margin: 14px 0; padding: 13px 16px; border-left: 3px solid var(--gold); background: var(--cream); }
.note-editor-actions { position: sticky; bottom: -24px; z-index: 2; margin: 21px -24px -24px; padding: 15px 24px; border-top: 1px solid var(--line); background: rgba(251,250,246,.97); }
.upload-field > button { align-self: flex-start; margin-top: 6px; }
.account-list > div { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 20px 23px; border-bottom: 1px solid var(--line); }.account-list > div:last-child { border: 0; }.account-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--forest); color: white; font-family: "Montserrat", sans-serif; }.account-avatar.alt { background: #8c7245; }.account-list span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }.account-list b { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 500; }.account-list small { color: var(--muted); font-size: 9px; }.account-list em { color: #357c60; font-size: 9px; font-style: normal; }
.info-callout { display: flex; gap: 15px; margin-top: 17px; padding: 20px; border: 1px solid #c9dbc9; background: #edf3ec; }.info-callout svg { color: #478569; }.info-callout b { font-family: "Montserrat", sans-serif; font-size: 14px; }.info-callout p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.system-card { min-height: 105px; padding: 20px; display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: center; border: 1px solid var(--line); background: var(--paper); }.system-card > span { width: 37px; height: 37px; display: grid; place-items: center; background: #ebe8df; color: var(--forest); }.system-card > span svg { width: 17px; }.system-card h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 500; }.system-card p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }.system-card em { display: flex; align-items: center; gap: 8px; color: #357c60; font-size: 8px; font-style: normal; }
.monitoring-card { margin-top: 16px; padding: 23px; }.monitoring-card > div { display: flex; justify-content: space-between; align-items: center; }.monitoring-card h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; }.monitoring-card ul { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.monitoring-card li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }.monitoring-card li b { color: var(--ink); font-weight: 500; }
.form-section-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-section-title h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 500; }
.form-section-title p { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.form-section-title > span { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 12px; font-style: italic; }
.form-section-title > svg { width: 20px; color: var(--gold); }
.principle-editor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle-editor > div { padding: 17px; border: 1px solid var(--line); background: #f7f4ed; }
.principle-editor b, .linked-copy-editor b { display: block; margin-bottom: 13px; color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 11px; font-style: italic; font-weight: 500; }
.principle-editor label { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; color: #48544d; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.principle-editor input, .principle-editor textarea, .linked-copy-editor input { width: 100%; padding: 10px; border: 1px solid var(--line); outline: 0; background: white; color: var(--ink); font-size: 10px; text-transform: none; letter-spacing: 0; }
.linked-copy-editor { padding: 14px; border: 1px solid var(--line); background: #f7f4ed; }
.linked-copy-editor input + input { margin-top: 8px; }
.background-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.background-grid > label { padding: 14px; border: 1px solid var(--line); background: #f7f4ed; }
.background-grid > label > span { display: block; margin-bottom: 11px; color: #48544d; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.background-grid > label > div { display: flex; align-items: center; gap: 8px; }
.background-grid input[type="color"] { width: 38px; height: 38px; padding: 3px; border: 1px solid var(--line); background: white; cursor: pointer; }
.background-grid input:not([type="color"]) { min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--line); background: white; color: var(--ink); font-family: "Inter", sans-serif; font-size: 9px; text-transform: uppercase; }
.tab-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.heading-actions button { border-radius: 0!important; }
.market-admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; border: 1px solid var(--line); background: var(--paper); }
.market-admin-summary > div { padding: 18px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.market-admin-summary > div:last-child { border-right: 0; }
.market-admin-summary b { font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 500; }
.market-admin-summary span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.market-up { color: #28785a; }.market-down { color: #a04438; }
.delete-row { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: #9c4b43; cursor: pointer; }
.delete-row svg { width: 13px; }
.admin-select { width: 100%!important; height: 39px!important; border-radius: 0!important; background: white!important; font-size: 10px!important; font-weight: 400!important; text-transform: none!important; letter-spacing: 0!important; }
.experience-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.experience-editor > div { padding: 18px; border: 1px solid var(--line); background: #f7f4ed; }
.experience-editor > div > b { display: block; margin-bottom: 15px; color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 600; }
.about-values-editor { margin-top: 18px; }
.image-upload-editor { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-bottom: 22px; padding: 16px; border: 1px dashed rgba(23,33,28,.28); background: #f7f4ed; }
.image-preview { width: 150px; height: 125px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: white; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview > span { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.image-preview svg { width: 20px; color: var(--gold); }
.image-upload-copy h4 { margin: 0; font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; }
.image-upload-copy p { margin: 6px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.image-upload-copy small { color: #89918c; font-size: 8px; }
.image-upload-copy > div { display: flex; gap: 9px; margin-top: 14px; }
.image-upload-copy button { border-radius: 0!important; }
.upload-action { height: 36px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; background: var(--forest); color: white; cursor: pointer; font-family: "Poppins", sans-serif; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.upload-action svg { width: 14px; }.upload-action input { display: none; }
.form-section-title > button { border-radius: 0!important; }
.project-admin-list { display: grid; gap: 16px; }
.portfolio-editor { border-left: 3px solid var(--forest); }
.editor-actions { display: flex; align-items: center; gap: 10px; }
.editor-actions > span { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 12px; font-style: italic; }
.checkbox-line { min-height: 42px; flex-direction: row!important; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: #f7f4ed; cursor: pointer; }
.checkbox-line input { width: 16px!important; height: 16px; accent-color: var(--forest); }
.checkbox-line span { font-family: "Poppins", sans-serif; font-size: 9px; text-transform: none; letter-spacing: 0; }
.skill-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.skill-admin-grid > div, .credential-admin-list > div { padding: 16px; border: 1px solid var(--line); background: #f7f4ed; }
.skill-admin-grid > div > div, .credential-admin-list > div > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.skill-admin-grid b, .credential-admin-list b { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 600; }
.credential-admin-list b { display: inline-flex; align-items: center; gap: 8px; }
.credential-admin-list b svg { width: 15px; }
.skill-admin-grid label { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; color: #48544d; font-family: "Poppins", sans-serif; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.skill-admin-grid input { width: 100%; padding: 10px; border: 1px solid var(--line); outline: 0; background: white; color: var(--ink); font-family: "Inter", sans-serif; font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.credential-admin-list { display: grid; gap: 12px; margin-top: 18px; }

@media (max-width: 1000px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }.archive-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 190px minmax(0, 1fr); }.admin-tabs { grid-template-columns: 190px minmax(0, 1fr); }.admin-tab-content { padding: 25px; }.stat-grid { grid-template-columns: 1fr 1fr; }.admin-grid-two { grid-template-columns: 1fr; }
  .background-grid { grid-template-columns: repeat(3, 1fr); }.principle-editor { grid-template-columns: 1fr; }
  .experience-editor, .skill-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .main-nav, .header-admin { display: none; }.mobile-menu { display: block; }
  .page-title > div, .market-hero-grid, .project-hero-grid, .about-hero, .cv-layout { grid-template-columns: 1fr; gap: 42px; }.archive-grid { grid-template-columns: 1fr; }.market-row { grid-template-columns: 1fr 1fr; row-gap: 12px; padding-block: 18px; }.market-labels { display: none; }.data-notes, .value-grid { grid-template-columns: 1fr; }.about-monogram, .about-image-frame { width: min(350px, 86vw); margin: 0 auto; }.cv-facts { grid-template-columns: 1fr 1fr; }.cv-facts a { min-height: 65px; }
  .project-case > header { grid-template-columns: 45px 1fr; }.project-role { grid-column: 2; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }.project-case-body { grid-template-columns: 1fr; }.project-story { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .market-hero-grid { grid-template-columns: 1fr auto; gap: 20px; }.market-row { grid-template-columns: 1.35fr 1fr .65fr; min-height: 48px; padding: 0 12px; row-gap: 0; }.market-labels { display: grid; }.market-labels span:last-child, .market-row time { display: none; }
  .login-page { grid-template-columns: 1fr; }.login-aside { display: none; }.admin-layout { display: block; }.admin-sidebar { position: relative; height: auto; flex-direction: row; align-items: center; gap: 20px; }.admin-identity, .sidebar-status { display: none; }.sidebar-bottom { margin: 0 0 0 auto; padding: 0; border: 0; flex-direction: row; }.admin-tabs { display: block!important; }.admin-tabs-list { position: relative; top: 0; height: auto!important; flex-direction: row!important; overflow-x: auto; padding: 10px!important; }.admin-tabs-list button { min-width: 145px; }.admin-tab-content { padding: 20px; }.admin-header { padding: 0 20px; }.form-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-title { padding-block: 65px 50px; }.page-title h1 { font-size: 51px; }.filter-grid { grid-template-columns: 1fr; }.market-summary, .cv-facts { grid-template-columns: 1fr; }.market-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }.market-row { grid-template-columns: 1fr; }.data-notes, .certification-grid { grid-template-columns: 1fr; }.cv-layout { padding-block: 70px; }.timeline > div { grid-template-columns: 1fr; }.timeline time { grid-row: auto; margin-bottom: 10px; }.note-dialog { padding: 30px 22px!important; }.admin-sidebar { padding: 15px; }.admin-sidebar .login-brand { display: none; }.sidebar-bottom { margin-left: 0; width: 100%; justify-content: space-between; }.admin-header-actions span { display: none; }.stat-grid, .system-grid, .form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }.tab-heading { gap: 15px; flex-direction: column; }.admin-tab-content { padding: 15px; }
  .project-hero { padding-block: 65px; }.project-hero h1 { font-size: 48px; }.project-index-head { align-items: flex-start; flex-direction: column; gap: 15px; }.project-case > header { grid-template-columns: 1fr; padding: 24px; }.project-role { grid-column: auto; }.project-case > footer { grid-template-columns: 1fr; padding: 18px 24px; }.project-case > footer div { justify-content: flex-start; }.project-case > footer > svg { display: none; }
  .market-hero { padding-block: 18px; }.market-hero-grid { min-height: 100px; grid-template-columns: 1fr; gap: 13px; }.compact-title h1 { font-size: 40px; }.economic-meta { min-width: 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }.market-row { grid-template-columns: 1.25fr .95fr .55fr; min-height: 47px; padding: 0 8px; }.market-table-head { padding-inline: 12px; }.market-section { padding-top: 10px; }.instrument-icon { display: none; }.instrument { gap: 0; }.instrument b, .price b { font-size: 11px; }.change { font-size: 9px; }
  .background-grid, .market-admin-summary { grid-template-columns: 1fr; }.market-admin-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }.heading-actions { width: 100%; flex-direction: column; align-items: stretch; }.heading-actions button { width: 100%; }.linked-copy-editor { grid-column: auto; }
  .image-upload-editor { grid-template-columns: 1fr; }.image-preview { width: 100%; height: 180px; }.image-upload-copy > div { flex-direction: column; }.image-upload-copy button, .upload-action { width: 100%; justify-content: center; }
}

/* Sticky navigation and compact, fully visible project register */
.site-page { overflow: visible; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 230, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.project-hero-compact { padding-block: 38px; }
.project-hero-compact .project-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 58px;
}
.project-hero-compact .eyebrow { margin-bottom: 15px; }
.project-hero-compact h1 { font-size: clamp(42px, 5vw, 64px); line-height: .98; }
.project-hero-compact .project-hero-grid > p { font-size: 13px; line-height: 1.62; }
.project-table-section { padding-block: 30px 56px; }
.project-table-section .project-index-head { margin-bottom: 15px; }
.project-table-shell {
  border: 1px solid var(--line);
  background: rgba(251, 250, 246, .75);
}
.project-table-shell [data-slot="table-container"] { overflow: visible; }
.project-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.project-table thead { background: var(--forest); color: #fffdf6; }
.project-table th {
  height: 36px;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,.13);
  color: #fffdf6;
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: normal;
}
.project-table th:first-child { width: 25%; }
.project-table th:nth-child(2) { width: 22%; }
.project-table th:nth-child(3) { width: 23%; }
.project-table th:nth-child(4) { width: 30%; }
.project-table th:last-child,
.project-table td:last-child { border-right: 0; }
.project-table td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  vertical-align: top;
  white-space: normal;
}
.project-table tbody tr { background: rgba(255,255,255,.18); }
.project-table tbody tr:nth-child(even) { background: rgba(21,60,49,.035); }
.project-table tbody tr:hover { background: rgba(176,138,75,.08); }
.project-table td > p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.project-table-title { display: grid; grid-template-columns: 27px 1fr; gap: 10px; }
.project-table-title > span {
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-style: italic;
}
.project-table-title time {
  display: block;
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.project-table-title h2 {
  margin: 5px 0 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.project-table-title b,
.project-result-cell > strong {
  color: var(--forest);
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.project-result-cell > strong { display: block; margin-top: 8px; color: var(--gold); }
.project-table-skills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.project-table-skills span {
  padding: 3px 5px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 800px) {
  .site-header { height: auto; }
  .header-inner {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 10px;
  }
  .header-inner .brand { padding-bottom: 10px; }
  .header-admin,
  .mobile-menu { display: none!important; }
  .main-nav {
    order: 3;
    width: 100%;
    display: grid!important;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .main-nav a {
    min-width: 0;
    min-height: 41px;
    display: grid;
    place-items: center;
    padding: 8px 3px 7px;
    font-size: 9px;
    line-height: 1.15;
    text-align: center;
  }
  .main-nav .mobile-admin-nav { display: grid!important; }
  .project-hero-compact { padding-block: 26px; }
  .project-hero-compact .project-hero-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-hero-compact h1 { font-size: clamp(38px, 11vw, 52px); }
  .project-table-section { padding-block: 22px 44px; }
  .project-table-shell { border: 0; background: transparent; }
  .project-table thead { display: none; }
  .project-table,
  .project-table tbody,
  .project-table tr,
  .project-table td { display: block; width: 100%; }
  .project-table tbody { display: grid; gap: 12px; }
  .project-table tbody tr {
    margin: 0;
    border: 1px solid var(--line)!important;
    background: rgba(251,250,246,.78);
  }
  .project-table td {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .project-table td:last-child { border-bottom: 0; }
  .project-table td::before {
    content: attr(data-label);
    color: var(--gold);
    font-family: "Poppins", sans-serif;
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .project-result-cell > p,
  .project-result-cell > strong,
  .project-result-cell > .project-table-skills { grid-column: 2; }
  .project-result-cell > strong { margin-top: 0; }
  .project-table-skills { margin-top: 0; }
}

@media (max-width: 420px) {
  .section-shell,
  .header-inner { width: min(100% - 22px, 760px); }
  .brand-copy small { display: none; }
  .main-nav a { font-size: 8px; }
  .project-table td { grid-template-columns: 82px minmax(0, 1fr); gap: 9px; padding: 10px; }
  .project-table-title { grid-template-columns: 22px 1fr; gap: 7px; }
  .project-table-title h2 { font-size: 15px; }
}

/* Google News */
.news-live { min-height: calc(100dvh - 84px); display: flex; flex-direction: column; padding-block: 25px 30px; }
.news-live-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; padding: 5px 0 21px; }
.news-live-head .eyebrow { margin-bottom: 12px; }
.news-live-head h1 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(36px, 4.2vw, 56px); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.news-live-head h1 em { color: var(--forest); font-weight: 400; }
.news-live-meta { padding-bottom: 3px; }
.news-live-meta > span { display: flex; align-items: center; gap: 8px; color: var(--forest); font-family: "Poppins", sans-serif; font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.news-live-meta > span i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #38a873; box-shadow: 0 0 0 4px rgba(56,168,115,.12); }
.news-live-meta time { display: block; margin: 5px 0 0 15px; color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.news-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(251,250,246,.55); }
.news-row { min-height: 69px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 80px; gap: 14px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease, padding .2s ease; }
.news-row:last-child { border-bottom: 0; }
.news-row:hover, .news-row:focus-visible { padding-left: 21px; background: var(--forest); color: #fff; outline: none; }
.news-row-number { color: var(--gold); font-family: "Montserrat", sans-serif; font-size: 12px; font-style: italic; }
.news-row-story { min-width: 0; }
.news-row-story h2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; font-family: "Montserrat", sans-serif; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.news-row-story small { display: block; margin-top: 5px; color: var(--muted); font-family: "Poppins", sans-serif; font-size: 6.5px; text-transform: uppercase; letter-spacing: .05em; }
.news-row-story small i { display: inline-block; width: 3px; height: 3px; margin: 0 5px 2px; border-radius: 50%; background: currentColor; }
.news-row:hover .news-row-story small, .news-row:focus-visible .news-row-story small { color: #b8c6be; }
.news-row-action { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--forest); font-family: "Poppins", sans-serif; font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news-row-action svg { width: 14px; color: var(--gold); }
.news-row:hover .news-row-action, .news-row:focus-visible .news-row-action { color: #fff; }
.news-source-note { margin: 11px 0 0; color: var(--muted); font-size: 7px; line-height: 1.45; text-align: center; }

@media (max-width: 800px) {
  .news-live { min-height: calc(100dvh - 111px); padding-block: 16px 20px; }
  .news-live-head { grid-template-columns: 1fr; gap: 8px; padding: 0 0 13px; }
  .news-live-head .eyebrow { margin-bottom: 7px; font-size: 7px; }
  .news-live-head h1 { font-size: clamp(29px, 8.5vw, 39px); }
  .news-live-meta > span { margin-top: 0; font-size: 6.5px; }
  .news-live-meta time { display: inline; margin: 0 0 0 15px; font-size: 6px; }
  .news-row { min-height: 62px; grid-template-columns: 20px minmax(0, 1fr) 16px; gap: 7px; padding: 6px 7px; }
  .news-row:hover, .news-row:focus-visible { padding-left: 10px; }
  .news-row-number { font-size: 9px; }
  .news-row-story h2 { font-size: 10px; line-height: 1.25; }
  .news-row-story small { margin-top: 4px; font-size: 5.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .news-row-action { font-size: 0; }
  .news-row-action svg { width: 13px; }
  .news-source-note { margin-top: 8px; font-size: 5.8px; }
}

@media (max-width: 480px) {
  .main-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news-row { grid-template-columns: 17px minmax(0, 1fr) 14px; gap: 5px; }
}

/* Django portal additions */
.public-messages { padding-top: 14px; }
.message { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; }
.message.success { border-left: 4px solid #39845d; }.message.warning { border-left: 4px solid var(--gold); }.message.error { border-left: 4px solid #b42318; }
.filter-grid { grid-template-columns: minmax(240px, 1.5fr) 1fr 1fr 1fr auto; }
.filter-submit { padding: 0 17px; border: 0; background: var(--forest); color: white; cursor: pointer; font-family: "Poppins",sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.note-detail-shell { padding-block: 42px 112px; }
.note-back-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-family: "Poppins",sans-serif; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.note-detail-article { width: min(820px,100%); margin: 28px auto 0; border: 1px solid var(--line); background: rgba(251,250,246,.94); box-shadow: 0 24px 65px rgba(23,33,28,.08); }
.note-detail-visual { height: 320px; position: relative; overflow: hidden; background: var(--forest); }
.note-detail-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.note-detail-visual::before,.note-detail-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.note-detail-visual::before { width: 430px; height: 430px; top: -260px; right: -70px; }
.note-detail-visual::after { width: 230px; height: 230px; right: 120px; bottom: -165px; }
.note-detail-visual > span { position: absolute; left: 42px; bottom: 34px; color: rgba(255,255,255,.78); font-size: 9px; letter-spacing: .16em; }
.note-detail-header { padding: 58px 68px 42px; border-bottom: 1px solid var(--line); }
.note-detail-header > p { margin: 0 0 18px; color: var(--gold); font-family: "Poppins",sans-serif; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.note-detail-header h1 { margin: 0; font-family: "Montserrat",sans-serif; font-size: clamp(38px,5vw,62px); font-weight: 500; letter-spacing: -.045em; line-height: 1.06; }
.note-detail-intro { margin-top: 26px; color: var(--muted); font-family: "Montserrat",sans-serif; font-size: 18px; line-height: 1.68; }
.note-detail-header > span { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--muted); font-size: 10px; }
.note-detail-body { padding: 34px 68px 14px; }
.note-detail-rich p,.note-detail-rich ul,.note-detail-rich ol { font-family: "Montserrat",sans-serif; font-size: 17px; line-height: 1.9; }
.note-detail-rich p { margin: 0 0 24px; }
.note-detail-rich h2,.note-detail-rich h3 { margin: 34px 0 12px; font-family: "Montserrat",sans-serif; font-weight: 600; line-height: 1.3; }
.note-detail-rich h2 { font-size: 25px; }.note-detail-rich h3 { font-size: 20px; }
.note-detail-rich ul,.note-detail-rich ol { padding-left: 28px; }
.note-detail-body blockquote { margin: 42px 0 16px; padding: 28px 32px; border-left: 3px solid var(--gold); background: var(--cream); font-family: "Montserrat",sans-serif; font-size: 21px; line-height: 1.62; }
.note-reactions { margin: 28px 68px 42px; padding: 20px; border-block: 1px solid var(--line); background: rgba(244,240,230,.62); }
.note-reactions > div:first-child > p { margin: 0; font-family: "Montserrat",sans-serif; font-size: 15px; font-weight: 600; }
.note-reactions > div:first-child > small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.reaction-actions { display: flex; gap: 10px; margin-top: 15px; }
.reaction-actions button,.reaction-preview > span { min-width: 112px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.reaction-actions button { cursor: pointer; transition: .2s ease; }
.reaction-actions button > span,.reaction-preview > span::first-letter { color: var(--gold); font-size: 18px; }
.reaction-actions b { font-family: "Poppins",sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.reaction-actions strong { min-width: 18px; color: var(--muted); font-size: 10px; }
.reaction-actions button:hover:not(:disabled),.reaction-actions button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: white; }
.reaction-actions button[aria-pressed="true"] strong { color: white; }
.reaction-actions button:disabled { cursor: default; }
.reaction-signin { display: inline-block; margin-top: 13px; border-bottom: 1px solid var(--forest); color: var(--forest); font-family: "Poppins",sans-serif; font-size: 9px; font-weight: 600; }
.note-back-bottom { margin: 0 68px 58px; }

@media(max-width:650px){
  .note-detail-shell{width:100%;padding:20px 11px 70px}.note-detail-shell>.note-back-link{margin-left:4px}.note-detail-article{margin-top:18px}.note-detail-visual{height:210px}.note-detail-visual>span{left:24px;bottom:22px}.note-detail-header{padding:34px 24px 30px}.note-detail-header h1{font-size:clamp(31px,9.5vw,43px)}.note-detail-intro{margin-top:20px;font-size:15px;line-height:1.65}.note-detail-body{padding:26px 24px 8px}.note-detail-rich p,.note-detail-rich ul,.note-detail-rich ol{font-size:15px;line-height:1.82}.note-detail-body blockquote{margin-top:32px;padding:22px;font-size:17px}.note-reactions{margin:24px 24px 34px}.note-back-bottom{margin:0 24px 42px}.reaction-actions{display:grid;grid-template-columns:1fr 1fr}.reaction-actions button,.reaction-preview>span{min-width:0;width:100%}
}
.news-placeholder { pointer-events: none; opacity: .72; }
.perspective-icon { color: var(--gold); font-family: "Montserrat",sans-serif; }

.portal-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.portal-nav a { padding: 11px 12px; border-left: 3px solid transparent; color: #a9b8b0; font-family: "Poppins",sans-serif; font-size: 10px; letter-spacing: .03em; }
.portal-nav a:hover,.portal-nav a.active { border-left-color: var(--gold); background: rgba(255,255,255,.08); color: white; }
.sidebar-bottom button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.admin-header-actions a { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); background: white; }
.portal-messages { padding: 18px 38px 0; }
.tab-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.tab-heading h2 { margin: 0; font-family: "Montserrat",sans-serif; font-size: clamp(27px,3vw,38px); font-weight: 500; }
.tab-subtitle { max-width: 660px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat-card { padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.stat-card span,.stat-card small { display: block; color: var(--muted); font-family: "Poppins",sans-serif; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.stat-card b { display: block; margin: 10px 0 6px; font-family: "Montserrat",sans-serif; font-size: 32px; font-weight: 500; }
.portal-card { margin-top: 17px; padding: 20px; }
.portal-card-head { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px; }
.portal-card-head h3 { margin:0;font-family:"Montserrat",sans-serif;font-size:16px;font-weight:600; }.portal-card-head a { color:var(--gold);font-size:9px;text-transform:uppercase; }
.portal-list { display:grid; }.portal-list > a,.portal-list > div { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line); }
.portal-list span { display:flex;flex-direction:column;gap:4px; }.portal-list small { color:var(--muted);font-size:9px; }.portal-list p { margin:0;color:var(--muted);font-size:9px; }
.status { display:inline-flex;padding:5px 8px;border:1px solid var(--line);font-family:"Poppins",sans-serif;font-size:7px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap; }
.status.published,.status.success { color:#24704c;background:#e8f3ed; }.status.draft,.status.partial,.status.warning { color:#8a682b;background:#f5eedf; }.status.failed { color:#a32920;background:#f8e7e4; }
.audit-card { margin-top:20px; }.audit-list { display:grid;grid-template-columns:repeat(4,1fr);gap:10px; }.audit-list > div { padding:12px;border:1px solid var(--line);background:#f7f4ed; }.audit-list time,.audit-list span { display:block;color:var(--muted);font-size:8px; }.audit-list b { display:block;margin:7px 0;font-size:10px; }.audit-list p { margin:0;color:var(--muted);font-size:8px; }
.portal-table-wrap { overflow-x:auto; }.portal-table { width:100%;border-collapse:collapse; }.portal-table th { padding:12px;background:var(--forest);color:white;font-size:8px;text-align:left;text-transform:uppercase; }.portal-table td { padding:13px;border-bottom:1px solid var(--line);font-size:10px;vertical-align:top; }.portal-table td>b,.portal-table td>small { display:block; }.portal-table td>small { max-width:520px;margin-top:5px;color:var(--muted); }.table-actions { display:flex;gap:8px; }.table-actions a,.table-actions button,.portal-edit,.delete-row { padding:6px 8px;border:1px solid var(--line);background:white;color:var(--forest);font-size:8px;cursor:pointer; }
.form-card { padding:24px; }.form-section-title { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px; }.form-section-title h3 { margin:0;font-family:"Montserrat",sans-serif;font-size:17px; }.form-section-title p { margin:5px 0 0;color:var(--muted);font-size:9px; }.form-section-title>span { color:var(--gold);font-family:"Montserrat",sans-serif;font-style:italic; }
.form-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px; }.form-grid.single { grid-template-columns:1fr; }.form-grid label,.formset-card label { display:flex;flex-direction:column;gap:7px;color:#48544d;font-family:"Poppins",sans-serif;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }.form-grid .wide { grid-column:1/-1; }.form-control,.form-grid input,.form-grid textarea,.form-grid select,.formset-card input,.formset-card textarea,.formset-card select { width:100%;padding:11px;border:1px solid var(--line);border-radius:0;background:white;color:var(--ink);font-family:"Inter",sans-serif;font-size:11px;font-weight:400;text-transform:none;letter-spacing:0;outline:0; }.form-control:focus,.form-grid input:focus,.form-grid textarea:focus { border-color:var(--gold);box-shadow:0 0 0 2px rgba(176,138,75,.1); }.form-grid input[type=checkbox],.formset-card input[type=checkbox] { width:auto; }.errorlist { margin:0;padding:0;list-style:none;color:#a32920;font-size:9px; }
.portal-form-actions { display:flex;justify-content:flex-end;gap:10px;margin-top:20px; }.sticky-actions { position:sticky;bottom:0;z-index:5;padding:14px 0;background:rgba(236,234,227,.96); }
.portal-full { width:100%;margin-top:14px; }.heading-actions { display:flex;gap:9px;align-items:center; }.rich-source { display:none!important; }.rich-toolbar select { height:30px;border:1px solid transparent;background:transparent;font-size:9px; }.note-form .note-editor-actions { bottom:0; }
.formset-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }.formset-card { display:grid;gap:10px;padding:16px;border:1px solid var(--line);background:#f7f4ed; }.portal-formset { margin-top:18px; }
.editor-actions form { display:inline; }.editor-actions { flex-wrap:wrap; }.market-editor { margin-bottom:0; }
.account-list button { cursor:pointer; }.info-icon { width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e8f3ed;color:#24704c; }
.system-card { display:flex;gap:14px;padding:18px;border:1px solid var(--line);background:var(--paper); }.system-card>span { width:38px;height:38px;display:grid;place-items:center;background:var(--forest);color:white;font-size:9px; }.system-card h3 { margin:0 0 7px;font-family:"Montserrat",sans-serif;font-size:13px; }.system-card p { margin:6px 0 0;color:var(--muted);font-size:9px; }.system-ok { color:#24704c;font-size:9px; }.system-warn { color:#9a6f22;font-size:9px; }

@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,1fr)}.audit-list{grid-template-columns:repeat(2,1fr)}.formset-grid{grid-template-columns:1fr}}
@media(max-width:800px){.portal-nav{width:100%;margin:0;display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));overflow-x:auto}.admin-sidebar{flex-wrap:wrap}.admin-sidebar .sidebar-bottom{width:auto;margin-left:auto}.portal-messages{padding:14px 20px 0}.filter-grid{grid-template-columns:1fr 1fr}.filter-submit{min-height:42px}.portal-table{min-width:720px}}
@media(max-width:560px){.stat-grid,.audit-list{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.filter-grid{grid-template-columns:1fr}.portal-nav{grid-template-columns:repeat(2,minmax(140px,1fr))}.tab-heading{align-items:stretch}.heading-actions{flex-direction:column;align-items:stretch}.heading-actions form,.heading-actions button{width:100%}.note-article{padding-block:35px 60px}.note-article>header h1{font-size:40px}}
@media(max-width:560px){.pagination{grid-template-columns:1fr 1fr}.pagination strong{grid-column:1/-1;grid-row:1;text-align:center}.pagination a,.pagination span{grid-row:2}}

/* Warna komponen yang dapat diatur melalui admin */
.site-page .news-row:hover,
.site-page .news-row:focus-visible {
  background: var(--news-hover-background);
  color: var(--news-hover-text);
}
.site-page .news-row:hover .news-row-story h2,
.site-page .news-row:focus-visible .news-row-story h2,
.site-page .news-row:hover .news-row-story small,
.site-page .news-row:focus-visible .news-row-story small,
.site-page .news-row:hover .news-row-action,
.site-page .news-row:focus-visible .news-row-action {
  color: var(--news-hover-text);
}
.site-page .filter-band {
  background: var(--notes-filter-background);
  color: var(--notes-filter-text);
}
.site-page .filter-band .search-field,
.site-page .filter-band .date-field {
  background: var(--notes-filter-background);
  border-color: var(--notes-filter-text);
}
.site-page .filter-band input,
.site-page .filter-band .filter-select {
  background: var(--notes-filter-background) !important;
  color: var(--notes-filter-text) !important;
  border-color: var(--notes-filter-text) !important;
}
.site-page .filter-band input::placeholder {
  color: var(--notes-filter-text);
  opacity: .75;
}
.site-page .filter-band .filter-select option {
  background: var(--notes-filter-background);
  color: var(--notes-filter-text);
}
.site-page .filter-band .filter-submit {
  background: var(--notes-filter-button-background);
  color: var(--notes-filter-button-text);
}
.site-page .filter-band input[type="date"] {
  color-scheme: normal;
}
.site-page .contact-card {
  background: var(--contact-card-background);
  color: var(--contact-card-text);
}
.site-page .contact-card a,
.site-page .contact-card > span,
.site-page .contact-card svg,
.site-page .contact-card .eyebrow {
  color: var(--contact-card-text);
}
.site-page .contact-card a,
.site-page .contact-card > span {
  border-bottom-color: var(--contact-card-text);
}

/* Pengaturan bagian publik dari admin */
.site-page .site-header { background: var(--header-background); }
.site-page .site-header .brand-copy b,
.site-page .site-header .brand-mark { color: var(--header-brand-color); }
.site-page .site-header .brand-copy small { color: var(--header-owner-color); }
.site-page .main-nav a { color: var(--header-menu-color); }
.site-page .main-nav a.active,
.site-page .main-nav a:hover,
.site-page .main-nav a:focus-visible { color: var(--header-active-color); }
.site-page .header-admin { color: var(--header-admin-color); }
.site-page .header-admin { background: var(--header-admin-background); }
.site-page .principles-strip { background: var(--principles-background); }
.site-page .principle-grid strong { color: var(--principles-title-color); }
.site-page .principle-grid p { color: var(--principles-description-color); }
.site-page .principle-grid span { color: var(--principles-number-color); }
.site-page .home-projects { background: var(--home-projects-background); }
.site-page .home-projects .project-heading h2 { color: var(--home-projects-heading-color); }
.site-page .home-projects .eyebrow { color: var(--home-projects-label-color); }
.site-page .home-projects .text-link { color: var(--home-projects-link-color); }
.site-page .home-project-grid > a { background: var(--project-card-background); }
.site-page .home-project-grid > a h3 { color: var(--project-card-title-color); }
.site-page .home-project-grid > a p { color: var(--project-card-description-color); }
.site-page .home-project-grid > a time { color: var(--project-card-period-color); }
.site-page .home-project-grid > a footer { color: var(--project-card-role-color); }
.site-page .home-project-grid > a > span { color: var(--project-card-number-color); }
.site-page .home-project-grid > a:hover,
.site-page .home-project-grid > a:focus-visible { background: var(--project-card-hover-background); }
.site-page .home-project-grid > a:hover h3,
.site-page .home-project-grid > a:hover p,
.site-page .home-project-grid > a:hover time,
.site-page .home-project-grid > a:hover footer,
.site-page .home-project-grid > a:hover > span,
.site-page .home-project-grid > a:focus-visible h3,
.site-page .home-project-grid > a:focus-visible p,
.site-page .home-project-grid > a:focus-visible time,
.site-page .home-project-grid > a:focus-visible footer,
.site-page .home-project-grid > a:focus-visible > span { color: var(--project-card-hover-text); }
.site-page .news-live-head h1 { color: var(--news-heading-color); }
.site-page .news-live-head h1 em { color: var(--news-heading-accent-color); }
.site-page .news-live-head .eyebrow { color: var(--news-label-color); }
.site-page .news-live-meta > span { color: var(--news-update-color); }
.site-page .news-live-meta time { color: var(--news-updated-time-color); }
.site-page .news-list,
.site-page .news-row:not(:hover):not(:focus-visible) { background: var(--news-row-background); }
.site-page .news-row:not(:hover):not(:focus-visible) h2 { color: var(--news-title-color); }
.site-page .news-row:not(:hover):not(:focus-visible) small { color: var(--news-source-color); }
.site-page .news-row-number { color: var(--news-number-color); }
.site-page .news-row:not(:hover):not(:focus-visible) .news-row-action { color: var(--news-action-color); }
.site-page .news-source-note { color: var(--news-note-color); }
.site-page .market-table-wrap,
.site-page .market-table-head,
.site-page .market-row:not(.market-labels) { background: var(--market-table-background); }
.site-page .market-table-head h2 { color: var(--market-table-title-color); }
.site-page .market-table-head .eyebrow { color: var(--market-eyebrow-color); }
.site-page .market-table .instrument b { color: var(--market-name-color); }
.site-page .market-table .price b { color: var(--market-price-color); }
.site-page .market-table .instrument small,
.site-page .market-table .price small,
.site-page .market-table .market-row time { color: var(--market-detail-color); }
.site-page .market-labels { background: var(--market-labels-background); }
.site-page .market-labels { color: var(--market-labels-color); }
.site-page .market-table .instrument-icon { color: var(--market-icon-color); }
.site-page .market-table-head .live-pill { color: var(--market-live-color); }
.site-page .market-table .change.up { color: var(--market-up-color); }
.site-page .market-table .change.down { color: var(--market-down-color); }

/* Teks kutipan Catatan */
.site-page .note-detail-body blockquote,
.site-page .note-detail-body blockquote * {
    color: #ffffff;
}
