body[data-system="bol"] #sheetOverlay{padding:10px}
body[data-system="bol"] #sheetOverlay .sheet{width:min(1180px,98vw);background:#e7e1d4;color:#111;border-color:#111;border-radius:2px}
body[data-system="bol"] #sheetOverlay .sheet-top{display:grid;grid-template-columns:130px 1fr 130px;align-items:center;padding:12px 36px;background:#e7e1d4;border:0;color:#111}
body[data-system="bol"] #sheetOverlay .sheet-header-spacer{display:block}
body[data-system="bol"] #sheetOverlay .sheet-portrait{width:78px;height:78px;margin:0 auto;border:3px double #111;border-radius:0;filter:grayscale(1)}
body[data-system="bol"] #sheetOverlay .sheet-name{color:#111;border-bottom:1px solid #111;font:26px Georgia,serif;text-transform:uppercase}
body[data-system="bol"] #sheetOverlay .eyebrow{color:#111}
body[data-system="bol"] #sheetOverlay .sheet-body{padding:0 28px 20px}
body[data-system="bol"] #sheetOverlay .sheet-body>.stat-grid,
body[data-system="bol"] #sheetOverlay .sheet-body>.health-controls{display:none}
body[data-system="bol"] #sheetOverlay .close{color:#111}
body[data-system="bol"] #sheetOverlay .sheet-config-button{color:#111}
body[data-system="bol"] #sheetOverlay .sheet-bottom{padding-top:12px;border-top:2px solid #111}
body[data-system="bol"] #sheetOverlay .sheet-save-status{color:#333}
.bol-sheet{font-family:Georgia,'Times New Roman',serif}
.bol-sheet input,.bol-sheet textarea,.bol-sheet select{font:inherit;color:#111;background:rgba(255,255,255,.25);border:0;border-bottom:1px solid #111;border-radius:0;outline:none}
.bol-sheet input:focus,.bol-sheet textarea:focus,.bol-sheet select:focus{background:#fff9c9;box-shadow:0 0 0 2px #1112}
.bol-sheet-tabs{display:flex;justify-content:center;gap:5px;margin:0 0 8px}
.bol-sheet-tabs button{padding:7px 18px;border:1px solid #111;background:transparent;color:#111;font-weight:700;text-transform:uppercase;font-size:11px;letter-spacing:.08em}
.bol-sheet-tabs button.active{background:#111;color:#eee7d8}
.bol-page{min-height:610px;padding:18px 24px;border:3px double #111;background-color:#e7e1d4;background-image:repeating-linear-gradient(0deg,transparent 0 25px,#0000000b 26px)}
.bol-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.bol-title div{display:flex;flex-direction:column;line-height:.82;text-align:left;transform:rotate(-2deg)}
.bol-title small{font-weight:900;font-size:14px;letter-spacing:.16em}
.bol-title strong{font:900 44px/1 Georgia,serif;letter-spacing:-.06em;text-shadow:1px 1px 0 #777}
.bol-title em{align-self:flex-end;font-size:10px;letter-spacing:.22em}
.bol-title>label{display:grid;place-items:center;width:74px;height:74px;border:4px double #111;border-radius:50%;font-size:11px;font-weight:900}
.bol-title>label input{width:45px;text-align:center;font-size:23px;border:0;background:transparent}
.bol-identity{display:grid;grid-template-columns:1fr 1.6fr;gap:20px;margin-bottom:12px}
.bol-line{display:flex;align-items:end;gap:8px;text-transform:uppercase;font-weight:700;font-size:12px}
.bol-line input{flex:1;min-width:0;padding:3px 6px}
.bol-sheet-grid{display:grid;grid-template-columns:1fr 1.2fr 1.35fr;grid-template-areas:'attributes careers weapons' 'combat resources equipment' 'traits traits equipment';gap:12px 18px;align-items:start}
.bol-block{border:2px solid #111;background:#e7e1d4aa}
.bol-block h3,.bol-vademecum h2{margin:0;padding:6px 9px;background:#111;color:#eee7d8;text-align:center;font-size:13px;letter-spacing:.1em}
.bol-attributes{grid-area:attributes}.bol-careers{grid-area:careers}.bol-combat{grid-area:combat}.bol-resources{grid-area:resources}.bol-weapons{grid-area:weapons}.bol-equipment{grid-area:equipment}.bol-traits{grid-area:traits;display:grid;grid-template-columns:1fr 2fr 1fr 2fr;align-items:stretch}.bol-traits h3{writing-mode:vertical-rl;transform:rotate(180deg);padding:8px 5px}.bol-traits textarea{height:100%;min-height:128px}
.bol-attributes>div,.bol-combat>div,.bol-orb-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px}
.bol-combat>div{grid-template-columns:repeat(2,1fr)}
.bol-orb{position:relative;display:grid;justify-items:center;gap:4px;text-align:center;text-transform:uppercase;font-size:9px;font-weight:800}
.bol-orb input{width:52px;height:52px;border:4px double #111;border-radius:50%;background:#eee7d8;text-align:center;font-size:24px;font-weight:900}
.bol-orb button,.bol-table-row button{position:absolute;right:-2px;top:-4px;width:23px;height:23px;padding:0;border:1px solid #111;border-radius:50%;background:#111;color:#eee7d8}
.bol-table-head,.bol-table-row{display:grid;grid-template-columns:1fr 54px 28px;gap:5px;align-items:center;padding:3px 7px;position:relative}
.bol-table-head{grid-template-columns:1fr 54px;margin-top:4px;font-size:9px;text-transform:uppercase;font-weight:700}
.bol-table-row input{width:100%;min-width:0;padding:5px}.bol-table-row input[type=number]{text-align:center}.bol-table-row button{position:static}
.bol-weapon-row{grid-template-columns:1fr 90px}.bol-weapons .bol-table-head{grid-template-columns:1fr 90px}
.bol-resources{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;border:2px solid #111;background:linear-gradient(135deg,#0000 48%,#1112 49% 51%,#0000 52%)}
.bol-resources label{display:grid;justify-items:center;text-align:center;font-size:9px;text-transform:uppercase;font-weight:800}.bol-resources input{width:52px;height:52px;margin-top:5px;border:3px double #111;border-radius:50%;text-align:center;font-size:20px;font-weight:900;background:#eee7d8}.bol-resources .bol-vitality{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:7px}.bol-resources .bol-vitality input{width:58px}
.bol-writing{display:block;height:100%}.bol-writing>span{display:block;margin:6px 8px 2px;font-size:10px;font-weight:800;letter-spacing:.1em}.bol-writing textarea{display:block;width:100%;resize:vertical;padding:8px;line-height:1.45;border:0;background:transparent}
.bol-page-notes>h2{margin:0 0 8px;text-align:center;font-size:22px;letter-spacing:.18em}.bol-page-notes>.bol-writing{height:auto;border:2px solid #111}.bol-page-notes>.bol-writing textarea{min-height:340px;background:repeating-linear-gradient(transparent 0 24px,#1114 25px)}
.bol-vademecum{margin-top:14px;border:2px solid #111}.bol-vademecum>div{display:grid;grid-template-columns:repeat(4,1fr)}.bol-vademecum article{padding:9px 12px;border-right:1px solid #111}.bol-vademecum article:last-child{border:0}.bol-vademecum h3{margin:0 0 4px;text-transform:uppercase;font-size:12px}.bol-vademecum p{margin:0;font-size:10px;line-height:1.35}
.bol-npc-type{display:flex;align-items:center;gap:10px;margin:10px 0;font-weight:900;text-transform:uppercase}.bol-npc-type select{padding:5px;min-width:170px}.bol-npc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bol-npc-grid>.bol-block{grid-column:1/-1}.bol-npc-grid .bol-orb-row{grid-template-columns:repeat(4,1fr)}.bol-npc-grid>.bol-writing{border:2px solid #111;min-height:190px}.bol-npc-grid>.bol-vitality{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;font-weight:900;text-transform:uppercase}.bol-npc-grid>.bol-vitality input{width:60px;padding:6px;text-align:center}
.bol-dice{margin-top:10px;padding:10px;border:1px solid #5d6b61;background:#1b2829}.bol-dice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.bol-dice label{display:grid;gap:3px;color:#aebbb3;font-size:9px;text-transform:uppercase}.bol-dice select,.bol-dice input{width:100%;height:32px;padding:4px;background:#2d3e3d;border:1px solid #5d6b61;border-radius:3px;color:#eee}.bol-dice-mode{display:flex;gap:4px;margin-top:7px}.bol-dice-mode button{flex:1;padding:6px;border:1px solid #5d6b61;background:#2d3e3d;color:#ddd;font-size:10px}.bol-dice-mode button.active{background:#8a6d3f;color:#fff;border-color:#d4b97c}.bol-dice .roll-button{width:100%;margin:8px 0 0}
@media(max-width:850px){body[data-system="bol"] #sheetOverlay .sheet-top{grid-template-columns:70px 1fr 50px;padding:10px}.bol-page{padding:10px}.bol-title strong{font-size:30px}.bol-sheet-grid{grid-template-columns:1fr;grid-template-areas:'attributes' 'combat' 'careers' 'resources' 'weapons' 'equipment' 'traits'}.bol-vademecum>div{grid-template-columns:1fr 1fr}.bol-npc-grid{grid-template-columns:1fr}}

.bol-orb button .dice-icon,.bol-table-row button .dice-icon{width:15px;height:15px;vertical-align:middle}
