.nt-tools {
  --nt-ink: #112d2a;
  --nt-muted: #48605b;
  --nt-line: #d3e2dc;
  --nt-teal: #088674;
  --nt-teal-deep: var(--bs-primary, #005447);
  --nt-aqua: #15d2a6;
  --nt-mint: #e8f5ef;
  --nt-paper: #fff;
  --nt-wash: #f5f7f3;
  --nt-shadow: 0 2px 4px #163a3610, 0 17px 42px #214c3510;
  --nt-night: #092f2b;
  --nt-night-text: #f2fff9;
  --nt-night-muted: #c7eadb;
  --nt-night-pattern: radial-gradient(ellipse at 89% 3%, #1b654e 0%, transparent 59%), linear-gradient(125deg,var(--nt-night),#104638);
  --nt-number-font: Bahnschrift, "Segoe UI", system-ui, sans-serif;
  color: var(--nt-ink);
  background: linear-gradient(180deg, #e8f2ed 0, var(--nt-wash) 27rem);
  padding: 62px 0 clamp(32px, 6vw, 76px);
  direction: rtl;
}
.nt-tools [hidden] { display: none !important; }
.nt-tools :focus-visible { outline: 3px solid #008873; outline-offset: 3px; }
.nt-tools :is(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }
.nt-tools a { text-underline-offset: .2em; }
.nt-tools :is(button, input, textarea, select) { font-family: inherit; }
.nt-tools button { cursor: pointer; }
.nt-tools button:disabled { cursor: default; }
.nt-tools .nt-container { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.nt-tools .nt-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px 15px; padding-block: clamp(16px, 2.7vw, 31px) 21px; }
.nt-heading-icon { display: grid; place-items: center; inline-size: 54px; block-size: 54px; border: 1px solid #39907b; border-radius: 16px; background: linear-gradient(148deg, #16725f, #084535); box-shadow: 0 5px 14px #154b3b36, inset 0 1px #ffffff3d; color: #e7fff4; font-size: 25px; }
.nt-tools .nt-heading h1 { color: var(--nt-ink); font-size: clamp(1.52rem, 3.6vw, 2.34rem); line-height: 1.32; font-weight: 800; text-wrap: pretty; }
.nt-tools .nt-heading p { font-size: clamp(.85rem, 1.5vw, .99rem); line-height: 1.85; color: var(--nt-muted); max-width: 75ch; margin-block-start: 4px; }
.nt-heading-back { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 12px; border: 1px solid #c9ddd1; border-radius: 100px; background: #f8fcfa; color: var(--nt-teal-deep); text-decoration: none; font-size: .82rem; font-weight: 750; }
.nt-heading-back:hover { background: #e0f3e9; color: #123c30; }
.nt-workspace { scroll-margin-top: 96px; }
.nt-tools .tool-console {
  min-width: 0; background: var(--nt-paper); border: 1px solid var(--nt-line); border-radius: 21px;
  border-block-start-color: #99c7b5;
  padding: clamp(16px, 3vw, 32px); box-shadow: var(--nt-shadow); overflow: visible;
}
.nt-tools :is(.primary,.secondary) {
  min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; font-size: .865rem; padding: 9px 15px; font-weight: 750; line-height: 1.6;
}
.nt-tools .primary { background: linear-gradient(128deg, #116751, #064634); color: #fff; border: 1px solid #185f4e; box-shadow: 0 3px 8px #16453622, inset 0 1px #ffffff35; }
.nt-tools .primary:hover:not(:disabled) { background: #073f31; border-color: #073f31; box-shadow: 0 5px 11px #16453632; }
.nt-tools .secondary { color: var(--nt-teal-deep); border: 1px solid #b8d4cc; background: #fff; }
.nt-tools .secondary:hover:not(:disabled) { background: var(--nt-mint); border-color: var(--nt-teal); }
.nt-tools :is(.primary,.secondary):disabled { opacity: .52; }
.nt-tools .nt-result.result-panel { margin-top: clamp(13px, 2vw, 24px); min-height: 0; border-radius: 20px; padding: 0; border: 0; background: transparent; min-width: 0; }
.nt-result-empty { display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 15px 18px; border-radius: 14px; background: linear-gradient(90deg,#f3f8f3,#eaf4ee); border: 1px solid var(--nt-line); font-size: .9rem; color: var(--nt-muted); }
.nt-status-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--nt-aqua); }
.nt-tools .tool-utility-bar { margin: 18px 0 0; border-top: 1px solid var(--nt-line); padding: 16px 0 0; background: transparent; }
.nt-tools .tool-utility-bar .helper-note { display: none; }
.nt-tools .tool-utility-bar .secondary { min-height: 38px; }
.nt-tools .nt-help { width: min(1140px, calc(100% - 48px)); margin: clamp(24px, 4vw, 54px) auto 0; display: grid; gap: 14px; }
.nt-tools .nt-help .container { width: auto; padding: 0; max-width: none; }
.nt-tools .nt-help :is(.read-area,.faq-section,.related) {
  padding: clamp(16px, 2.5vw, 26px); background: #fff; border: 1px solid var(--nt-line); border-radius: 19px; margin: 0;
}
.nt-tools .nt-help h2 { color: var(--nt-ink); text-align: start; font-size: clamp(1.06rem, 2vw, 1.33rem); }
.nt-tools .nt-help .section-title { text-align: start; margin-block: 0 10px; }
.nt-tools .nt-help :is(.guide-grid,.related-links,.clock-links) { margin-block-start: 12px; }
.nt-tools .nt-help .guide-card { border: 0; border-inline-start: 2px solid #b6deca; border-radius: 0; padding: 9px 12px 9px 0; background: transparent; box-shadow: none; }
.nt-tools .nt-help .guide-card h3 { color: var(--nt-ink); }
.nt-tools .nt-help .guide-card p { color: var(--nt-muted); line-height: 1.95; }
.nt-tools .nt-help :is(.faq,.sources) { margin-block: 8px 0; }

/* Tool index */
.nt-popular { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-block: 0 19px; }
.nt-popular a { display: flex; align-items: center; gap: 12px; position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 96px; color: var(--nt-teal-deep); background: #f9fdf9; border: 1px solid #c8ded4; border-radius: 17px; padding: 12px clamp(11px, 2vw, 20px); font-weight: 750; line-height: 1.5; text-decoration: none; box-shadow: var(--nt-shadow); transition: transform .16s ease, box-shadow .16s ease; }
.nt-popular a::before { content: ''; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(circle at 6% 70%, transparent 0 14px, #2f897614 15px 16px, transparent 17px 28px); pointer-events: none; }
.nt-popular a[data-tone="clock"] { background: var(--nt-night-pattern); border-color: #1d5c4f; color: var(--nt-night-text); }
.nt-popular a[data-tone="clock"]::before { opacity: .45; background: repeating-radial-gradient(circle at 8% 70%, transparent 0 14px, #b0f4cf46 15px 16px, transparent 17px 28px); }
.nt-popular a[data-tone="network"] { background-color: #e2f2ec; }
.nt-popular a:hover { transform: translateY(-2px); box-shadow: 0 12px 25px #214c3523; }
.nt-popular-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #98d3bc; border-radius: 13px; color: #0b6352; background: #d8f2e7; font-size: 21px; }
.nt-popular a[data-tone="clock"] .nt-popular-icon { border-color: #c3ffe03d; background: #a1f2cc20; color: #c3f9df; }
.nt-popular-text { min-width: 0; display: grid; gap: 2px; }
.nt-popular-text strong { font-size: .99rem; }
.nt-popular-text small { color: var(--nt-muted); font-size: .77rem; font-weight: 600; }
.nt-popular a[data-tone="clock"] small { color: var(--nt-night-muted); }
.nt-popular-arrow { margin-inline-start: auto; flex: none; }
.nt-catalog-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; margin-block-end: 15px; padding: 9px 12px; border: 1px solid var(--nt-line); border-radius: 16px; background: #ffffffc9; }
.nt-search { display: flex; align-items: center; gap: 10px; min-width: min(100%,18rem); padding-inline: 12px; border: 1px solid #bfd5cf; border-radius: 12px; background: white; color: var(--nt-teal-deep); }
.nt-tools .nt-search input { border: 0; margin: 0; min-height: 44px; width: 100%; background: transparent; font-size: .86rem; }
.nt-tools .nt-catalog .cards { margin-block-end: 14px; }
.nt-tools .nt-catalog .cards:empty, .nt-tools .nt-catalog .cards:not(:has(.tool-card:not([hidden]))) { display: none; }
.nt-tools .nt-catalog .nt-catalog-empty { margin-block: 12px; color: var(--nt-muted); }
.nt-tools .nt-planner-card { background: linear-gradient(146deg, #f8fcfa, #fff 70%); border-top: 2px solid #64b69d; }
.nt-tools .nt-planner-card .card-content { height: 100%; }

/* Readable reports and source dates */
.nt-report-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px; align-items: center; border: 1px solid #c6ded1; border-inline-start: 3px solid #31a483; border-radius: 14px; padding: 16px 19px; background: linear-gradient(116deg,#f9fcf9,#e4f3e9); }
.nt-report-head h3 { font-size: 1.18rem; color: var(--nt-ink); overflow-wrap: anywhere; }
.nt-tools .nt-report-time { grid-column: 1 / -1; padding: 0; color: var(--nt-muted); font-size: .82rem; margin: 0; }
.nt-report-time summary { width: fit-content; cursor: pointer; }
.nt-tools .nt-report-time .dates { margin-block: 6px 0; padding-inline: 4px; }
.nt-tools .report-summary { margin-block: 15px; }
.nt-tools .report-summary .summary-card { border-color: var(--nt-line); border-radius: 14px; background: linear-gradient(180deg,#f0f8f4,#fff 80%); box-shadow: 0 2px 4px #213e3610; }
.nt-tools .report-summary .summary-card > strong { color: #075b4e; overflow-wrap: anywhere; }
.nt-tools .report-section { margin-block: 13px; border-color: var(--nt-line); border-radius: 16px; scroll-margin-top: 96px; }
.nt-check-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 260px), 1fr)); gap: 10px; }
.nt-check-item { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 13px 14px; border: 1px solid var(--nt-line); background: #f8fbfa; border-radius: 12px; }
.nt-check-item > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.nt-check-item h5 { color: var(--nt-ink); font-size: .9rem; line-height: 1.7; margin: 0; }
.nt-check-item p { color: var(--nt-muted); font-size: .83rem; line-height: 1.7; }
.nt-check-item .nt-check-value { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .82rem; color: var(--nt-ink); }
.nt-tools .nt-result .dates { gap: 3px; }
.nt-tools .nt-result .dates small { color: var(--nt-muted); line-height: 1.6; }
.nt-tools .nt-result .date-original { direction: ltr; unicode-bidi: isolate; width: fit-content; overflow-wrap: anywhere; }

/* My IP */
.nt-ip .nt-result.result-panel { margin-top: 0; }
.nt-ip-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(18px, 3.8vw, 38px); border: 1px solid #3f8674; border-radius: 17px; background: var(--nt-night-pattern); box-shadow: inset 0 1px #ffffff27, 0 8px 21px #16413429; color: var(--nt-night-text); }
.nt-ip-card::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .4; pointer-events: none; background: radial-gradient(circle at 17% 65%, #79eac76e 0 3px, transparent 4px), radial-gradient(circle at 23% 35%, #a0f0cb85 0 3px, transparent 4px), repeating-radial-gradient(circle at 11% 60%, transparent 0 16px, #79eac75d 17px 18px, transparent 19px 32px); mask-image: linear-gradient(90deg,#000,transparent 50%); }
.nt-ip-card .nt-ip-label { display: flex; align-items: center; gap: 8px; color: var(--nt-night-muted); font-size: .94rem; font-weight: 750; }
.nt-ip-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--nt-aqua); box-shadow: 0 0 0 4px #a1f2cc2a; }
.nt-ip-address { align-items: center; display: flex; flex-wrap: wrap; gap: 13px 23px; margin-block: 12px 17px; }
.nt-ip-address bdi { min-width: 0; overflow-wrap: anywhere; color: var(--nt-night-text); font: 700 clamp(1.55rem, 6vw, 3.9rem)/1.27 var(--nt-number-font); font-variant-numeric: tabular-nums; }
.nt-ip-address bdi[data-family="6"] { font-family: ui-monospace, monospace; font-size: clamp(1.02rem, 3.2vw, 2.5rem); }
.nt-ip-card .nt-ip-copy { background: #adf2d5; color: #0b392d; border-color: #adf2d5; font-weight: 800; }
.nt-ip-card .nt-ip-copy:hover:not(:disabled) { background: #dbffef; border-color: #dbffef; }
.nt-ip-card .nt-ip-copy::before { content: ''; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; box-shadow: -2px -2px #adf2d5,-3px -3px currentColor; }
.nt-ip-card :is(.nt-ip-type,.nt-ip-copy-status) { font-size: .82rem; color: var(--nt-night-muted); }
.nt-ip-card .nt-ip-type { width: fit-content; border: 1px solid #aed7c954; border-radius: 100px; padding: 2px 11px; background: #d0ffe213; }
.nt-ip-card .nt-ip-copy-status { margin-block-start: 8px; }
.nt-ip-card :focus-visible { outline-color: #b6f9dd; }
.nt-ip-card .nt-ip-copy-status:empty { display: none; }
.nt-ip .nt-ip-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 15px; }
.nt-ip .nt-ip-footer p { color: var(--nt-muted); font-size: .86rem; line-height: 1.8; flex: 1 1 250px; }
.nt-ip .nt-ip-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 188px), 1fr)); gap: 9px; margin-block-start: 12px; }
.nt-ip-facts div { padding: 12px; border: 1px solid var(--nt-line); border-radius: 12px; }
.nt-ip-facts dt { font-size: .81rem; color: var(--nt-muted); }
.nt-ip-facts dd { overflow-wrap: anywhere; font-weight: 750; color: var(--nt-ink); }

/* World clock */
.nt-clock .tool-console { background: transparent; box-shadow: none; padding: 0; border: 0; }
.nt-clock .nt-result.result-panel { margin: 0; }
.nt-clock-board { background: #fafffc; border: 1px solid #c6ddd3; color: var(--nt-ink); border-radius: 23px; padding: clamp(12px, 2vw, 22px); box-shadow: var(--nt-shadow); }
.nt-clock .nt-result-empty { min-height: 340px; }
.nt-clock-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-block-end: 12px; }
.nt-clock-mode { display: flex; align-items: center; gap: 8px; width: fit-content; border-radius: 30px; padding: 2px 10px; background: #e5f4ea; font-weight: 750; color: var(--nt-teal-deep); font-size: .87rem; }
.nt-clock-mode .nt-status-dot { background: #168c67; box-shadow: 0 0 0 3px #52bd9040; margin-inline-start: 2px; }
.nt-clock-mode[data-live="false"] .nt-status-dot { background: #628781; }
.nt-clock .nt-clock-action { color: var(--nt-teal-deep); border-color: #c4d7d0; background: #fff; min-height: 38px; }
.nt-clock .nt-clock-action:hover:not(:disabled) { color: #103f38; background: var(--nt-mint); }
.nt-clock-pair { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }
.nt-clock-pair[data-single="true"] { grid-template-columns: 1fr; }
.nt-clock-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) clamp(105px, 14vw, 172px); align-items: center; gap: clamp(10px, 2.2vw, 26px); min-width: 0; padding: clamp(15px, 2.35vw, 30px); border: 1px solid #397b69; border-radius: 17px; background: var(--nt-night-pattern); box-shadow: inset 0 1px #ffffff2b, 0 8px 19px #1a52302b; color: var(--nt-night-text); --clock-muted: var(--nt-night-muted); --dial-ink: #e9fff5; --dial-tick: #8bb8a7; --dial-marker: #c6ebda; --dial-rim: #729b89; --dial-center: #17483d; --dial-edge: #102f2a; }
.nt-clock-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none; background: linear-gradient(90deg,#b7ebd126 1px,transparent 1px) 0 0 / 24px 24px, linear-gradient(#b7ebd126 1px,transparent 1px) 0 0 / 24px 24px; mask-image: radial-gradient(ellipse at 8% 96%,#000,transparent 75%); }
.nt-clock-card + .nt-clock-card { grid-template-columns: 1fr; border-color: #afd5c6; background: radial-gradient(ellipse at 0 100%,#bfe9d6,transparent 75%),#e9f6ef; box-shadow: inset 0 1px #fff9; color: #123b31; --clock-muted: #395d53; }
.nt-clock-card + .nt-clock-card::before { opacity: .4; background: repeating-radial-gradient(circle at 0% 106%,transparent 0 17px,#317d6b35 18px 19px,transparent 20px 32px); }
.nt-clock-card + .nt-clock-card .nt-clock-dial { display: none; }
.nt-clock-reading { min-width: 0; }
.nt-clock-card h2 { color: inherit; font-weight: 800; font-size: clamp(1.18rem, 2.65vw, 1.7rem); overflow-wrap: anywhere; }
.nt-clock-card .nt-zone { display: inline-block; max-width: 100%; margin-block-start: 6px; padding: 2px 8px; border: 1px solid #b6e1cd4f; border-radius: 24px; background: #c4ebcf1d; font-size: clamp(.66rem, 1.7vw, .81rem); color: var(--clock-muted); direction: ltr; overflow-wrap: anywhere; line-height: 1.5; }
.nt-clock-card + .nt-clock-card .nt-zone { border-color: #97c3b3; background: #f8fffa77; }
.nt-clock-time { direction: ltr; unicode-bidi: isolate; display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; font: 700 clamp(2.1rem, 6vw, 5.15rem)/1.08 var(--nt-number-font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-block: 10px 8px; }
.nt-clock-card + .nt-clock-card .nt-clock-time { font-size: clamp(2rem, 5.1vw, 4.3rem); }
.nt-clock-time small { color: var(--clock-muted); font-size: .44em; letter-spacing: 0; font-weight: 650; }
.nt-clock-date { color: inherit; font-size: .94rem; line-height: 1.85; }
.nt-clock-date-alt { color: var(--clock-muted); font-size: .83rem; line-height: 1.8; }
.nt-clock-dial { position: relative; direction: ltr; margin-inline: auto; inline-size: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--dial-rim); background: radial-gradient(circle,var(--dial-center),var(--dial-edge) 72%); box-shadow: 0 0 0 3px #102c2985, 0 7px 19px #04191585, inset 0 0 0 3px #ceeada26; color: var(--dial-ink); }
.nt-clock-dial span { position: absolute; inset: 0; transform: rotate(var(--angle)); pointer-events: none; }
.nt-clock-dial span::before { content: ''; position: absolute; inline-size: 1px; block-size: 4%; border-radius: 9px; background: var(--dial-tick); top: 6%; left: calc(50% - .5px); }
.nt-clock-dial span:nth-child(5n + 1)::before { background: var(--dial-marker); top: 5%; block-size: 7%; inline-size: 2px; }
.nt-clock-numeral { position: absolute; translate: -50% -50%; color: var(--dial-ink); font: 650 clamp(.55rem, 1.4vw, 1rem)/1 var(--nt-number-font); }
.nt-clock-dial i { position: absolute; bottom: 50%; left: 50%; transform-origin: center bottom; transform: translateX(-50%) rotate(var(--angle)); border-radius: 6px; inline-size: 4px; block-size: 26%; background: var(--dial-ink); }
.nt-clock-dial .nt-minute { block-size: 36%; inline-size: 3px; }
.nt-clock-dial .nt-second { block-size: 42%; inline-size: 1.5px; background: var(--nt-aqua); }
.nt-clock-dial::after { content: ''; position: absolute; inset: calc(50% - 4px); background: var(--nt-aqua); border-radius: 50%; inline-size: 8px; block-size: 8px; box-shadow: 0 0 0 2px #0b393070; }
.nt-clock-comparison { display: grid; align-items: center; grid-template-columns: minmax(14rem, .72fr) minmax(0,1.28fr); gap: 12px; margin-block-start: 13px; }
.nt-clock-comparison:has(.nt-clock-difference[hidden]) { grid-template-columns: 1fr; }
.nt-clock-difference { align-content: center; display: grid; gap: 2px; align-self: stretch; padding: 9px 13px; border-inline-start: 3px solid #3bab88; border-radius: 10px; background: #e5f4eb; color: var(--nt-ink); }
.nt-clock-difference strong { font-size: .94rem; }
.nt-clock-difference span { font-size: .82rem; color: var(--nt-muted); }
.nt-clock-tracks { display: grid; gap: 4px; padding-inline: 6px; }
.nt-clock-track { display: grid; gap: 12px; grid-template-columns: minmax(58px, 100px) minmax(0, 1fr); align-items: center; color: var(--nt-muted); font-size: .83rem; }
.nt-clock-track > span { overflow-wrap: anywhere; }
.nt-clock-track-line { position: relative; display: block; direction: ltr; height: 7px; border-radius: 20px; background: #d9e9e1; }
.nt-clock-track-line::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--position, 0%); background: linear-gradient(90deg,#3d8975,#72cbb0); border-radius: inherit; }
.nt-clock-track-line::after { content: ''; position: absolute; top: 50%; left: var(--position, 0%); translate: -50% -50%; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--nt-teal-deep); box-shadow: 0 0 0 2px #58b29a5b; }
.nt-clock-axis { display: flex; justify-content: space-between; direction: ltr; margin-inline-end: 112px; font: .69rem ui-monospace, monospace; color: var(--nt-muted); }
.nt-clock-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-block-start: 14px; }
.nt-clock-tools:has(details[open]) { grid-template-columns: 1fr; }
.nt-clock-tools details { background: #f9fdf9; border: 1px solid var(--nt-line); border-radius: 12px; padding: 10px 13px; }
.nt-clock-tools details summary { color: var(--nt-teal-deep); cursor: pointer; font-size: .9rem; font-weight: 750; }
.nt-clock-tools :is(.nt-clock-search-form,.nt-clock-convert-form) { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-block-start: 12px; }
.nt-clock-tools label { min-width: 0; display: grid; gap: 4px; flex: 1 1 135px; font-size: .84rem; color: var(--nt-ink); }
.nt-clock-tools :is(input,select) { display: block; min-height: 43px; max-width: 100%; min-width: 0; width: 100%; }
.nt-clock-tools .nt-clock-message { color: #a12c27; font-size: .85rem; margin-block-start: 7px; }
.nt-clock-options { max-width: min(100%, 20rem); display: flex; align-items: center; gap: 7px; font-size: .82rem; }
.nt-clock-options select { max-width: 14rem; padding: 5px 8px; min-height: 36px; border: 1px solid #bfd1c9; border-radius: 8px; background: #fff; color: var(--nt-ink); }
.nt-clock-source { display: block; margin-block-start: 12px; color: var(--nt-muted); font-size: .8rem; line-height: 1.7; }
.nt-clock-extras { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 195px),1fr)); gap: 9px; margin-block-start: 12px; }
.nt-clock-extra { display: grid; gap: 4px; min-width: 0; padding: 11px 13px; border: 1px solid var(--nt-line); background: #fff; border-radius: 12px; }
.nt-clock-extra strong { overflow-wrap: anywhere; }
.nt-clock-extra bdi { color: var(--nt-teal-deep); width: fit-content; font: 750 1.2rem/1.4 ui-monospace, Consolas, monospace; }
.nt-clock-extra small { color: var(--nt-muted); }
.nt-clock-extra button { width: fit-content; min-height: 30px !important; padding: 3px 9px !important; margin-top: 3px; }
.nt-clock-extra-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; }

/* Common date inputs and age */
.nt-tools .date-picker.civil-date-fields { display: grid; grid-template-columns: 1fr; align-content: start; margin: 0; padding: 12px; gap: 11px; border: 1px solid var(--nt-line); border-radius: 12px; }
.nt-tools .date-picker legend { font-size: .89rem; color: var(--nt-ink); }
.nt-tools .date-picker .date-picker-header { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; grid-column: 1; margin: 0; }
.nt-tools .date-picker .date-calendar-label { display: grid; gap: 3px; min-width: min(100%, 105px); color: var(--nt-muted); font-size: .8rem; margin: 0; }
.nt-tools .date-picker .date-picker-header button { font-size: .78rem; min-height: 41px; padding: 5px 10px; }
.nt-tools .date-picker .date-select-row { grid-column: 1; grid-template-columns: minmax(0,.92fr) minmax(0,1.3fr) minmax(0,.76fr); gap: 8px; }
.nt-tools .date-picker :is(select,input) { margin: 0; width: 100%; min-width: 0; min-height: 43px; border-color: #bcd4d0; border-radius: 9px; font-size: .9rem; }
.nt-tools .date-picker .date-select-row label { color: var(--nt-ink); display: grid; gap: 3px; font-size: .85rem; }
.nt-tools .date-picker .nt-manual-date { grid-column: 1; display: grid; gap: 4px; color: var(--nt-ink); font-size: .86rem; }
.nt-tools .date-picker .helper-note { grid-column: 1; color: var(--nt-muted); }
.nt-age .tool-console { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(12px,2.3vw,25px); }
.nt-age .tool-console .tool-utility-bar, .nt-age .tool-console noscript { grid-column: 1 / -1; margin-top: 0; }
.nt-age .nt-result.result-panel { margin-top: 0; }
.nt-age .nt-age-form > .primary { margin-block-start: 6px; }
.nt-age .nt-age-reference { color: var(--nt-teal-deep); border-radius: 11px; background: #f2f8f5; border: 1px solid var(--nt-line); padding: 10px 12px; font-size: .86rem; }
.nt-age-reference summary { cursor: pointer; line-height: 1.7; }
.nt-age-reference > .date-picker { margin-block-start: 10px !important; }
.nt-age .nt-age-empty { display: grid; min-height: 255px; gap: 8px; align-content: center; justify-items: center; text-align: center; padding: 18px; background: radial-gradient(ellipse at 50% 0,#dfefe3,transparent 70%),#f4f9f5; border: 1px solid #cde4d7; border-radius: 17px; color: var(--nt-muted); }
.nt-age-empty-calendar { position: relative; isolation: isolate; inline-size: 56px; block-size: 56px; border: 1px solid #a1cbb9; border-radius: 17px; background: linear-gradient(138deg,#fff,#d6f0e2); box-shadow: 0 6px 15px #2b746220; color: #24765e; }
.nt-age-empty-calendar::before { content: ''; position: absolute; inset: 16px 13px 13px; border: 2px solid currentColor; border-radius: 5px; background: linear-gradient(currentColor,currentColor) 0 5px / 100% 2px no-repeat; }
.nt-age-empty-calendar::after { content: ''; position: absolute; inset: 12px 19px 33px; border-inline: 2px solid currentColor; }
.nt-age-empty strong { color: var(--nt-ink); font-size: 1.13rem; }
.nt-age-main { padding: clamp(14px, 2.1vw, 23px); color: var(--nt-ink); background: linear-gradient(140deg,#f9fdf9,#e5f3ea); border: 1px solid #cce2d5; border-radius: 16px; }
.nt-age-main h2 { color: var(--nt-ink); font-size: 1.15rem; margin-block-end: 11px; }
.nt-age-main p { color: var(--nt-muted); font-size: .82rem; margin-block-start: 10px; }
.nt-age-units { display: grid; grid-template-columns: minmax(0,1.2fr) repeat(2,minmax(0,1fr)); gap: 7px; }
.nt-age-units div { text-align: center; background: #f9fffb; border: 1px solid var(--nt-line); border-radius: 11px; padding: 9px 3px; display: grid; gap: 2px; align-content: center; min-width: 0; min-height: 75px; }
.nt-age-units div:first-child { background: var(--nt-night-pattern); border-color: #2d7b63; box-shadow: inset 0 1px #ffffff22; }
.nt-age-units strong { font-size: clamp(1.45rem, 4vw, 2.5rem); line-height: 1.3; color: var(--nt-teal-deep); }
.nt-age-units span { font-size: .8rem; color: var(--nt-muted); }
.nt-age-units div:first-child :is(strong,span) { color: var(--nt-night-text); }
.nt-birthday { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; margin-block-start: 10px; padding: 12px 15px; border-radius: 14px; border: 1px solid #cde5d9; background: #f5fbf7; color: var(--nt-ink); }
.nt-birthday-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; inline-size: clamp(62px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%; line-height: 1.1; color: var(--nt-teal-deep); background: radial-gradient(circle closest-side,#f5fbf7 85%,transparent 89%),conic-gradient(#0a8a65 var(--birthday-progress),#dbe9e1 0); }
.nt-birthday-ring b { font-size: clamp(1.1rem, 2.7vw, 1.7rem); }
.nt-birthday-ring span { font-size: .73rem; color: var(--nt-muted); }
.nt-birthday strong { color: #075d4a; display: block; margin-bottom: 3px; }
.nt-birthday p { color: var(--nt-muted); font-size: .84rem; line-height: 1.85; }
.nt-age .nt-age-note { margin-block-start: 9px; color: var(--nt-muted); font-size: .8rem; line-height: 1.75; }

@media(max-width: 991px) {
  .nt-tools { padding-block-start: 82px; }
}
@media(max-width: 760px) {
  .nt-tools .nt-container, .nt-tools .nt-help { width: calc(100% - 28px); }
  .nt-age .tool-console { grid-template-columns: 1fr; gap: 12px; }
  .nt-age .nt-age-empty { min-height: 170px; }
  .nt-tools .nt-help .guide-grid { gap: 10px; }
  .nt-clock-comparison { grid-template-columns: 1fr; gap: 8px; }
  .nt-clock-difference { display: flex; flex-wrap: wrap; gap: 3px 12px; }
  .nt-clock-track { grid-template-columns: minmax(54px, 18%) minmax(0, 1fr); }
  .nt-clock-axis { margin-inline-end: calc(max(54px, 18%) + 12px); }
}
@media(max-width: 570px) {
  .nt-tools .nt-heading { grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 9px; padding-block: 16px; }
  .nt-tools .nt-heading h1 { font-size: clamp(1.24rem, 5.3vw, 1.7rem); }
  .nt-tools .nt-heading p { font-size: .83rem; line-height: 1.7; }
  .nt-heading-icon { inline-size: 38px; block-size: 38px; border-radius: 12px; font-size: 18px; }
  .nt-heading-back { display: none; }
  .nt-clock-pair { grid-template-columns: 1fr; gap: 7px; }
  .nt-clock-card { grid-template-columns: minmax(0,1fr) clamp(78px, 24vw, 113px); gap: 9px; padding: 11px 12px; }
  .nt-clock-card + .nt-clock-card { grid-template-columns: 1fr; }
  .nt-clock-card + .nt-clock-card .nt-clock-reading { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 6px; align-items: center; }
  .nt-clock-card + .nt-clock-card .nt-clock-time { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(1.61rem, 7vw, 2.45rem); margin-block: 0; }
  .nt-clock-card + .nt-clock-card .nt-clock-date { margin-block-start: 5px; }
  .nt-clock-card + .nt-clock-card :is(.nt-clock-date,.nt-clock-date-alt) { grid-column: 1 / -1; }
  .nt-clock-card .nt-zone { width: fit-content; margin-block-start: 3px; }
  .nt-clock-time { font-size: clamp(2.05rem, 10vw, 3.65rem); gap: 3px; margin-block: 7px 4px; }
  .nt-clock-date, .nt-clock-date-alt { font-size: .78rem; line-height: 1.7; }
  .nt-clock-options { max-width: 100%; }
  .nt-clock-options select { max-width: min(62vw, 13rem); }
  .nt-clock-difference strong, .nt-clock-difference span { font-size: .78rem; }
  .nt-clock-tools { grid-template-columns: 1fr; gap: 7px; }
  .nt-popular { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .nt-popular a { gap: 7px; min-height: 74px; padding: 9px; }
  .nt-popular a[data-tone="clock"] { grid-column: 1 / -1; }
  .nt-popular-icon { width: 31px; height: 31px; font-size: 16px; border-radius: 9px; }
  .nt-popular-text strong { font-size: .87rem; }
  .nt-popular-text small { font-size: .68rem; }
  .nt-popular a:not([data-tone="clock"]) .nt-popular-arrow { display: none; }
  .nt-tools .nt-catalog-controls { padding-inline: 8px; }
  .nt-tools .nt-search { flex: 1 0 100%; }
  .nt-ip-address { gap: 9px; }
}
