.nt-skip {
    position: absolute;
    left: -9999px;
}
.nt-skip:focus {
    left: 16px;
    top: 12px;
    z-index: 9999;
    padding: 8px 12px;
    background: #0f5a34;
    color: #fff;
    border-radius: 8px;
}

:root {
    --nt-accent: #0f5a34;
    --nt-accent2: #1f8a55;
    --nt-bg: #f7faf8;
    --nt-card: #fff;
    --nt-text: #0b1410;
    --nt-muted: #45554c;
    --nt-border: #e3ebe6;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--nt-text);
    background: linear-gradient(180deg, var(--nt-bg), #f2f6f3);
    min-height: 100vh;
}

.nt-header {
    background: rgba(247, 250, 248, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 20;
}
.nt-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nt-brand img {
    display: block;
    height: auto;
}
.nt-nav a {
    color: var(--nt-accent);
    font-weight: 600;
    text-decoration: none;
}
.nt-nav a:hover {
    text-decoration: underline;
}

.nt-main {
    padding: 28px 16px 48px;
}
.nt-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.nt-title {
    font-size: 1.35rem;
    color: var(--nt-accent);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}
.nt-lead {
    color: var(--nt-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.nt-alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.nt-alert--err {
    background: #fde8ec;
    color: #8b1538;
    border: 1px solid rgba(139, 21, 56, 0.25);
}

.nt-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.nt-card {
    background: var(--nt-card);
    border: 1px solid var(--nt-border);
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.nt-h2 {
    font-size: 1rem;
    margin: 0 0 14px;
    color: var(--nt-accent);
}

.nt-grid {
    display: grid;
    gap: 14px;
}
@media (min-width: 720px) {
    .nt-grid--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.nt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nt-muted);
}
.nt-field span {
    letter-spacing: 0.02em;
}
.nt-field input,
.nt-field textarea,
.nt-field select {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid var(--nt-border);
    border-radius: 10px;
    background: #fff;
}
.nt-field input:focus,
.nt-field textarea:focus,
.nt-field select:focus {
    outline: 2px solid rgba(15, 90, 52, 0.25);
    border-color: var(--nt-accent2);
}
.nt-field--kdv {
    margin-bottom: 12px;
}
.nt-th-sub {
    font-size: 0.72em;
    font-weight: 500;
    color: var(--nt-muted);
}
.nt-field--full textarea {
    resize: vertical;
    min-height: 100px;
}
.nt-field--full select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nt-tableWrap {
    overflow-x: auto;
    margin: 0 -6px;
}
.nt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 820px;
}
.nt-table th,
.nt-table td {
    border: 1px solid var(--nt-border);
    padding: 6px 8px;
    vertical-align: middle;
}
.nt-table thead th {
    background: rgba(15, 90, 52, 0.08);
    color: var(--nt-accent);
    font-weight: 700;
    text-align: left;
}
.nt-th-no {
    width: 40px;
    text-align: center;
}
.nt-th-num {
    width: 100px;
    text-align: right;
}
.nt-th-birim {
    width: 88px;
    text-align: center;
}
.nt-input--uom {
    text-align: center;
    font-size: 0.85rem;
}
.nt-td-no {
    text-align: center;
    font-weight: 600;
    color: var(--nt-muted);
}
.nt-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 8px;
    font: inherit;
    background: transparent;
}
.nt-input:focus {
    outline: none;
    border-color: var(--nt-accent2);
    background: #fff;
}
.nt-input--num {
    text-align: right;
}
/* Sayısal alanlar: tarayıcı okları (isteğe bağlı gizlenebilir) */
input[type='number'].nt-input--num {
    min-width: 0;
}
input[type='number'].nt-input--num::-webkit-outer-spin-button,
input[type='number'].nt-input--num::-webkit-inner-spin-button {
    opacity: 1;
}
.nt-line-total {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    background: rgba(15, 90, 52, 0.04);
    color: var(--nt-muted);
    font-weight: 600;
}

.nt-totalsHint {
    font-size: 0.82rem;
    color: var(--nt-muted);
    line-height: 1.45;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: rgba(15, 90, 52, 0.06);
    border-radius: 10px;
    border: 1px solid var(--nt-border);
}
.nt-totalVal {
    font-variant-numeric: tabular-nums;
}

.nt-totals {
    max-width: 420px;
    margin-left: auto;
}
.nt-totalRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--nt-border);
    font-size: 0.95rem;
}
.nt-totalRow--grand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nt-accent);
    border-bottom: none;
    margin-top: 4px;
}

.nt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}
.nt-btn {
    font: inherit;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--nt-border);
    background: #fff;
    cursor: pointer;
}
.nt-btn--primary {
    background: linear-gradient(135deg, var(--nt-accent), var(--nt-accent2));
    color: #fff;
    border: none;
    font-weight: 700;
}
.nt-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nt-footer {
    text-align: center;
    padding: 24px 16px 40px;
    color: var(--nt-muted);
    font-size: 0.9rem;
}
.nt-footer a {
    color: var(--nt-accent);
}
