/* CSS Document */
/*********************************** import font ******************************/
/************************************* font ****************************************/
.title {
	max-height: 48px;
	text-overflow: ellipsis;
	font-weight: bold;
	overflow: hidden;
}

/*********************************** main layer *******************************/
* {
	margin: 0;
	padding: 0;
	outline: none;
	position: relative;
}

body {
	background: #f0f0f0;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	-ms-overflow-style: none;
	overflow: hidden;
	color: #5e5e5e;
}

a {
	text-decoration: none;
}

#header {
	height: 54px;
}

#canvas {
	display: none;
	background: #fff;
	position: fixed;
	right: 8px;
	width: 140px;
	z-index: 10;
	border-top: thin solid #e9e9e9;
	border-right: thin solid #dedede;
	border-bottom: thin solid #dedede;
	border-left: thin solid #dedede;
	-webkit-box-shadow: -1px 1px 5px -2px rgba(0, 0, 0, 0.75);

	box-shadow: -1px 1px 5px -2px rgba(0, 0, 0, 0.75);

	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.board {
	width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

#content .board img {
	max-width: 100%;
	font-style: italic;
	border: 0;
}

.container {
	display: flex;
}

.alert {
	display: flex;
	align-items: center;
}

.alert span {
	height: 39px;
	overflow: hidden;
}

.bg-success {
	background: #c4e3f3;
}

.bg-danger {
	background: #f2dede;
}

.bg-danger,
.bg-success,
.bg-info,
.bg-warning,
#baraza {

	-webkit-border-radius: 12px;
	border-radius: 12px;
}

#baraza {
	display: none;
	width: 50%;
	height: 70px;
	position: fixed;
	bottom: 6px;
	left: 25%;
	margin-left: auto;
	margin-right: auto;
	z-index: 8;
}

.loading {
	background: url(../images/wait.gif) no-repeat 1px;
	height: 45px;
	width: 45px;
	display: none;
	margin-top: 25%;
	margin-left: auto;
	margin-right: auto;
}

.highlight {
	border: 1px solid #9F1319 !important;
	background: #ffff99 url(../images/iconCaution.gif) no-repeat 99% 50% !important;
	color: #ff0000 !important;
}

#bar {
	background: orange;
	width: 15%;
	/* Adjust with JavaScript */
	height: 18px;
	border-radius: 10px;
}

.bimg,
.icon {
	display: block;
	background-repeat: no-repeat;
	background-image: url(../images/main.svg);
}

#logo {
	background-position: 0 -48px;
	width: 96px;
	height: 48px;
}

.wbox {
	overflow-y: auto;
	overflow-x: hidden;
}

#steel {
	margin: 0 12px;
}

.visible-xs {
	display: none;
}

/************************************ menu *****************************************/
#navbar {
	display: none;
	background-position: -96px 0;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.menu,
.nav,
.navs,
.tabs,
.frms,
.navz {
	list-style: none;
}

.menu a,
.nav a,
.navz a {
	padding: 9px 0px 9px 12px;
}

.menu a {
	color: #323232;
}

.nav a,
.navs a,
.navz a {
	display: block;
	color: #444444;
}

.nav a:hover,
.navz a:hover {
	background: #6699cc;
	color: #fff;
}

.navs a {
	padding: 6px 0px 6px 12px;

}

.more-menu,
.more-menu .dropdown {
	display: none;
}

.frm-content,
.tab-content {
	display: none;
}

.frms li {
	float: left;
	width: 25%;
	height: 42px;
}

.frms a {
	display: block;
	background: #ecebeb;
	padding-bottom: 12px;
	padding-top: 12px;
	color: #5e5e5e;
	text-align: center;
	border-bottom: thin solid #d5d5d5;
}

.frmset a {
	color: #5e5e5e !important;

	-webkit-box-shadow: 0px -1px 3px #dedede;
	box-shadow: 0px -1px 3px #dedede;
}

.frmset a:first-child {
	border-left: thin solid #d5d5d5;
}

.current {
	display: inherit;
}

.tabs {
	height: 30px;
}

.tabs li {
	float: left;
	width: 33%;
	height: inherit;
	text-align: center;
	background: #ecebeb;
	padding-top: 9px;
	cursor: pointer;
}

.tabs li:first-child {
	width: 34%;
}

ul .active a {
	color: #fff;
}

ul .active,
ul .newactive {
	background: #006699;
	color: #fff;
}

ul .alive,
ul .frmset a {
	background: #fff;
}

ul .alive {

	-webkit-box-shadow: 0px -1px 3px #dedede;
	box-shadow: 0px -1px 3px #dedede;
}

ul .slink {
	background: #3399ff !important;
}

ul .format span,
ul .sphoto span {
	background: #6699cc;
	color: #fff;
}

/**************************************** content **************************************/
#tool {
	width: 200px;
	height: 92%;
	position: fixed;
}

#stage {
	width: 100%;
	padding: 6px 12px;
	margin-left: 200px;
}

#section {
	background: #fff;
	clear: both;
	border-right: thin solid #d5d5d5;
	border-left: thin solid #d5d5d5;
	border-bottom: thin solid #d5d5d5;
}

.exp {
	padding: 6px 12px;
	height: 36px;
}

.chama {
	list-style: none;
	display: flex;
	gap: 2.5%;
	padding-left: 12px;
	padding-right: 12px;
}

.chama li {
	flex: 0 0 23%;
	font-size: 12px;
	color: #fff;
	border: thin solid #dbdbdb;

}

.chama li>div:first-child {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-auto-rows: auto;
	row-gap: 8px;
	padding: 12px 6px;
}

.chama .head {
	font-size: 32px;
}

.chama li .foot {
	grid-column: 1 / -1;
	text-align: right;
	padding: 3px 0;
}

.chama li .tip {
	border-top: thin solid #dbdbdb;
	background: #fff;
	padding: 4px 6px;
	
}

.chama li:first-child {
	background: #347ab8;
}

.chama .dv1 {
	background: #5db85b;
}

.chama .dv2 {
	background: #efad4d;
}

.chama .dv3 {
	background: #d95350;
}

.disc {
	box-sizing: border-box;
	list-style: none;
	display: block;
	border: thin solid #dbdbdb;
	overflow-y: auto;
	overflow-x: hidden;
	width: 48%;
	height: 420px;
	margin-top: 12px;
	margin-left: 12px;
	padding-left: 1%;
	padding-right: 1%;
}

.disc .head {
	padding-top: 6px;
	height: 30px;
	font-weight: bold;
	font-size: 14px;
}

.disc li {
	width: 100%;
	height: 24px;
	padding-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	border-bottom: thin solid #dbdbdb;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-auto-rows: auto;
	row-gap: 8px;
}

.bull {
	list-style: none;
}

.bull li {
	min-height: 120px;
	padding: 12px;
	display: block;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	border-bottom: thin solid #dbdbdb;
}

.bull li:last-child {
	border: 0;
}

.bull .context {
	min-height: 120px;
	padding-top: 6px;
	overflow: hidden;
	display: block;
}

.bull .txt {
	overflow: hidden;
	height: 63px;
	line-height: 20px;
}

.bull .tip {
	height: 24px;
	overflow: hidden;
	font-size: 12px;
	padding-top: 3px;
}

.bull .lnk {
	font-size: 12px;
	min-width: 48px;
	padding: 3px 4px;
	height: 30px;
	float: left;
	display: flex;
	align-items: center;

	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.bull .lnk:hover {
	background: #f1f1f1;
}

#nano {
	display: flex;
	gap: 12px;
}

.lst {
	display: block;
	width: 50%;
	overflow-y: auto;
	overflow-x: hidden;
}

.lst ul, .hub {
	list-style: none;
}

.hub li,
.lst li {
	border-bottom: 1px solid #EAEAEA;
	display: block;
	height: 72px;
}

.lst li {
	width: 98%;
	padding-top: 6px;
	padding-bottom: 6px;
}

.lst li:hover {
	background: #dedede;
}

.lst .context {
	max-height: 39px;
	padding-right: 12px;
	top: 45%;
	overflow: hidden;
	transform: translate(0, -55%);
	text-overflow: ellipsis;
	pointer-events: none;
}

.lst .head {
	height: 39px;
	overflow: hidden;
}

.lst .tip {
	font-size: 10px;
}

.contimg,
.patimg {
	float: left;
	overflow: hidden;
}

.contimg,
.contimg img {

	-webkit-border-radius: 12px;
	border-radius: 12px;
}

.contimg {
	background: transparent;
	width: 200px;
	height: 150px;
	margin-right: 12px;
}

.patimg {
	border: 2px solid #dedede;

	-webkit-border-radius: 30px;
	border-radius: 30px;
	background: #fff;
	width: 64px;
	height: 60px;
	margin-left: 12px;
	margin-right: 12px;
	text-align: center;
	pointer-events: none;
}

.patimg img {
	height: 60px;
}

.fila a {
	margin: 3px 6px;
	float: left;
	color: #666666;
	min-width: 160px;
	padding: 6px 12px 6px 12px;
	border: thin solid #cdc8b1;
	background: #f0fff0;
	border-color: #cdc8b1;

	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.fila a:hover {
	background: #cdc8b1;
	color: #5e5e5e;
}

/**************************************** modal *********************************************/
#overlay,
.overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 6;
	background-color: rgba(0, 0, 0, 0.5);
}

#myNote {
	display: none;
	border: thin solid #CCC;

	-webkit-box-shadow: 1px 4px 5px #CCC;
	box-shadow: 1px 2px 1px #CCC;




	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background: #fff;
	position: fixed;
	bottom: 15px;
	right: 14px;
	width: 680px;
	height: 530px;
	transition: right 2s;
	overflow: hidden;
}

.headNote {
	border-bottom: thin solid #C7C7C7;
	background: #919191;
	color: #fff;
	padding: 6px 8px 12px 8px;
	cursor: move;
	overflow: hidden;
}

#closeNote {
	background-position: -144px -24px;
	float: right;
	cursor: pointer;
}

.smenu {
	list-style: none;
	background: #fff;
	border: 1px solid #dcdcdc;
	margin: auto;
	height: 50%;
	width: 400px;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: none;
}

.smenu span {
	border-top: 1px solid #dcdcdc;
	width: 100%;
	height: 28px;
	text-align: center;
	font-size: 12px;
	padding-top: 6px;
	cursor: pointer;
	display: block;
}

.smenu span:first-child {
	border-top: 0 none #dcdcdc;
	display: block;
}

.smenu span:hover {
	background: #dedede;
}

#nota {
	width: 210px;
	height: 18px;
	float: left;
	padding-top: 6px;
	overflow: hidden;
}

#webpage {
	width: 100%;
}

.bard,
.pad,
.level1,
.level2,
.level3,
.low1,
.template ul {
	list-style: none;
}

.bard li {
	border-bottom: 1px solid #D3D3D3;
	display: block;
	height: 30px;
	padding-top: 6px;
	padding-left: 8px;
}

.pad {
	height: 372px;
	overflow-y: auto;
	overflow-x: hidden;
	background: #f8f8f8;
}

.pad li {
	
	display: block;
	clear: both;
}
.pad li > div {
	padding: 6px 4px 6px 8px;
	border-bottom: 1px solid #D3D3D3;
}

.pad li:hover {
	cursor: pointer;
}

.level0,
.level1,
.level2,
.level3,
.low1 {
	width: 100%;
	min-height: 42px;
}

.level1,
.level2,
.level3 {
	display: none;
}

.level1,
 .low1 {
	background: #efedf2;
}

.level2 {
	background: #e3e1e8;
}

.level3 {
	background: #d2cddf;
}

.level0:hover {
	background: #99ccff;
}

.level1 li:hover {
	background: #b0e2fc;
}

.level2 li:hover {
	background: #d1efff
}

.level3 li:hover {
	background: #ebf8ff
}

.darea,
.dtab {
	background-position: -48px -24px;
	position: absolute;
	top: 6px;
	z-index: 4;
}

.lst-st,
.lst-rd,
.lst-th,
.lst-fn {
	right: 24px;
}

.template {
	box-sizing: border-box;
	width: 100%;
}

.template li {
	float: left;
	width: 25%;
	margin: 4%;
}

.umbo {
	border: thin solid #B5B5B5;
	height: 120px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	cursor: pointer;
}

.umbo span {
	position: absolute;
	border-top: thin solid #B5B5B5;
	z-index: 9;
	background: #FFF;
	height: 18px;
	padding-top: 3px;
	overflow: hidden;
	width: 100%;
	left: 0px;
	top: 100px;
	font: 200 10px Arial, Helvetica, sans-serif;
}

#dmenu {
	list-style: none;
	background: #fff;
	border: 1px solid #dcdcdc;

	-webkit-border-radius: 18px;
	border-radius: 18px;
	z-index: 10;
	margin: auto;
	min-height: 20%;
	width: 400px;
	position: fixed;
	top: 18%;
	right: 0;
	left: 0;
	display: none;
}

#dmenu span {
	border-top: 1px solid #dcdcdc;
	width: 100%;
	height: 33px;
	text-align: center;
	padding-top: 12px;
	cursor: pointer;
	display: block;
}

#dmenu span:first-child {
	border-top: 0 none #dcdcdc;





	-webkit-border-top-right-radius: 18px;


	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

#dmenu span:last-child {
	
	
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-webkit-border-bottom-left-radius: 18px;
	-webkit-border-bottom-right-radius: 18px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
}

#dmenu span:hover {
	background: #dedede;
}

/******************************* dialog ******************************/
#iDialog {
	-webkit-box-shadow: 1px 4px 5px #CCC;
	box-shadow: 1px 2px 1px #CCC;
	-webkit-border-radius: 18px;
	border-radius: 18px;
	z-index: 8;
	background: #fff;
	position: fixed;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width: 600px;
	display: none;
}

.dialHead {
	background: #f2f2f2;
	padding: 12px 12px;
	height: 24px;
	border-radius: 18px 18px 0 0; 
	border-bottom: 1px solid #e6e6e6;
}

#lib-stage {
	width: 100%;
	height: 420px;
}

#stage-content {
	height: 90%;
	overflow-y: auto;
	overflow-x: hidden;
}

#stage-content ul {
	list-style: none;
}

#stage-content li {
	float: left;
	width: 24%;
	margin: 0.5%;
}

#handly {
	display: none;
}

#stage-foot,
#stage-header {
	display: flex;
	align-items: center;
	height: 24px;
	padding: 6px 12px;
	font: 200 12px Arial, Helvetica, sans-serif;
}

#dde,
#ddre,
#reno {
	width: 100%;
	height: 360px;
	overflow-y: auto;
	overflow-x: hidden;
}

.droptarget {
	min-height: 60px;
}

.dragtarget {
	height: 60px;
	cursor: move;
}

.mydrag {
	position: absolute;
	z-index: 10;
	width: 100%;
	top: 0;
	left: 0;
	padding-top: 6px;
	padding-right: 4px;
	padding-bottom: 6px;
	padding-left: 8px;
	color: #fff;
	background: #6699cc;
	min-height: 60px;
	pointer-events: none;
}

.closeDial, .closeLib {
	background-position: -72px -24px;
	float: right;
	cursor: pointer;
}

.dialContent .bform-pair,
.dialContent .tip {
	padding-left: 12px;
	padding-right: 12px;
}

.dial {
	width: 100%;
}

.dial ul,
.card ul {
	list-style: none;
}

.dial li,
.card .dragtarget {
	border-bottom: 1px solid #D3D3D3;
	display: flex;
	align-items: center;
	padding: 6px 12px;
	margin-bottom: 12px;
}

.dimg {
	width: 80px;
	height: 60px;
	border: thin solid #D3D2D2;
	margin-right: 12px;
	overflow: hidden;
}

.dimg img {
	height: 60px;
	margin-left: auto;
	margin-right: auto;
}

.dial .context,
.dragtarget .context {
	width: 94%;
	height: 48px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dialfoot {
	height: 48px;
	padding: 6px 12px;
	text-align: center;
}

.toner {
	margin-bottom: 12px;
}

.droptarget {
            background: #f8f9fa;
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
            cursor: move;
        }

        .droptarget:hover {
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
        }

        .droptarget.dragging {
            opacity: 0.5;
            transform: scale(0.95);
        }

        .droptarget.drag-over {
            border-color: #667eea;
            border-style: solid;
            background: #e7eaf6;
        }

/****************************************** wysiwyg ********************************/
.dhtm {
	width: 100%;
	height: 411px;
	overflow-x: hidden;
	overflow-y: auto;
}

#heading,
#editor,
#toolbar {
	padding: 6px 6px 3px 6px;
}

#heading {
	background: #fff;
	position: sticky;
	top: 0;
	min-height: 25px;
	font-size: 16px;
	border-bottom: 1px solid #e6e6e6;
	overflow: auto;
	z-index: 1;
}

.dhtm #editor {
	min-height: 300px;
	overflow: auto;
	font-size: 12px;
}

#toolbar {
	background: #e9e9e9;
	height: 39px;
}

#editor ul,
#editor ol,
#editor blockquote {
	margin-left: 24px;
}

#editor img {
	width: 50%;

	-webkit-border-radius: 18px;
	border-radius: 18px;
}

#editor img.unclicked {
	cursor: pointer;
	filter: grayscale(0.3);
}

#editor img.clicked {
	outline-style: solid;
	outline-color: red;
}

#editor table {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
	margin: 10px 0;
}

#editor table th {
	background: #f2f2f2;
	font-weight: bold;
}

#editor table th, #editor table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
	position: relative;
	overflow: hidden;
}

.col-resizer {
	position: absolute;
	right: 0;
	top: 0;
	width: 5px;
	height: 100%;
	cursor: col-resize;
	background: rgba(0, 0, 0, 0.05);
	z-index: 10;
}

#dhkm {
	display: block;
}

#pie {
	min-height: 90px;
	overflow: hidden;
	background: #fafafa;
	border-top: 1px solid #e3e3e3;
}

#dhkm #editor {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 12px;
	overflow: hidden;
}

#ico {
	background: #fff;
	margin: 3px;
	float: left;
	width: 80px;
	height: 70px;
	cursor: pointer;
	overflow: hidden;
	border: thin solid #D3D2D2;
}

#tie a,
#tie .tsrc {
	margin: 3px 6px;
	background: #dedede;
	float: left;
	width: 280px;
	height: 30px;
	display: block;
	cursor: pointer;
	overflow: hidden;
	padding: 3px 24px 3px 6px;
	border: thin solid #D3D2D2;

	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#pie .tsrc {
	margin: 8px 4px;
	float: left;
	width: 74px;
	height: 70px;
	cursor: pointer;
	overflow: hidden;
	border: thin solid #D3D2D2;
}

#pie img {
	height: 60px;
}

.tiny,
#tick {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	padding: 6px;
	overflow: hidden;
}

.tiny {
	float: left;
}

#tick {
	padding-left: 12px;
}

.tag-field {
	min-width: 100%;
}

/******************************* wizard ***************************************/
.winz {
	width: 800px;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

#hwinz {
	padding-top: 6px;
	padding-left: 12px;
	height: 33px;
	font-weight: bold;
	overflow: hidden;
}

#hwinz ul {
	list-style: none;
}

#hwinz ul li {
	display: flex;
	align-items: center;
	float: left;
	cursor: pointer;
	padding: 6px 4px;
}

#hwinz button,
#hwinz ul {
	float: right;
	right: 5px;
}

.box {
	width: 100%;
	height: 411px;
	overflow-x: hidden;
	overflow-y: auto;
}

#cbox {
	overflow-y: auto;
	overflow-x: hidden;
	padding-left: 6px;
	padding-right: 6px;
}

#twist {
	list-style: none;
}

#twist li {
	border-bottom: 1px solid #eaeaea;
	padding: 12px 6px;
}

.table {

	margin-bottom: 24px;
}

.table thead {
	height: 36px;
}

thead th {
	border-bottom: 2px solid #ccc;
}

.table td {
	/*padding-top: 6px;*/
}

#suite {
	width: 100%;
}

#vend {
	width: 840px;
}

#vend td {
	height: 60px;
}

.imo {
	cursor: pointer;
}

.imo-desc {
	margin-left: 12px;
	padding-top: 24px;
	height: 18px;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.patimo {
	width: 80px;
	height: 60px;
	border: thin solid #D3D2D2;
	margin-right: 12px;
	float: left;
	overflow: hidden;
}

.patimo img {
	height: 54px;
	margin-left: auto;
	margin-right: auto;
}

#twist {
	list-style: none;
}

#twist li {
	/*border-bottom: 1px solid #eaeaea;
	background: #f8f8ff;
	display: block;
	width: 100%;
	color: #5e5e5e;
	text-decoration: none;*/
}
#slack {
	border-top: 1px solid #e9e9e9;
    -webkit-box-shadow: -1px -1px 1px #e6e6fa;
    box-shadow: -1px -1px 1px #e6e6fa;
	padding: 4px;
}
#slack #editor {
	height: 32px;
	padding: 4px;
	font-size: 16px;
}
#slack-tool {
	background: #ff0000;
	float: right;
	right: 0;
	width: 72px;
}
#slack-txt {
	width: 80%;
	background: #ff0000;
}

/****************************** gallery *********************************/
.img-container {
	border: thin solid #B5B5B5;
	height: 102px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	background: #11161c;
	cursor: pointer;
}

.img-container img {
	height: 100%;
	border: 0px;
}

.img-container span {
	position: absolute;
	border-top: thin solid #B5B5B5;
	z-index: 4;
	background: #FFF;
	height: 18px;
	padding-top: 4px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	left: 0px;
	top: 82px;
	font: 200 8px Arial, Helvetica, sans-serif;
}

.cropped {
	background: url('../images/wait.gif') center center no-repeat;
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#stamp {
	/*background: #ff0000;*/
	width: 148px;
	left: 50%;
	transform: translateX(-50%);
}

#psrc {
	border: 2px solid #dedede;
 
	-webkit-border-radius: 120px;
	border-radius: 120px;
	width: 126px;
	height: 126px;
	overflow: hidden;
}

.pic-circle {
 
	-webkit-border-radius: 120px;
	border-radius: 120px;
	width: 126px;
	height: 126px;
}

/*********************************** profile *********************************/
/************************************* form ***************************************/
.info {
	border: none !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;

	-webkit-transition: none;
	background: transparent;
}

.field {
	padding: 8px 6px;
	width: 99%;
}

#inArea {
	height: 24px;
	width: 98%;
}

#file-src {
	width: 80%;
	height: 24px;
	border-bottom: 1px solid #e6e6e6 !important;
}

.input-group {
	padding: 9px 12px 6px 6px;
	margin-top: 30px;
	margin-bottom: 18px;
	border: thin solid #4a4a4a;

	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.input-label {
	position: absolute;
	top: 12px;
	left: 8px;
	pointer-events: none;
	padding-left: 3px;
	padding-right: 4px;
	transition: transform 300ms ease-in;
	z-index: 1;
}

.move-down {
	background-color: transparent;
	transform: translateY(0);
}

.move-up {
	background-color: #fff;
	transform: translateY(-24px);
}

.add-border {
	outline: 1px solid #5d5d5d;
}

.field-group,
.input-chk {
	margin-top: 8px;
	margin-bottom: 8px;
	border: thin solid #4a4a4a;
	outline: 1px solid #4a4a4a;

	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.field-group {
	padding: 6px 12px 8px 6px;
}

.input-opt {
	display: flex;
}

.itag {
	margin-top: 6px;
}

.tiny div,
#tick div {
	text-align: center;
	margin-right: 4px;
	margin-bottom: 6px;
	font-size: 12px;
	color: #fff;
	padding-top: 6px;
	padding-right: 24px;
	padding-left: 6px;
	padding-bottom: 6px;
	box-sizing: border-box;
	background: #47CF73;
	border-radius: 12px;
	cursor: pointer;
}

.input-ven {
	width: 96%;
	margin-left: auto;
	margin-right: auto;
}

.int {
	text-align: right;
}

.bform-pair,
.bform-rd,
.bform-th,
.bform-dt {
	display: grid;
	gap: 20px;
	padding-bottom: 24px;
}

.bform-pair,
.bform-rd,
.bform-th,
.bform-dt {
	list-style: none;
}

.bform-pair {
	grid-template-columns: repeat(2, 1fr);
}

.bform-rd {
	grid-template-columns: 1fr 1fr 1fr;
}

.bform-th {
	grid-template-columns: 2fr 1fr 1fr 1fr;
}

.bform-dt {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

/*************************************** button **************************************/
button {
	cursor: pointer;
}

.putin,
#opt {
	display: flex;
	align-items: center;
	background: #006699;
	padding: 6px 12px 6px 6px;
	color: #fff;
	border: none;
	border-radius: 6px;

	-webkit-border-radius: 6px;
}

.putin:hover,
#opt:hover {
	background: #6699cc;
}

#opt {
	margin-left: auto;
	margin-right: auto;
}

.zend {
	float: right;
	right: 0;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.modify {
	cursor: pointer;
}

.plus {
	display: none;
	float: right;
	list-style: none;
}

.plus li {
	float: left;
	height: 24px;
	cursor: pointer;
}

.plus li:first-child {
	margin-right: 3px;
}

#osx {
	padding-top: 6px;
	padding-left: 6px;
	padding-right: 6px;
	height: 18px;
}

.cbtn {
	list-style: none;
	color: #0c5c86;
	font-size: 12px;
	font-weight: bold;
	float: right;
	right: 6px;
}

.cbtn-sm li {
	display: block;
	cursor: pointer;
	float: left;
	color: #fff;
	height: 26px;
	box-sizing: border-box;
	background: -moz-linear-gradient(top, #33a6cc 50%, #0099cc 50%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #33a6cc), color-stop(50%, #0099cc));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #33a6cc 50%, #0099cc 50%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #33a6cc 50%, #0099cc 50%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #33a6cc 50%, #0099cc 50%);
	/* IE10+ */
	background: linear-gradient(to bottom, #33a6cc 50%, #0099cc 50%);
	/* W3C */
}

.cbtn-sm li:last-child {
	padding: 2.5px 3px;
}

.nbtn:hover {
	background: #f1f1f1;
}

#vicon {
	padding: 6px 4px 0 8px;
}

.lmenu {
	display: none;
}

.fileinput-button {
	height: 102px;
	overflow: hidden;
	margin-right: 2px;
}

.fileinput-button input {
	position: absolute;
	height: 102px;
	top: 0;
	right: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	transform: translate(-200px, 0) scale(4);
	direction: ltr;
	cursor: pointer;
}

/************************************** player ************************************/
/*************************************** icon ***************************************/
.icon {
	pointer-events: none;
	cursor: pointer;
}

.icon-lg {
	width: 32px;
	height: 30px;
}

.icon-sm {
	width: 24px;
	height: 24px;
}

.icon-warn {
	width: 60px;
	height: 60px;
	display: block;
	float: left;
	margin-right: 12px;
	background-repeat: no-repeat;
	background-image: url(../images/icon-warn.png);
	background-position: 0px 0px;
}

.icon-ok {
	width: 60px;
	height: 60px;
	display: block;
	margin-right: 12px;
	margin-top: 9px;
	margin-left: 6px;
	background-repeat: no-repeat;
	background-image: url(../images/icon-ok.png);
	background-position: 0 0;
}

.arrow {
	display: block;
	background-image: url(../images/bg-icon.png);
	position: absolute;
	right: 0px;
}

.arrow-sm {
	width: 24px !important;
	height: 24px !important;
}

.arrow-eye {
	top: 30px;
}

.eye-on {
	background-position: -144px -240px;
}

.eye-off {
	background-position: -144px -264px;
}

.arrow-down {
	width: 0;
	height: 0;
	position: absolute;
	top: 12px;
	right: 12px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 6px solid #000;
}

.arrow-right {
	width: 0;
	height: 0;
	position: absolute;
	top: 10px;
	right: 16px;
	z-index: 4;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #006699;
}

.icon-save {
	background-size: 180px 180px;
	background-position: -120px -120px;
}

.icon-send {
	background-position: -72px 0;
}

.icon-post {
	background-position: -120px 0;
}

.icon-pen {
	background-position: -120px -72px;
}

.icon-smenu {
	background-position: -144px 0;
}

.icon-task {
	background-position: -120px -24px;
}

.icon-share {
	background-position: -120px -48px;
}

.icon-cimg {
	background-position: -24px 0;
	width: 24px;
	height: 20px;
	display: block;
	position: absolute;
	right: 0;
	z-index: 2;
}

.icon-dtag {
	float: right;
	background: #fff;
	margin-left: 3px;
	width: 18px;
	height: 18px;
	top: 4px;
	position: absolute;

	-webkit-border-radius: 12px;
	border-radius: 12px;
	right: 3px;
}

.icon-store {
	background-position: -48px 0;
}

.icon-user {
	background-position: -192px -90px;
}

.icon-list-bold {
	background-position: 0 -96px;
}

.icon-list-italic {
	background-position: -24px -96px;
}

.icon-list-line {
	background-position: -48px -96px;
}

.icon-list-ul {
	background-position: -72px -96px;
}

.icon-list-ol {
	background-position: -96px -96px;
}

.icon-list-outdent {
	background-position: -120px -96px;
}

.icon-list-indent {
	background-position: -144px -96px;
}

.icon-list-link {
	background-position: -144px -72px;
}

.icon-list-file-image-o {
	background-position: -144px -48px;
}

.icon-file-manage {
	background-repeat: no-repeat;
	background-image: url(../images/default_camera.jpg);
	display: block;
	width: 70px !important;
	height: 70px !important;
	background-size: 70px 70px;

}

.icon-dash-post,
.icon-dash-feed,
.icon-dash-board,
.icon-dash-user {
	width: 48px;
	height: 48px;
}

.icon-dash-post {
	background-position: 0px -120px;
}

.icon-dash-feed {
	background-position: -96px -120px;
}

.icon-dash-board {
	background-position: -48px -120px;
}

.icon-dash-user {
	background-position: -144px -120px;
}

/********************** Responsive  *****************************/
@media (max-width: 1440px) {
	.board {
		width: 100%;
	}
}

@media (max-width: 1200px) {
	#navbar {
		display: block;
		margin-left: auto;
		display: flex;
	}

	#tool {
		display: none;
	}

	#stage {
		margin-left: 0;
		padding: 0 0;
	}
}

@media (max-width: 993px) {
	#baraza {
		width: 70%;
		left: 10%;
	}
	.visible-xs {
		display: block;
	}

	#nano {
		flex-direction: column;
	}

	.lst {
		width: 100%;
	}

	.winz {
		display: none;
		position: fixed;
		background: #fff;
		top: 0;
		bottom: 0;
		z-index: 5;
		width: 100%;
	}

	#hwinz {
		/*background: #f1f1f1;*/
		font-size: 12px;
		text-transform: uppercase;
		padding-left: 6px;
	}

	#hwinz #closeNote {
		background-position: -96px -24px;
		float: left;
	}
}

@media (max-width: 767px) {
	#baraza {
		width: 96%;
		left: 2%;
	}
	
	.frms li, .tabs li {
		text-transform: uppercase;
		font-size: 12px;
	}
	
	.frms li {
		width: 33%;
		height: 38px;
		
	}

	.frms li:first-child {
		width: 34%;
	}

	.frms a, .tabs li {
		font-weight: bold;
	}

	.exp {
		position: absolute;
		right: 6px;
		bottom: 0;
		z-index: 1;
	}
	
	#steel {
		margin: 12px 12px;
	}

	.bull .txt {
		height: 54px;
		font-size: 12px;
		line-height: 18px;
	}

	.chama {
		flex-wrap: wrap;
		padding-top: 12px;
	}

	.chama li {
		flex: 0 0 47%;
		margin-bottom: 10px;
	}
	
	.disc {
		width: 96%;
		height: 315px;
	}

	.contimg {
		width: 180px;
		height: 135px;
	}

	#myNote {
		border: 0 none #000;
		width: 100%;
		height: 100%;
		right: 0;
		border-radius: 0;
		bottom: 0;
		z-index: 2;
	}

	.headNote {
		border-bottom: 0 none #000;
		background: #f1f1f1;
		font-weight: bold;
		font-size: 12px;
		color: #5e5e5e;
		text-transform: uppercase;
		height: 30px;
		padding: 6px 6px;
	}

	#foot-ihtm {
		display: none;
	}

	#iDialog {
		transition: bottom 1000ms;
		width: 100%;
	
	
	
	
	
		-webkit-border-top-right-radius: 18px;
		-webkit-border-bottom-right-radius: 0;
		-webkit-border-bottom-left-radius: 0;
		border-top-left-radius: 18px;
		border-top-right-radius: 18px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
	}

	.plus {
		display: block;
	}

	#closeNote {
		background-position: -96px -24px;
		float: left;
	}
}

@media (max-width: 480px) {
	.contimg {
		width: 100%;
		float: none;
		clear: both;
		height: 210px;
	}
	#nota {
		width: 160px;
	}
	.pad li > div, #heer {
		font-size: 12px;
	}
	#dmenu {
		width: 92%;
	}
}

/* ==========================================================================
   Jibu redesign (yego.co.tz, 2026-11-22)
   Layout, hierarchy, sections and mobile only. Colours and font are the
   theme's own: #f0f0f0 page, #fff panels, #444/#5e5e5e text, #006699 active,
   #6699cc hover, #dedede/#d5d5d5 rules, #ecebeb/#f1f1f1 fills.
   Icons are SVG masks painted with currentColor.
   ========================================================================== */
#content .board,
#header .board {
	width: 100%;
	max-width: none;
}

#content .container {
	height: 100vh;
	align-items: stretch;
}

/* ---------- icons ---------- */
.rail-nav li[data-id] > a::before,
.acct-act a::before,
.acct-ava::after {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
}

.rail-nav li[data-id] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='3'/></svg>"); }
.rail-nav li[data-id="member"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9' rx='1.5'/><rect x='14' y='3' width='7' height='5' rx='1.5'/><rect x='14' y='12' width='7' height='9' rx='1.5'/><rect x='3' y='16' width='7' height='5' rx='1.5'/></svg>"); }
.rail-nav li[data-id="content"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5'/><path d='M9 13h6M9 17h6'/></svg>"); }
.rail-nav li[data-id="memo"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1.1-4.6A8 8 0 1 1 21 12z'/><path d='M8.5 12h.01M12 12h.01M15.5 12h.01'/></svg>"); }
.rail-nav li[data-id="setting"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 6h9M17 6h3M4 12h3M11 12h9M4 18h11M19 18h1'/><circle cx='15' cy='6' r='2'/><circle cx='9' cy='12' r='2'/><circle cx='17' cy='18' r='2'/></svg>"); }
.rail-nav li[data-id="admin"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9' rx='1.5'/><rect x='14' y='3' width='7' height='5' rx='1.5'/><rect x='14' y='12' width='7' height='9' rx='1.5'/><rect x='3' y='16' width='7' height='5' rx='1.5'/></svg>"); }
.rail-nav li[data-id="accounting"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='2' width='14' height='20' rx='2'/><path d='M8 6h8v4H8z'/><path d='M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/></svg>"); }
.rail-nav li[data-id="user"] > a { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2.5 20a6.5 6.5 0 0 1 13 0'/><path d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6.5 6.5 0 0 1 3.5 6'/></svg>"); }
.acct-ava::after { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='12' cy='8' r='4.2'/><path d='M3.5 21c.8-4.6 4.3-7.2 8.5-7.2s7.7 2.6 8.5 7.2z'/></svg>"); }
.acct-act a[href="out"] { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/><path d='M16 17l5-5-5-5M21 12H9'/></svg>"); }
.acct-act a[href="login"] { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/><path d='M10 17l5-5-5-5M15 12H3'/></svg>"); }

/* ---------- rail (desktop) ---------- */
@media (min-width: 1201px) {
	#header {
		display: none; /* the rail carries the logo on desktop */
	}
}

#tool {
	position: relative;
	flex: 0 0 232px;
	width: 232px;
	height: 100vh;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 16px 12px;
	background: #fff;
	border-right: 1px solid #dedede;
}

#brand {
	background-position: 0 -48px;
	width: 96px;
	height: 48px;
	margin: 0 0 24px 8px;
	flex: 0 0 auto;
}

.rail-nav {
	flex: 1 1 auto;
	overflow-y: auto;
}

.rail-nav .nav,
.rail-nav .navs {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rail-nav .nav li,
.rail-nav .navs li {
	border-radius: 6px;
}

.rail-nav .nav a,
.rail-nav .navs a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 15px;
	color: #444444;
}

.rail-nav .nav a:hover,
.rail-nav .navs a:hover {
	background: #6699cc;
	color: #fff;
}

.rail-nav li.active > a,
.rail-nav li.active > a:hover {
	background: #006699;
	color: #fff;
}

.rail-nav .navs li[data-id="index"],
.rail-nav .nav li[data-id="index"],
.rail-nav .navs li:not([data-id]) {
	display: none; /* blank home and the old Sign In row: the account block below does that job */
}

/* ---------- account block, pinned to the bottom of the rail / drawer ---------- */
.acct {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	gap: 10px 12px;
	margin-top: 16px;
	padding: 16px 4px 4px;
	border-top: 1px solid #dedede;
}

.acct-ava {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #6699cc;
	color: #fff;
}

.acct[data-signed="in"] .acct-ava {
	background: #006699;
}

.acct-ava::after {
	width: 22px;
	height: 22px;
}

.acct-who {
	min-width: 0;
	line-height: 1.3;
}

.acct-who b,
.acct-who small {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.acct-who b {
	font-size: 15px;
	color: #444444;
}

.acct-who small {
	font-size: 12px;
	color: #5e5e5e;
}

.acct-act {
	grid-column: 1 / -1;
}

.acct-act a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	font-size: 14px;
	color: #444444;
}

.acct-act a:hover {
	background: #f1f1f1;
}

.acct-act a::before {
	width: 18px;
	height: 18px;
}

.acct[data-signed="out"] .acct-act a {
	background: #006699;
	border-color: #006699;
	color: #fff;
}

.acct[data-signed="out"] .acct-act a:hover {
	background: #6699cc;
	border-color: #6699cc;
}

/* ---------- stage: page title, tabs, section panel ---------- */
#stage {
	flex: 1 1 auto;
	min-width: 0;
	height: 100vh;
	margin-left: 0;
	box-sizing: border-box;
	padding: 20px 24px 16px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#myGala,
#myMount,
#myPost,
#myRoom,
#myContact,
#myBoda {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#stage .frms {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	border-bottom: 1px solid #d5d5d5;
	scrollbar-width: none;
}

#stage .frms li {
	float: none;
	flex: 0 0 auto;
	width: auto;
	height: auto;
}

#stage .frms a,
#stage ul .frmset a {
	display: block;
	padding: 10px 16px 9px;
	margin-bottom: -1px;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	box-shadow: none;
	font-size: 14px;
	text-transform: none;
	white-space: nowrap;
	color: #5e5e5e;
}

#stage .frms a:hover {
	color: #006699;
}

#stage ul .frmset a {
	border-bottom-color: #006699;
	color: #444444 !important;
	font-weight: bold;
}

#stage #section {
	flex: 1 1 auto;
	min-height: 0 !important; /* node.js evMain sizes from the old header; the flex column does it now */
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 8px;
	overflow: hidden;
}

#stage #section > .frm-content.current {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#stage .exp {
	flex: 0 0 auto;
	height: auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
}

#stage .exp:has(> span:only-child:empty),
#stage .exp:empty {
	display: none;
}

#stage .wbox {
	flex: 1 1 auto;
	height: auto !important;
	min-height: 0;
}

/* list + details (settings, memo) */
#nano {
	flex: 1 1 auto;
	min-height: 0;
	gap: 0;
}

#stage .lst {
	flex: 0 0 360px;
	width: 360px;
	height: auto !important;
	border-right: 1px solid #ecebeb;
}

#stage .lst li {
	width: 100%;
	height: auto;
	min-height: 64px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 10px 16px;
	border-bottom: 1px solid #ecebeb;
	cursor: pointer;
}

#stage .lst li:hover {
	background: #f1f1f1;
}

#stage .lst li.current {
	background: #ecebeb;
	box-shadow: inset 3px 0 0 #006699;
}

#stage .lst .patimg {
	float: none;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin: 0 14px 0 0;
	border: 1px solid #dedede;
	border-radius: 50%;
}

#stage .lst .patimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#stage .lst .context {
	top: auto;
	transform: none;
	max-height: none;
	padding-right: 0;
	font-size: 15px;
	color: #444444;
}

#stage .winz {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	display: flex;
	flex-direction: column;
}

#stage .contentNote {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#hwinz {
	flex: 0 0 auto;
	height: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #ecebeb;
}

#hwinz #nota {
	order: 1;
	flex: 1 1 auto;
	float: none;
	width: auto;
	height: auto;
	padding: 0;
	font-size: 17px;
	color: #444444;
}

#hwinz #closeNote {
	order: 0;
	float: none;
	flex: 0 0 auto;
}

#hwinz ul,
#hwinz .nbtn {
	order: 2;
	float: none;
	right: auto;
	display: flex;
	gap: 8px;
}

#hwinz ul li,
#hwinz .saveBtn {
	float: none;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 6px;
	background: #006699;
	color: #fff;
	font-size: 14px;
}

#hwinz ul li:hover,
#hwinz > #saveFrm:hover {
	background: #6699cc;
}

#hwinz ul li .icon {
	filter: brightness(0) invert(1);
}

#stage #cbox,
#stage .cbox {
	flex: 1 1 auto;
	min-height: 0;
	padding: 16px;
	overflow-y: auto;
}

#stage .alert span {
	height: auto; /* old fixed 39px cut the message off */
}

/* ---------- dashboard ---------- */
#myGala .frm-content.current {
	overflow-y: auto;
}

#stage .chama {
	gap: 16px;
	padding: 16px;
}

#stage .chama li {
	flex: 1 1 0;
	min-width: 0;
	border: 0;
	border-radius: 8px;
	overflow: hidden;
	font-size: 13px;
}

#stage .chama li > div:first-child {
	padding: 16px 14px 12px;
}

#stage .chama li .tip {
	padding: 8px 14px;
	color: #5e5e5e;
	border-top: 1px solid #dedede;
}

#stage .disc {
	width: auto;
	max-width: 640px;
	height: auto;
	min-height: 180px;
	margin: 0 16px 16px;
	padding: 0 16px 8px;
	border: 1px solid #dedede;
	border-radius: 8px;
}

#stage .disc li {
	height: auto;
	padding: 10px 0;
}

#stage .disc .head {
	height: auto;
	padding: 14px 0 10px;
}

/* ---------- drawer (phone / tablet) ---------- */
#rail-shade {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 19;
	background-color: rgba(0, 0, 0, 0.5);
}

#canvas.rail-drawer {
	display: none;
}

/* ---------- focus + motion ---------- */
#tool a:focus-visible,
#canvas a:focus-visible,
#navbar:focus-visible,
#stage a:focus-visible,
#stage button:focus-visible,
#stage li:focus-visible {
	outline: 2px solid #006699;
	outline-offset: 2px;
}

@media (max-width: 1200px) {
	#tool {
		display: none;
	}

	#header {
		height: 56px;
		background: #fff;
		border-bottom: 1px solid #dedede;
	}

	#header .container {
		height: 56px;
		align-items: center;
		padding: 0 12px 0 8px;
	}

	#logo {
		display: block;
	}

	#navbar {
		display: block;
		margin-left: auto;
		width: 24px;
		height: 24px;
		top: auto;
		right: auto;
		padding: 0;
		border: 0;
		background-color: transparent;
	}

	#content .container {
		height: calc(100vh - 57px);
	}

	#stage {
		height: calc(100vh - 57px);
		padding: 16px 16px 12px;
	}

	#canvas.rail-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: auto;
		width: 288px;
		max-width: 86vw;
		box-sizing: border-box;
		padding: 20px 12px 16px;
		z-index: 20;
		border: 0;
		border-radius: 0 8px 8px 0;
		background: #fff;
		transform: translateX(-105%);
		transition: transform 0.25s ease;
	}

	body.rail-open #canvas.rail-drawer {
		transform: translateX(0);
	}

	body.rail-open #rail-shade {
		display: block;
	}
}

@media (min-width: 994px) {
	#stage #cbox {
		height: auto !important;
	}
}

@media (max-width: 993px) {
	#stage .lst {
		flex: 1 1 auto;
		width: 100%;
		border-right: 0;
	}

	#stage .winz {
		display: none;
		position: fixed;
		top: 0;
		bottom: 0;
		z-index: 5;
		width: 100%;
		background: #fff;
	}

	#hwinz {
		text-transform: none;
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	#stage {
		padding: 12px 10px 10px;
	}

	#stage .frms li,
	#stage .frms li:first-child {
		width: auto;
		height: auto;
		font-size: 14px;
	}

	#stage .frms a {
		padding: 10px 12px 9px;
	}

	#stage #section {
		margin-top: 8px;
	}

	#stage .exp {
		position: static;
		padding: 10px 12px;
	}

	#stage .chama {
		gap: 10px;
		padding: 12px;
	}

	#stage .chama li {
		flex: 1 1 calc(50% - 5px);
		margin-bottom: 0;
	}

	#stage .chama .head {
		font-size: 26px;
	}

	#stage .disc {
		margin: 0 12px 12px;
		max-width: none;
	}

	#stage .lst li {
		padding: 10px 12px;
	}
}

/* ---------- popups: #iDialog (Library, Post By, Summary, Tags, Reorder, Relate, Schedule, Share) ---------- */
#iDialog {
	width: 560px;
	max-width: calc(100vw - 32px);
	border: 1px solid #dedede;
	border-radius: 8px;
	-webkit-box-shadow: -1px 1px 5px -2px rgba(0, 0, 0, 0.75);
	box-shadow: -1px 1px 5px -2px rgba(0, 0, 0, 0.75);
	overflow: hidden;
	z-index: 8;
}

#iDialog .dialHead {
	display: flex;
	align-items: center;
	gap: 12px;
	height: auto;
	padding: 14px 16px;
	background: #fff;
	border-radius: 0;
	border-bottom: 1px solid #ecebeb;
	font-size: 17px;
	color: #444444;
}

#iDialog .dialHead > span,
#iDialog .dialHead > div:not(#closeDial) {
	order: 0;
	flex: 1 1 auto;
	font-weight: bold;
}

#iDialog .closeDial,
#iDialog .closeLib,
#iDialog #closeDial {
	order: 1;
	float: none;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-left: auto;
	background-image: url(../images/main.svg);
	background-repeat: no-repeat;
	background-position: -72px -24px;
	border-radius: 50%;
	cursor: pointer;
}

#iDialog .closeDial:hover,
#iDialog .closeLib:hover,
#iDialog #closeDial:hover {
	background-color: #f1f1f1;
}

#iDialog .dialContent {
	max-height: calc(100vh - 260px);
	overflow-y: auto;
	padding: 16px;
}

#iDialog .dial li {
	gap: 12px;
	margin: 0 0 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid #ecebeb;
}

#iDialog .dimg {
	flex: 0 0 64px;
	width: 64px;
	height: 48px;
	margin: 0;
	border: 1px solid #dedede;
	border-radius: 6px;
	background: #f1f1f1;
}

#iDialog .dimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dimg.no-img,
.contimg.no-img {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b5b5b5;
}

.dimg.no-img img,
.contimg.no-img img {
	display: none;
}

.dimg.no-img::after,
.contimg.no-img::after {
	content: "";
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5'/><path d='M9 13h6M9 17h6'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5'/><path d='M9 13h6M9 17h6'/></svg>") center / contain no-repeat;
}

#iDialog .dial .context {
	width: auto;
	height: auto;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 15px;
	font-weight: bold;
	color: #444444;
}

#iDialog .form-control,
#iDialog textarea,
#iDialog #file-src {
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid #d5d5d5 !important;
	border-radius: 6px;
	font: inherit;
	font-size: 14px;
	color: #444444;
	background: #fff;
}

#iDialog .dialContent .tip {
	padding: 0;
}

#iDialog [contenteditable="true"].toner {
	min-height: 96px;
	margin: 0 0 6px;
	padding: 10px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: #444444;
	background: #fff;
	overflow-wrap: anywhere;
}

#iDialog [contenteditable="true"].toner:focus {
	border-color: #006699;
	outline: 2px solid #6699cc;
	outline-offset: 0;
}

#iDialog .toner + div {
	text-align: right;
	font-size: 12px;
	color: #5e5e5e;
}

#iDialog textarea {
	min-height: 96px;
	resize: vertical;
}

#iDialog .form-control:focus,
#iDialog textarea:focus,
#iDialog #file-src:focus {
	border-color: #006699 !important;
	outline: 2px solid #6699cc;
	outline-offset: 0;
}

#iDialog .dialfoot,
#iDialog #stage-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	height: auto;
	padding: 12px 16px;
	border-top: 1px solid #ecebeb;
	font: inherit;
}

#iDialog #opt,
#iDialog #insert-btn,
#iDialog .dialTool .saveBtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 9px 18px;
	border: 0;
	border-radius: 6px;
	background: #006699;
	color: #fff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

#iDialog #opt:hover,
#iDialog #insert-btn:hover,
#iDialog .dialTool .saveBtn:hover {
	background: #6699cc;
}

#iDialog .dialTool {
	order: 3;
	display: flex;
	justify-content: flex-end;
	padding: 12px 16px;
	border-top: 1px solid #ecebeb;
}

#iDialog .dialTool .dbtn {
	list-style: none;
}

#iDialog #bitDial form {
	display: flex;
	flex-direction: column;
}

#iDialog #bitDial .dialContent {
	order: 2;
}

/* My Library */
#iDialog #lib-stage {
	height: auto;
	display: flex;
	flex-direction: column;
}

#iDialog #stage-content {
	height: auto;
	max-height: calc(100vh - 280px);
	min-height: 160px;
	padding: 16px;
	box-sizing: border-box;
}

#iDialog #stage-content ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 12px;
}

#iDialog #stage-content li {
	float: none;
	width: auto;
	margin: 0;
	aspect-ratio: 1 / 1;
	border: 1px solid #dedede;
	border-radius: 6px;
	overflow: hidden;
}

#iDialog #stage-content li#handly {
	display: none;
}

#iDialog #stage-content li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#iDialog .fileinput-button {
	width: 100%;
	height: 100%;
}

#iDialog #stage-foot #file-src {
	flex: 1 1 auto;
	width: auto;
}

/* ---------- /content infinite scroll marker ---------- */
.bull-more {
	padding: 18px 16px 22px;
	text-align: center;
	font-size: 13px;
	color: #5e5e5e;
}

.bull-more.is-loading span::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	border: 2px solid #dedede;
	border-top-color: #006699;
	border-radius: 50%;
	animation: bull-spin 0.8s linear infinite;
}

.bull-more.is-done {
	color: #b5b5b5;
}

@keyframes bull-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	#iDialog {
		width: 100%;
		max-width: none;
		border-radius: 12px 12px 0 0;
		border-bottom: 0;
	}

	#iDialog .dialContent {
		max-height: 60vh;
	}

	#iDialog #stage-content {
		max-height: 55vh;
	}

	#iDialog #stage-content ul {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	#iDialog .dialfoot,
	#iDialog #stage-foot {
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}

	#iDialog .dialfoot #opt,
	#iDialog #stage-foot #insert-btn {
		flex: 0 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bull-more.is-loading span::before {
		animation: none;
	}
}

/* ---------- /content toolbar: post count, search, filters ---------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

#myPost .exp {
	border-bottom: 1px solid #ecebeb;
}

#myPost .exp > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.bull-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

.bull-count {
	flex: 0 0 auto;
	margin-right: 6px;
	font-size: 14px;
	color: #5e5e5e;
	white-space: nowrap;
}

.bull-count b {
	font-size: 18px;
	color: #444444;
}

.bull-search {
	flex: 0 1 240px;
	min-width: 160px;
}

.bull-search::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background-color: #5e5e5e;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>") center / contain no-repeat;
	pointer-events: none;
	z-index: 1;
}

.bull-search input,
.bull-pick select {
	width: 100%;
	height: 36px;
	box-sizing: border-box;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	background-color: #fff;
	font: inherit;
	font-size: 14px;
	color: #444444;
}

.bull-search input {
	padding: 0 10px 0 32px;
}

.bull-pick {
	flex: 0 0 auto;
}

.bull-pick select {
	padding: 0 8px;
	cursor: pointer;
}

.bull-search input:focus,
.bull-pick select:focus {
	border-color: #006699;
	outline: 2px solid #6699cc;
	outline-offset: 0;
}

#Bulletin.is-busy {
	opacity: 0.5;
	pointer-events: none;
}

#Bulletin .bull-none {
	padding: 40px 16px;
	text-align: center;
	font-size: 14px;
	color: #5e5e5e;
	line-height: 1.6;
}

#Bulletin .bull-none b {
	color: #444444;
}

.bull-reset {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: #006699;
	text-decoration: underline;
	cursor: pointer;
}

.bull-more.is-done span:empty {
	display: none;
}

@media (max-width: 767px) {
	#myPost .exp {
		position: relative;
		align-items: flex-start;
	}

	#myPost .exp > .putin {
		position: absolute;
		top: 8px;
		right: 12px;
	}

	.bull-tools {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.bull-count {
		grid-column: 1 / -1;
		min-height: 36px;
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.bull-search {
		grid-column: 1 / -1;
		min-width: 0;
	}

	.bull-pick select {
		padding: 0 4px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#canvas.rail-drawer {
		transition: none;
	}
}

#hwinz > #saveFrm {
	float: none;
	border: 0;
	padding: 7px 14px;
	border-radius: 6px;
	background: #006699;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.patimg.no-img {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #b5b5b5;
}

.patimg.no-img img {
	display: none;
}

.patimg.no-img::after {
	content: "";
	width: 60%;
	height: 60%;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21a8 8 0 0 1 16 0'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21a8 8 0 0 1 16 0'/></svg>") center / contain no-repeat;
}

/* ==========================================================================
   Accounting > Categories (product::deno, taxo.htm) — icon / image, form, category tree. Theme colours only.
   ========================================================================== */
#cbox.cate-box {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
#cbox.cate-box.is-busy {
	opacity: .55;
	pointer-events: none;
}
.cate-note:empty {
	display: none;
}
.cate-note .alert {
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #dedede;
	border-left: 4px solid #006699;
	border-radius: 6px;
	background: #f1f1f1;
	color: #444444;
	font-size: 14px;
}
.cate-note .alert-danger {
	border-left-color: #d9534f;
}
.cate-sec {
	border: 1px solid #dedede;
	border-radius: 8px;
	padding: 14px;
}
.cate-h {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: #444444;
}
.cate-frm {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.cate-frm .input-group {
	width: 100%;
	margin: 18px 0 12px;
	box-sizing: border-box;
}
.cate-frm .input-group .info {
	box-sizing: border-box;
}
.cate-frm .input-group:has(input.highlight) {
	border-color: #d9534f;
}
.cate-hint {
	margin: 0;
	color: #5e5e5e;
	font-size: 12px;
}
.cate-pic {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 24px;
}
.cate-pic-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.cate-frm .cate-pic-main .input-group {
	margin: 0;
}
.cate-frm > section > .input-group:first-child {
	margin-top: 10px;
}
#stamp.cate-stamp {
	position: relative;
	left: auto;
	transform: none;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border: 2px dashed #d5d5d5;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: #f1f1f1;
}
.cate-stamp:hover,
.cate-stamp:focus {
	border-color: #006699;
	outline: none;
}
.cate-pic.has-pic .cate-stamp {
	border-style: solid;
}
.cate-stamp #pics {
	display: none;
}
.cate-stamp #psrc,
.cate-stamp img {
	border: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
.cate-stamp::after {
	content: "Icon";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 3px 0;
	background: rgba(0, 102, 153, .85);
	color: #fff;
	font-size: 11px;
	text-align: center;
}
.cate-pic-txt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: #5e5e5e;
	font-size: 12px;
}
.cate-unpic {
	display: none;
	padding: 4px 10px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	background: #fff;
	color: #444444;
	font-size: 12px;
	cursor: pointer;
}
.cate-pic.has-pic .cate-unpic {
	display: inline-block;
}
.cate-unpic:hover {
	border-color: #006699;
	color: #006699;
}
.cate-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.cate-bar .cate-h {
	margin: 0;
}
.cate-count {
	display: inline-block;
	min-width: 22px;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 10px;
	background: #f1f1f1;
	color: #5e5e5e;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
}
.cate-new {
	padding: 5px 10px;
	border: 1px solid #006699;
	border-radius: 6px;
	color: #006699;
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
}
.cate-new:hover,
.cate-new.is-on {
	background: #006699;
	color: #fff;
	text-decoration: none;
}
.cate-tree {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cate-tree.cate-sub {
	margin-left: 22px;
	padding-left: 12px;
	border-left: 1px solid #dedede;
}
.cate-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 6px;
	color: #444444;
	text-decoration: none;
}
.cate-row:hover {
	background: #f1f1f1;
	color: #444444;
	text-decoration: none;
}
.cate-item.is-on > .cate-row {
	background: #ecebeb;
	box-shadow: inset 3px 0 0 #006699;
}
.cate-ico {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	overflow: hidden;
	background: #f1f1f1;
}
.cate-ico img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cate-name {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	overflow-wrap: anywhere;
}
.cate-name small {
	color: #5e5e5e;
	font-size: 12px;
}
.cate-edit {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	opacity: 0;
	background: #006699;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cate-row:hover .cate-edit,
.cate-row:focus .cate-edit,
.cate-item.is-on > .cate-row .cate-edit {
	opacity: 1;
}
.cate-empty {
	margin: 0;
	color: #5e5e5e;
}
@media (max-width: 480px) {
	.cate-sec {
		padding: 12px;
	}
	.cate-pic {
		align-items: flex-start;
	}
	#stamp.cate-stamp {
		width: 56px;
		height: 56px;
	}
	.cate-tree.cate-sub {
		margin-left: 12px;
		padding-left: 8px;
	}
	.cate-edit {
		opacity: 1;
	}
}

/* Accounting > Variants (product::muta, suite.htm): variants grouped under their category; reuses the cate-* blocks above */
.muta-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
}
.muta-group + .muta-group {
	margin-top: 6px;
	border-top: 1px solid #dedede;
	padding-top: 6px;
}
.muta-add {
	flex: 0 0 auto;
	padding: 3px 10px;
	border: 1px solid #006699;
	border-radius: 6px;
	color: #006699;
	font-size: 12px;
	white-space: nowrap;
	text-decoration: none;
}
.muta-add:hover {
	background: #006699;
	color: #fff;
	text-decoration: none;
}
.muta-list .cate-sub .cate-row {
	padding: 6px 8px;
}

/* Accounting > Brands / Taxes (brandPane marque.htm, taxPane toll.htm): reuse the cate-* blocks */
.cate-frm .cate-pic + .cate-hint {
	margin-top: 8px;
}
.tax-pair {
	display: flex;
	gap: 12px;
}
.cate-frm .tax-pair .input-group {
	margin-top: 18px;
}
.cate-frm .tax-pair .tax-name {
	flex: 1 1 auto;
}
.cate-frm .tax-pair .tax-pct {
	flex: 0 0 130px;
	width: 130px;
}
.tax-rate {
	flex: 0 0 auto;
	padding: 2px 10px;
	border-radius: 10px;
	background: #f1f1f1;
	color: #006699;
	font-size: 13px;
	font-weight: 600;
}
@media (max-width: 480px) {
	.cate-frm .tax-pair .tax-pct {
		flex-basis: 104px;
		width: 104px;
	}
}

/* Accounting > Currencies (curPane, coin.htm): exchange rates; reuses cate-* / tax-* */
.cur-base {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	color: #5e5e5e;
	font-size: 13px;
}
.cur-code {
	flex: 0 0 auto;
	min-width: 44px;
	padding: 3px 6px;
	border-radius: 6px;
	background: #006699;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	letter-spacing: .5px;
}
.cate-frm .tax-pair .cur-show {
	flex: 0 0 170px;
	width: 170px;
}
.cur-off {
	align-self: flex-start;
	margin: 2px 0;
	padding: 1px 6px;
	border-radius: 8px;
	background: #ecebeb;
	color: #5e5e5e;
	font-size: 11px;
	font-style: normal;
}
@media (max-width: 480px) {
	.cate-frm .tax-pair.cur-pair,
	.cate-frm .tax-pair:has(.cur-show) {
		flex-direction: column;
		gap: 0;
	}
	.cate-frm .tax-pair .cur-show {
		flex-basis: auto;
		width: 100%;
	}
}

/* ==========================================================================
   Accounting > Products (product::getStore list, product::asset post.htm editor). Theme colours only.
   ========================================================================== */
/* list rows: picture or a product (box) icon, two-line title, category · brand · price */
#stage .lst .patimg.pro-thumb {
	border-radius: 8px;
	background: #f1f1f1;
}
#stage .lst .patimg.pro-thumb.no-img {
	position: relative;
}
#stage .lst .patimg.pro-thumb.no-img img {
	display: none;
}
#stage .lst .patimg.pro-thumb.no-img::after {
	content: "";
	position: absolute;
	inset: 10px;
	background: #5e5e5e;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
#stage .lst .pro-thumb ~ .context .head {
	height: auto;
	max-height: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.35;
}
#stage .lst .pro-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 6px;
	margin-top: 4px;
	color: #5e5e5e;
	font-size: 12px;
}
#stage .lst .pro-meta i {
	font-style: normal;
	color: #d5d5d5;
}
#stage .lst .pro-price {
	color: #006699;
	font-weight: 600;
}

/* editor: header */
#hwinz .pro-vis {
	background: #fff !important;
	color: #006699 !important;
	border: 1px solid #006699;
}
#hwinz .pro-vis:hover {
	background: #f1f1f1 !important;
}
/* editor: tabs as an underlined strip */
.pro-ed {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}
.pro-ed > form {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}
.pro-ed .tabs {
	flex: 0 0 auto;
	display: flex;
	height: auto;
	margin: 0;
	padding: 0 16px;
	gap: 4px;
	border-bottom: 1px solid #dedede;
	list-style: none;
}
.pro-ed .tabs li,
.pro-ed .tabs li:first-child {
	float: none;
	width: auto;
	height: auto;
	padding: 12px 14px 10px;
	background: none;
	border-bottom: 2px solid transparent;
	box-shadow: none;
	color: #5e5e5e;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	white-space: nowrap;
}
.pro-ed .tabs li:hover {
	color: #006699;
}
.pro-ed .tabs li.alive {
	background: none;
	color: #006699;
	border-bottom-color: #006699;
}
.pro-ed .box {
	height: auto;
	overflow: visible;
	padding: 16px;
	box-sizing: border-box;
}
.pro-ed .cate-h {
	margin: 4px 0 10px;
}
.pro-hint {
	margin: 0 0 14px;
}
.pro-lbl {
	display: block;
	margin: 0 0 6px;
	color: #5e5e5e;
	font-size: 13px;
	font-weight: 600;
}
/* product name (contenteditable) looks like a field */
.pro-ed #heading {
	position: static;
	min-height: 0;
	margin: 0 0 6px;
	padding: 10px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.4;
	color: #444444;
}
.pro-ed #heading:focus {
	border-color: #006699;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 102, 153, .15);
}
.pro-ed #heading.highlight {
	border-color: #d9534f;
}
.pro-ed #heading:empty::before {
	content: attr(data-ph);
	color: #5e5e5e;
	opacity: .7;
}
.pro-ed .pro-pair {
	margin-bottom: 4px;
}
.pro-ed .pro-pair .input-group {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	margin: 18px 0 8px;
}
.pro-ed .pro-pair select.info {
	width: 100%;
	box-sizing: border-box;
}
/* description editor */
.pro-ed #dhkm {
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	overflow: hidden;
}
.pro-ed #toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	height: auto;
	padding: 6px 8px;
	background: #f1f1f1;
	border-bottom: 1px solid #dedede;
}
.pro-ed #toolbar .btn-group {
	display: flex;
	gap: 2px;
}
.pro-ed #toolbar .bHtm {
	padding: 4px 6px;
	border: 0;
	border-radius: 6px;
	background: none;
	cursor: pointer;
}
.pro-ed #toolbar .bHtm:hover {
	background: #dedede;
}
.pro-ed #dhkm #editor {
	min-height: 140px;
	padding: 12px;
	font-size: 14px;
	line-height: 1.5;
}
.pro-ed #pie {
	min-height: 0;
	padding: 6px;
	border-top: 1px solid #dedede;
}
.pro-ed #pie:empty {
	display: none;
}
.pro-ed #pie .tsrc {
	border-radius: 6px;
	background: #fff;
}
/* category tab: the theme's bright selection becomes the panel's selection */
.pro-ed #cLog {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-size: 14px;
}
.pro-ed #cLog:focus {
	border-color: #006699;
	outline: none;
}
.pro-ed #twist {
	margin: 0;
	padding: 0;
	border: 1px solid #dedede;
	border-radius: 8px;
	overflow: hidden;
}
.pro-ed #twist li {
	position: relative;
	padding: 10px 12px;
	color: #444444;
	cursor: pointer;
}
.pro-ed #twist > li:last-child {
	border-bottom: 0;
}
.pro-ed #twist li:hover {
	background: #f1f1f1;
}
.pro-ed #twist li#new-geta {
	cursor: default;
	background: #fff;
}
.pro-ed #twist .slink,
.pro-ed ul .slink {
	background: #ecebeb !important;
	box-shadow: inset 3px 0 0 #006699;
	color: #006699;
	font-weight: 600;
}
.pro-ed #twist .twist-st {
	margin: 8px 0 0 12px;
	padding: 0 0 0 10px;
	border-left: 1px solid #d5d5d5;
	list-style: none;
}
.pro-ed #twist .twist-st li {
	padding: 6px 8px;
	border: 0;
	font-weight: 400;
	color: #444444;
}
/* variants + stock tables */
.pro-ed #suite {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.pro-ed #suite th,
.pro-ed #vend th {
	padding: 8px;
	border-bottom: 1px solid #dedede;
	color: #5e5e5e;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.pro-ed #suite td {
	padding: 8px;
	border-bottom: 1px solid #ecebeb;
	vertical-align: top;
}
.pro-ed #suite td:empty {
	display: none;
}
.pro-ed #suite select,
.pro-ed #vend select,
.pro-ed #vend input.input-ven {
	width: 100%;
	box-sizing: border-box;
	min-height: 36px;
	padding: 6px 8px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}
.pro-ed #suite select:focus,
.pro-ed #vend select:focus,
.pro-ed #vend input.input-ven:focus,
.pro-ed .tag-field:focus-within {
	border-color: #006699;
	outline: none;
}
.pro-ed .tag-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 36px;
	box-sizing: border-box;
	padding: 2px 6px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
}
.pro-ed .tag-field .tiny {
	float: none;
	padding: 2px;
}
.pro-ed .tag-field .tiny div {
	margin: 2px 4px 2px 0;
	background: #006699;
}
.pro-ed .tag-field .itag {
	flex: 1 1 120px;
	min-width: 100px;
	margin: 0;
	padding: 6px 4px;
	border: 0;
	outline: none;
	font-family: inherit;
	font-size: 14px;
}
.pro-scroll {
	overflow-x: auto;
	border: 1px solid #dedede;
	border-radius: 8px;
}
.pro-ed #vend {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border-collapse: collapse;
}
.pro-ed #vend td {
	height: auto;
	padding: 8px;
	border-top: 1px solid #ecebeb;
	vertical-align: middle;
}
.pro-ed #vend .input-ven {
	margin: 0;
}
.pro-ed #vend .patimo {
	width: 56px;
	height: 56px;
	margin: 0 10px 0 0;
	border: 1px dashed #d5d5d5;
	border-radius: 8px;
	background: #f1f1f1;
}
.pro-ed #vend .patimo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pro-ed #vend .imo-desc {
	margin: 0;
	padding: 0;
	height: auto;
	line-height: 56px;
}
@media (max-width: 767px) {
	.pro-ed .tabs {
		padding: 0 8px;
		overflow-x: auto;
	}
	.pro-ed .tabs li,
	.pro-ed .tabs li:first-child {
		padding: 10px 10px 8px;
		font-size: 13px;
	}
	.pro-ed .box {
		padding: 12px;
	}
	.pro-ed .pro-pair {
		flex-direction: column;
		gap: 0;
	}
	.pro-ed #suite th:first-child,
	.pro-ed #suite td:first-child {
		width: 38%;
	}
}
/* the theme's .info strips borders with !important: the stock inputs need theirs back */
.pro-ed #vend input.input-ven {
	border: 1px solid #d5d5d5 !important;
	text-align: right;
}
.pro-ed #vend input.input-ven:focus {
	border-color: #006699 !important;
}
/* stock columns: product grows, the rest keep a usable width (the th width="4%" attributes squeezed Stock) */
.pro-ed #vend th:nth-child(1) { width: auto; }
.pro-ed #vend th:nth-child(2) { width: 130px; }
.pro-ed #vend th:nth-child(3) { width: 80px; }
.pro-ed #vend th:nth-child(4) { width: 90px; }
.pro-ed #vend th:nth-child(5) { width: 150px; }
.pro-ed #vend td:first-child {
	min-width: 140px;
}
.pro-ed #vend .patimo {
	float: left;
}
/* missing picture (file not on the server): box icon instead of a broken image */
.pro-ed #pie .tsrc.no-img,
.pro-ed #vend .patimo.no-img {
	position: relative;
	background: #f1f1f1;
}
.pro-ed #pie .tsrc.no-img img,
.pro-ed #vend .patimo.no-img img {
	visibility: hidden;
}
.pro-ed #pie .tsrc.no-img::after,
.pro-ed #vend .patimo.no-img::after {
	content: "";
	position: absolute;
	inset: 16px;
	background: #5e5e5e;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

/* ==========================================================================
   Accounting > Transactions (product::slip ledger.htm list, product::vocha transation.htm order). Theme colours only.
   ========================================================================== */
.tx-sum {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid #ecebeb;
}
.tx-sum > div,
.tx-grid > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #dedede;
	border-radius: 8px;
}
.tx-sum small,
.tx-grid small {
	color: #5e5e5e;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.tx-sum b,
.tx-grid b {
	color: #444444;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tx-sum span {
	color: #5e5e5e;
	font-size: 11px;
}
.tx-sum .tx-due b,
.tx-grid .tx-due b {
	color: #d9534f;
}
#stage .lst .tx-av,
.tx-cust .tx-av {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #006699;
	border-color: #006699;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .5px;
}
#stage .lst li.tx-row .context {
	flex: 1 1 auto;
	min-width: 0;
}
.tx-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	margin-left: 10px;
	font-size: 13px;
	color: #444444;
	white-space: nowrap;
}
.tx-chip {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
}
.tx-chip.tx-paid {
	background: #006699;
	color: #fff;
}
.tx-chip.tx-part {
	background: #ecebeb;
	color: #006699;
	box-shadow: inset 0 0 0 1px #006699;
}
.tx-chip.tx-unpaid {
	background: #fff;
	color: #d9534f;
	box-shadow: inset 0 0 0 1px #d9534f;
}
/* order details */
.tx-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: #5e5e5e;
	font-size: 13px;
}
.tx-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.tx-sec .cate-h {
	margin-bottom: 10px;
}
.tx-cust {
	display: flex;
	align-items: center;
	gap: 12px;
}
.tx-cust .tx-av {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
.tx-cust div {
	display: flex;
	flex-direction: column;
	color: #444444;
}
.tx-cust small {
	color: #5e5e5e;
	font-size: 12px;
}
.tx-table {
	overflow-x: auto;
}
.tx-table table {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
	font-size: 14px;
	color: #444444;
}
.tx-table th {
	padding: 6px 8px;
	border-bottom: 1px solid #dedede;
	color: #5e5e5e;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.tx-table td {
	padding: 8px;
	border-bottom: 1px solid #ecebeb;
	vertical-align: top;
}
.tx-table th:nth-child(n+2),
.tx-table td:nth-child(n+2) {
	text-align: right;
	white-space: nowrap;
}
.tx-table tfoot td {
	border-bottom: 0;
	font-weight: 600;
}
.tx-pays .cate-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-bottom: 1px solid #ecebeb;
}
.tx-pays .cate-item:last-child {
	border-bottom: 0;
}
@media (max-width: 767px) {
	.tx-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tx-sum {
		padding: 10px 12px;
	}
	.tx-sum b {
		font-size: 13px;
	}
	.tx-table table {
		min-width: 0;
		font-size: 13px;
	}
	.tx-table .tx-up {
		display: none;
	}
	.tx-table tfoot td:first-child {
		text-align: left;
	}
}

/* ==========================================================================
   Setting > Import/Syn (user::mesh list mesh.htm, user::gate syn.htm). Theme colours only.
   ========================================================================== */
#stage .lst .syn-list li .context {
	flex: 1 1 auto;
	min-width: 0;
}
#stage .lst .syn-list .pro-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
.syn-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid #dedede;
	border-radius: 8px;
}
.syn-card > img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #dedede;
	object-fit: cover;
}
.syn-card > div:first-of-type {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #444444;
}
.syn-card > div:first-of-type span {
	color: #5e5e5e;
	font-size: 13px;
}
.syn-state {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.syn-state small {
	color: #5e5e5e;
	font-size: 11px;
	white-space: nowrap;
}
#synFrm .input-group {
	width: 100%;
	box-sizing: border-box;
	margin: 18px 0 10px;
}
#synFrm .input-group .info {
	box-sizing: border-box;
	width: 100%;
}
#synFrm input::placeholder {
	color: #5e5e5e;
	opacity: .7;
	font-size: 13px;
}
#synFrm .input-group:has(input.highlight) {
	border-color: #d9534f;
}
.cate-all .cate-row .tx-chip {
	flex: 0 0 auto;
}
@media (max-width: 480px) {
	.syn-card {
		flex-wrap: wrap;
	}
	.syn-card > div:first-of-type {
		flex: 1 1 calc(100% - 62px);
	}
	.syn-state {
		flex-direction: row;
		align-items: center;
		width: 100%;
		justify-content: space-between;
	}
}
#stage .lst .syn-list .head {
	height: auto;
	max-height: none;
}
.syn-saved {
	margin: -4px 0 6px;
	color: #006699;
	font-size: 12px;
}

/* ==========================================================================
   Setting > Personal Information: camera badge on the profile avatar (#stamp dHtml=InsertSeal → media library).
   #pics is node.js's own marker inside #stamp (it re-creates it after a pick), so the badge survives a new picture.
   Not in the Accounting panes (.cate-stamp hides #pics).
   ========================================================================== */
#stamp:not(.cate-stamp) {
	position: relative;
	width: 130px;
	cursor: pointer;
}
#stamp:not(.cate-stamp) #psrc {
	box-sizing: border-box;
	width: 130px;
	height: 130px;
	transition: box-shadow .15s ease;
}
#stamp:not(.cate-stamp) #psrc img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#stamp:not(.cate-stamp):hover #psrc,
#stamp:not(.cate-stamp):focus-visible #psrc {
	box-shadow: 0 0 0 3px rgba(0, 102, 153, .25);
}
#stamp:not(.cate-stamp) #pics {
	position: absolute;
	right: 2px;
	bottom: 6px;
	z-index: 2;
	display: block;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #006699;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	pointer-events: none;
	transition: background-color .15s ease;
}
#stamp:not(.cate-stamp) #pics::before {
	content: "";
	position: absolute;
	inset: 6px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7.5 6.5H4.5A2.5 2.5 0 0 0 2 9v9a2.5 2.5 0 0 0 2.5 2.5h15A2.5 2.5 0 0 0 22 18V9a2.5 2.5 0 0 0-2.5-2.5h-3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7.5 6.5H4.5A2.5 2.5 0 0 0 2 9v9a2.5 2.5 0 0 0 2.5 2.5h15A2.5 2.5 0 0 0 22 18V9a2.5 2.5 0 0 0-2.5-2.5h-3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
#stamp:not(.cate-stamp):hover #pics {
	background-color: #6699cc;
}

/* ==========================================================================
   Setting > Business Profile (setbiz.htm), Menu (setmenu.htm), Change Password (setpass.htm). Theme colours only.
   ========================================================================== */
.cate-frm .input-group {
	box-sizing: border-box;
}
.cate-frm .input-group .info {
	box-sizing: border-box;
	width: 100%;
}
/* logo: smaller avatar with the same camera badge */
#stamp.biz-stamp {
	position: relative;
	left: auto;
	transform: none;
	flex: 0 0 96px;
	width: 96px;
	margin-top: 14px;
}
#stamp.biz-stamp #psrc {
	width: 96px;
	height: 96px;
}
#stamp.biz-stamp #pics {
	width: 30px;
	height: 30px;
	right: -2px;
	bottom: 0;
}
#stamp.biz-stamp #pics::before {
	inset: 5px;
}
.biz-pair .input-group {
	flex: 1 1 0;
	min-width: 0;
	margin: 18px 0 8px;
}
.cate-frm .biz-pair .biz-code {
	flex: 0 0 120px;
	width: 120px;
}
.biz-card {
	align-items: flex-start;
}
.biz-card > div:first-of-type span {
	display: block;
}
/* menu: position, editable name, move arrows */
.mnu-list .mnu-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 4px;
	border-bottom: 1px solid #ecebeb;
}
.mnu-list .mnu-row:last-child {
	border-bottom: 0;
}
.mnu-list .mnu-row.is-on {
	background: #ecebeb;
	box-shadow: inset 3px 0 0 #006699;
	border-radius: 6px;
}
.mnu-pos {
	flex: 0 0 28px;
	height: 28px;
	border-radius: 50%;
	background: #006699;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
}
.cate-frm .mnu-name {
	flex: 1 1 auto;
	min-width: 0;
	margin: 18px 0 8px;
}
.mnu-move {
	flex: 0 0 auto;
	display: flex;
	gap: 6px;
}
.mnu-list .cate-row.mnu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	color: #006699;
	font-size: 12px;
}
.mnu-list .cate-row.mnu-btn:hover {
	border-color: #006699;
	background: #f1f1f1;
}
.mnu-list .cate-row.mnu-btn[aria-disabled="true"] {
	color: #d5d5d5;
	pointer-events: none;
}
/* password: locked for guests */
#passFrm input:disabled {
	background: #f1f1f1;
	cursor: not-allowed;
}
#passFrm .input-group:has(input:disabled) {
	opacity: .6;
}
@media (max-width: 480px) {
	.biz-pair {
		flex-direction: column;
		gap: 0;
	}
	.biz-pair:has(.biz-code) {
		flex-direction: row;
		gap: 8px;
	}
	.cate-frm .biz-pair .biz-code {
		flex-basis: 104px;
		width: 104px;
	}
	.mnu-list .mnu-row {
		gap: 8px;
	}
	.mnu-list .cate-row.mnu-btn {
		width: 32px;
		height: 32px;
	}
}
/* guests have no password: no Save */
#hwinz:has(~ #cbox #pWord:disabled) .saveBtn {
	display: none;
}

/* ==========================================================================
   Memo > AutoMail (memo::lane autolist.htm, memo::mask automail.htm) and Contacts (user::fellow contlist.htm, user::verso contpane.htm).
   ========================================================================== */
#stage .lst .auto-list li .context {
	flex: 1 1 auto;
	min-width: 0;
}
#stage .lst .auto-list .head {
	height: auto;
	max-height: none;
}
#stage .lst .auto-list .pro-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
#stage .lst .auto-list li.auto-new .tx-av {
	background: #fff;
	color: #006699;
	border: 1px dashed #006699;
	font-size: 20px;
	font-weight: 400;
}
.auto-pair .input-group {
	flex: 1 1 0;
	min-width: 0;
	margin: 18px 0 8px;
}
.auto-text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 180px;
	padding: 10px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
}
.auto-text:focus {
	border-color: #006699;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 102, 153, .15);
}
.auto-tokens {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.auto-tokens li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border: 1px solid #dedede;
	border-radius: 12px;
	font-size: 12px;
	color: #5e5e5e;
}
.auto-tokens code {
	color: #006699;
	font-weight: 600;
	background: none;
	padding: 0;
}
.auto-mail {
	border: 1px solid #dedede;
	border-radius: 8px;
	overflow: hidden;
}
.auto-subj {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	background: #f1f1f1;
	border-bottom: 1px solid #dedede;
	color: #444444;
}
.auto-subj small {
	color: #5e5e5e;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.auto-body {
	padding: 12px 14px;
	color: #444444;
	font-size: 14px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
.auto-body p {
	margin: 0 0 10px;
}
.auto-body a {
	color: #006699;
}
.cont-grid {
	margin-bottom: 10px;
}
@media (max-width: 480px) {
	.auto-pair {
		flex-direction: column;
		gap: 0;
	}
	.auto-pair .input-group.cur-show {
		width: 100%;
		flex-basis: auto;
	}
}
/* Business Profile: logo centred on top like Personal Information, form below */
.biz-logo {
	padding: 4px 0 6px;
}
.cate-frm .biz-logo + .input-group {
	margin-top: 18px;
}

/* ==========================================================================
   Memo chat (memo::postman list, memo::chatib chatroom.htm) — live over wss://chat.jawabu.net/ws. Theme colours only.
   ========================================================================== */
#stage .lst .chat-list li .context {
	flex: 1 1 auto;
	min-width: 0;
}
#stage .lst .chat-list .head {
	height: auto;
	max-height: none;
}
#stage .lst .chat-list .chat-prev {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
#stage .lst .chat-list li.has-unread .head b,
#stage .lst .chat-list li.has-unread .chat-prev {
	color: #444444;
	font-weight: 700;
}
.chat-when {
	color: #5e5e5e;
	font-size: 11px;
}
.chat-badge {
	min-width: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: #006699;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}
.chat-badge[hidden] {
	display: none;
}
.chat-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #006699;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
/* the conversation fills the pane: header, messages (scroll), composer */
#cbox.chat-box {
	padding: 0;
	gap: 0;
	overflow: hidden;
}
#cbox.chat-box > .syn-card,
#cbox.chat-box > .alert,
#cbox.chat-box > .cate-sec {
	margin: 16px;
}
.chat-room {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.chat-head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-bottom: 1px solid #ecebeb;
}
.chat-head .tx-av {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #006699;
	color: #fff;
	font-weight: 600;
}
.chat-head > div {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	color: #444444;
}
.chat-presence {
	color: #5e5e5e;
	font-size: 12px;
}
.chat-presence.on {
	color: #006699;
}
.chat-link {
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d5d5d5;
}
body.chat-live .chat-link {
	background: #006699;
	box-shadow: 0 0 0 3px rgba(0, 102, 153, .18);
}
.chat-log {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	margin: 0;
	padding: 12px 16px;
	list-style: none;
	background: #f1f1f1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.chat-day {
	align-self: center;
	margin: 8px 0;
}
.chat-day span {
	padding: 2px 10px;
	border-radius: 10px;
	background: #fff;
	color: #5e5e5e;
	font-size: 11px;
}
.chat-empty {
	align-self: center;
	margin: auto;
	color: #5e5e5e;
}
.chat-msg {
	display: flex;
}
.chat-msg.mine {
	justify-content: flex-end;
}
.chat-bubble {
	max-width: 78%;
	padding: 7px 10px 5px;
	border-radius: 12px 12px 12px 4px;
	background: #fff;
	color: #444444;
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.chat-msg.mine .chat-bubble {
	border-radius: 12px 12px 4px 12px;
	background: #006699;
	color: #fff;
}
.chat-meta {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	float: right;
	margin: 6px 0 0 10px;
	font-size: 10px;
	opacity: .75;
}
.chat-tick::after {
	content: "\2713";
	font-style: normal;
}
.chat-tick.seen::after {
	content: "\2713\2713";
	letter-spacing: -3px;
}
.chat-err {
	margin: 0;
	padding: 6px 16px;
	background: #fff;
	color: #d9534f;
	font-size: 12px;
}
.chat-send {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #ecebeb;
	background: #fff;
}
.chat-send textarea {
	flex: 1 1 auto;
	min-height: 40px;
	max-height: 140px;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 20px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	resize: none;
}
.chat-send textarea:focus {
	border-color: #006699;
	outline: none;
}
.chat-go-btn {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #006699;
	cursor: pointer;
	position: relative;
}
.chat-go-btn::before {
	content: "";
	position: absolute;
	inset: 11px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chat-go-btn:hover {
	background: #6699cc;
}
.chat-send.is-busy {
	opacity: .6;
	pointer-events: none;
}
@media (max-width: 767px) {
	.chat-bubble {
		max-width: 88%;
	}
	.chat-log {
		padding: 10px;
	}
}

/* Setting > Menu: sub-pages (page.cInherit = another site-menu page) indented under their parent */
.mnu-list .mnu-row.mnu-sub {
	margin-left: 22px;
	padding-left: 12px;
	border-left: 2px solid #dedede;
	border-bottom-color: transparent;
}
.mnu-list .mnu-row.mnu-d2 {
	margin-left: 44px;
}
.mnu-list .mnu-row.mnu-d3 {
	margin-left: 66px;
}
.mnu-list .mnu-sub .mnu-pos {
	flex: 0 0 auto;
	min-width: 28px;
	padding: 0 4px;
	box-sizing: border-box;
	border-radius: 14px;
	background: #fff;
	color: #006699;
	box-shadow: inset 0 0 0 1px #006699;
	font-size: 11px;
}
@media (max-width: 480px) {
	.mnu-list .mnu-row.mnu-sub {
		margin-left: 12px;
		padding-left: 8px;
	}
	.mnu-list .mnu-row.mnu-d2 {
		margin-left: 24px;
	}
	.mnu-list .mnu-row.mnu-d3 {
		margin-left: 36px;
	}
}
