    /* Base Font and Container */
    .oath-hammer-sheet {
        font-family: "Courier New", Courier, monospace;
        color: #000;
        background: #fff;
        padding: 15px;
        max-width: 1200px;
        margin: 0 auto;
        border: 4px solid #000;
        border-radius: 8px;
    }

    /* Common Box Style simulating the thick black borders */
    .oh-box {
        border: 3px solid #000;
        border-radius: 4px;
        margin-bottom: 15px;
        padding: 10px;
        background-color: #fff;
    }
    
    .oh-section-title {
        display: block;
        background-color: #000;
        color: #fff;
        text-align: center;
        font-weight: bold;
        padding: 5px;
        margin: -10px -10px 10px -10px;
        text-transform: uppercase;
        font-size: 1.1em;
    }

    /* Header */
    .oh-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: none;
        padding: 0;
        margin-bottom: 20px;
    }
    .oh-title h1 {
        font-size: 3rem;
        font-weight: 900;
        text-transform: uppercase;
        margin: 0 0 10px 0;
        letter-spacing: 2px;
    }
    .oh-header-fields {
        display: flex;
        width: 100%;
        gap: 10px;
    }
    .oh-header-fields .oh-field {
        flex: 1;
        display: flex;
        flex-direction: column;
        border: 3px solid #000;
    }
    .oh-header-fields label {
        background: #000;
        color: #fff;
        padding: 4px;
        font-weight: bold;
        text-align: center;
        margin: 0;
    }
    .oh-header-fields span {
        padding: 5px;
        min-height: 30px;
        text-align: center;
    }

    /* Grid Layout */
    .oh-main-grid {
        display: grid;
        grid-template-columns: 1fr 200px 1.2fr;
        gap: 20px;
    }

    /* Left Column */
    .oh-attributes {
        padding: 0;
        border: none;
    }
    .oh-attr-row {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }
    .oh-attr {
        flex: 1;
        display: flex;
        flex-direction: column;
        border: 3px solid #000;
    }
    .oh-attr label {
        background: #000;
        color: #fff;
        padding: 4px;
        text-align: center;
        font-weight: bold;
        margin: 0;
    }
    .oh-attr span {
        padding: 10px;
        text-align: center;
        font-size: 1.5em;
        font-weight: bold;
        min-height: 40px;
    }

    .oh-textarea {
        min-height: 80px;
        padding: 5px;
    }

    .oh-magic-stats {
        display: flex;
        gap: 5px;
        border-top: 2px solid #000;
        padding-top: 10px;
        margin-top: 10px;
    }
    .oh-magic-stats .oh-field {
        flex: 1;
        display: flex;
        flex-direction: column;
        border: 2px solid #000;
    }
    .oh-magic-stats label {
        background: #000;
        color: #fff;
        font-size: 0.8em;
        text-align: center;
        padding: 2px;
        margin: 0;
    }
    .oh-magic-stats span {
        text-align: center;
        padding: 4px;
    }

    /* Center Column */
    .oh-center-col {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .oh-defense, .oh-focus, .oh-grit-luck {
        width: 100%;
        text-align: center;
    }
    .oh-defense label, .oh-focus label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }
    .oh-trinkets .oh-field {
        margin-bottom: 5px;
        border-bottom: 2px solid #000;
        display: flex;
        justify-content: space-between;
    }
    .oh-trinkets label {
        background: #000;
        color: #fff;
        padding: 2px 5px;
    }
    
    .oh-wealth .oh-field {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        border-bottom: 2px solid #000;
    }

    /* Right Column */
    .oh-table {
        width: 100%;
        border-collapse: collapse;
    }
    .oh-table th {
        background: #000;
        color: #fff;
        padding: 5px;
        text-align: left;
        border: 1px solid #000;
    }
    .oh-table td {
        border: 2px solid #000;
        padding: 5px;
        min-height: 25px;
    }
    
    .oh-skills-table th {
        font-size: 0.85em;
        text-align: center;
    }
    .oh-skills-table td {
        text-align: center;
        padding: 3px;
    }
    .oh-skills-table td:first-child {
        text-align: right;
        font-weight: bold;
        background: #f4f4f4;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .oh-main-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .oh-items-table td {
        font-size: 0.9em;
        padding: 4px;
        width: 50%;
    }

/* Additional Phone Responsiveness */
.oh-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .oh-header-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .oh-title h1 {
        font-size: 2rem;
    }
    
    .oath-hammer-sheet {
        padding: 5px;
        border-width: 2px;
    }
    
    .oh-box {
        padding: 5px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .oh-header-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    
    .oh-skills-table th, .oh-skills-table td {
        font-size: 0.9em;
        padding: 4px 2px;
    }
    
    .oh-weapons th, .oh-weapons td {
        font-size: 0.8em;
        padding: 2px;
    }
    
    .oh-weapons td {
        word-break: break-word;
    }
}

/* Attributes Grid and Totals */
.oh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    margin-bottom: 8px;
}
.oh-array-hint {
    font-size: 0.75rem;
    font-weight: bold;
    color: #444;
    text-transform: uppercase;
}
.oh-attr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.oh-attr-card {
    border: 2px solid #000;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}
.oh-attr-card label {
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 4px;
}
.oh-attr-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.oh-attr-mod {
    font-size: 0.75rem;
    font-weight: bold;
    color: #0066cc;
}
.oh-attr-total-wrap {
    background: #000;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 2px 0;
}
.oh-attr-total {
    font-size: 1.25rem;
    font-weight: 900;
}
.oh-oath-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px;
    background: #f4f4f4;
    border: 1px solid #000;
    font-weight: bold;
}
.oh-header-subfields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #000;
}
@media (max-width: 768px) {
    .oh-header-subfields {
        grid-template-columns: 1fr;
    }
}

/* 3 Oaths Styling */
.oh-oaths-selection {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}
.oh-oath-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f4f4;
    padding: 3px 6px;
    border: 1px solid #000;
}
.oh-oath-row label {
    font-weight: bold;
    font-size: 0.75rem;
    min-width: 60px;
}
.oh-oath-row span {
    flex-grow: 1;
}
.oh-oaths-vows {
    font-size: 0.85rem;
    border-top: 1px dashed #000;
    padding-top: 6px;
    line-height: 1.35;
}
.oh-oaths-vows p {
    margin: 4px 0;
}

/* Spells and Traits Grids */
.oh-spells-grid, .oh-traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 6px;
}
@media (max-width: 768px) {
    .oh-spells-grid, .oh-traits-grid {
        grid-template-columns: 1fr;
    }
}

/* Armor Section */
.oh-armor-type {
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    margin-bottom: 6px;
    font-weight: bold;
}
.oh-armor-stats {
    display: flex;
    justify-content: space-between;
}

/* Notes Section */
.oh-notes-section {
    margin-top: 10px;
}
.oh-notes-content textarea {
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 8px;
    border: 1px solid #000;
    background: #fff;
    resize: vertical;
}

/* Skills Table - Mobile & Desktop All Columns Visible */
.oh-skills-table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
}
.oh-skills-table th {
    font-size: 0.75rem;
    padding: 3px 2px;
    text-align: center;
}
.oh-skills-table td {
    padding: 2px 2px;
    font-size: 0.75rem;
}
.oh-skills-table .col-skill {
    width: 38%;
    text-align: left;
    font-weight: bold;
    padding-left: 4px;
}
.oh-skills-table .col-ranks {
    width: 15%;
    text-align: center;
}
.oh-skills-table .col-mods {
    width: 14%;
    text-align: center;
}
.oh-skills-table .col-total {
    width: 13%;
    text-align: center;
}
.oh-skills-table .col-color {
    width: 20%;
    text-align: center;
}
.oh-gov-attr {
    font-size: 0.65rem;
    color: #555;
    font-weight: normal;
}
.oh-skills-table select, .oh-skills-table input {
    font-size: 0.75rem !important;
    padding: 1px 2px !important;
    text-align: center !important;
}

/* Dynamic Add Spells and Abilities UI */
.oh-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e6e6e6;
    padding: 4px 6px;
    border: 1px solid #000;
    margin-bottom: 4px;
}
.oh-sub-header label {
    font-weight: 900;
    font-size: 0.75rem;
}
.oh-add-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}
.oh-add-btn:hover {
    background: #333;
}
.oh-dynamic-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.oh-dynamic-item {
    display: flex;
    gap: 4px;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 3px 4px;
}
.oh-dynamic-item select {
    flex-grow: 1;
    font-size: 0.8rem;
    padding: 2px 4px;
}
.oh-del-btn {
    background: #990000;
    color: #fff;
    border: none;
    padding: 2px 6px;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 2px;
}
.oh-del-btn:hover {
    background: #cc0000;
}

/* Ability Bonus Badges on Skills & Weapons */
.oh-mod-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.oh-skill-ability-bonus {
    font-size: 0.65rem;
    font-weight: 900;
    color: #0055aa;
    background: #e6f0fa;
    border: 1px solid #b8d5f2;
    border-radius: 2px;
    padding: 1px 3px;
    white-space: nowrap;
    display: none;
}
.oh-weapon-bonus-tag {
    font-size: 0.7rem;
    font-weight: bold;
    color: #990000;
    display: none;
    margin-top: 2px;
}
.oh-bonuses-summary {
    margin-top: 6px;
    padding: 4px 6px;
    background: #fdfaf0;
    border: 1px solid #e0c888;
    font-size: 0.75rem;
    line-height: 1.3;
    display: none;
}
.oh-bonuses-summary strong {
    color: #884400;
}
