
/*
 * Sixty Spares ATA Book Viewer
 * v2.3.0
 *
 * The viewer is intentionally separate from the printable page shell. The book
 * landing page is a navigation application; printable sheets are assembled in
 * an isolated document from the publication manifest.
 */

.ss-manual-toolbar-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:6px;
	min-width:0
}

.ss-manual-download-menu{
	justify-self:end
}

.ss-ata-book-source-pages{
	display:none!important
}

.ss-book-viewer{
	position:relative;
	left:50%;
	width:min(1500px,calc(100vw - 32px));
	max-width:none;
	margin:0 0 24px;
	transform:translateX(-50%);
	border:1px solid #c7cdd2;
	border-radius:8px;
	background:#f5f6f7;
	color:#20272d;
	font-family:Arial,Helvetica,sans-serif;
	box-shadow:0 5px 22px rgba(0,0,0,.1);
	overflow:hidden
}

.ss-book-viewer:fullscreen,
.ss-book-viewer:-webkit-full-screen,
.ss-book-viewer.is-expanded{
	left:0!important;
	width:100vw!important;
	max-width:none!important;
	height:100vh!important;
	max-height:100vh!important;
	margin:0!important;
	transform:none!important;
	border:0!important;
	border-radius:0!important;
	background:#e8ebed!important;
	overflow:auto!important
}

.ss-book-viewer.is-expanded{
	position:fixed!important;
	inset:0!important;
	z-index:2147483000!important
}

body.ss-book-viewer-expanded{
	overflow:hidden!important
}

.ss-book-viewer:fullscreen .ss-book-viewer-header,
.ss-book-viewer:-webkit-full-screen .ss-book-viewer-header,
.ss-book-viewer.is-expanded .ss-book-viewer-header{
	position:sticky;
	top:0;
	z-index:30;
	box-shadow:0 3px 12px rgba(0,0,0,.16)
}

.ss-book-viewer-header{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(2.6in,3.2in);
	gap:22px;
	align-items:end;
	padding:18px 20px;
	border-bottom:1px solid #cbd1d6;
	background:#fff
}

.ss-book-viewer-eyebrow{
	display:block;
	margin-bottom:4px;
	color:#69737d;
	font-size:9px;
	font-weight:800;
	letter-spacing:.75px;
	text-transform:uppercase
}

.ss-book-viewer-header h1{
	margin:0;
	color:#20272d;
	font-size:23px;
	line-height:1.15
}

.ss-book-viewer-header p{
	margin:7px 0 0;
	color:#5f6870;
	font-size:11px;
	line-height:1.45
}

.ss-book-viewer-tools{
	display:grid;
	gap:9px
}

.ss-book-viewer-search{
	display:block;
	box-sizing:border-box;
	width:100%;
	min-height:36px;
	margin:0;
	padding:7px 10px;
	border:1px solid #abb4bc;
	border-radius:4px;
	background:#fff;
	color:#20272d;
	font:600 11px/1.25 Arial,Helvetica,sans-serif
}

.ss-book-viewer-search:focus{
	border-color:#20272d;
	outline:2px solid rgba(32,39,45,.15);
	outline-offset:1px
}

.ss-book-view-switcher{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	border:1px solid #20272d;
	border-radius:4px;
	overflow:hidden
}

.ss-book-view-switcher button{
	min-height:32px;
	margin:0;
	padding:6px 8px;
	border:0;
	border-right:1px solid #20272d;
	background:#fff;
	color:#20272d;
	font:800 9px/1.2 Arial,Helvetica,sans-serif;
	text-transform:uppercase;
	cursor:pointer
}

.ss-book-view-switcher button:last-child{
	border-right:0
}

.ss-book-view-switcher button:hover,
.ss-book-view-switcher button:focus,
.ss-book-view-switcher button.is-active{
	background:#20272d;
	color:#fff
}

.ss-book-viewer-quick-actions{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:7px
}

.ss-book-viewer-quick-actions button{
	min-height:32px;
	margin:0;
	padding:7px 9px;
	border:1px solid #20272d;
	border-radius:4px;
	background:#fff;
	color:#20272d;
	font:800 9px/1.2 Arial,Helvetica,sans-serif;
	cursor:pointer
}

.ss-book-viewer-quick-actions button:last-child{
	background:#20272d;
	color:#fff
}

.ss-book-fullscreen-button span{
	display:inline-block;
	margin-right:4px;
	font-size:13px;
	line-height:1;
	vertical-align:-1px
}

.ss-book-fullscreen-button[aria-pressed="true"]{
	background:#20272d;
	color:#fff
}

.ss-book-viewer-quick-actions button:hover,
.ss-book-viewer-quick-actions button:focus{
	background:#e9edf0;
	color:#20272d
}

.ss-book-viewer-quick-actions button:disabled{
	opacity:.5;
	cursor:wait
}

.ss-book-view-panel{
	padding:16px 18px 20px
}

.ss-book-view-panel[hidden]{
	display:none!important
}

.ss-book-control-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:9px;
	margin-bottom:15px
}

.ss-book-control-card{
	display:grid;
	grid-template-columns:auto minmax(0,1fr);
	grid-template-rows:auto auto;
	column-gap:9px;
	row-gap:2px;
	align-items:center;
	min-height:62px;
	margin:0;
	padding:10px 11px;
	border:1px solid #bbc3ca;
	border-radius:5px;
	background:#fff;
	color:#20272d;
	text-align:left;
	cursor:pointer
}

.ss-book-control-card:hover,
.ss-book-control-card:focus{
	border-color:#20272d;
	background:#e9edf0
}

.ss-book-card-icon{
	grid-row:1/3;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:30px;
	height:30px;
	border-radius:50%;
	background:#20272d;
	color:#fff;
	font-size:15px;
	line-height:1
}

.ss-book-control-card strong{
	font-size:11px;
	line-height:1.25
}

.ss-book-control-card small{
	color:#68727b;
	font-size:9px;
	line-height:1.25
}

.ss-book-view-all-card{
	border-color:#20272d;
	background:#20272d;
	color:#fff
}

.ss-book-view-all-card .ss-book-card-icon{
	background:#fff;
	color:#20272d
}

.ss-book-view-all-card small{
	color:rgba(255,255,255,.75)
}

.ss-book-view-all-card:hover,
.ss-book-view-all-card:focus{
	background:#303942;
	color:#fff
}

.ss-book-subject-list{
	display:grid;
	gap:12px
}

.ss-book-subject-section{
	border:1px solid #c3c9ce;
	border-radius:6px;
	background:#fff;
	overflow:hidden
}

.ss-book-subject-section>header{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:18px;
	padding:13px 14px;
	border-bottom:1px solid #d8dde1;
	background:#f9fafb
}

.ss-book-subject-section>header span{
	display:block;
	margin-bottom:3px;
	color:#6b747c;
	font-size:8px;
	font-weight:800;
	letter-spacing:.6px;
	text-transform:uppercase
}

.ss-book-subject-section>header h2{
	margin:0;
	color:#20272d;
	font-size:16px;
	line-height:1.2
}

.ss-book-subject-section>header p{
	margin:4px 0 0;
	color:#657079;
	font-size:9px
}

.ss-book-subject-actions{
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-end;
	gap:6px
}

.ss-book-subject-actions button,
.ss-book-subject-actions a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:30px;
	margin:0;
	padding:6px 9px;
	border:1px solid #20272d;
	border-radius:4px;
	background:#20272d;
	color:#fff!important;
	font:700 9px/1.2 Arial,Helvetica,sans-serif!important;
	text-decoration:none!important;
	cursor:pointer
}

.ss-book-subject-actions a{
	background:#fff;
	color:#20272d!important
}

.ss-book-subject-actions button:hover,
.ss-book-subject-actions button:focus,
.ss-book-subject-actions a:hover,
.ss-book-subject-actions a:focus{
	background:#e9edf0;
	color:#20272d!important
}

.ss-book-figure-card-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:10px;
	padding:12px
}

.ss-book-figure-card{
	min-width:0;
	border:1px solid #c8ced3;
	border-radius:5px;
	background:#fff;
	overflow:hidden
}

.ss-book-figure-preview{
	display:block;
	width:100%;
	margin:0;
	padding:0;
	border:0;
	background:#fff;
	color:#20272d;
	text-align:left;
	cursor:pointer
}

.ss-book-figure-preview:hover,
.ss-book-figure-preview:focus{
	background:#eef1f3
}

.ss-book-figure-thumbnail{
	display:flex;
	align-items:center;
	justify-content:center;
	aspect-ratio:4/3;
	width:100%;
	border-bottom:1px solid #d5dade;
	background:#f1f3f4;
	color:#69737d;
	font-size:13px;
	font-weight:800;
	letter-spacing:.5px;
	overflow:hidden
}

.ss-book-figure-thumbnail img{
	display:block!important;
	float:none!important;
	width:100%!important;
	height:100%!important;
	margin:0!important;
	object-fit:contain!important;
	object-position:center!important
}

.ss-book-figure-copy{
	display:grid;
	gap:3px;
	padding:9px 10px
}

.ss-book-figure-copy strong{
	font-size:11px;
	line-height:1.2
}

.ss-book-figure-copy small{
	min-height:2.4em;
	color:#68727b;
	font-size:9px;
	line-height:1.25;
	overflow:hidden
}

.ss-book-figure-card>.ss-book-figure-open{
	display:block;
	width:100%;
	margin:0;
	padding:7px 10px;
	border:0;
	border-top:1px solid #d8dde1;
	background:#f8f9fa;
	color:#20272d!important;
	font:700 8px/1.25 Arial,Helvetica,sans-serif!important;
	text-align:left;
	text-decoration:none!important;
	cursor:pointer
}

.ss-book-figure-card>.ss-book-figure-open:hover,
.ss-book-figure-card>.ss-book-figure-open:focus{
	background:#e9edf0;
	text-decoration:underline!important
}

.ss-book-continuous-panel{
	display:grid;
	grid-template-columns:minmax(150px,1.75in) minmax(0,1fr);
	gap:16px;
	align-items:start
}

.ss-book-reader-index{
	position:sticky;
	top:116px;
	max-height:calc(100vh - 145px);
	padding:10px;
	border:1px solid #c5ccd1;
	border-radius:5px;
	background:#fff;
	overflow:auto
}

.ss-book-reader-index>strong{
	display:block;
	margin-bottom:7px;
	padding-bottom:6px;
	border-bottom:1px solid #d8dde1;
	font-size:9px;
	letter-spacing:.5px;
	text-transform:uppercase
}

.ss-book-reader-index nav{
	display:grid;
	gap:3px
}

.ss-book-reader-index button{
	display:block;
	width:100%;
	margin:0;
	padding:6px 7px;
	border:0;
	border-radius:3px;
	background:transparent;
	color:#20272d;
	font:700 8px/1.25 Arial,Helvetica,sans-serif;
	text-align:left;
	cursor:pointer
}

.ss-book-reader-index button:hover,
.ss-book-reader-index button:focus,
.ss-book-reader-index button.is-current{
	background:#e9edf0
}

.ss-book-reader-stream{
	display:grid;
	gap:16px;
	min-width:0
}

.ss-book-reader-record{
	min-width:0;
	padding:10px;
	border:1px solid #c6ccd1;
	border-radius:6px;
	background:#fff
}

.ss-book-reader-record>header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-bottom:9px;
	padding:0 2px 8px;
	border-bottom:1px solid #d8dde1
}

.ss-book-reader-record>header span{
	display:block;
	color:#6b747c;
	font-size:7px;
	font-weight:800;
	letter-spacing:.5px;
	text-transform:uppercase
}

.ss-book-reader-record>header strong{
	display:block;
	margin-top:2px;
	font-size:10px;
	line-height:1.25
}

.ss-book-reader-record>header .ss-book-reader-open-focus{
	flex:0 0 auto;
	margin:0;
	padding:6px 9px;
	border:1px solid #20272d;
	border-radius:4px;
	background:#fff;
	color:#20272d!important;
	font:700 8px/1.2 Arial,Helvetica,sans-serif!important;
	white-space:nowrap;
	cursor:pointer
}

.ss-book-reader-record>header .ss-book-reader-open-focus:hover,
.ss-book-reader-record>header .ss-book-reader-open-focus:focus{
	background:#20272d;
	color:#fff!important
}

.ss-book-reader-placeholder{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:9px;
	min-height:220px;
	padding:20px;
	border:1px dashed #b6bec5;
	border-radius:4px;
	background:#f8f9fa;
	color:#66717a;
	font-size:10px;
	text-align:center
}

.ss-book-loading-spinner{
	width:17px;
	height:17px;
	border:2px solid #c4cbd0;
	border-top-color:#20272d;
	border-radius:50%;
	animation:ss-book-spin .8s linear infinite
}

@keyframes ss-book-spin{
	to{transform:rotate(360deg)}
}

.ss-book-reader-loaded{
	display:grid;
	gap:12px;
	min-width:0
}

.ss-book-reader-sheet-frame{
	display:flex;
	align-items:flex-start;
	justify-content:center;
	box-sizing:border-box;
	width:100%;
	min-width:0;
	padding:14px;
	background:#e8ebed;
	overflow:hidden
}

/*
 * A reader sheet always keeps its true Letter-page layout. Only the finished
 * 8.5 × 11 sheet is visually scaled. This prevents narrow viewer columns from
 * reflowing footers, tables, and labels into broken multi-line layouts.
 */
.ss-book-reader-sheet-frame>.ss-document-page,
.ss-book-reader-sheet-frame>.ss-manual-page,
.ss-book-reader-sheet-frame>.ss-ata-print-page,
.ss-book-reader-sheet-frame>.ss-book-reader-sheet{
	flex:0 0 8.5in!important;
	box-sizing:border-box!important;
	width:8.5in!important;
	min-width:8.5in!important;
	max-width:8.5in!important;
	height:11in!important;
	min-height:11in!important;
	max-height:11in!important;
	margin:0!important;
	overflow:hidden!important;
	box-shadow:0 2px 12px rgba(0,0,0,.18)!important;
	transform-origin:top center
}

.ss-book-viewer:fullscreen .ss-book-reader-sheet-frame,
.ss-book-viewer:-webkit-full-screen .ss-book-reader-sheet-frame,
.ss-book-viewer.is-expanded .ss-book-reader-sheet-frame{
	padding:20px
}

.ss-book-reader-error{
	padding:16px;
	border:1px solid #c86a6a;
	border-radius:4px;
	background:#fff5f5;
	color:#842828;
	font-size:10px
}

.ss-book-focus-panel{
	max-width:100%
}

.ss-book-focus-toolbar{
	display:grid;
	grid-template-columns:auto minmax(0,1fr) auto;
	align-items:center;
	gap:12px;
	margin-bottom:11px;
	padding:9px 10px;
	border:1px solid #c5ccd1;
	border-radius:5px;
	background:#fff
}

.ss-book-focus-toolbar>button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:32px;
	margin:0;
	border:1px solid #20272d;
	border-radius:4px;
	background:#20272d;
	color:#fff;
	font:800 16px/1 Arial,Helvetica,sans-serif;
	cursor:pointer
}

.ss-book-focus-toolbar>button:disabled{
	opacity:.35;
	cursor:default
}

.ss-book-focus-toolbar>div{
	min-width:0;
	text-align:center
}

.ss-book-focus-toolbar span{
	display:block;
	color:#68727b;
	font-size:8px;
	font-weight:800;
	letter-spacing:.4px;
	text-transform:uppercase
}

.ss-book-focus-toolbar strong{
	display:block;
	margin-top:2px;
	font-size:11px;
	line-height:1.25;
	overflow-wrap:anywhere
}

.ss-book-focus-stage{
	min-width:0;
	padding:10px;
	border:1px solid #c6ccd1;
	border-radius:6px;
	background:#fff
}

.ss-book-viewer-empty-search{
	margin:0;
	padding:18px;
	border-top:1px solid #cbd1d6;
	background:#fff;
	color:#68727b;
	font-size:11px;
	text-align:center
}

.ss-book-search-hidden{
	display:none!important
}

.ss-book-download-progress{
	position:fixed;
	right:18px;
	bottom:18px;
	z-index:99999;
	width:min(330px,calc(100vw - 36px));
	padding:13px 14px;
	border:1px solid #20272d;
	border-radius:6px;
	background:#20272d;
	color:#fff;
	font:700 10px/1.4 Arial,Helvetica,sans-serif;
	box-shadow:0 8px 28px rgba(0,0,0,.28)
}

.ss-book-download-progress progress{
	display:block;
	width:100%;
	height:8px;
	margin-top:8px
}

@media(max-width:900px){
	.ss-book-viewer{
		width:calc(100vw - 20px)
	}

	.ss-book-viewer-header{
		grid-template-columns:1fr
	}

	.ss-book-control-grid{
		grid-template-columns:repeat(2,minmax(0,1fr))
	}

	.ss-book-figure-card-grid{
		grid-template-columns:repeat(2,minmax(0,1fr))
	}

	.ss-book-continuous-panel{
		grid-template-columns:1fr
	}

	.ss-book-reader-index{
		position:relative;
		top:auto;
		max-height:none
	}

	.ss-book-reader-index nav{
		display:flex;
		gap:5px;
		overflow-x:auto
	}

	.ss-book-reader-index button{
		flex:0 0 auto;
		width:auto;
		white-space:nowrap
	}
}

@media(max-width:620px){
	.ss-manual-toolbar-actions{
		grid-column:2;
		grid-row:1;
		align-self:start
	}

	.ss-book-viewer-header{
		padding:15px
	}

	.ss-book-view-panel{
		padding:12px
	}

	.ss-book-control-grid,
	.ss-book-figure-card-grid{
		grid-template-columns:1fr
	}

	.ss-book-subject-section>header{
		display:grid
	}

	.ss-book-subject-actions{
		justify-content:flex-start
	}

	.ss-book-view-switcher,
	.ss-book-viewer-quick-actions{
		grid-template-columns:1fr
	}

	.ss-book-view-switcher button{
		border-right:0;
		border-bottom:1px solid #20272d
	}

	.ss-book-view-switcher button:last-child{
		border-bottom:0
	}
}

@media print{
	.ss-book-viewer{
		display:none!important
	}
}

.ss-book-figure-thumbnail-fallback{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
	min-height:1.55in;
	background:#eef1f3;
	color:#56616a;
	font-size:13px;
	font-weight:800;
	letter-spacing:.5px
}

.ss-book-figure-thumbnail img[hidden]+.ss-book-figure-thumbnail-fallback{
	display:flex!important
}


/* v2.2.1 — imported hotspot interaction */
.ss-book-reader-sheet .ss-manual-hotspot-ring,
.ss-book-reader-loaded .ss-manual-hotspot-ring {
	pointer-events:auto!important;
	cursor:pointer!important;
	touch-action:manipulation;
}

.ss-book-viewer:fullscreen .ss-part-modal,
.ss-book-viewer:fullscreen .ss-manual-choice-modal,
.ss-book-viewer.is-expanded .ss-part-modal,
.ss-book-viewer.is-expanded .ss-manual-choice-modal {
	z-index:2147483646!important;
}
