/* SoloDash UI v1 - simple, readable, spacious */

/* ====== Base / Tokens ====== */
:root{
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;

  --primary: #0f172a;
  --primary-ink: #ffffff;

  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);

  --radius: 18px;
  --radius-sm: 14px;

  --container: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

img{ max-width:100%; display:block; }
ul{ margin:0; padding-left: 1.2rem; }

::selection{ background: rgba(15, 23, 42, 0.12); }

/* ====== Layout ====== */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 16px 56px;
}

.section{
  margin-top: 26px;
}

.section__title{
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.muted{
  color: var(--muted);
}

/* ====== Header ====== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

.brand__name{
  font-size: 16px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover{
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.btn-primary:hover{
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.btn-ghost{
  background: var(--surface);
}

.btn-small{
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
}

/* Focus (keyboard) */
:focus-visible{
  outline: 3px solid rgba(59,130,246,0.45);
  outline-offset: 2px;
}

/* ====== Cards / Panels ====== */
.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.card h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.card p{
  margin:0;
  color: var(--muted);
}

/* ====== Hero ====== */
.hero{
  padding: 24px;
}

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.03);
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.hero__title{
  margin: 12px 0 10px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero__lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.hero__cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.hero__bullets{
  margin-top: 8px;
  color: var(--muted);
}

.hero__bullets li{
  margin: 6px 0;
}

/* ====== Grids ====== */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ====== Mini Steps ====== */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
}

.step__num{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(15,23,42,0.06);
  font-weight: 800;
  margin-bottom: 10px;
}

.step__title{
  margin: 0 0 6px;
  font-weight: 800;
}

.step__desc{
  margin:0;
  color: var(--muted);
}

/* ====== FAQ ====== */
.faq{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq__item{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.faq__q{
  margin:0 0 6px;
  font-weight: 800;
}

.faq__a{
  margin:0;
  color: var(--muted);
}

/* ====== Footer ====== */
.footer{
  margin-top: 28px;
  padding: 26px 0 34px;
}

.footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer__links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__links a{
  color: var(--muted);
}

.footer__links a:hover{
  color: var(--text);
}

/* ====== Auth (Login) ====== */
.auth{
  padding: 24px;
}

.auth__inner{
  max-width: 520px;
  margin: 0 auto;
}

.auth__head{
  text-align: left;
  margin-bottom: 16px;
}

.auth__mark{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.auth__title{
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.auth__lead{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.auth__action{
  margin-top: 16px;
}

.auth__btn{
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
}

.auth__note{
  margin: 10px 0 0;
  font-size: 13px;
}

.auth__help{
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.auth__mini{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
}

.auth__miniTitle{
  margin: 0 0 8px;
  font-weight: 800;
}

.auth__list{
  margin: 0;
  color: var(--muted);
}

.auth__list li{
  margin: 6px 0;
}

.auth__foot{
  margin-top: 16px;
}

/* ====== Dashboard UI ====== */
.pageTitle{
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

/* ====== Dashboard: KPI ====== */
.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpiBox{
  padding: 16px;
}

.kpiBox__label{
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
  margin-bottom: 6px;
}

.kpiBox__value{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
}


/* 2-col layout */
.grid2{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

/* ====== Dashboard: Today list（PCはシンプル / スマホは区切り強め） ====== */

/* PC（デフォルト）：以前の見え方に寄せる */
.list{
  display:grid;
  gap: 10px;
}

.list__row{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
}

.list__time{
  font-weight: 900;
  text-align: left;
  padding: 0;
  border-radius: 0;
  background: transparent;
  min-width: auto;
}

.list__main{
  flex: 1;
}

.list__title{
  font-weight: 900;
  line-height: 1.3;
}

.list__sub{
  font-size: 13px;
  margin-top: 2px;
}

/* Shortcuts */
.shortcuts{
  display:grid;
  gap: 10px;
}
.shortcut{
  display:block;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
  transition: transform .08s ease, box-shadow .12s ease;
}
.shortcut:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.shortcut__title{
  font-weight: 900;
  margin: 0 0 4px;
}
.shortcut__desc{
  margin: 0;
  font-size: 13px;
}

/* Hint box */
.hint{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.03);
}
.hint__title{
  margin: 0 0 6px;
  font-weight: 900;
}
.hint__text{
  margin: 0;
  font-size: 13px;
}

/* ====== KPI (mobile-friendly) ====== */
.kpiCard{
  padding: 6px 16px;
}

.kpiRow{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.kpiRow + .kpiRow{
  border-top: 1px solid var(--border);
}

.kpiRow__label{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.kpiRow__value{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .grid3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .hero__title{ font-size: 24px; }
  
  .kpi{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .kpi__value{ font-size: 20px; }

  .list__row{
    display:flex;
    align-items:flex-start;
    padding: 12px;
    background: rgba(255,255,255,0.7);
  }

  .list__time{
    min-width: 64px;
    text-align:center;
    border-radius: 12px;
    padding: 6px 8px;
    background: rgba(15,23,42,0.06);
  }

  .list__sub{
    margin-top: 3px;
  }
}

