@charset "UTF-8";
:root {
  --primary: #0D68FF;
  --bg: #f8fafc;
  --dark: #1e293b;
  --border: #e2e8f0;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --success-dark: #059669; }

.input-group {
  margin-bottom: 2em; }

label {
  display: block;
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 83%;
  color: #64748b; }

input {
  width: 100%;
  padding: 1em;
  border: 1px solid var(--border);
  border-radius: 0.5em;
  font-family: monospace;
  font-size: 100%;
  box-sizing: border-box;
  outline: none;
  transition: 0.2s;
  background: #fcfcfc; }

input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 104, 255, 0.05); }

/* 強度メーター */
.strength-container {
  margin-bottom: 2em; }

.strength-meter {
  height: 8px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 1em;
  overflow: hidden; }

.strength-bar {
  height: 100%;
  width: 0%;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.status-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em; }

.status-label {
  font-size: 90%;
  font-weight: bold; }

/* チェックリスト */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5em;
  list-style: none;
  padding: 1em;
  margin-bottom: 2em;
  background: #f8fafc;
  border-radius: 0.5em; }

.check-item {
  font-size: 83%;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5em; }

.check-item.valid {
  color: var(--success-dark);
  font-weight: bold; }

.check-item::before {
  content: '○';
  font-size: 100%; }

.check-item.valid::before {
  content: '✔'; }

/* 解析時間目安 */
.crack-info {
  background: #f1f5f9;
  padding: 1em;
  border-radius: 0.5em;
  font-size: 83%; }

.crack-info-title {
  color: #64748b;
  margin-bottom: 0.25em;
  display: block; }

.crack-time-val {
  font-size: 100%;
  color: var(--dark);
  font-weight: bold;
  display: block; }

.btn-group {
  margin-top: 2em;
  display: flex;
  gap: 1em; }

.btn {
  padding: 1em 2em;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  border: none;
  font-size: 83%;
  transition: 0.2s; }

.btn-clear {
  background: #EEE;
  color: #666; }
  .btn-clear:hover {
    background: #DDD; }

/* トースト */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999; }

.toast-bnr {
  background: var(--dark);
  color: #fff;
  padding: 1em 2em;
  border-radius: 0.5em;
  border-left: 5px solid var(--primary);
  font-size: 83%; }

@media screen and (min-width: 1680px) {
  /* 1680px以上 */ }
@media screen and (max-width: 480px) {
  /* 480px以下 */ }
