:root{--light:var(--lex-bg-f5f6f8,#f5f6f8);--muted:var(--lex-text-636b73,#636b73);--blue:var(--lex-text-2798ff,#2798ff)}body{background:var(--lex-bg-fff,#fff);-webkit-text-size-adjust:100%}h1{font-size:32px;line-height:1.16;letter-spacing:-.7px}h2{font-size:24px;letter-spacing:-.35px}h3{font-size:19px;line-height:1.3}.shell{max-width:1200px;padding-top:8px}.top{height:82px}.brand img{width:154px;height:46px}.layout{grid-template-columns:196px minmax(0,1fr);gap:32px}.sidebar{padding-top:20px}.nav{gap:5px}.nav button{padding:13px 14px;border-radius:10px;font-size:15px}.nav button.active{background:var(--lex-bg-edf6ff,#edf6ff)}.btn{border-radius:10px;padding:12px 18px;min-height:46px;font-size:15px;font-weight:500}.btn.blue{background:var(--lex-bg-228ef0,#228ef0)}.btn.outline{border-color:var(--lex-line-dce1e6,#dce1e6)}.page-heading{margin:18px 0 24px}.page-heading p{font-size:16px;margin-top:9px}.admin-heading{margin:18px 0 22px}.admin-heading h1{font-size:29px}.catalog-heading{margin:18px 0 24px}.catalog-tools{margin:0 0 16px}.search-wrap{max-width:none;padding-left:14px;border:1px solid var(--lex-line-e3e7eb,#e3e7eb);background:var(--lex-bg-f7f8fa,#f7f8fa);border-radius:11px}.search{background:transparent;padding:13px 14px;font-size:16px}.tabs{gap:7px;margin-bottom:18px}.tab{border-radius:9px;font-size:14px;padding:10px 14px}.tab.active{background:var(--lex-bg-222,#222)}.cards{gap:16px}.service{border-radius:16px;border-color:var(--lex-line-e0e5e9,#e0e5e9);transition:border-color .15s}.service:hover{transform:none;border-color:var(--lex-line-9ccdf9,#9ccdf9)}.service-art{height:150px;filter:none}.service-info{padding:19px}.service p{font-size:15px;line-height:1.4;margin-bottom:20px}.service h3{font-size:21px;font-weight:500;letter-spacing:-.3px}.tag{font-size:13px;gap:7px}.tag i{width:5px;height:5px}.service-bottom{gap:15px}.price{font-size:21px}.price small{font-size:13px}.detail-button{padding:9px 12px;border-radius:8px;background:var(--lex-bg-edf6ff,#edf6ff);color:var(--lex-text-1778cc,#1778cc);font-size:14px}.ref-banner{padding:21px 23px;background:var(--lex-bg-f7f9fb,#f7f9fb);border:1px solid var(--lex-line-e0e5e9,#e0e5e9);border-radius:15px;align-items:center;margin-top:24px}.ref-banner h3{font-size:19px}.ref-banner p{color:var(--muted);font-size:14px;line-height:1.45;margin-top:6px}.ref-banner .btn{white-space:nowrap}.panel{border-radius:16px;padding:24px;border-color:var(--lex-line-e0e5e9,#e0e5e9)}.section-title{margin:24px 0 17px}.section-title.compact{margin:0 0 16px}.section-title h2{font-size:23px}.detail{gap:28px}.detail h1{font-size:31px}.detail-image{aspect-ratio:1.1;border-radius:16px;max-height:340px}.detail p{line-height:1.55}.detail .price{font-size:27px}.detail .btn{margin-top:0}.check-list li{font-size:16px;padding:13px 0}.check-list li:before{font-size:16px}.back{font-size:14px;margin:3px 0 18px}.ref-hero{display:block;padding:25px 27px;background:var(--lex-bg-f7f9fb,#f7f9fb);border:1px solid var(--lex-line-e0e5e9,#e0e5e9);border-radius:16px}.ref-hero h1{font-size:31px}.ref-hero p{max-width:620px;font-size:16px;color:var(--muted);margin:10px 0 22px}.code-label{font-size:13px;color:var(--muted);margin-bottom:7px}.code{max-width:330px;margin:0 0 15px;background:var(--lex-bg-ffffff,#ffffff);border:1px solid var(--lex-line-d8dfe5,#d8dfe5);border-radius:10px;font-size:25px;letter-spacing:2px;padding:14px 17px}.ref-hero .actions .btn.dark{background:var(--blue)}.stats{gap:12px;margin:18px 0 24px}.stat{border:1px solid var(--lex-line-e0e5e9,#e0e5e9);background:var(--lex-bg-fff,#fff);border-radius:14px;padding:20px}.stat strong{font-size:27px;font-weight:500;letter-spacing:-.5px}.stat span{font-size:14px}.program-terms h2{margin-bottom:13px}.rate-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--lex-line-e4e8eb,#e4e8eb);font-size:16px}.rate-line strong{font-size:22px;font-weight:500;color:var(--lex-text-1778cc,#1778cc)}.program-terms>p{margin-top:16px;line-height:1.5}.ref-client{border-color:var(--lex-line-e0e5e9,#e0e5e9);border-radius:13px;padding:18px}.ref-client-head h3{font-size:19px}.ref-client-head>.muted{font-size:13px}.ref-order{padding-top:17px}.ref-order>div:first-child{min-width:0}.ref-order strong{font-size:16px}.ref-order-status{gap:8px}.ref-order-status .btn{font-size:14px}.reward-calculation{background:var(--lex-bg-f5f8fb,#f5f8fb);border-left:3px solid var(--lex-line-60b3ff,#60b3ff);border-radius:7px;padding:11px 13px;line-height:1.5}.reward-calculation p{font-size:14px}.reward-calculation strong{font-size:14px}.status{border-radius:7px;font-size:13px;font-weight:500;padding:6px 9px;line-height:1.3}.status.unpaid{background:var(--lex-bg-f3f4f6,#f3f4f6);color:var(--lex-text-626972,#626972)}.status.paid{background:var(--lex-bg-eaf7ef,#eaf7ef);color:var(--lex-text-237c45,#237c45)}.source-tag{font-size:13px;color:var(--muted);margin:7px 0!important}.source-link{display:inline-block;font-size:14px;color:var(--lex-text-1778cc,#1778cc);text-decoration:underline;text-underline-offset:3px;margin-bottom:12px;overflow-wrap:anywhere}.source-link:focus-visible{outline-offset:4px}.empty{border:1px dashed var(--lex-line-dbe1e6,#dbe1e6);border-radius:13px;background:var(--lex-bg-fafbfc,#fafbfc);padding:30px 22px}.empty h2,.empty h3{font-size:20px}.empty p{font-size:15px}.empty-hint{padding:22px;border:1px dashed var(--lex-line-dbe1e6,#dbe1e6);border-radius:12px;color:var(--muted);line-height:1.5;font-size:15px}.admin-tabs{gap:7px;margin:0 0 24px}.admin-item{border-radius:12px;border-color:var(--lex-line-e0e5e9,#e0e5e9);padding:16px}.admin-item h3{font-size:18px}.admin-item p{font-size:14px;line-height:1.45}.admin-item img{width:55px;height:55px}.admin-orders{gap:15px}.admin-order{padding:20px;border-radius:14px}.order-admin-actions{margin-top:20px}.order-head h3{font-size:20px}.order-customer strong{font-size:16px}.order-admin-actions .btn{font-size:14px}.payout-balances>div{background:var(--lex-bg-f5f8fb,#f5f8fb);border-radius:10px}.payout-balances strong{font-weight:500;font-size:24px}.contact-card{border:1px solid var(--lex-line-e0e5e9,#e0e5e9);border-radius:15px;background:var(--lex-bg-fff,#fff)}.contact-card .icon{color:var(--lex-text-1778cc,#1778cc)}.contact-card h3{font-size:21px}.profile-welcome{max-width:650px;margin:20px auto}.profile-welcome h1{font-size:31px}.profile-welcome>p{font-size:16px;line-height:1.5;margin:12px 0 23px}.profile-welcome .panel{margin-top:0}.form{gap:17px}.form label{font-size:14px;line-height:1.4;gap:8px}.form input,.form textarea,.form select,input.search{font-size:16px!important;line-height:1.4;min-height:48px;border-color:var(--lex-line-dce2e7,#dce2e7);border-radius:10px;background-color:var(--lex-bg-f8f9fb,#f8f9fb);padding:12px 14px}.form select{padding-right:36px}.form textarea{min-height:110px}.form input[type=checkbox]{min-height:0;width:19px;height:19px;padding:0}.form input[type=hidden]{display:none}.form input[type=color]{padding:5px}.form .check{font-size:14px;line-height:1.5}.form .small,.form .muted{line-height:1.5}.notice{font-size:14px;background:var(--lex-bg-f3f7fb,#f3f7fb);color:var(--lex-text-495764,#495764);border-radius:10px;padding:14px 16px;line-height:1.5}.order-person{background:var(--lex-bg-f7f9fb,#f7f9fb);border:1px solid var(--lex-line-e1e6eb,#e1e6eb);border-radius:10px;margin-bottom:20px}.ref-attached{border:1px solid var(--lex-line-d6e9dd,#d6e9dd);background:var(--lex-bg-f2faf5,#f2faf5);color:var(--lex-text-39764f,#39764f);border-radius:9px}.form-section{display:grid;gap:16px;margin-bottom:21px}.form-section h3{font-size:18px;margin:3px 0 0}.form-section:last-child{margin-bottom:0}.lookup-row{display:flex;align-items:center;gap:9px}.lookup-row input{min-width:0;flex:1}.lookup-row .btn{flex-shrink:0;height:48px}.lookup-success{border:1px solid var(--lex-line-d8e7df,#d8e7df);border-radius:10px;padding:14px 16px;background:var(--lex-bg-f4faf6,#f4faf6);display:grid;gap:5px;font-size:16px}.lookup-success span{font-size:14px;color:var(--muted)}#external-referrer-result:empty{display:none}.external-service{border:1px solid var(--lex-line-e0e5e9,#e0e5e9);border-radius:12px;padding:16px;display:grid;gap:15px;margin-bottom:14px}.external-service:last-child{margin-bottom:0}.external-service-head{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;color:var(--muted);margin-bottom:1px}.text-button{padding:2px 0;background:none;font-size:14px;color:var(--lex-text-68747f,#68747f);text-decoration:underline;text-underline-offset:3px}.text-button:hover{color:var(--lex-text-1778cc,#1778cc)}.paid-fields{display:grid;gap:10px}.calculation-hint{padding:10px 12px;border-radius:8px;background:var(--lex-bg-edf6ff,#edf6ff);color:var(--lex-text-28638f,#28638f);font-size:14px}.external-service .form-row{gap:12px}.form-error{color:var(--lex-text-b64738,#b64738);font-size:14px;line-height:1.45}.form-error:empty{display:none}dialog{border-radius:18px;padding:26px;box-shadow:0 16px 70px var(--lex-shadow-0b172d29,#0b172d29);max-height:88dvh}dialog::backdrop{background:var(--lex-bg-17263466,#17263466);backdrop-filter:none}.modal-top{margin-bottom:23px}.modal-top h2{font-size:24px}.close{background:var(--lex-bg-f2f4f6,#f2f4f6);color:var(--lex-text-5d6872,#5d6872);width:34px;height:34px;font-size:25px}.success p{font-size:16px}.success-mark{width:65px;height:65px;font-size:32px;border-radius:16px}.loading p{font-size:16px}.nav{backdrop-filter:none}#toast{font-size:15px;border-radius:10px}#external-details .section-title.compact{margin-bottom:0}#external-details h3{margin:0}.editor-image{border-radius:12px}.form input:read-only{background:var(--lex-bg-eef1f4,#eef1f4);color:var(--lex-text-64707b,#64707b)}
@media(min-width:1500px){.shell{max-width:1250px}.layout{grid-template-columns:205px minmax(0,1fr)}.service-art{height:165px}}
@media(max-width:950px){.shell{padding-top:0}.layout{display:block}.top{height:78px}.nav{position:fixed;top:auto;bottom:0;background:var(--lex-bg-fff,#fff);border-top:1px solid var(--lex-line-e0e5e9,#e0e5e9);padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:2px}.nav button{font-size:12px;padding:8px 4px;border-radius:10px;gap:6px}.nav .icon{width:20px;height:20px}.nav button.active{background:var(--lex-bg-edf6ff,#edf6ff)}.editing .nav{visibility:hidden;pointer-events:none}.catalog-heading{margin-top:11px}.admin-heading{margin-top:10px}}
@media(max-width:560px){.shell{padding-left:18px;padding-right:18px;padding-bottom:105px}.top{height:74px}.brand img{width:140px;height:42px}.avatar{width:34px;height:34px;font-size:15px}.preview{font-size:11px;border-radius:7px;padding:5px 7px}.top-right{gap:8px}h1{font-size:29px;letter-spacing:-.6px}h2{font-size:22px}h3{font-size:18px}.page-heading,.catalog-heading{margin:10px 0 22px}.page-heading h1{font-size:29px}.page-heading p{font-size:15px;line-height:1.45;max-width:320px;margin-top:8px}.catalog-tools{margin-bottom:14px}.tabs{margin-bottom:18px;gap:7px}.tab{font-size:14px;padding:10px 13px;border-radius:8px}.cards{grid-template-columns:1fr;gap:12px}.service{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;padding:15px;border-radius:13px}.service-art{width:82px;height:100%;min-height:113px;max-height:156px;border-radius:9px;object-fit:cover}.service-info{padding:0;min-width:0}.service h3{font-size:18px;line-height:1.25;margin-bottom:7px;letter-spacing:-.15px}.service p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35;margin-bottom:12px}.tag{font-size:12px;margin-bottom:7px}.service-bottom{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;margin-top:0}.price{font-size:18px}.price small{font-size:12px;line-height:1.35;margin-top:3px}.detail-button{font-size:13px;padding:8px 9px;flex-shrink:0}.ref-banner{padding:18px;gap:15px;align-items:flex-start;flex-direction:column;margin-top:22px}.ref-banner h3{font-size:18px}.ref-banner p{font-size:14px;max-width:280px}.ref-banner .btn{margin:0;font-size:14px;min-height:42px}.ref-hero{padding:22px;border-radius:14px}.ref-hero h1{font-size:29px}.ref-hero p{font-size:15px;margin:10px 0 20px;padding:0}.ref-hero .actions{gap:8px}.ref-hero .actions .btn{font-size:14px;padding:11px 14px}.code{font-size:24px;max-width:none;padding:13px 15px;margin-bottom:14px}.stats{gap:8px;margin:16px 0 20px}.stat{padding:15px 11px;border-radius:11px}.stat strong{font-size:23px;margin-bottom:7px}.stat span{font-size:12px}.panel{padding:20px;border-radius:13px;margin:18px 0}.section-title{margin:22px 0 16px;gap:12px}.section-title h2{font-size:22px}.section-title.compact{gap:13px;margin-bottom:16px}.ref-client{padding:15px;border-radius:11px}.ref-client-head{gap:6px}.ref-client-head h3{font-size:18px}.ref-order{padding-top:15px;gap:13px}.ref-order-status{align-items:center;gap:8px}.ref-order-status .btn{width:auto;font-size:14px;padding:9px 12px}.reward-calculation{font-size:14px;padding:10px 12px;margin-top:11px}.reward-calculation p{font-size:14px;line-height:1.4}.rate-line{font-size:15px;padding:14px 0;gap:16px}.rate-line strong{font-size:21px}.program-terms>p{font-size:14px;line-height:1.5}.detail-image{max-height:185px;aspect-ratio:1.8}.detail{gap:22px}.detail h1{font-size:28px}.detail p{font-size:16px;line-height:1.5;margin:14px 0}.detail .price{font-size:26px;margin:21px 0}.detail .small{font-size:14px}.check-list{margin:12px 0 23px}.check-list li{font-size:15px;line-height:1.4;padding:12px 0}.back{font-size:14px;margin-bottom:16px}.admin-heading h1{font-size:28px}.admin-tabs{gap:7px;margin-bottom:21px}.admin-tabs .tab{font-size:13px;padding:10px 13px}.admin-orders{gap:12px}.admin-order{padding:18px;border-radius:12px}.admin-order .order-head{gap:10px}.admin-order .order-head h3{font-size:19px}.order-admin-actions{gap:12px;margin-top:18px}.admin-item{padding:15px;gap:11px}.admin-item h3{font-size:18px}.admin-item p{font-size:14px;line-height:1.4}.admin-item img{width:48px;height:52px}#ref-directory .admin-item .btn{align-self:flex-start;min-height:42px;font-size:14px;padding:10px 14px}.payout-balances{gap:10px;margin:15px 0}.payout-balances>div{padding:14px 12px}.payout-balances strong{font-size:23px}.payout-balances span{font-size:13px}.profile-welcome{margin:10px 0}.profile-welcome h1{font-size:29px}.profile-welcome>p{font-size:15px;margin:10px 0 22px}.profile-welcome .panel{padding:19px}.form-row{grid-template-columns:1fr;gap:16px}.form label{font-size:14px}.form .check{font-size:13px}.form .small{font-size:14px}.form .check .small{font-size:13px}dialog{padding:22px;width:calc(100vw - 24px);border-radius:16px;max-height:90dvh}.modal-top{margin-bottom:21px;gap:12px}.modal-top h2{font-size:23px;line-height:1.2}.form-section{gap:16px;margin-bottom:22px}.form-section>.section-title{flex-direction:row;align-items:center;gap:12px}.form-section>.section-title .btn{padding:9px 11px;font-size:13px;min-height:40px}.external-service{padding:15px;border-radius:11px}.external-service .form-row{grid-template-columns:1fr;gap:15px}.lookup-row{gap:8px}.lookup-row .btn{padding:11px 14px;font-size:14px}.contact-card{padding:22px}.contact-grid{gap:13px}.contact-card p{font-size:15px}.contact-card h3{font-size:20px}.empty{padding:25px 20px}.notice{font-size:13px;line-height:1.5}#toast{font-size:14px;padding:12px 16px;bottom:90px}}

.search-wrap .search{border:0!important;background:transparent;box-shadow:none;border-radius:0;min-width:0;padding-left:12px}
@media(max-width:950px){.sidebar{padding:0}}
@media(max-width:560px){.service-art{width:82px;height:82px;min-height:82px;max-height:82px;align-self:start}.service p{display:none}}
