*
{
    box-sizing: border-box;
}

body
{
    margin: 0;
    color: #242424;
    background: #f4efe5;
    font-family: Arial, Helvetica, sans-serif;
}

.page
{
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0;
}

.intro
{
    max-width: 680px;
    margin-bottom: 28px;
}

.mini-text
{
    margin: 0 0 8px;
    color: #7c5b2f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1
{
    margin: 0;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.intro-text
{
    max-width: 580px;
    margin: 18px 0 0;
    color: #555555;
    font-size: 18px;
    line-height: 1.55;
}

.layout
{
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 22px;
    align-items: start;
}

.panel
{
    border: 2px solid #242424;
    border-radius: 18px;
    padding: 24px;
    background: #fffaf0;
    box-shadow: 8px 8px 0 #242424;
}

.panel h2
{
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.hint
{
    margin: 10px 0 18px;
    color: #5f5f5f;
    line-height: 1.5;
}

form
{
    display: grid;
    gap: 12px;
}

label
{
    font-weight: 700;
    font-size: 14px;
}

input,
select,
textarea
{
    width: 100%;
    border: 2px solid #242424;
    border-radius: 12px;
    padding: 12px;
    color: #242424;
    background: #ffffff;
    font: inherit;
}

textarea
{
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus
{
    outline: 3px solid #ffd36a;
}

.buttons
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

button
{
    border: 2px solid #242424;
    border-radius: 999px;
    padding: 12px 18px;
    color: #242424;
    background: #ffd36a;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

button:hover
{
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #242424;
}

.plain-button
{
    background: #ffffff;
}

.result-panel
{
    min-height: 530px;
}

.placeholder
{
    min-height: 480px;
    display: grid;
    place-content: center;
    text-align: center;
}

.placeholder p
{
    color: #666666;
}

.sample-note
{
    max-width: 420px;
    margin: 20px auto 0;
    border: 2px dashed #a88748;
    border-radius: 14px;
    padding: 14px;
    color: #5b4524;
    background: #fff3cc;
}

.hidden
{
    display: none;
}

.result-top
{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

#hoursBadge
{
    height: fit-content;
    border: 2px solid #242424;
    border-radius: 999px;
    padding: 8px 12px;
    background: #c7f0c2;
    font-weight: 900;
    white-space: nowrap;
}

.block
{
    border-top: 2px solid #242424;
    padding-top: 16px;
    margin-top: 18px;
}

.block h3
{
    margin: 0 0 10px;
    font-size: 20px;
}

ul,
ol
{
    margin: 0;
    padding-left: 22px;
}

li
{
    margin: 8px 0;
    line-height: 1.45;
}

.checklist
{
    display: grid;
    gap: 10px;
}

.check-item
{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.45;
}

.check-item input
{
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2f9e44;
}

.progress-text
{
    margin: 12px 0 0;
    color: #555555;
    font-weight: 700;
}

.copied-message
{
    display: none;
    margin: 12px 0 0;
    color: #2f7d32;
    font-weight: 800;
}

.copied-message.visible
{
    display: block;
}

@media (max-width: 860px)
{
    .layout
    {
        grid-template-columns: 1fr;
    }

    .panel
    {
        box-shadow: 5px 5px 0 #242424;
    }
}

@media print
{
    body
    {
        background: #ffffff;
    }

    .intro,
    .layout .panel:first-child,
    .buttons
    {
        display: none;
    }

    .layout
    {
        display: block;
    }

    .panel
    {
        border: 0;
        box-shadow: none;
    }
}
