@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
    --ia-text: #0f172a;
    --ia-muted: #64748b;
    --ia-border: #dbe4ef;
    --ia-blue: #0066ff;
    --ia-green: #03c75a;
    --ia-lime: #8cff18;
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Pretendard", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.012em;
}

h1,
h2,
h3,
.section-title,
.view-section-title {
    text-wrap: balance;
}

p,
li,
dd,
.section-summary {
    text-wrap: pretty;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
[role="button"],
.btn,
a.rounded-full,
a.rounded-md,
a.rounded-lg,
.log-nav-item,
.bid-nav a,
.view-side a {
    white-space: nowrap;
}

table {
    font-variant-numeric: tabular-nums;
}

th,
td {
    line-height: 1.45;
}

td a[href^="http"],
dd a[href^="http"],
.admin-url,
.break-url {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.ia-copy {
    max-width: 68ch;
    line-height: 1.75;
}

.ia-display {
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.ia-kicker {
    letter-spacing: 0.28em;
}

.ia-card {
    border: 1px solid var(--ia-border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.065);
}

.ia-soft-title {
    font-weight: 850;
    letter-spacing: -0.035em;
}

.ia-admin {
    word-break: keep-all;
}

.ia-admin aside {
    flex: 0 0 16rem;
}

.ia-admin aside a,
.ia-admin aside button {
    min-height: 40px;
    white-space: nowrap;
}

.ia-admin main {
    min-width: 0;
}

.ia-admin .overflow-x-auto table {
    min-width: 1040px;
}

.ia-admin td,
.ia-admin th {
    vertical-align: top;
}

.ia-product-header h1,
.ia-product-header p {
    min-width: 0;
}

.ia-product-header p {
    line-height: 1.55;
}

.ia-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 1023px) {
    .ia-admin {
        min-width: 1180px;
    }
}

@media (max-width: 768px) {
    body {
        letter-spacing: -0.006em;
    }

    .ia-display {
        line-height: 1.02;
        letter-spacing: -0.045em;
    }

    a.rounded-full,
    a.rounded-md,
    a.rounded-lg,
    button {
        max-width: 100%;
    }
}
