/* Paper-style admission application (matches printable school layout) */
.admission-shell {
    padding-top: 20px;
    padding-bottom: 36px;
}
.paper-admission {
    border: 2px solid #111;
    background: #fff;
    padding: 18px 20px 24px;
    max-width: 920px;
    margin: 0 auto;
    color: #111;
    font-size: 0.92rem;
    line-height: 1.45;
}
.paper-head {
    text-align: center;
    margin-bottom: 14px;
    border-bottom: 1px solid #111;
    padding-bottom: 12px;
}
.paper-head h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: 0.06em;
    font-weight: 800;
}
.paper-tagline {
    margin: 4px 0 0;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}
.paper-contact {
    margin: 6px 0 0;
    font-size: 0.88rem;
}
.paper-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 14px 0 10px;
}
.paper-meta-row .photo-slot {
    order: 3;
}
@media (min-width: 740px) {
    .paper-meta-row .photo-slot {
        order: 0;
    }
}
.photo-slot {
    border: 2px solid #111;
    width: min(148px, 34vw);
    min-height: 176px;
    padding: 6px;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.photo-slot input[type="file"] {
    width: 100%;
    margin-top: 8px;
    font-size: 0.72rem;
}
.paper-sn-row {
    flex: 1;
    display: grid;
    gap: 8px;
    min-width: 200px;
}
.paper-sn-row label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}
.paper-sn-row input {
    flex: 1;
    min-width: 100px;
    border: none;
    border-bottom: 1px solid #111;
    border-radius: 0;
    background: transparent;
    padding: 4px 0;
}
.paper-sn-adm-box {
    border: 2px solid #111;
    padding: 8px 10px;
    font-weight: 700;
}
.paper-form-title {
    text-align: center;
    margin: 6px 0 16px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
}
.sess-yr {
    width: 4.75rem;
    display: inline-block;
    vertical-align: bottom;
    border: none;
    border-bottom: 2px solid #111;
    text-align: center;
    font: inherit;
    font-weight: 700;
    background: transparent;
    margin: 0 6px;
    padding: 2px 4px;
}
.slip-lines {
    margin-bottom: 8px;
}
.slip-lines .paper-row-2 > div {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.paper-slip-line {
    flex: 1;
    border-bottom: 1px dotted #444;
    min-height: 22px;
    display: block;
    margin-bottom: 2px;
}
.slip-full {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 8px;
}
.slip-full .paper-slip-line {
    flex: 1;
}
.paper-block-title {
    font-weight: 800;
    text-align: center;
    margin: 4px 0 12px;
    text-decoration: underline;
}
.paper-line {
    display: grid;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: 8px 10px;
    align-items: start;
    margin-bottom: 10px;
}
.paper-line-num {
    font-weight: 800;
    padding-top: 6px;
}
.paper-fields {
    min-width: 0;
}
.paper-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    align-items: end;
}
@media (max-width: 640px) {
    .paper-row-2 {
        grid-template-columns: 1fr;
    }
}
.paper-u {
    margin-bottom: 8px;
}
.paper-u label,
.paper-u .lbl {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 2px;
}
.paper-u input,
.paper-u textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #111;
    border-radius: 0;
    background: transparent;
    padding: 6px 2px;
    font: inherit;
}
.paper-u textarea {
    min-height: 64px;
    resize: vertical;
    border: 1px solid #bbb;
}
.paper-chk-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-weight: 600;
    font-size: 0.88rem;
}
.paper-chk-inline input {
    width: auto;
    accent-color: #111;
}
.paper-slots-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}
.plus91 {
    font-weight: 800;
    margin-right: 4px;
    letter-spacing: 0.04em;
}
.aadhaar-group .paper-slot-inp {
    max-width: 28px;
    text-align: center;
    padding: 4px 2px;
    border: 1px solid #111;
    border-radius: 2px;
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}
.slot-gap {
    width: 10px;
    display: inline-block;
}
.paper-slip {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 2px dashed #444;
}
.paper-slip h3 {
    text-align: center;
    margin: 0 0 12px;
    text-decoration: underline;
    font-size: 1rem;
}
.paper-slip-grid {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    align-items: start;
}
@media (max-width: 640px) {
    .paper-slip-grid {
        grid-template-columns: 1fr;
    }
}
.paper-slip-photo {
    border: 1px solid #111;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 6px;
}
.paper-principal {
    text-align: right;
    margin-top: 22px;
    font-weight: 700;
}
.paper-submit {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}
.paper-muted {
    font-size: 0.84rem;
    color: var(--muted, #555);
}

@media print {
    .site-header,
    .site-footer,
    .paper-submit {
        display: none !important;
    }
    .paper-admission {
        border-width: 1px;
        box-shadow: none;
        padding: 12mm;
        max-width: none;
        margin: 0;
    }
    .admission-shell {
        padding: 0;
    }
}
