@font-face{font-family:Inter;src:url("./assets/inter-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url("./assets/inter-600.woff2") format("woff2");font-weight:600 800;font-display:swap}
@font-face{font-family:Satoshi;src:url("./assets/satoshi-700.woff2") format("woff2");font-weight:500 750;font-display:swap}
@font-face{font-family:Satoshi;src:url("./assets/satoshi-900.woff2") format("woff2");font-weight:800 950;font-display:swap}
:root{--paper:#f4f4f2;--card:#fff;--ink:#191a1b;--muted:#5e6060;--line:#dfdfdc;--soft:#eeefec;--gold:#e8bd55;--gold-ink:#755513;--gold-mist:#f8efd2;--r:25px;--shadow:0 2px 6px #191a1b05;--display:Satoshi,Arial,sans-serif;--text:Inter,Arial,sans-serif;color-scheme:light;font-family:var(--text);color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
html{min-width:0;min-height:100%;scroll-padding-top:20px}
body{margin:0;min-width:0;min-height:100dvh;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit;color:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.53}
a{color:inherit;text-decoration:none}
button{background:none;border:0}
:focus-visible{outline:3px solid #9f7619;outline-offset:3px}
main[tabindex="-1"]:focus{outline:none}
[hidden]{display:none!important}
.sr,.skip:not(:focus){position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.skip:focus{position:fixed;z-index:8;left:12px;top:12px;border-radius:14px;background:#fff;padding:10px 14px}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand,.price,.stat strong,.photo-words b,button.btn,a.btn{font-family:var(--display)}
h1,h2,h3{line-height:1.13;text-wrap:pretty;overflow-wrap:anywhere}
h1{font-weight:700;letter-spacing:-.055em}
h2{font-weight:700;font-size:24px;letter-spacing:-.045em}
h3{font-weight:700;font-size:17px;letter-spacing:-.027em}
img{display:block;max-width:100%}
.ico{width:20px;height:20px;flex:0 0 auto}
.boot{display:grid;place-content:center;justify-items:center;min-height:100dvh;gap:14px;text-align:center;padding:30px}
.boot img{height:66px}.boot h1{font-size:30px}
.boot p,.lede,.detail,.event-row p,.offer p,.page-head p,.empty p,.auth-footer,.account-line p{color:var(--muted)}
.topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px}
.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:23px;line-height:1;letter-spacing:-.066em;font-weight:900}
.brand-light{font-weight:700}
.mark{height:43px;width:43px;border-radius:50%;background:#191a1b;display:inline-grid;place-items:center;flex:none}
.mark{position:relative}.mark img,.agency-avatar img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:68%;width:65%;object-fit:contain}
.top-tools,.header-center,.header-pill,.profile,.switch-client,.switch-client>span,.stat,.btn,.plain,.text-link,.dialog-head,.account-line,.hero-id,.item-heading,.actions,.row-actions,.auth-footer,.msg-meta,.card-head{display:flex;align-items:center}
.top-tools{gap:8px;min-width:0}
.header-center{justify-content:center;flex:1}
.header-pill,.profile,.switch-client{min-height:43px;background:var(--card);border:1px solid var(--line);border-radius:100px;box-shadow:var(--shadow);font-size:13px;gap:8px}
.header-pill{padding:0 17px}.header-pill .ico,.switch-client .ico{width:15px;height:15px}
.switch-client{padding:0 8px 0 14px;max-width:min(36vw,420px)}
.switch-client>span{gap:5px;color:var(--muted)}
.switch-client select{background:transparent;height:36px;max-width:100%;min-width:0;border:0;font-weight:600}
.profile{padding:4px 12px 4px 5px;font-weight:600;max-width:230px}
.profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}
.profile>.ico{width:14px;height:14px}
.avatar{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:50%;background:#ece5d1;color:#4e4022;font-weight:700;font-size:12px}
.agency-avatar{background:var(--ink);position:relative}
.roundbtn,.circle-link{width:43px;height:43px;border-radius:50%;border:1px solid var(--line);background:white;display:inline-grid;place-items:center;flex:none}
.circle-link{width:34px;height:34px;background:#fafaf8}
.circle-link>.ico{width:15px;height:15px}
.btn{justify-content:center;gap:9px;min-height:43px;border-radius:30px;padding:10px 17px;background:var(--ink);color:#fff;font-weight:700;line-height:1.25;font-size:14px;white-space:normal;text-align:center;border:1px solid transparent}
.btn>.ico{width:16px;height:16px}
.subtle{background:#fff;color:var(--ink);border-color:var(--line)}
button:hover:not(:disabled),a:hover{filter:brightness(.96)}
.plain,.text-link{font-size:13px;gap:8px;width:fit-content;font-weight:600}
.plain .ico,.text-link .ico{width:15px;height:15px}
.plain{margin-top:22px}
.auth-layout{max-width:1510px;padding:23px clamp(20px,4vw,64px) 26px;margin:auto}
.auth-top{margin-bottom:clamp(18px,3vw,42px)}
.auth-main{display:grid;grid-template-columns:1.04fr 1fr;min-height:clamp(540px,72vh,760px);gap:14px}
.auth-picture,.auth-form{border-radius:32px;overflow:hidden;position:relative}
.auth-picture{background:#191919 url("./assets/shadow-matter.webp") 63% center/cover no-repeat;color:white;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(26px,3.5vw,52px)}
.auth-picture:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0004,transparent 42%,#000b)}
.auth-picture>*{position:relative}
.photo-label,.hero-id{display:flex;align-items:center;gap:8px;align-self:flex-start;border-radius:60px;background:#171819c9;border:1px solid #ffffff44;color:#fff;padding:5px 11px 5px 5px;font-size:12px;font-weight:600}
.photo-label .mark{width:24px;height:24px}
.photo-words{margin-bottom:3px}
.photo-words>span{display:block;font-size:15px;margin-bottom:12px}
.photo-words b{display:block;font-size:clamp(46px,5.6vw,87px);letter-spacing:-.073em;line-height:.96;font-weight:700}
.auth-form{border:1px solid var(--line);background:#fff;display:grid;align-items:center;justify-items:center;padding:48px clamp(24px,4vw,68px)}
.auth-inner{width:100%;max-width:380px}
.auth-inner h1{font-size:clamp(39px,4vw,62px);line-height:1.01;margin:20px 0 13px}
.lede{font-size:15px;line-height:1.55}
.surface-icon,.stat-icon,.tile-icon,.empty-symbol{display:inline-grid;place-items:center;flex:none;border-radius:50%;background:var(--soft)}
.surface-icon{width:46px;height:46px;background:var(--gold-mist);color:var(--gold-ink)}
.auth-form .fields{margin-top:28px}
.auth-footer{justify-content:space-between;font-size:12px;padding:20px 5px 0}
.fields{display:grid;gap:15px;min-width:0}
.fields label{display:grid;gap:6px;font-size:13px;font-weight:600}
.fields input,.fields textarea,.fields select{border:1px solid #d7d8d5;background:#fbfbfa;min-width:0;width:100%;padding:11px 13px;border-radius:12px;font-size:14px;line-height:1.45;font-weight:400}
.fields input,.fields select{min-height:45px}
.fields textarea{resize:vertical;min-height:98px}
.fields input:focus,.fields textarea:focus,.fields select:focus{background:#fff;outline:2px solid var(--gold-ink);outline-offset:1px}
.fields small,.hint{color:var(--muted);font-weight:400;font-size:12px}
.fields .hint{margin-top:-9px}
.fields>.btn{justify-self:start}
.auth-inner .fields>.btn{justify-self:stretch;margin-top:2px;min-height:46px}
.password{position:relative}
.password input{padding-right:50px}
.password button{width:42px;height:42px;position:absolute;right:2px;top:2px;display:grid;place-items:center;border-radius:12px;color:var(--muted)}
.password .ico{width:18px;height:18px}
.form-error{color:#8a301d;border-radius:10px;background:#f9eae5;padding:9px 12px;font-size:13px}
.inline-info{padding:12px 16px;border-radius:13px;background:var(--gold-mist);color:#5c4615;font-size:14px;margin:12px 0}
.workspace{max-width:1600px;margin:auto;position:relative;padding:20px clamp(22px,3.5vw,62px) 46px}
.workspace>.topbar{margin-bottom:24px}
.workspace-main{margin-left:76px;max-width:100%;min-width:0}
.rail{position:sticky;top:24px;float:left;display:flex;flex-direction:column;align-items:center;gap:8px;padding:7px;width:55px;margin:1px 0 0 -3px;border-radius:40px;border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);z-index:3}
.rail-link{display:grid;place-content:center;justify-items:center;position:relative;width:40px;height:40px;border-radius:50%;color:#646767}
.rail-link[aria-current="page"]{background:var(--ink);color:var(--gold)}
.rail-link:hover:not([aria-current]){background:var(--soft);color:var(--ink)}
.rail-link span{display:none}
.hero{min-height:245px;position:relative;overflow:hidden;border-radius:30px;background:#151617;color:#fff;display:flex;align-items:center;padding:36px clamp(26px,3.1vw,48px)}
.hero-photo{position:absolute;inset:0 0 0 32%;background:#141414 url("./assets/shadow-matter.webp") center 52%/cover no-repeat}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#151617,rgba(21,22,23,.87) 8%,transparent 58%)}
.hero-copy{position:relative;max-width:63%;z-index:1}
.hero-id{width:fit-content;padding:5px 10px;background:#202020b5;font-size:11px;gap:6px}
.hero-id .ico{width:13px;height:13px;color:#f0cb70}
.hero h1{font-size:clamp(37px,4.1vw,68px);letter-spacing:-.06em;line-height:1.04;margin:13px 0 6px}
.hero p{color:#e0e0dc;font-size:14px}
.hero-button{display:inline-flex;background:white;color:var(--ink);margin-top:19px;min-height:37px;font-size:13px;padding:8px 13px}
.stat-grid,.dash-grid,.offers,.message-layout{display:grid;gap:14px}
.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}
.stat{position:relative;padding:19px 20px;gap:14px;border:1px solid var(--line);border-radius:20px;background:#fff;min-width:0}
.stat-icon{width:45px;height:45px;background:#f0f0ee;color:#4e5051}
.stat:first-child .stat-icon{background:var(--gold-mist);color:var(--gold-ink)}
.stat-text{min-width:0;color:var(--muted);font-size:12px;font-weight:600;line-height:1.45}
.stat strong{font-size:32px;font-weight:700;display:block;color:var(--ink);line-height:1.03;letter-spacing:-.055em}
.stat-arrow{align-self:flex-start;margin-left:auto;color:#717372}
.stat-arrow>.ico{width:15px;height:15px}
.dash-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.panel,.offer{min-width:0;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);border-radius:var(--r);padding:23px}
.card-head{justify-content:space-between;gap:12px;margin-bottom:17px}
.card-head h2{display:flex;align-items:center;gap:8px}
.count{display:inline-grid;place-items:center;min-width:23px;height:24px;border-radius:15px;background:var(--soft);font:600 12px var(--text);letter-spacing:0}
.empty{display:flex;gap:13px;align-items:center;padding:17px 0 16px;min-height:73px}
.empty-symbol{height:40px;width:40px;background:#f1f1ef;color:#737673}
.empty-symbol .ico{width:17px;height:17px}
.empty strong{display:block;font-family:var(--display);font-size:16px;line-height:1.25;letter-spacing:-.02em}
.empty p,.event-row p,.message-row p,.detail,.offer p{font-size:13px;line-height:1.55}
.empty p{margin-top:3px}
.empty+.text-link{margin-top:10px}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:10px 0 25px}
.page-head h1{font-size:clamp(38px,4vw,63px);line-height:1.04}
.page-head p{margin-top:8px}
.actions,.row-actions{flex-wrap:wrap;gap:8px}
.project-row,.event-row,.message-row{padding:17px 0;min-width:0}
.project-row+.project-row,.event-row+.event-row,.message-row+.message-row{border-top:1px solid var(--line)}
.card-head+.project-row,.card-head+.event-row,.card-head+.message-row{padding-top:5px}
.project-row:last-child,.event-row:last-child,.message-row:last-child{padding-bottom:2px}
.item-heading{gap:11px}
.item-heading>div:nth-child(2){flex:1;min-width:0}
.item-heading .tag{margin-top:5px}
.tile-icon{background:var(--soft);border-radius:13px;width:40px;height:40px}
.tile-icon .ico{width:18px;height:18px}
.preserve{white-space:pre-line;overflow-wrap:anywhere}
.project-row>.detail{display:block;margin-top:9px}
.tag{display:inline-flex;align-items:center;background:#ededeb;color:#505250;border-radius:50px;padding:3px 9px;font-size:11px;line-height:1.5;font-weight:600;white-space:nowrap}
.tag-active,.tag-open,.tag-requested{background:var(--gold-mist);color:#6d4b0a}
.tag-review,.tag-confirmed,.tag-done,.tag-paid{background:#e5ebe4;color:#324a35}
.tag-void,.tag-cancelled{background:#f2e9e6;color:#774e42}
.progress-line{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:11px;font-weight:600;color:var(--muted)}
.progress-line span{white-space:nowrap;flex:none}
progress{width:100%;min-width:0;height:6px;appearance:none;border:0;border-radius:50px;overflow:hidden;background:#eeeeeb}
progress::-webkit-progress-bar{background:#eeeeeb}progress::-webkit-progress-value{background:#b59143;border-radius:50px}progress::-moz-progress-bar{background:#b59143}
.event-row{display:flex;gap:12px;align-items:center}
.row-content{flex:1;min-width:0}
.row-content p{margin-top:3px;overflow-wrap:anywhere}
.row-actions{justify-content:flex-end}
.compact{min-height:32px;padding:6px 10px;font-size:12px;gap:4px}
.compact .ico{width:13px;height:13px}
.message-layout{grid-template-columns:minmax(0,1.4fr) minmax(270px,.75fr);align-items:start}
.message-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px}
.message-row p{margin-top:5px}
.msg-meta{gap:8px;justify-content:space-between;flex-wrap:wrap}
.msg-meta time{font-size:11px;color:var(--muted)}
.offers-section{margin-top:26px}
.offers{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.offer{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.offer h3{font-size:21px}
.offer .price{margin-top:auto;font-size:23px;letter-spacing:-.035em}
.offer .btn{font-size:13px}
dialog{color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:24px;padding:24px;box-shadow:0 20px 90px #0003;max-width:min(440px,calc(100vw - 24px));width:100%;max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}
dialog::backdrop{background:rgba(15,17,17,.43)}
.dialog-head{justify-content:space-between;gap:15px;margin-bottom:19px}
.dialog-head .roundbtn{height:36px;width:36px}
.account-line{gap:12px;margin-bottom:19px;overflow-wrap:anywhere}
body:has(dialog[open]){overflow:hidden}
@media(min-width:1550px){.hero{min-height:300px}.workspace{padding-top:30px}.dash-grid,.stat-grid{gap:18px}}
@media(max-width:975px){.workspace{padding-inline:20px}.workspace-main{margin-left:66px}.hero-copy{max-width:72%}.hero{min-height:225px}.panel,.offer{padding:19px}.stat{padding:16px 13px;gap:10px}.stat-icon{width:38px;height:38px}.stat-arrow{display:none}.page-head{align-items:flex-start;flex-direction:column}.message-layout{grid-template-columns:1.15fr .85fr}.topbar{gap:10px}.auth-layout{padding:18px 20px}.auth-form{padding:32px 26px}}
@media(max-width:720px){
 .workspace{padding:10px 14px calc(98px + env(safe-area-inset-bottom))}
 .workspace>.topbar{margin-bottom:12px}.workspace-main{margin:0}.topbar{min-height:49px}
 .brand{font-size:21px;gap:7px}.mark{width:37px;height:37px}
 .header-center{justify-content:flex-end}.header-pill{display:none}.top-tools{gap:5px}
 .roundbtn,.profile{min-height:39px;height:39px}.roundbtn{width:39px}.profile{padding:2px;width:39px;justify-content:center}
 .profile>.ico,.profile-name{display:none}.profile .avatar{width:31px;height:31px}
 .switch-client{max-width:29vw;padding:0 5px}.switch-client span{display:none}.switch-client select{font-size:12px}
 .rail{position:fixed;top:auto;left:50%;bottom:calc(9px + env(safe-area-inset-bottom));transform:translateX(-50%);float:none;flex-direction:row;justify-content:space-between;width:min(calc(100% - 20px),425px);margin:0;gap:2px;padding:5px 6px;background:#fffffff7;border-radius:25px;box-shadow:0 4px 25px #0002}
 .rail-link{width:19%;height:48px;border-radius:20px;gap:1px}
 .rail-link span{display:block;font-size:9px;line-height:13px;font-weight:600}
 .rail-link>.ico{width:18px;height:18px}
 .hero{min-height:202px;padding:23px;border-radius:24px}.hero-copy{max-width:76%}.hero h1{font-size:clamp(34px,6.5vw,46px);margin:10px 0 5px}.hero p{font-size:12px;line-height:1.5}.hero-photo{left:24%}.hero-photo:after{background:linear-gradient(90deg,#151617,#151617b5 23%,transparent 90%)}.hero-button{margin-top:15px;min-height:34px;font-size:12px}
 .stat-grid{gap:7px;margin:9px 0}.stat{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border-radius:16px;padding:12px}.stat-icon{width:30px;height:30px}.stat-icon>.ico{width:16px;height:16px}.stat-text{display:flex;flex-direction:column-reverse;font-size:10px;line-height:1.3;gap:2px}.stat strong{font-size:25px}
 .dash-grid,.message-layout{grid-template-columns:1fr;gap:9px}.panel,.offer{padding:17px;border-radius:20px}
 .card-head{margin-bottom:11px}.card-head h2{font-size:21px}
 .page-head{margin:18px 0}.page-head h1{font-size:38px}.page-head p{font-size:13px}
 .message-layout .compose{grid-row:1}.empty{padding:10px 0}.text-link{min-height:34px}
 .event-row{flex-wrap:wrap}.row-actions{max-width:100%}.event-row .row-actions:has(.btn){width:100%;justify-content:flex-start;padding-left:52px}
 .auth-layout{padding:11px 13px 20px}.auth-top{margin-bottom:12px}.auth-main{display:flex;flex-direction:column;gap:9px;min-height:auto}
 .auth-picture{min-height:150px;padding:19px 22px;border-radius:24px;background-position:center 49%;justify-content:flex-end}
 .auth-picture:before{background:linear-gradient(90deg,#000b,#0006 40%,transparent)}
 .photo-label{display:none}.photo-words>span{font-size:11px;margin-bottom:6px}.photo-words b{font-size:37px;letter-spacing:-.06em}.photo-words b br{display:none}
 .auth-form{border-radius:23px;padding:26px 22px 28px}.auth-inner{max-width:480px}
 .auth-inner h1{font-size:36px;margin:13px 0 8px}.auth-inner .surface-icon{width:36px;height:36px}
 .auth-inner .lede{font-size:14px}.auth-form .fields{margin-top:21px}.auth-footer{padding:15px 5px}
}
@media(max-width:365px){.workspace{padding-inline:10px}.auth-layout{padding-inline:10px}.hero{padding:18px}.hero-copy{max-width:85%}.stat{padding:9px}.profile,.roundbtn{width:35px;height:35px;min-height:35px}.brand{font-size:18px}.switch-client{max-width:27vw}.auth-form{padding:22px 17px}.auth-inner h1{font-size:32px}.topbar{gap:5px}.actions>.btn{font-size:12px}.rail-link span{font-size:8px}}
@media(prefers-reduced-motion:no-preference){.dialog-head{scroll-margin-top:4px}}
.pay-layout{max-width:1100px}.pay-main{max-width:830px;margin:0 auto;display:grid;grid-template-columns:.62fr 1fr;background:#fff;border-radius:30px;border:1px solid var(--line);overflow:hidden;min-height:390px}.pay-layout .auth-footer{max-width:830px;margin:auto}
.pay-picture{background:linear-gradient(0deg,#151515c9,#15151511),url("./assets/shadow-matter.webp") 62% center/cover;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;color:white;padding:28px;font:700 24px var(--display);letter-spacing:-.045em}.pay-picture img{height:48px;align-self:flex-start;width:auto}
.pay-form{padding:clamp(23px,3.7vw,44px)}.pay-form h1{font-size:clamp(32px,4vw,54px);margin:14px 0}.pay-form>.btn{width:fit-content;margin-top:20px}
.checkout-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;background:#f8f8f5;padding:13px 15px;margin:15px 0}.checkout-summary strong{font:700 20px var(--display);white-space:nowrap}.checkout-summary span{font-size:13px;color:var(--muted)}
.fields .consent{display:grid;align-items:start;grid-template-columns:18px 1fr;gap:10px;font-size:12px;font-weight:400;color:var(--muted);line-height:1.55}.fields .consent input{width:16px;height:16px;min-height:0;accent-color:var(--ink);margin:2px 0 0}.payment-actions{margin-top:22px}
@media(max-width:650px){.pay-main{display:flex;flex-direction:column;min-height:0}.pay-picture{min-height:100px;flex-direction:row;justify-content:flex-start;align-items:center;padding:18px 24px}.pay-picture img{align-self:center;height:38px}.pay-form{padding:23px 20px 27px}.pay-layout .header-pill{display:flex;min-height:34px;font-size:11px;padding:0 9px;gap:4px}}



.invoice-base,.fields .priority-option{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fields .priority-option{flex-direction:row;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.priority-option:has(:checked){background:var(--soft);border-color:var(--ink)}
.fields .priority-option input{width:18px;height:18px;min-height:0;flex:none;accent-color:var(--ink)}
.priority-option span{flex:1}.priority-option small{display:block;font-weight:400;color:var(--muted)}
.priority-option b,.invoice-base strong,.checkout-summary output{white-space:nowrap}
.checkout-summary output{font-size:20px;font-weight:700}.receipt-priority{font-size:13px}
