/* CompactCSS source: /apps/watermark-remover/css/style.css */
/*B"H*/
/*Boruch Hashem*/
/*Blessed is He*/
/**
 * The Awtsmoos gives the workspace a responsive vessel; Awtsmoos.com keeps
 * image power intrinsic while every visible control remains within the hand.
 */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-width: 0;
	background: #0f1720;
	color: #e6eef6;
	font-family: system-ui, sans-serif;
}

.workspace {
	width: min(1100px, 100%);
	margin: 0 auto;
	padding: clamp(12px, 3vw, 24px);
}

.intro {
	max-width: 760px;
}

.bh-mark,
h1 {
	margin-top: 0;
}

h1 {
	font-size: clamp(1.4rem, 6vw, 2rem);
	margin-bottom: 6px;
}

.controls {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
	margin: 18px 0 12px;
}

.file-control {
	display: grid;
	gap: 6px;
	min-width: 0;
	font-weight: 700;
}

input[type="file"] {
	max-width: 100%;
	color: #e6eef6;
}

button {
	min-height: 44px;
	background: #1f6feb;
	color: white;
	border: 0;
	padding: 10px 14px;
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

button:focus-visible {
	outline: 3px solid #8bd5ff;
	outline-offset: 3px;
}

button[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

.hint,
.status {
	color: #a8bdd0;
}

.canvas-panel {
	max-width: 100%;
	overflow: auto;
}

.canvas-container {
	position: relative;
	width: fit-content;
	max-width: 100%;
	border: 1px solid #334155;
	background: #081220;
	touch-action: none;
}

#mainCanvas {
	display: block;
	max-width: 100%;
	height: auto;
}

.status {
	display: block;
	min-height: 1.5em;
	margin: 12px 0;
}

@media (max-width: 560px) {
	.controls,
	.file-control,
	.controls button {
		width: 100%;
	}
}


/* CompactCSS source: /apps/watermark-remover/css/results.css */
/*B"H*/
/*Boruch Hashem*/
/*Blessed is He*/
/**
 * One hundred small revelations gather without crowding the page: the Awtsmoos
 * gives each preview a place, and Awtsmoos.com keeps the result field scrollable.
 */
.thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
	gap: 8px;
	max-height: 50vh;
	overflow: auto;
}

.thumb {
	position: relative;
	aspect-ratio: 1;
	min-width: 0;
	padding: 0;
	background: #081220;
	border: 1px solid #27364a;
	border-radius: 8px;
	overflow: hidden;
}

.thumb canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.alpha-label {
	position: absolute;
	left: 4px;
	bottom: 4px;
	padding: 2px 5px;
	border-radius: 4px;
	background: #000a;
	color: white;
	font-size: 12px;
}
