@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --green-950: #09251f;
  --green-900: #103b30;
  --green-800: #164d3e;
  --green-700: #1d7055;
  --green-600: #2a9a70;
  --green-100: #e3f4eb;
  --gold: #e4b641;
  --gold-soft: #fbf1ce;
  --ink: #17251f;
  --muted: #73827c;
  --line: #dde7e1;
  --canvas: #f5f8f6;
  --white: #fff;
  --shadow: 0 16px 45px rgba(21, 61, 46, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: 'DM Sans', sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 1fr) minmax(420px, .85fr); position: relative; overflow: hidden; background: var(--green-950); }
.login-brand-panel { min-height: 100vh; padding: clamp(32px, 7vw, 92px); color: white; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; background: radial-gradient(circle at 25% 10%, rgba(54, 159, 111, .24), transparent 34%), linear-gradient(145deg, var(--green-900), var(--green-950) 75%); }
.login-form-panel { display: flex; align-items: center; justify-content: center; padding: 48px; background: #fafcfb; position: relative; z-index: 1; border-radius: 44px 0 0 44px; }
.login-form-wrap { width: min(100%, 420px); animation: rise .7s ease both; }
.login-form-wrap h2 { font: 800 clamp(28px, 4vw, 40px)/1.1 'Manrope', sans-serif; margin: 14px 0 12px; letter-spacing: -.04em; }
.login-message { max-width: 560px; margin: auto 0; }
.login-message h1 { font: 800 clamp(48px, 6.5vw, 88px)/.98 'Manrope', sans-serif; letter-spacing: -.07em; margin: 26px 0; }
.login-message h1 em, .hero-section h1 em { color: var(--gold); font-style: normal; }
.login-message p { color: #bad3c6; font-size: 19px; line-height: 1.65; max-width: 440px; }
.login-footnote { color: #9fc0b1; font-size: 13px; display: flex; gap: 10px; align-items: center; letter-spacing: .02em; }
.login-atmosphere { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.login-atmosphere span { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(228, 182, 65, .15); border-radius: 50%; right: 7%; top: 9%; }
.login-atmosphere span:nth-child(2) { width: 620px; height: 620px; right: -17%; top: -10%; }
.login-atmosphere span:nth-child(3) { width: 180px; height: 180px; right: 35%; bottom: 7%; border-color: rgba(68, 166, 120, .22); }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-lockup strong { display: block; font: 800 19px/1 'Manrope', sans-serif; letter-spacing: -.03em; }
.brand-lockup small { display: block; margin-top: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; opacity: .65; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--green-900); background: var(--gold); font: 800 15px 'Manrope', sans-serif; box-shadow: 0 8px 25px rgba(228, 182, 65, .22); }
.brand-mark--small { width: 38px; height: 38px; border-radius: 12px; font-size: 12px; }
.eyebrow { display: block; color: var(--green-700); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow--light { color: #8bd9ae; }
.muted { color: var(--muted); margin: 0 0 34px; line-height: 1.6; }
.form-stack { display: flex; flex-direction: column; gap: 11px; }
.field-label { color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; margin-top: 9px; }
.field-input { width: 100%; border: 1px solid #d8e4dc; background: white; border-radius: 12px; padding: 15px 17px; outline: none; color: var(--ink); transition: .2s ease; }
.field-input:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(42, 154, 112, .12); }
.password-field { position: relative; }
.password-field .field-input { padding-right: 55px; }
.icon-button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); padding: 8px; }
.button { border: 0; border-radius: 11px; padding: 12px 17px; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--primary { color: white; background: var(--green-700); box-shadow: 0 9px 18px rgba(29, 112, 85, .2); }
.button--primary:hover { background: var(--green-800); }
.button--wide { width: 100%; margin-top: 14px; padding: 16px; font-size: 15px; }
.button--soft { color: var(--green-800); background: var(--green-100); }
.button--outline { color: var(--green-800); background: white; border: 1px solid var(--line); }
.button--ghost { color: var(--muted); background: transparent; }
.secure-note { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.secure-note span { color: var(--green-600); font-size: 20px; }
.form-error { padding: 12px 14px; background: #fff1f1; border: 1px solid #ffd5d5; border-radius: 10px; color: #a83e3e; font-size: 13px; line-height: 1.4; }

.dashboard-view { min-height: 100vh; display: flex; }
.sidebar { width: 265px; flex: 0 0 265px; min-height: 100vh; padding: 30px 20px 22px; background: var(--green-900); color: white; display: flex; flex-direction: column; justify-content: space-between; }
.brand-lockup--sidebar { padding: 0 10px; }
.sidebar-nav-label { color: #80a89a; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .18em; margin: 62px 12px 14px; }
.sidebar-nav { display: grid; gap: 7px; }
.nav-item { color: #c1d6cb; display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.nav-item:hover, .nav-item--active { color: white; background: rgba(255, 255, 255, .1); }
.nav-item--active { box-shadow: inset 3px 0 var(--gold); }
.nav-icon { color: var(--gold); width: 22px; text-align: center; font-size: 20px; }
.sidebar-status { display: flex; gap: 10px; padding: 13px 12px; border-radius: 13px; background: rgba(255,255,255,.07); color: white; }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 12px; }
.sidebar-status small { color: #93b9a9; font-size: 10px; margin-top: 5px; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #56d391; box-shadow: 0 0 0 4px rgba(86, 211, 145, .13); flex: 0 0 auto; margin-top: 4px; }
.logout-button { width: 100%; margin-top: 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; padding: 11px; color: #c1d6cb; background: transparent; font-size: 12px; font-weight: 700; }
.logout-button:hover { color: white; border-color: rgba(255,255,255,.3); }
.main-content { min-width: 0; flex: 1; }
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.breadcrumb { color: var(--muted); display: flex; gap: 11px; align-items: center; font-size: 12px; }.breadcrumb b { color: #b3c1b9; }.breadcrumb strong { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 23px; }.clock { color: var(--muted); font-size: 12px; }.user-pill { display: flex; align-items: center; gap: 9px; color: var(--green-800); font-weight: 800; font-size: 12px; }.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--green-900); background: var(--gold-soft); font-size: 10px; }
.content-wrap { max-width: 1420px; padding: clamp(28px, 5vw, 58px); margin: 0 auto; }
.hero-section { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }.hero-section h1 { font: 800 clamp(34px, 4vw, 60px)/1.05 'Manrope', sans-serif; letter-spacing: -.07em; margin: 12px 0 13px; }.hero-section p { max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }.hero-status { min-width: 242px; padding: 14px 16px; border: 1px solid #cfe6d8; border-radius: 14px; background: #f2fbf5; color: var(--green-800); display: grid; grid-template-columns: 10px 1fr; gap: 4px 9px; font-size: 12px; font-weight: 800; }.hero-status .signal-dot { grid-row: span 2; }.hero-status small { grid-column: 2; color: var(--muted); font-weight: 500; font-size: 11px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 34px; }.metric-card { min-height: 120px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: flex; align-items: start; gap: 16px; }.metric-card--highlight { background: var(--green-900); border-color: var(--green-900); color: white; }.metric-icon { width: 41px; height: 41px; border-radius: 12px; color: var(--green-800); background: var(--gold-soft); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }.metric-icon--green { color: var(--green-700); background: var(--green-100); }.metric-icon--blue { color: #2d719a; background: #e6f1f7; }.metric-card span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }.metric-card--highlight span { color: #a7cabc; }.metric-card strong { display: block; font: 800 20px 'Manrope', sans-serif; letter-spacing: -.04em; margin: 9px 0 6px; }.metric-card small { color: #87968f; font-size: 11px; }.metric-card--highlight small { color: #9bbcaf; }
.archive-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }.panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }.panel-heading h2 { margin: 9px 0 0; font: 800 27px 'Manrope', sans-serif; letter-spacing: -.05em; }.panel-actions { display: flex; gap: 9px; }.filters-row { margin: 25px 0; display: grid; grid-template-columns: minmax(230px, 1fr) 180px auto auto; gap: 10px; align-items: end; }.search-field, .date-field { border: 1px solid var(--line); border-radius: 11px; display: flex; align-items: center; min-height: 44px; }.search-field { padding: 0 13px; gap: 8px; }.search-field span { color: var(--green-600); font-size: 22px; }.search-field input, .date-field input { border: 0; outline: 0; width: 100%; color: var(--ink); background: transparent; font-size: 12px; }.date-field { display: block; padding: 5px 11px 4px; }.date-field span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1px; }.archive-feedback { padding: 11px 14px; border-radius: 10px; font-size: 12px; margin-bottom: 15px; }.archive-feedback--error { color: #a83e3e; background: #fff1f1; }.archive-feedback--ok { color: var(--green-800); background: var(--green-100); }
.recordings-list { display: grid; gap: 9px; }.recording-row { display: grid; grid-template-columns: 44px minmax(170px, 1.6fr) minmax(110px, .7fr) minmax(110px, .6fr) minmax(230px, 1.2fr) auto; align-items: center; gap: 16px; padding: 15px 13px; border: 1px solid #edf2ef; border-radius: 13px; transition: .2s ease; }.recording-row:hover { border-color: #c9e1d4; background: #fbfdfb; }.recording-play { width: 39px; height: 39px; border-radius: 50%; border: 0; color: white; background: var(--green-700); font-size: 17px; }.recording-main strong { display: block; font-size: 13px; }.recording-main small, .recording-meta small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }.recording-meta span { color: var(--ink); display: block; font-size: 12px; font-weight: 700; }.recording-audio audio { width: 100%; height: 32px; }.recording-actions { display: flex; justify-content: end; gap: 7px; }.mini-button { min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--green-800); font-size: 15px; text-decoration: none; display: grid; place-items: center; }.mini-button:hover { background: var(--green-100); }.mini-button--danger { color: #ab4d4d; }.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 8px; color: var(--green-800); background: var(--green-100); font-size: 10px; font-weight: 800; }.status-badge--warning { color: #966e12; background: #fff6d8; }.empty-state { padding: 45px 20px; text-align: center; color: var(--muted); border: 1px dashed #cddbd3; border-radius: 13px; }.empty-state strong { color: var(--ink); display: block; margin-bottom: 7px; }.empty-state p { margin: 0; font-size: 13px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 26px; }.info-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafdfe; display: flex; gap: 16px; }.info-number { color: var(--gold); font: 800 20px 'Manrope'; }.info-card h3 { margin: 0 0 7px; font: 800 14px 'Manrope'; }.info-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 12px; }.toast { position: fixed; right: 24px; bottom: 24px; color: white; background: var(--green-900); border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 13px 16px; font-size: 12px; font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.2); z-index: 20; animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) { .recording-row { grid-template-columns: 44px minmax(170px, 1fr) minmax(100px, .6fr) auto; }.recording-audio { grid-column: 2 / 4; }.recording-actions { grid-column: 4; grid-row: 1 / span 2; }.recording-meta:nth-of-type(2) { display: none; } }
@media (max-width: 800px) { .login-view { display: block; }.login-brand-panel { min-height: 43vh; padding: 30px 25px; }.login-message { margin: 50px 0 25px; }.login-message h1 { font-size: 47px; }.login-message p { font-size: 15px; }.login-form-panel { min-height: 57vh; border-radius: 30px 30px 0 0; padding: 38px 25px; }.sidebar { width: 73px; flex-basis: 73px; padding: 22px 10px; }.brand-lockup--sidebar strong, .brand-lockup--sidebar small, .sidebar-nav-label, .nav-item:not(.nav-item--active)::after, .sidebar-status div, .logout-button { display: none; }.brand-lockup--sidebar { padding: 0; justify-content: center; }.sidebar-nav { margin-top: 56px; }.nav-item { justify-content: center; padding: 13px 0; }.nav-item { font-size: 0; }.nav-icon { font-size: 20px; }.sidebar-status { padding: 12px; justify-content: center; }.logout-button { display: block; font-size: 0; padding: 11px 0; }.logout-button span { font-size: 17px; }.topbar { padding: 0 20px; }.breadcrumb span, .breadcrumb b { display: none; }.clock { display: none; }.content-wrap { padding: 28px 17px; }.hero-section { display: block; }.hero-status { margin-top: 20px; }.metrics-grid, .info-grid { grid-template-columns: 1fr; }.archive-panel { padding: 18px 14px; }.panel-heading { display: block; }.panel-actions { margin-top: 17px; }.panel-actions .button { flex: 1; font-size: 11px; padding: 11px 8px; }.filters-row { grid-template-columns: 1fr 1fr; }.search-field { grid-column: span 2; }.filters-row .button { width: 100%; }.recording-row { grid-template-columns: 40px 1fr auto; gap: 10px; }.recording-meta, .recording-actions { grid-column: 2 / 4; grid-row: auto; }.recording-audio { grid-column: 1 / 4; }.recording-actions { justify-content: start; }.recording-play { width: 35px; height: 35px; }.recording-main strong { font-size: 12px; } }

.panel-intro { max-width: 620px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.collected-panel { border-color: #cfe4d8; background: linear-gradient(145deg, #fff, #f7fcf8); }
.collected-form { margin: 24px 0; padding: 19px; border: 1px solid #e1ece5; border-radius: 14px; background: rgba(255,255,255,.74); }
.collected-form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr); gap: 14px; }
.collected-form-grid__wide { grid-column: 1 / -1; }
.form-field { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 800; }
.form-field span { display: flex; align-items: center; gap: 5px; }
.form-field span small { color: var(--muted); font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--ink); background: white; outline: none; font-size: 13px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(42,154,112,.12); }
.form-field input[type=file] { padding: 9px; }
.form-field textarea { resize: vertical; min-height: 70px; }
.form-field > small { color: var(--muted); font-size: 11px; font-weight: 500; }
.collected-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.collected-form-actions .archive-feedback { flex: 1; margin: 0; }
.recording-notes { font-style: italic; }
.recordings-list--collected .recording-row { border-color: #dcece1; }
@media (max-width: 650px) { .collected-form-grid { grid-template-columns: 1fr; }.collected-form-grid__wide { grid-column: auto; }.collected-form-actions { align-items: stretch; flex-direction: column; }.collected-form-actions .button { width: 100%; } }
