/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f5f2e8;
  color: #1f2937;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  display: grid;
  grid-template-columns: 260px 320px 1fr 320px;
  min-height: 100vh;
}

.shell.shell-intake {
  grid-template-columns: 260px minmax(0, 1fr);
}

.shell.shell-config-only {
  grid-template-columns: 260px 320px minmax(0, 1fr);
}

.nav {
  background: #0e1f3f;
  color: #f3f4f6;
  padding: 20px;
}

.nav .active {
  background: #d9c9a0;
  color: #0e1f3f;
  border-radius: 8px;
}

.panel {
  padding: 20px;
  border-right: 1px solid #e5e7eb;
  background: #faf8f2;
}

.content {
  padding: 20px;
  background: #ffffff;
}

.shell.shell-intake .content {
  max-width: 1200px;
}

.rail {
  padding: 20px;
  background: #f8fafc;
  border-left: 1px solid #e5e7eb;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.button {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.button.primary {
  background: #1d4ed8;
  color: white;
}

.button.secondary {
  background: #e5e7eb;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
}

.upload-input {
  border: 1px dashed #94a3b8 !important;
  background: #f8fafc;
}

.upload-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.upload-dropzone {
  position: relative;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.upload-dropzone.is-drag-over {
  border-color: #1d4ed8;
  background: #eff6ff;
}

.upload-dropzone-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.upload-dropzone-subtitle {
  font-size: 14px;
  margin-bottom: 4px;
}

.upload-dropzone-meta {
  font-size: 12px;
  opacity: 0.75;
}

.upload-inline-action {
  color: #1d4ed8;
  text-decoration: underline;
  cursor: pointer;
}

.upload-file-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 10px;
}

.upload-file-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
  padding: 8px 10px;
}

.upload-file-name {
  font-size: 13px;
  font-weight: 600;
}

.upload-file-size {
  font-size: 12px;
  opacity: 0.7;
}

.upload-file-remove {
  border: none;
  background: transparent;
  color: #b91c1c;
  font-weight: 600;
  cursor: pointer;
}

.auth-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f2e8;
  color: #64748b;
  font-size: 14px;
}

.login-surface {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #e8e4d8 0%, #f5f2e8 40%);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.login-card-head {
  background: #0e1f3f;
  color: #f8fafc;
  padding: 22px 20px 18px;
}

.login-card-head h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.login-card-head p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.login-card-body {
  padding: 20px;
}

.login-error {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

