body.manager-mode{--accent:#f49336;--manager-bg:#f4f1e9;background:var(--manager-bg);color:#252328;font:15px/1.5 Arial,Helvetica,sans-serif}
body.manager-mode header{min-height:68px;padding:12px 22px;gap:10px}body.manager-mode .brand{gap:12px}body.manager-mode .brand img{width:100px;height:38px}body.manager-mode .brand>span{display:inline;border:0;padding:0;color:#252328;font-size:15px;letter-spacing:0;font-weight:600;white-space:nowrap}body.manager-mode #mode{display:none}
body.manager-mode .app-shell{max-width:1150px;grid-template-columns:170px minmax(0,1fr)}body.manager-mode main{max-width:820px;padding:26px 28px 90px}body.manager-mode main>.eyebrow{display:none}body.manager-mode h1{font-size:30px;line-height:1.15;letter-spacing:-.7px;margin:7px 0 12px}body.manager-mode h2{font-size:18px;line-height:1.3;letter-spacing:-.2px}body.manager-mode h3{font-size:16px}body.manager-mode .muted{font-size:13px;color:#7b7780;line-height:1.6}.m-subtitle{margin:0 0 24px}
body.manager-mode .card,body.manager-mode form{border:1px solid #ded9cf;border-radius:14px;background:white;padding:20px;margin:16px 0;max-width:none}body.manager-mode input,body.manager-mode select,body.manager-mode textarea{font-size:16px;min-height:48px;border-radius:9px;color:#252328;background:white}body.manager-mode label{font-size:13px;margin:18px 0 8px}body.manager-mode textarea{min-height:155px}body.manager-mode input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:#e78c32}
body.manager-mode button{font-size:14px;border-radius:10px;min-height:46px;padding:12px 16px}body.manager-mode button.m-primary{background:var(--accent);color:#211d1c;font-weight:600}body.manager-mode button.m-primary:hover{background:#e9872c}.m-full{display:block;width:100%;margin:9px 0}.m-link{background:transparent!important;color:#994b17!important;border:0!important;box-shadow:none!important}.m-back{padding:5px 0!important;background:transparent!important;color:#7b7780!important;font-size:13px!important;min-height:30px!important;margin:0 0 8px!important}.m-primary:disabled{background:#e5b581!important;color:#6a4e31!important}
.m-rating{background:#242126;color:white;padding:22px;border-radius:14px;margin:24px 0 16px;position:relative}.m-rating>span{font-size:13px}.m-rating h2{font-size:25px!important;color:white;margin:12px 0}.m-rating p{font-size:12px;color:#d6d0d8;max-width:90%;margin-bottom:0}.m-rating button{color:#fff;background:transparent;padding:3px 0;font-size:12px!important;min-height:30px!important;margin-bottom:0}.m-material-card{display:flex;width:100%;align-items:center;justify-content:space-between;background:white!important;color:#252328!important;border:1px solid #ddd7ce!important;text-align:left;padding:20px!important;margin:16px 0!important}.m-material-card small{display:block;font-size:11px;color:#9c4b13;margin-bottom:8px}.m-material-card strong{display:block;font-size:18px;max-width:250px;line-height:1.3}.m-material-card svg{width:48px;height:48px;color:#74707c}.m-motivation{background:#fcebdc;border-radius:12px;padding:20px;margin:16px 0 24px;font-size:16px;line-height:1.5}
.m-empty{background:#fff;border:1px solid #ddd8cf;border-radius:14px;text-align:center;padding:42px 24px;margin:22px 0}.m-empty h2{margin:0 0 12px}.m-empty p{max-width:420px;margin:0 auto}.m-segmented{margin:22px 0}.m-segmented button{flex:1;min-width:0}.m-record h2{font-size:17px}.m-record>button{width:100%;text-align:left;color:#994b17!important;background:#fcf0e5!important}
.m-prices{display:flex;justify-content:space-between;gap:22px;margin:21px 0 13px}.m-prices>span{display:flex;flex-direction:column;gap:5px;min-width:0}.m-prices small{font-size:12px;color:#807986}.m-prices strong{font-size:22px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.m-prices.compact{margin:18px 0}.m-prices.compact strong{font-size:17px}.m-line-prices{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#7b7780;margin:16px 0 4px}.m-line-prices strong{color:#252328;font-size:14px;margin-left:5px;white-space:nowrap}.m-totals{margin:22px 0 25px}.m-totals p{display:flex;align-items:baseline;justify-content:space-between;gap:14px;font-size:14px;color:#79717b}.m-totals strong{color:#252328;font-size:24px;white-space:nowrap}
.m-room-options{background:white;border:1px solid #ded9cf;border-radius:10px;padding:7px 12px;margin-top:-4px}.m-room-options[hidden]{display:none}.m-room-options button{display:block;width:100%;text-align:left;background:white!important;color:#252328!important;border-radius:0!important;border-bottom:1px solid #eee7dd!important;margin:0!important;padding:14px 4px!important}.m-room-options p{font-size:13px}.m-project-title{width:100%;padding:0!important;margin:0!important;min-height:36px!important;text-align:left;background:transparent!important;color:#252328!important;font-size:18px!important;font-weight:600;display:flex;justify-content:space-between;gap:14px}.m-project-title span{color:#888;font-weight:400;font-size:24px}.m-document-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.m-document-buttons button{margin:0;font-size:12px!important;padding:10px 6px!important}.m-proposal pre{font-size:14px;line-height:1.7}.m-status{display:inline-block;padding:6px 10px;border-radius:7px;font-size:12px;white-space:nowrap}.m-status.neutral,.m-order-notice.neutral{background:#eae7e4;color:#706b73}.m-status.yellow,.m-order-notice.yellow{background:#faf0d7;color:#95630d}.m-status.blue,.m-order-notice.blue{background:#e3eff7;color:#2e6a90}.m-status.green,.m-order-notice.green{background:#e6f0e8;color:#397e54}
.m-order{display:block;width:100%;text-align:left;color:#252328!important;margin:12px 0!important}.m-order>.muted{float:right;font-size:11px}.m-order h2{margin:13px 0 22px;font-size:17px!important}.m-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.m-order-bottom small{font-size:12px;color:#807986}.m-order-bottom strong{font-size:19px}.m-order-summary p{display:flex;justify-content:space-between;gap:12px;color:#7b7780}.m-order-summary strong{color:#252328}.m-order-notice{border:0!important}.m-order-notice h2{font-size:22px!important;margin-bottom:12px}.m-order-notice p{margin-bottom:0;font-size:14px}.m-ticket-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.m-ticket-heading small{font-size:11px;color:#7d7781}.m-message p{white-space:pre-wrap;margin:0}.m-message.sunsara{background:#fcebdc!important}.m-success{text-align:center;padding:44px 24px!important}.m-success h2{font-size:25px!important;margin:22px 0 16px}.m-success p{color:#706a75}.m-success-icon{width:94px;height:94px;display:grid;place-items:center;margin:auto;border-radius:50%;background:#e5f0e8;color:#3a8654;font-size:44px;font-weight:300}
.m-profile-identity{display:flex;align-items:center;gap:20px}.m-profile-identity h2{margin:0 0 6px}.m-profile-identity p{font-size:13px;margin:5px 0}.m-avatar{flex:none;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#fcebdc;color:#994a18;font-size:25px;font-weight:600}.m-avatar img{width:100%;height:100%;object-fit:cover}.m-personal-avatar{margin:4px auto 8px;width:90px;height:90px}.m-profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.m-profile-metrics>.card{margin:0!important;text-align:left;color:#252328}.m-profile-metrics small{color:#817984;font-size:12px}.m-profile-metrics strong{display:block;font-size:33px;margin-top:12px}.m-profile-counts{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 8px!important;text-align:center}.m-profile-counts strong{display:block;font-size:26px}.m-profile-counts span{display:block;font-size:11px;color:#817984;margin-top:4px}.m-profile-action{display:flex;gap:16px;align-items:center;width:100%;color:#252328!important;text-align:left;padding:18px 14px!important}.m-profile-action>svg{color:#9c4c13;background:#eeeae3;width:48px;height:48px;padding:10px;border-radius:10px}.m-profile-action>span{flex:1;min-width:0}.m-profile-action strong{font-size:16px;display:block}.m-profile-action small{font-size:12px;display:block;color:#817984;margin-top:4px}.m-profile-action b{font-weight:400;font-size:23px;color:#85808a}.m-profile-actions{margin-top:24px}
.m-catalog-item{display:flex;align-items:center;gap:16px;width:100%;text-align:left;color:#252328!important;padding:16px 14px!important}.m-catalog-item>.m-catalog-symbol{width:64px;height:64px;display:grid;place-items:center;background:#ece8e2;border-radius:10px;flex:none}.m-catalog-symbol svg{width:44px;height:44px;color:#6a6575}.m-catalog-item>span:nth-child(2){flex:1;min-width:0}.m-catalog-item strong{display:block;font-size:16px;line-height:1.3}.m-catalog-item small{display:block;font-size:12px;font-weight:400;color:#817984;margin-top:6px}.m-catalog-item>b{font-size:23px;font-weight:400;color:#817984}.m-product-image{text-align:center}.m-product-symbol svg{width:190px;height:125px;color:#6d6776;margin:20px auto}.m-product-image p{font-size:12px!important}.m-reactions{display:flex;justify-content:space-between;gap:8px}.m-reactions button{flex:1;min-width:0;font-size:12px!important;padding:8px!important;background:#efebe5;color:#615c68}.owner-tools{display:flex;flex-wrap:wrap;gap:8px}.owner-tools h2{flex-basis:100%}.owner-tools button{margin:0!important}.invitation-result{overflow-wrap:anywhere}.invitation-result input{font-size:12px}.manager-mode #ownerSwitcher{font-size:10px;padding:6px 9px;min-height:32px;max-width:130px;margin:0}
@media(max-width:850px){body.manager-mode .app-shell{display:block}body.manager-mode main{max-width:680px;margin:auto;padding:25px 20px calc(105px + env(safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom,0px))}body.manager-mode #navigation{position:fixed;top:auto;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:auto;padding:5px 3px calc(7px + env(safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom,0px));gap:1px;background:#fff;border:0;border-top:1px solid #ded9cf;z-index:10}body.manager-mode #navigation button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;min-height:54px;margin:0;padding:7px 1px;min-width:0;text-align:center;white-space:nowrap;border-radius:9px;color:#797381;background:transparent}body.manager-mode #navigation button.active{background:#fcebdc;color:#994b17;font-weight:600}body.manager-mode #navigation svg{width:20px;height:20px}body.manager-mode #navigation button.active svg{color:#9c4a13}body.manager-mode header{padding:11px 18px}body.manager-mode header .brand img{width:93px;height:34px}body.manager-mode header .brand>span{font-size:13px}.manager-mode #toast{bottom:calc(85px + env(safe-area-inset-bottom));max-width:90vw;width:max-content;white-space:normal}body.manager-mode.keyboard-open #navigation{display:none}body.manager-mode.keyboard-open main{padding-bottom:30px}}
@media(max-width:380px){body.manager-mode main{padding-left:16px;padding-right:16px}body.manager-mode h1{font-size:28px}.m-line-prices{font-size:10px;gap:7px}.m-line-prices strong{font-size:12px;margin-left:3px}.m-totals p{font-size:12px}.m-totals strong{font-size:21px}.m-catalog-item{gap:12px}.m-catalog-item>.m-catalog-symbol{width:55px;height:55px}.m-catalog-item strong{font-size:15px}.m-profile-action strong{font-size:15px}}

body.manager-mode #mItemForm{background:transparent;border:0;padding:0;margin:8px 0}
#mItemForm .object-type{border:0;padding:0;margin:6px 0 0}
#mItemForm .object-type legend{font-size:13px;font-weight:400;padding:0}
#mItemForm .object-type label:has([name=object_type_choice]){font-size:0;margin:0 0 8px}
#mItemForm label{margin-top:10px}
#mItemForm #mCustomRoom{display:block;margin:0 auto;min-height:38px;padding:5px 8px}

#mAvatarFile[hidden]{display:none}.m-project-title .m-project-label{display:flex;flex-direction:column;gap:5px;font:inherit;color:inherit;min-width:0}.m-project-label small{font-size:12px;color:#7b7780;font-weight:400}.m-project-label strong{font-size:18px;overflow-wrap:anywhere}

.object-type{min-width:0;border:1px solid var(--border,#ddd);border-radius:14px;padding:12px;margin:12px 0}.object-type legend{font-weight:600;padding:0 5px}.object-type [hidden]{display:none!important}
.manager-mode #screen .m-support-form{
 background:none;border:0;padding:0;margin:18px 0;
}
.manager-mode #screen .m-support-form label{margin:12px 0 14px}
.manager-mode #screen .m-support-form textarea{min-height:clamp(145px,30dvh,230px)}
.manager-mode #screen #xTicketMessage textarea{min-height:92px}
.manager-mode #screen .m-message{padding:14px 16px;margin:6px 0 14px}
.manager-mode #screen .m-order-notice.yellow{background:#faf0d7}
.manager-mode #screen .m-order-notice.green{background:#e6f0e8}
.m-geometry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;margin:12px 0;border:1px solid #ded9cf;border-radius:12px}
.m-geometry label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 6px;margin:0;padding:7px;border:1px solid #ded9cf;border-radius:8px;cursor:pointer}
.m-geometry label:has(input:checked){border-color:#934407;background:#fff2e5}
.m-geometry input{margin:0;width:auto}.m-geometry svg{width:100%;max-width:64px;height:36px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.m-geometry span{grid-column:1/-1;font-size:12px;overflow-wrap:anywhere}
.m-quote-table{margin:12px 0}.m-quote-table table{border-collapse:collapse;width:100%;font-size:clamp(11px,3vw,14px)}
.m-quote-table :is(th,td){padding:8px 4px;text-align:left;vertical-align:top;border-bottom:1px solid #ded9cf}
.m-quote-table tbody tr:last-child{font-weight:700}
[data-m-individual] fieldset{margin:10px 0;min-width:0;border:1px solid #ded9cf;border-radius:8px}
.m-catalog-search-row{display:flex;gap:8px;align-items:center}
.m-catalog-search-row input{flex:1;min-width:0;margin:0}
.m-catalog-search-row button{flex:none;margin:0}
#mCatalogCompatibility,.m-catalog-load p{margin:0 0 8px;font-size:13px}
.m-catalog-load{min-width:0;margin:12px 0 0;border:1px solid #ded9cf;border-radius:10px;padding:10px}
.m-catalog-load legend{font-weight:600}
#mCatalogOutcome,#mCatalogFilters{scroll-margin-top:12px}
#mCatalogResultCount{margin:0 0 6px}
.m-catalog-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
body.manager-mode .m-catalog-result-actions button{margin:0}
.m-project-next{margin:14px 0;border-color:#dbcab9}
.m-project-next h2{margin:0 0 6px}
.m-project-next p{margin:0 0 12px}
.m-project-next button{white-space:normal;margin-bottom:0}
.m-project-options{margin:14px 0;padding:0 14px;border:1px solid #ded9cf;border-radius:14px;background:#fff;color:#252328}
.m-project-options>summary{cursor:pointer;padding:13px 0;font-weight:600}
.m-project-options[open]{padding-bottom:12px}
.m-project-options>form{margin:0}
#mCatalogSearch{margin-bottom:16px}
