/* Master Plan 360 · Design system — minimalista claro, 2026 */
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #f3f6f3;
  --ink: #202b26;
  --muted: #708078;
  --line: #e5eae6;
  --accent: #236345;
  --accent-dark: #174d34;
  --accent-soft: #e8f1eb;
  --focus: rgba(44, 124, 79, .22);
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.layout { width: min(100%, 1200px); max-width: 1200px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 44px) 60px; }
.layout.narrow { max-width: 530px; padding-top: clamp(50px, 10vh, 110px); }
.layout.wide { max-width: 1460px; }
header { margin: 0 0 30px; }
.eyebrow { display: block; font-size: 11px; font-weight: 750; letter-spacing: .12em; color: #62806f; text-transform: uppercase; }
h1 { font-size: clamp(30px, 3.5vw, 47px); font-weight: 750; letter-spacing: -.052em; line-height: 1.12; margin: 10px 0 12px; }
h1 span { color: var(--accent); }
h2, h3 { color: var(--ink); letter-spacing: -.03em; line-height: 1.25; }
h2 { font-size: 19px; font-weight: 710; }
h3 { font-size: 16px; font-weight: 700; }
header p { color: var(--muted); max-width: 700px; margin: 0; font-size: 14px; }
p { margin-top: 0; }
.muted, small, .helper { color: var(--muted); }
small { font-size: 12px; }
.panel, article { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); padding: 24px; box-shadow: 0 2px 8px rgba(28, 48, 35, .018); }
.panel h2, .panel h3 { margin-top: 0; }
.panel p { line-height: 1.6; }
.panel form { margin-top: 16px; }
.panel > :last-child { margin-bottom: 0; }
.top, .appbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.appbar { min-height: 59px; padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 33px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 780; font-size: 13px; letter-spacing: -.04em; }
.brand-text { display: flex; flex-direction: column; gap: 0; line-height: 1.25; }
.brand-text strong { font-size: 14px; font-weight: 750; }
.brand-text small { font-size: 11px; color: var(--muted); }
.appbar-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 100px; padding: 5px 10px; background: #edf4ef; color: #2c6949; font-weight: 650; font-size: 12px; white-space: nowrap; }
.pill.ok { background: #ebf5ed; color: #276a49; }
.pill.warn { background: #fcf4e9; color: #936b30; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; }
.row span { color: var(--muted); }
.row strong { color: var(--ink); text-align: right; font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards h3 { margin-bottom: 7px; }
.cards p { font-size: 14px; color: var(--muted); }
.icon { color: var(--accent); font-size: 26px; }
footer { margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: #94a199; font-size: 12px; }
label { display: block; font-size: 13px; font-weight: 650; color: #4a5d52; margin: 15px 0 7px; }
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
  display: block; background: #fff; border: 1px solid #d9e2db; color: var(--ink);
  width: 100%; min-width: 0; border-radius: 9px; padding: 10px 12px; font-size: 14px;
  outline: none; transition: border-color .16s, box-shadow .16s;
}
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus, select:focus, textarea:focus {
  border-color: #79ae89; box-shadow: 0 0 0 3px var(--focus);
}
input::placeholder, textarea::placeholder { color: #a4b0a6; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
input[type=file] { padding: 9px !important; }
input[type=file]::file-selector-button { margin-right: 12px; border: 1px solid var(--line); background: var(--surface-soft); padding: 6px 10px; border-radius: 6px; color: #385244; cursor: pointer; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--accent);
  border-radius: 9px; padding: 10px 15px; color: #fff; background: var(--accent); font-size: 13px; font-weight: 690;
  cursor: pointer; text-decoration: none; transition: background-color .16s, border-color .16s, transform .16s;
}
button:hover:not(:disabled), .button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
button:active:not(:disabled), .button:active { transform: translateY(1px); }
button.secondary, .button.secondary { margin: 0; border: 1px solid #dce5dd; background: #fff; color: #41594a; }
button.secondary:hover:not(:disabled), .button.secondary:hover { background: #f4f7f4; border-color: #c6d7ca; color: var(--accent-dark); }
.alert, .notice { padding: 12px 14px; border: 1px solid #f0d7cf; background: #fff3ee; color: #8a4433; border-radius: 10px; margin: 15px 0; font-size: 13px; }
.notice.success { border-color: #cfe7d4; background: #eef8f0; color: #255e3d; }
.back { display: inline-block; margin-bottom: 22px; font-size: 13px; text-decoration: none; color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(290px, .85fr) minmax(0, 1.6fr); gap: 17px; align-items: start; }
.project { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 15px 0; color: var(--ink); text-decoration: none; }
.project:hover { color: var(--accent); }
.project small { display: block; }
.project span { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
@media (max-width: 800px) { .split, .cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .layout { padding: 18px 15px 36px; } .panel, article { padding: 18px; } .appbar { margin-bottom: 26px; } .row { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; } }
