:root {
  color-scheme: light;
  --paper: #fafbfa;
  --ink: #252c2a;
  --muted: #69716c;
  --line: #dfe4df;
  --accent: #35614d;
  --hover: #eff3ee;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:active {
  transform: translateY(1px);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: #dce8dc;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
.site-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: white;
  z-index: 2;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: var(--muted);
}
.brand-mark {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--ink);
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
nav a:hover,
.back-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.introduction {
  padding: 29px 0 27px;
}
h1 {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.3px;
}
h1 > span {
  color: var(--accent);
}
.introduction p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.directory-section {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.section-label {
  padding: 22px 15px 20px 0;
}
.section-label h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.section-label p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
#ingilizce .section-label h2 {
  color: var(--accent);
}
.directory-list {
  min-width: 0;
  padding: 8px 0;
}
.directory-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 59px;
  padding: 10px 12px;
  border-radius: 3px;
}
.directory-link + .directory-link {
  border-top: 1px solid #e9ece8;
}
.directory-link:hover {
  background: var(--hover);
}
.link-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex: 1;
}
.link-copy strong {
  font-weight: 500;
  font-size: 14px;
  flex: 0 0 174px;
}
.link-copy > span {
  color: var(--muted);
  font-size: 12px;
}
.link-meta {
  display: flex;
  gap: 17px;
  align-items: center;
  color: var(--muted);
}
.link-meta > span {
  font-size: 16px;
}
.link-meta small {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--accent);
}
.featured .link-copy strong {
  color: var(--accent);
  font-weight: 650;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.tool-page {
  max-width: 620px;
  margin: 0 auto;
  padding: 25px 0 32px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
}
.tool-content {
  margin-top: 23px;
}
.tool-content h1 {
  font-size: 28px;
  letter-spacing: -0.7px;
}
.tool-content > p {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 22px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
input,
select,
textarea {
  width: 100%;
  background: white;
  border: 1px solid #bdc8c0;
  border-radius: 3px;
  padding: 10px 12px;
  min-height: 43px;
}
textarea {
  resize: vertical;
  font-size: 13px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 17px 0;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.primary:hover {
  background: #284c3c;
}
.secondary:hover {
  background: var(--hover);
}
#prompt-result {
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
#copy-prompt {
  margin-top: 10px;
}
#copy-status {
  font-size: 12px;
  color: var(--accent);
  margin-top: 8px;
}
.tool-content .dialog-footnote {
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin: 23px 0 0;
}
.duration-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.duration-options button {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  min-height: 42px;
  padding: 8px 15px;
  font-size: 12px;
}
.duration-options button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--hover);
}
.timer-display {
  font:
    62px/1.4 ui-monospace,
    monospace;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -3px;
  padding-top: 18px;
}
#timer-status {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 18px;
}
.timer-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 950px) {
  .directory-section {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .link-copy {
    flex-direction: column;
    gap: 2px;
  }
  .link-copy strong {
    flex-basis: auto;
  }
}
@media (max-width: 600px) {
  .site-shell {
    padding-inline: 20px;
  }
  .site-header {
    min-height: 60px;
    gap: 12px;
  }
  .brand > span:last-child {
    display: none;
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  .introduction {
    padding-block: 23px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -0.8px;
  }
  .introduction p {
    font-size: 13px;
    line-height: 1.65;
  }
  .introduction br {
    display: none;
  }
  .directory-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 5px;
  }
  .section-label h2 {
    font-size: 14px;
  }
  .section-label p {
    margin: 0;
    font-size: 10px;
  }
  .directory-list {
    padding-top: 2px;
    padding-bottom: 10px;
  }
  .directory-link {
    padding: 10px 2px;
    min-height: 60px;
    gap: 10px;
  }
  .link-copy {
    gap: 2px;
  }
  .link-copy strong {
    font-size: 13px;
  }
  .link-copy > span {
    font-size: 11px;
  }
  .link-meta {
    gap: 10px;
  }
  footer {
    padding-top: 15px;
    font-size: 9px;
  }
  footer > span:last-child {
    display: none;
  }
  .tool-page {
    padding-top: 20px;
  }
  .tool-content {
    margin-top: 18px;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .duration-options button {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
