@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#33232c;--muted:#85757b;--ruby:#9b2345;--blush:#f7e9ee;--border:#e9e5e6;--bg:#f8f6f7;--sidebar:244px;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:16px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:var(--ruby)}button:focus-visible,a:focus-visible{outline:3px solid #b8718b;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #d49fb3;border-color:var(--ruby)}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:30px;letter-spacing:-1px;font-weight:800}h2{font-size:21px;letter-spacing:-.6px}h3{font-size:16px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-1px}.brandmark{background:var(--ruby);color:white;display:grid;place-items:center;width:34px;height:36px;border-radius:10px;transform:rotate(-5deg);font-size:27px;font-weight:800}.brandmark span{transform:rotate(5deg)}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--border);padding:33px 21px 20px;display:flex;flex-direction:column;z-index:10}.agency-select{display:flex;align-items:center;gap:11px;border:1px solid var(--border);padding:12px 10px;margin:34px 0 30px;border-radius:9px}.agency-icon{width:34px;height:34px;display:grid;place-items:center;background:#f3eef0;border-radius:8px;font-size:15px;font-weight:700}.agency-select strong{display:block;font-size:14px}.agency-select small{font-size:12px;color:var(--muted)}.nav-label{text-transform:uppercase;letter-spacing:1.6px;color:#978a8f;font-size:11px;font-weight:700;padding:0 12px;margin:8px 0 11px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:13px;border-radius:8px;color:#77656c;font-size:14px;margin:4px 0;font-weight:500;white-space:nowrap}.nav-item.active{color:var(--ruby);background:#f5eaee;font-weight:700}.nav-item:hover{background:#f5f1f2}.nav-item .count{margin-left:auto;background:#76173a;color:white;font-size:11px;min-width:20px;height:20px;border-radius:6px;display:grid;place-items:center}.side-bottom{margin-top:auto}.side-note{margin:24px 4px 15px;padding:17px 13px;background:#f9f7f8;border:1px solid #f0edee;border-radius:10px}.side-note svg{color:var(--ruby)}.side-note strong{display:block;font-size:13px;margin:8px 0 5px}.side-note p{font-size:12px;line-height:1.7;color:var(--muted)}.profile{border-top:1px solid var(--border);padding:18px 4px 0;display:flex;align-items:center;gap:10px}.avatar{border-radius:50%;width:35px;height:35px;display:inline-grid;place-items:center;background:#ebdce2;color:#6f505b;font-size:12px;font-weight:700;border:2px solid white;flex-shrink:0}.avatar.pink{background:#f1dfe9;color:#9e5d7b}.avatar.blue{background:#dde7f3;color:#627da2}.avatar.purple{background:#e7e1f4;color:#8870aa}.profile strong{font-size:13px}.profile small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.profile button{margin-left:auto;color:var(--muted);padding:5px}.workspace{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:79px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.breadcrumb{font-size:13px;color:#96898e;display:flex;align-items:center;gap:12px}.breadcrumb strong{color:#553d46;font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.demo-chip{font-size:11px;color:#807378;border:1px solid #e9e1e4;background:#faf7f8;padding:6px 9px;border-radius:5px}.icon-btn{position:relative;display:grid;place-items:center;padding:8px;border:1px solid var(--border);border-radius:8px;background:white}.dot{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#df916f;border:1px solid white}.date-label{font-size:12px;color:var(--muted)}main{padding:33px 36px 22px;flex:1;max-width:1800px;width:100%;margin:auto}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.9px;color:var(--ruby);text-transform:uppercase;margin-bottom:10px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.subtitle{font-size:14px;color:var(--muted);margin-top:9px;line-height:1.7}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid var(--border);border-radius:7px;font-size:13px;font-weight:600;background:white;white-space:nowrap}.btn.primary{background:var(--ruby);border-color:var(--ruby);color:#fff;box-shadow:0 2px 3px #6f15361c}.btn:hover{filter:brightness(.97)}.btn.primary:hover{background:#5f122e}.btn svg{width:17px;height:17px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:#fff;padding:19px 21px;border:1px solid var(--border);border-radius:10px;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#847279}.stat-icon{display:grid;place-items:center;background:#f6f1f3;color:#895e6e;width:30px;height:30px;border-radius:8px}.stat-icon.blue{background:#eef3f9;color:#7993b5}.stat-icon.orange{background:#fcf2e9;color:#c69a68}.stat-icon.purple{background:#f2effa;color:#9481b5}.stat-value{font-family:Manrope;font-size:29px;font-weight:800;margin-top:8px;letter-spacing:-1px}.stat-value small{font-size:12px;color:#93888c;font-family:'DM Sans';font-weight:400;letter-spacing:0;margin-left:8px}.stat-bottom{font-size:11px;color:#968b8f;margin-top:6px}.stat-bottom .positive{color:var(--ruby)}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--border);border-radius:11px;overflow:hidden}.calendar-head{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 17px;gap:10px}.calendar-head h2{font-size:17px}.calendar-head p{font-size:12px;color:var(--muted);margin-top:5px}.segmented{background:#f5f3f4;padding:3px;display:flex;border-radius:6px;gap:2px}.segmented button{padding:6px 10px;font-size:11px;color:#908388;border-radius:4px}.segmented button.active{background:white;color:#4c2e39;box-shadow:0 1px 3px #36212912;font-weight:600}.calendar-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px 18px}.week-switch{display:flex;align-items:center;gap:5px}.week-switch button{height:29px;min-width:29px;display:grid;place-items:center;border:1px solid var(--border);border-radius:5px}.week-switch svg{width:14px}.week-switch .today{padding:0 9px;font-size:11px;display:block;margin-left:4px}.week-label{font-size:12px;font-weight:600;margin-left:6px}.filter{border:1px solid var(--border);font-size:11px;padding:7px 25px 7px 10px;border-radius:5px;background:#fff;max-width:140px}.calendar-scroll{overflow:auto}.calendar{min-width:610px}.week-days{display:grid;grid-template-columns:46px repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.day{padding:13px 0;text-align:center;border-left:1px solid #f2f0f1;color:#a09197;font-size:10px;text-transform:uppercase}.day b{display:block;margin:6px auto 0;font-size:16px;color:#66555b;font-weight:600;line-height:29px;width:29px;border-radius:50%}.day.current{background:#fbf5f7;color:var(--ruby)}.day.current b{background:var(--ruby);color:white}.timeline{display:grid;grid-template-columns:46px repeat(7,minmax(0,1fr));height:422px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 69px,#f0edee 69px,#f0edee 70px)}.time-labels{display:flex;flex-direction:column;font-size:10px;color:#a59b9f}.time-labels span{height:70px;position:relative;top:-6px;padding:0 8px;background:white;width:max-content}.time-labels span:first-child{top:3px}.day-column{position:relative;border-left:1px solid #f0edee}.day-column.current{background:#f7eaef3b}.match-event{position:absolute;left:5px;right:5px;border-radius:6px;padding:9px 7px;text-align:left;background:#f4e8ec;border:1px solid #e8d5dc;border-left:3px solid #ae7e90;overflow:hidden;min-height:72px;width:calc(100% - 10px);transition:transform .15s,box-shadow .15s}.match-event:hover{z-index:2;transform:translateY(-2px);box-shadow:0 4px 14px #3d1f2a15}.match-event.blue{background:#edf2fa;border-color:#dde7f5;border-left-color:#87a4cb}.match-event.purple{background:#f2edfa;border-color:#e8def5;border-left-color:#ac8bcd}.match-event.peach{background:#fcf1e8;border-color:#f1e1d3;border-left-color:#d5a77e}.event-time{font-size:9px;color:#836671;margin-bottom:7px;display:flex;gap:4px;align-items:center}.event-time svg{width:10px;height:10px}.event-name{display:block;font-size:10px;line-height:1.65;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-vs{font-size:9px;color:#998a90;display:block;line-height:1.6}.event-tag{display:inline-block;font-size:9px;margin-top:8px;padding:2px 5px;background:#ffffff94;border-radius:3px;font-weight:500}.calendar-bottom{padding:14px 20px;display:flex;justify-content:space-between;font-size:10px;color:#9f9297;border-top:1px solid var(--border)}.legend{display:flex;gap:14px}.legend i{width:6px;height:6px;border-radius:2px;background:#bb8f9f;display:inline-block;margin-right:5px}.legend i.purple{background:#b29acf}.right-stack{display:flex;flex-direction:column;gap:18px}.right-panel{padding:18px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-title h3{font-size:14px}.tiny-pill{font-size:10px;padding:3px 7px;background:#f5f2f3;color:#907981;border-radius:5px}.upcoming-date{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#9b8f93;margin-bottom:12px}.upcoming-match{padding:13px;border:1px solid var(--border);border-radius:8px;margin-bottom:11px}.upcoming-match:last-child{margin-bottom:0}.upcoming-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#94878c;margin-bottom:10px}.tag{border-radius:4px;background:#f0ebf9;color:#8e70ad;padding:3px 6px;font-size:9px}.tag.green{background:#f4e9ed;color:#926c7a}.upcoming-people{display:flex;align-items:center;gap:7px}.upcoming-people .avatar{width:27px;height:27px;font-size:8px}.names{font-size:11px;line-height:1.65;font-weight:500}.names span{display:block}.versus{font-size:8px;color:#b3adaf;padding:0 2px}.upcoming-bottom{display:flex;align-items:center;gap:5px;border-top:1px solid #f2f0f1;margin-top:11px;padding-top:10px;font-size:10px;color:#998f93}.upcoming-bottom svg{width:12px;height:12px}.text-link{padding:0;font-size:11px;color:var(--ruby);font-weight:600}.activity-item{display:flex;gap:9px;position:relative;padding:0 0 18px}.activity-item:last-child{padding-bottom:0}.activity-item .avatar{width:27px;height:27px;font-size:9px}.activity-text{font-size:11px;line-height:1.65;color:#8a7e82}.activity-text b{font-weight:600;color:#5a424b}.activity-text small{display:block;color:#a9a0a3;font-size:10px;margin-top:4px}.tip{background:#f6edf0;border:1px solid #ecdce2;border-radius:10px;padding:17px;display:flex;align-items:start;gap:10px;color:#836570}.tip svg{width:16px;margin-top:1px}.tip h3{font-size:12px;color:#6b4352;margin-bottom:5px}.tip p{font-size:11px;line-height:1.7}.bottom-info{display:flex;align-items:center;gap:7px;font-size:10px;color:#a09599;margin-top:15px}.bottom-info svg{width:12px;height:12px}footer{margin:0 36px;padding:20px 0;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a09599;flex-wrap:wrap}footer button{padding:0;color:#8e7f85;font-size:10px}footer b{font-weight:500;color:#7b656d}.mobile-menu{display:none}.login-screen{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-art{background:#2d111b;color:white;padding:45px 60px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;width:570px;height:570px;border:1px solid #4f2937;border-radius:50%;bottom:-230px;left:-180px;box-shadow:0 0 0 90px #42242f25,0 0 0 180px #42242f20}.login-art .brandmark{background:#d18ca5;color:#391623}.login-art .brand{position:relative;z-index:1}.login-pitch{margin:auto 0;position:relative;z-index:1;padding:80px 0}.login-pitch .eyebrow{color:#d490a9;font-size:11px}.login-pitch h1{font-size:clamp(35px,3.8vw,56px);line-height:1.2;font-weight:650;letter-spacing:-2px;max-width:530px}.login-pitch h1 em{font-style:normal;color:#e1a4ba}.login-pitch p{max-width:360px;line-height:1.9;font-size:14px;color:#bca4ad;margin-top:25px}.login-visual{margin-top:42px;width:100%;max-width:400px;border:1px solid #624a53;background:#ffffff08;border-radius:13px;padding:21px;transform:rotate(-3deg);box-shadow:0 20px 45px #27071345}.login-visual .top{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.mock-event{padding:15px;background:#efd8e0;color:#492532;border-radius:7px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.mock-event+.mock-event{background:#e4dcf0;margin-top:10px;color:#5e4d76}.mock-event small{font-size:10px;opacity:.7}.login-art footer{position:relative;z-index:1;color:#b0919c;margin:0;padding:16px 0 0;border-color:#4f363f}.login-right{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:100%;max-width:390px}.login-form .login-symbol{width:44px;height:44px;background:var(--blush);color:var(--ruby);border-radius:12px;display:grid;place-items:center;margin-bottom:24px}.login-form h2{font-size:29px;letter-spacing:-1px}.login-form>p{font-size:14px;color:var(--muted);line-height:1.8;margin:10px 0 30px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field label{font-size:13px;font-weight:600}.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #e3dcdf;border-radius:7px;background:white;color:var(--ink);min-height:44px;font-size:14px}.field textarea{resize:vertical;min-height:95px}.field small{color:var(--muted);font-size:11px;line-height:1.7}.password-wrap{position:relative}.password-wrap input{padding-right:44px}.password-wrap button{position:absolute;right:5px;top:5px;padding:8px;color:#a09599}.login-form .btn{width:100%;padding:13px}.demo-box{background:#f8f4f5;border:1px solid #eadfe3;padding:15px;border-radius:8px;margin-top:24px;font-size:12px;line-height:1.9;color:#8b787f}.demo-box strong{color:#694150;font-size:12px;display:block}.demo-box code{color:#583743;font-size:12px}.demo-box button{color:var(--ruby);font-weight:600;padding:5px 0 0;font-size:12px}.login-help{text-align:center;font-size:11px;line-height:1.8;color:#978c90;margin-top:25px}.error{background:#fff1ed;color:#ab4c3a;padding:12px;border-radius:6px;margin:14px 0;font-size:13px}.hidden{display:none!important}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-2{grid-column:span 2}dialog{border:1px solid var(--border);border-radius:14px;padding:27px;width:min(580px,calc(100% - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 30px 100px #280a1533}dialog::backdrop{background:#2d121c70;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.modal-heading button{padding:5px}.modal-subtitle{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:24px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.upload-zone{border:1px dashed #cbb7be;border-radius:8px;background:#fbf7f8;padding:18px;text-align:center}.upload-zone input{font-size:12px;width:100%;margin-top:12px}.upload-zone p{font-size:12px;color:var(--muted);margin-top:6px}.upload-preview{max-height:220px;max-width:100%;border-radius:8px;margin-top:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;font-size:11px;letter-spacing:.5px;color:#a19599;font-weight:500;padding:17px 20px;background:#fcfafb;white-space:nowrap}td{padding:17px 20px;border-top:1px solid var(--border)}.user-name{display:flex;gap:10px;align-items:center}.user-name small{display:block;margin-top:4px;color:#a19599;font-size:11px}.role-badge{background:#f5edf0;padding:5px 9px;color:#795864;font-size:11px;border-radius:5px;white-space:nowrap}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:7px;background:white;padding:9px 12px;max-width:300px}.search-box svg{width:17px;color:#9a8c91}.search-box input{border:0;outline:0;font-size:13px;min-width:0;width:100%}.list-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.history-item{padding:22px;border-bottom:1px solid var(--border);display:flex;gap:17px;align-items:center}.history-item:last-child{border:0}.history-icon{height:43px;width:43px;display:grid;place-items:center;border-radius:11px;background:#f5eaee;color:#926d7b;flex-shrink:0}.history-body{flex:1;min-width:0}.history-body h3{font-size:14px;margin-bottom:7px}.history-body p{font-size:12px;line-height:1.8;color:#8a7a80}.history-meta{font-size:11px;color:#aaa1a4;margin-top:8px}.new-badge{font-size:10px;background:#f4e7ec;color:var(--ruby);padding:4px 7px;border-radius:4px;white-space:nowrap}.empty{text-align:center;padding:50px 20px;color:#a29499;font-size:14px}.settings-panel{max-width:650px;padding:25px}.settings-panel h3{margin-bottom:22px}.settings-divider{height:1px;background:var(--border);margin:28px 0}.settings-profile{display:flex;align-items:center;gap:15px}.settings-profile .avatar{width:55px;height:55px;font-size:20px}.settings-profile p{font-size:13px;color:var(--muted);margin-top:5px}.detail-participants{display:flex;align-items:center;justify-content:center;gap:30px;padding:25px;background:#f9f5f6;border-radius:10px;margin-bottom:20px}.detail-person{text-align:center;min-width:80px}.detail-person .avatar{width:55px;height:55px;font-size:18px;margin-bottom:10px}.detail-person strong{display:block;font-size:14px}.detail-photo{max-width:100%;max-height:300px;display:block;margin:15px auto;border-radius:8px}.detail-meta{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.detail-meta span{font-size:12px;background:#f5f1f2;padding:7px 10px;border-radius:5px}.message{border:1px solid var(--border);border-radius:8px;padding:14px;margin:10px 0}.message strong{font-size:12px}.message p{font-size:13px;color:#79656c;white-space:pre-wrap;line-height:1.8;margin:8px 0}.message small{font-size:10px;color:#a5989d}.policy{font-size:13px;color:#7d676f;line-height:1.9}.policy h3{margin:20px 0 8px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:610px;border-top:1px solid var(--border)}.month-day{min-height:100px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:7px;font-size:11px;color:#9b8b91}.month-day.today{background:#f9f0f3}.month-day .month-event{display:block;text-align:left;border-radius:4px;padding:5px;margin-top:5px;font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(90px);background:#3d1826;color:white;padding:13px 21px;border-radius:9px;box-shadow:0 7px 25px #300c192b;font-size:13px;transition:transform .25s;z-index:100;max-width:90vw}#toast.visible{transform:translateX(-50%) translateY(0)}.shade{display:none}.legal-footer{margin-top:30px;text-align:center;font-size:11px;color:#998a90;line-height:2}.legal-footer button{font-size:11px;color:#8d757e}.pill-muted{font-size:10px;color:#9a8b91}.loading{min-height:100vh;display:grid;place-items:center}.search-row{margin-bottom:20px}.notification-banner{background:#f6edf0;border:1px solid #e8d6dd;border-radius:8px;padding:12px 16px;display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:20px;color:#784c5c}.notification-banner button{font-size:12px;color:var(--ruby);font-weight:600;margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.timeline{height:492px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 81px,#f0edee 81px,#f0edee 82px)}.time-labels span{height:82px}.content-layout{grid-template-columns:minmax(0,1fr) 285px}.match-event{padding:12px 9px}.event-name{font-size:12px}.event-time,.event-tag{font-size:10px}.event-vs{font-size:10px}}
@media(max-width:1250px){:root{--sidebar:215px}.sidebar{padding:28px 15px 18px}.topbar{padding:0 25px}main{padding:28px 25px 20px}.content-layout{grid-template-columns:minmax(0,1fr)}.right-stack{display:grid;grid-template-columns:1fr 1fr}.tip{display:none}footer{margin:0 25px}.login-art{padding:35px}.date-label{display:none}.stats{gap:12px}.stat{padding:16px}.stat-value small{display:none}}
@media(max-width:850px){:root{--sidebar:185px}.sidebar{padding:25px 12px}.brand{font-size:20px}.brandmark{width:30px;height:32px;font-size:24px}.agency-select{padding:10px 8px;gap:8px}.nav-item{font-size:12px;padding:12px 10px;gap:9px}.side-note{display:none}.page-heading{align-items:flex-start}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr}.stat{padding:15px 18px}.stat-value{font-size:27px}.stat-value small{display:inline}.right-stack{gap:14px}.login-screen{grid-template-columns:.9fr 1fr}.login-art{padding:30px}.login-pitch h1{font-size:38px}.login-right{padding:30px}.demo-chip{display:none}.week-label{font-size:11px}.calendar-head{padding:17px}.calendar-tools{padding:0 17px 17px}}
@media(max-width:640px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;padding:28px 20px}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:23px}.sidebar .nav-item{font-size:14px}.sidebar .side-note{display:block}.workspace{margin-left:0}.mobile-menu{display:grid}.shade.open{display:block;position:fixed;inset:0;background:#37182366;z-index:9}.topbar{height:65px;padding:0 18px}.breadcrumb{font-size:12px;gap:8px}.breadcrumb svg{display:none}.breadcrumb span{display:none}.top-actions{gap:10px}.demo-chip{display:inline;font-size:9px;padding:5px 6px}main{padding:25px 17px 20px}.page-heading{gap:10px;margin-bottom:22px}.eyebrow{font-size:9px}h1{font-size:24px;line-height:1.3}.subtitle{font-size:12px;margin-top:7px;max-width:250px}.page-heading>.btn{padding:10px 12px;font-size:11px;margin-top:21px}.page-heading>.btn svg{width:14px}.stats{gap:10px;margin-bottom:19px}.stat{padding:13px 14px}.stat-top{font-size:10px}.stat-icon{width:25px;height:25px}.stat-icon svg{width:15px}.stat-value{font-size:26px;margin-top:3px}.stat-bottom{font-size:10px}.stat-value small{display:none}.right-stack{grid-template-columns:1fr}.right-stack .right-panel:nth-child(2){display:none}.content-layout{gap:17px}.calendar-head{padding:16px 13px}.calendar-head h2{font-size:16px}.calendar-head p{font-size:10px}.segmented button{font-size:10px;padding:6px 7px}.calendar-tools{padding:0 13px 15px;flex-wrap:wrap}.week-label{font-size:11px;margin-left:3px}.filter{max-width:110px;font-size:10px;padding:7px}.calendar-bottom{padding:12px;font-size:9px}.legend{gap:8px}.calendar-bottom>span{display:none}.calendar{min-width:680px}.timeline{height:422px}.bottom-info{font-size:9px}.top-actions .avatar{display:none}footer{margin:0 17px;font-size:9px;gap:9px}footer button{font-size:9px}footer>span:last-child{width:100%}.login-screen{display:block}.login-art{padding:24px 25px;min-height:250px}.login-pitch{padding:35px 0 15px}.login-pitch h1{font-size:31px;max-width:310px;letter-spacing:-1px}.login-pitch p{display:none}.login-pitch .eyebrow{font-size:9px;margin-bottom:12px}.login-visual,.login-art footer{display:none}.login-right{padding:32px 25px}.login-form{max-width:440px}.login-form .login-symbol{display:none}.login-form h2{font-size:25px}.login-form>p{font-size:13px;margin:8px 0 24px}.login-help{margin-top:18px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.history-item{padding:17px 14px;gap:10px;align-items:flex-start}.history-icon{width:32px;height:32px}.history-icon svg{width:16px}.history-item>.btn{font-size:11px;padding:7px 9px}.history-body h3{font-size:12px}.history-body p{font-size:11px}.list-toolbar{flex-wrap:wrap}.settings-panel{padding:20px}.notification-banner{font-size:11px;padding:10px;gap:7px}.notification-banner svg{width:16px}dialog{padding:22px}.detail-participants{gap:18px}.detail-person strong{font-size:12px}.date-label{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Ruby Agency identity */
.brand{gap:10px;letter-spacing:-.7px}.ruby-logo{width:43px;height:46px;object-fit:contain;flex-shrink:0}.brand-wordmark{display:flex;flex-direction:column;line-height:1;font-family:Manrope,system-ui,sans-serif;font-size:26px;font-weight:800}.brand-wordmark>span{font-family:'DM Sans',system-ui,sans-serif;font-size:9px;font-weight:600;letter-spacing:3.1px;margin-top:8px;color:#987081}.agency-icon{background:#f9edf1}.agency-icon img{width:24px;height:27px;object-fit:contain}.agency-select>svg{width:14px;margin-left:auto;color:#a38b96}.login-art{background:radial-gradient(ellipse at 12% 90%,#68223c 0,transparent 58%),linear-gradient(140deg,#321621,#22111b);color:#fff}.login-art:after{border-color:#754055;box-shadow:0 0 0 90px #6b304525,0 0 0 180px #6b304520}.login-art .ruby-logo{width:51px;height:55px;filter:drop-shadow(0 5px 13px #130a1260)}.login-art .brand-wordmark>span{color:#d6a4b7}.login-pitch .eyebrow{color:#e1a0b7}.login-pitch h1 em{color:#f3b7ce}.login-pitch p{color:#c6a9b5}.login-visual{border-color:#805367;background:#ffffff06;box-shadow:0 20px 45px #17091445}.mock-event{background:#f3dfe7;color:#65233e}.mock-event+.mock-event{background:#e8dfef;color:#62446e}.login-art footer{border-color:#694052;color:#bd9ba9}.nav-item.active{background:#f9eaf0;color:var(--ruby)}.nav-item:hover{background:#fbf2f5}.nav-item .count{background:var(--ruby)}.btn.primary{background:var(--ruby);border-color:var(--ruby);box-shadow:0 2px 3px #7f29451c}.btn.primary:hover{background:#811936}.avatar{background:#f1dfe6;color:#9a4966}.avatar.pink{background:#f8e9e9;color:#b27679}.side-note{background:#fcf8f9}.tip{background:#faf0f3;border-color:#efdae2;color:#957481}.tip h3{color:#8e4963}.notification-banner{background:#fbf0f4;border-color:#efd9e2;color:#8f4c65}.demo-box{background:#fcf6f8;border-color:#efdee5}.demo-box strong,.demo-box code{color:#8c4660}.stat-icon{background:#faedf2;color:#a25e79}.search-box input{background:transparent}.week-label{text-transform:capitalize}.filter,.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d6b7b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding-right:27px}.month-calendar{min-width:650px}.month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fcfafb}.month-weekdays div{padding:12px 8px;text-align:center;font-size:12px;font-weight:600;color:#967a88}.month-grid{min-width:0;border-top:0}.month-day{min-height:130px;padding:8px 6px;background:#fff}.month-day:nth-child(7n){border-right:0}.month-day.outside{background:#fcfafb}.month-day.outside .month-number{color:#c2b4bb}.month-number{font-size:12px;width:25px;height:25px;display:grid;place-items:center;margin-bottom:8px;font-weight:600;color:#806772;border-radius:50%}.month-day.today{background:#fff8fb}.month-day.today .month-number{background:var(--ruby);color:white}.month-day .month-event{width:100%;margin-top:5px;padding:7px 6px;border:1px solid #0002;border-left-width:2px;white-space:normal;transition:transform .15s}.month-day .month-event:hover{transform:translateY(-1px)}.month-event-time{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:5px;gap:3px}.month-event-time>span{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.month-participant{display:block;font-size:10px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.month-opponent{display:block;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;opacity:.8}.legend i{background:#bf6d8a}.day.current{background:#fff5f9}.day.current b{background:var(--ruby)}.month-calendar .month-day:nth-last-child(-n+7){border-bottom:0}#toast{background:#57263c}.detail-participants{background:#fcf5f8}.upload-zone{border-color:#d6acbd;background:#fcf7f9}button:focus-visible,a:focus-visible{outline-color:#d791ac}input:focus,select:focus,textarea:focus{outline-color:#edb3ca;border-color:var(--ruby)}
@media(min-width:1500px){.month-day{min-height:145px}.month-participant{font-size:12px}.month-opponent{font-size:11px}.month-event-time{font-size:11px}.month-event-time>span{font-size:9px}}
@media(max-width:850px){.ruby-logo{width:35px;height:39px}.brand-wordmark{font-size:23px}.brand-wordmark>span{font-size:8px;letter-spacing:2.4px}.agency-select{margin-top:28px}.agency-select strong{font-size:12px}}
@media(max-width:640px){.sidebar .ruby-logo{width:43px;height:46px}.sidebar .brand-wordmark{font-size:26px}.month-day{min-height:115px}.month-calendar{min-width:680px}.calendar-scroll{overscroll-behavior-x:contain}.login-art .brand-wordmark{font-size:25px}.login-art .ruby-logo{width:43px;height:46px}.month-weekdays div{font-size:11px}}
/* Clear navigation drawer on every screen size. */
.workspace{margin-left:0}.sidebar{width:285px;max-width:calc(100vw - 45px);transform:translateX(-100%);visibility:hidden;transition:transform .2s,visibility .2s;padding:27px 22px 22px;z-index:50;box-shadow:8px 0 35px #32162116}.sidebar.open{transform:translateX(0);visibility:visible}.shade{display:none;position:fixed;inset:0;z-index:49;background:#28142173;backdrop-filter:blur(3px);width:100%;height:100%;cursor:pointer}.shade.open{display:block;position:fixed;inset:0;z-index:49;background:#28142173}.menu-open{overflow:hidden}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.drawer-heading>.icon-btn{border:0;background:#faf2f5;width:29px;height:29px;padding:5px}.drawer-heading>.icon-btn svg{width:16px}.sidebar .agency-select{margin:28px 0}.sidebar .nav-item{font-size:14px;padding:13px 10px}.sidebar nav{display:grid;gap:3px}.sidebar .nav-item.active{box-shadow:inset 3px 0 var(--ruby)}.menu-toggle{display:inline-flex!important;align-items:center;gap:9px;padding:9px 13px;border:1px solid #e8d1da;border-radius:8px;background:#fff9fb;color:#8d2b4d;font-size:13px;font-weight:650;flex-shrink:0}.menu-toggle:hover{background:#f8e9ef}.menu-toggle svg{width:22px;height:22px;stroke-width:2}.breadcrumb{gap:15px}.topbar{position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(12px)}.required{color:#a32e51}.btn:disabled{opacity:.55;cursor:wait}.ticket-tabs{display:flex;gap:6px;flex-wrap:wrap}.ticket-tabs button{font-size:13px;font-weight:500;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:7px;color:#8c7581;white-space:nowrap}.ticket-tabs button span{font-size:11px;background:#f3eef0;padding:2px 6px;border-radius:5px}.ticket-tabs button.active{background:#f9eaf0;color:var(--ruby);font-weight:650}.ticket-tabs button.active span{background:#f0d7e2;color:#8e3152}.ticket-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid var(--border);flex-wrap:wrap}.ticket-filters{display:flex;align-items:center;gap:8px}.ticket-filters .filter{font-size:12px;max-width:205px;min-width:170px;height:35px}.ticket-filters .icon-btn{padding:7px}.ticket-filters svg{width:18px;height:18px}.ticket-row{display:flex;align-items:flex-start;gap:17px;padding:23px;border-bottom:1px solid var(--border);border-left:3px solid transparent}.ticket-row:last-child{border-bottom:0}.ticket-row.priority{border-left-color:#d52c3b;background:linear-gradient(90deg,#fff3f4 0,#fff 60%)}.ticket-row-icon{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;color:#a26981;background:#faeef3;border-radius:11px}.ticket-row.priority .ticket-row-icon{background:#ffe5e8;color:#bb2635}.ticket-row-main{flex:1;min-width:0}.ticket-row-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;color:#a08b95;margin-bottom:9px}.ticket-category{font-size:11px;padding:4px 7px;background:#f7f3f5;border:1px solid #f0e9ed;border-radius:4px;color:#907987}.ticket-status{display:inline-flex;align-items:center;font-size:10px;font-weight:600;padding:4px 8px;border-radius:5px;line-height:1.4;white-space:nowrap}.ticket-status.waiting{background:#fcf1e3;color:#b48645}.ticket-status.in_progress{background:#f1eafa;color:#8c6baa}.ticket-status.closed{background:#edf4ef;color:#718d77}.ticket-priority{display:inline-flex;align-items:center;gap:4px;background:#ffe5e8;border:1px solid #f7bbc3;color:#b51e2d;font-size:10px;font-weight:700;line-height:1.4;padding:4px 8px;border-radius:5px;white-space:nowrap}.ticket-row h3{font-size:15px;font-weight:700;letter-spacing:-.3px;line-height:1.6;overflow-wrap:anywhere}.ticket-row-main>p{font-size:12px;color:#a18b96;margin-top:8px;line-height:1.6}.ticket-row-main>p b{color:#8e7381;font-weight:500}.ticket-assignee{display:flex;gap:6px;align-items:center;font-size:11px;color:#977a8a;margin-top:12px}.ticket-assignee svg{width:13px;height:13px}.ticket-row-actions{align-self:center;flex-shrink:0}.ticket-row-actions .btn{font-size:12px}.ticket-private{display:flex;align-items:center;gap:6px;font-size:11px;color:#b09aa6;padding:7px}.ticket-private svg{width:14px;height:14px}.ticket-closed-reason{font-size:11px;line-height:1.8;background:#faf8f9;border:1px solid #f0e9ed;border-radius:7px;padding:11px 13px;margin-top:13px;color:#a18b96;overflow-wrap:anywhere}.ticket-closed-reason b{font-weight:600;color:#7a6371}.ticket-closed-reason p{color:#8e7984;font-size:12px;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-empty{padding:60px 20px;text-align:center;color:#b29aa7}.ticket-empty>svg{width:37px;height:37px;color:#c294a9;margin-bottom:17px}.ticket-empty h3{font-size:16px;color:#977487}.ticket-empty p{font-size:13px;line-height:1.9;margin-top:9px}.ticket-back-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:12px}.ticket-back-row .text-link{display:flex;align-items:center;gap:7px;font-size:13px}.ticket-back-row .text-link svg{width:16px;height:16px}.ticket-back-row .btn{padding:8px 12px;font-size:12px}.ticket-detail-heading{margin-bottom:25px}.ticket-detail-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.ticket-detail-title h1{max-width:850px;overflow-wrap:anywhere}.ticket-detail-title>div{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.ticket-detail-title .ticket-status,.ticket-detail-title .ticket-priority{font-size:11px;padding:6px 10px}.ticket-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}.ticket-thread-heading{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;padding:19px 22px;border-bottom:1px solid var(--border);color:#774c62}.ticket-thread-heading>svg{width:18px;height:18px}.ticket-thread-heading>span{margin-left:auto;font-size:11px;font-weight:400;color:#b19aa7}.ticket-messages{padding:22px;min-height:320px;max-height:620px;overflow:auto;background:#fcfafb;overscroll-behavior:contain}.ticket-bubble{border:1px solid #ebe4e8;border-radius:10px;padding:15px 17px;background:#fff;margin:15px 35px 15px 0}.ticket-bubble.own{background:#faedf3;border-color:#efdae4;margin-right:0;margin-left:35px}.ticket-bubble-head{display:flex;gap:7px;align-items:center}.ticket-bubble-head .avatar{width:25px;height:25px;font-size:9px}.ticket-bubble-head b{font-size:12px;font-weight:600;color:#80546c}.ticket-bubble-head time{font-size:10px;color:#b296a5;margin-left:auto}.ticket-bubble p{margin:10px 0 0;font-size:14px;color:#775e6d;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-system{display:flex;align-items:flex-start;gap:9px;padding:14px 8px;color:#a28b98;font-size:12px}.ticket-system>svg{width:15px;height:15px;flex-shrink:0;color:#b692a3;margin-top:2px}.ticket-system p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-system time{display:block;margin-top:5px;font-size:10px;color:#bdaab4}.ticket-system.priority-event>svg{color:#c75161}.ticket-reply{padding:21px;border-top:1px solid var(--border)}.ticket-reply .field{margin-bottom:12px}.ticket-reply textarea{min-height:105px;background:#fff;font-size:14px;resize:vertical}.ticket-reply-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.ticket-reply-bottom>span{display:flex;align-items:center;gap:5px;font-size:10px;color:#b197a4}.ticket-reply-bottom>span svg{width:12px;height:12px}.ticket-info{padding:21px}.ticket-info h3{font-size:15px;margin-bottom:22px}.ticket-info dl{margin:0}.ticket-info dt{font-size:11px;color:#b197a5;margin-top:17px}.ticket-info dd{font-size:13px;color:#7c5c6e;margin:6px 0 0;line-height:1.7;overflow-wrap:anywhere}.ticket-management{display:grid;gap:9px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.ticket-management .btn{font-size:12px;justify-content:flex-start;padding:11px 12px}.ticket-management .priority-active{border-color:#edb3bb;background:#fff0f2;color:#c0293c}.ticket-management .ticket-close-btn{color:#a24a6c;background:#fdf5f8;border-color:#efd9e2}.ticket-info>.btn{margin-top:20px;width:100%;font-size:12px}.ticket-details{display:grid;gap:18px}.ticket-access-note{display:flex!important}.ticket-closure-card{border:1px solid #e2e9e3;background:#f4f8f5;border-radius:10px;padding:21px;color:#728b77}.ticket-closure-card>div{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;margin-bottom:17px}.ticket-closure-card>div svg{width:17px;height:17px}.ticket-closure-card h3{font-size:14px}.ticket-closure-card time{display:block;font-size:10px;color:#9bad9e;margin-top:7px}.ticket-closure-card h4{font-size:11px;font-weight:600;margin:22px 0 8px}.ticket-closure-card p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-archived{display:flex;align-items:center;gap:8px;padding:20px;color:#a28d98;font-size:12px;line-height:1.8;border-top:1px solid var(--border)}.ticket-archived svg{width:16px;height:16px;flex-shrink:0}.ticket-modal-note{font-size:14px;line-height:1.9;color:#977989}.ticketReply-busy{opacity:.65}.ticket-row-main .ticket-category{font-size:11px}
@media(max-height:800px){.sidebar .side-note{display:none}}
@media(max-width:1000px){.ticket-detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.ticket-list-toolbar{gap:12px}.ticket-row{gap:13px;padding:20px}.ticket-thread-heading,.ticket-reply,.ticket-messages{padding:18px}.ticket-bubble{margin-right:15px}.ticket-bubble.own{margin-left:15px}}
@media(max-width:720px){.ticket-detail-grid{grid-template-columns:1fr}.ticket-details{grid-template-columns:1fr 1fr}.ticket-access-note{align-self:start}.ticket-detail-title{align-items:flex-start;flex-wrap:wrap}.ticket-detail-title>div{justify-content:flex-start}.ticket-info{padding:18px}.ticket-management .btn{font-size:11px}.ticket-row{flex-wrap:wrap}.ticket-row-actions{margin-left:54px}.ticket-row-main{flex-basis:calc(100% - 60px)}.ticket-filters{width:100%;justify-content:space-between}.ticket-filters .filter{max-width:none;min-width:220px}.ticket-tabs{gap:3px}.ticket-tabs button{font-size:12px;padding:9px 10px}.ticket-reply-bottom>span{max-width:180px;line-height:1.7}}
@media(max-width:640px){.menu-toggle{padding:8px 10px;gap:7px;font-size:12px}.menu-toggle span{display:inline!important}.breadcrumb{gap:10px;min-width:0}.breadcrumb strong{font-size:11px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions .demo-chip{display:none}.topbar{padding:0 16px}.sidebar .side-note{display:block}.ticket-details{grid-template-columns:1fr}.ticket-info dl{display:grid;grid-template-columns:1fr 1fr;gap:5px 15px}.ticket-info dt{grid-column:1;margin-top:10px;align-self:start}.ticket-info dd{grid-column:2;margin:7px 0 0}.ticket-access-note{margin-top:0}.ticket-row{padding:17px 13px;gap:11px}.ticket-row-icon{width:33px;height:33px;border-radius:8px}.ticket-row-icon svg{width:17px;height:17px}.ticket-row-main{flex-basis:calc(100% - 48px)}.ticket-row h3{font-size:14px}.ticket-row-meta{gap:6px;font-size:10px}.ticket-row-main>p{font-size:11px;line-height:1.8}.ticket-row-actions{margin-left:44px}.ticket-row-actions .btn{font-size:11px;padding:9px 12px}.ticket-row-main .ticket-category{font-size:10px}.ticket-status,.ticket-priority{font-size:9px;padding:3px 6px}.ticket-list-toolbar{padding:12px}.ticket-tabs{gap:3px}.ticket-tabs button{font-size:11px;padding:8px}.ticket-tabs button span{font-size:10px}.ticket-back-row{margin-bottom:20px}.ticket-back-row .text-link{font-size:12px}.ticket-back-row .btn{font-size:11px}.ticket-detail-title h1{font-size:24px}.ticket-messages{padding:14px;max-height:500px;min-height:250px}.ticket-thread-heading{font-size:13px;padding:16px}.ticket-bubble{padding:13px;margin-right:10px}.ticket-bubble.own{margin-left:10px}.ticket-bubble-head{gap:6px;flex-wrap:wrap}.ticket-bubble-head time{font-size:9px}.ticket-bubble-head b{font-size:11px}.ticket-bubble p{font-size:13px}.ticket-system{font-size:11px;padding:12px 3px}.ticket-system time{font-size:9px}.ticket-reply{padding:16px}.ticket-reply-bottom>span{font-size:9px;max-width:150px}.ticket-reply-bottom .btn{font-size:12px;padding:10px 13px}.ticket-archived{font-size:11px;padding:16px}.ticket-filters .filter{font-size:11px;min-width:200px}.sidebar .nav-item{font-size:14px}.ticket-info h3{font-size:14px}.ticket-management .btn{font-size:12px}}
.sidebar{overflow-y:auto}.sidebar .side-bottom{flex-shrink:0}

.ticket-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:290px}.ticket-row.absolute{border-left:4px solid #d21e32;background:linear-gradient(90deg,#ffe5e9 0,#fff5f6 100%)}.ticket-priority.absolute{background:#c91d31;border-color:#c91d31;color:#fff;letter-spacing:.15px}.ticket-row.absolute .ticket-row-icon{background:#ffd5dc;color:#b61125}.ticket-row-actions .ticket-close-btn{color:#a13450;border-color:#ebcbd5;background:#fff7f9}.absolute-priority-note{font-size:12px;line-height:1.8;color:#b31c31;border:1px solid #f0bcc5;background:#fff0f3;padding:10px;border-radius:6px}

/* Compact tickets: only subject and creator in every list. */
.ticket-row.ticket-compact{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-radius:0;background:#fff;cursor:pointer;transition:background .15s}.ticket-compact-subject{font-family:Manrope,system-ui,sans-serif;font-size:15px;font-weight:700;line-height:1.6;overflow-wrap:anywhere;min-width:0;flex:1;color:#583b4d}.ticket-compact-creator{font-size:13px;font-weight:500;line-height:1.6;color:#957689;max-width:180px;overflow-wrap:anywhere;flex-shrink:0}.ticket-row.ticket-compact:hover{background:#fcf5f8}.ticket-row.ticket-compact.priority{border-left-color:#d52c3b;background:#fff2f4}.ticket-row.ticket-compact.absolute{border-left:4px solid #d21e32;background:#ffe8ec}.ticket-row.ticket-compact.absolute:hover{background:#ffdae1}.ticket-row.ticket-compact.absolute .ticket-compact-subject{color:#a4162b}.ticket-row.ticket-compact.absolute .ticket-compact-creator{color:#b44859}.ticket-overview dl{display:grid;grid-template-columns:130px 1fr;gap:10px;font-size:13px;margin:20px 0}.ticket-overview dt{color:#a28b98}.ticket-overview dd{margin:0;color:#7a596c;line-height:1.7}.menu-toggle svg{display:block!important}
@media(max-width:640px){.ticket-row.ticket-compact{padding:17px 18px;gap:6px;align-items:flex-start;flex-direction:column;flex-wrap:nowrap}.ticket-compact-subject{font-size:14px;line-height:1.7}.ticket-compact-creator{font-size:12px;max-width:none}.ticket-overview dl{grid-template-columns:110px 1fr}}
/* Back navigation and sanctions */
.back-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:1px solid #dcb4c5;border-radius:8px;background:#fff3f8;color:#8f2b50;font:600 13px 'DM Sans',system-ui,sans-serif;cursor:pointer;flex-shrink:0;white-space:nowrap}.back-button:hover{background:#f7dfe9}.back-button:disabled{opacity:.42;cursor:default}.ticket-back-row .ticket-return{font-size:13px;font-weight:650;padding:11px 16px;box-shadow:0 2px 6px #7f29450b}.modal-heading{flex-wrap:wrap}.modal-back{flex-basis:100%;text-align:left;color:#9b2345;font-size:13px;font-weight:600;padding:0 0 16px}.modal-heading h2{flex:1}.modal-back:hover{text-decoration:underline}.marked-account{display:inline;white-space:inherit}.sanction-dot{display:inline-block;width:8px;height:8px;min-width:8px;min-height:8px;background:#ec8b20;border-radius:50%;margin-left:6px;vertical-align:middle;box-shadow:0 0 0 3px #f4a54b18;position:static!important}.sanction-record{padding:24px;border-bottom:1px solid var(--border)}.sanction-record:last-child{border-bottom:0}.sanction-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.sanction-record-head h3{font-size:15px;font-weight:700;color:#704958}.sanction-record-head p{font-size:12px;color:#a38b98;margin-top:7px}.sanction-record-head time{font-size:11px;color:#a38b98;white-space:nowrap}.sanction-reason{background:#fffaf4;border:1px solid #f4e3ce;border-radius:8px;padding:14px 16px;margin:17px 0}.sanction-reason h4{font-size:11px;color:#b48651;font-weight:600;margin:0 0 7px}.sanction-reason p{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#8e7358}.sanction-record-author{font-size:11px;color:#a28b98}.sanction-record-author b{font-weight:600;color:#927382}.sanction-filter .filter{min-width:215px;max-width:330px;font-size:12px}.event-name .sanction-dot,.month-participant .sanction-dot,.month-opponent .sanction-dot{width:5px;height:5px;min-width:5px;min-height:5px;margin-left:4px;box-shadow:none}.ticket-compact-creator .sanction-dot{width:7px;height:7px}.breadcrumb{gap:10px}
@media(max-width:850px){.breadcrumb>span{display:none}.breadcrumb>svg{display:none}.breadcrumb strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:640px){.back-button{min-height:38px;padding:8px 10px;font-size:12px}.ticket-back-row .ticket-return{font-size:12px;padding:10px 14px}.sanction-record{padding:18px 15px}.sanction-record-head{flex-wrap:wrap;gap:8px}.sanction-record-head h3{font-size:14px}.sanction-record-head time{font-size:10px}.sanction-reason{padding:12px;margin:14px 0}.sanction-reason p{font-size:13px}.sanction-filter{width:100%}.sanction-filter .filter{min-width:0;width:100%;max-width:none;font-size:12px}.modal-back{padding-bottom:14px}.breadcrumb strong{font-size:10px;max-width:100px}}
@media(max-width:430px){.breadcrumb strong{display:none}.topbar{gap:8px}.breadcrumb{gap:8px}}
.marked-account{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle}.account-label-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sanction-dot{flex-shrink:0}
.names .marked-account{display:inline-flex}.names .account-label-text{display:inline}.names .sanction-dot{display:inline-block}

/* User-supplied Ruby Agency logo, displayed directly from the original WebP. */
.ruby-logo{width:54px;height:40px;object-fit:cover;object-position:50% 37%;background:#fff;border-radius:6px;flex-shrink:0}.login-art .ruby-logo{width:64px;height:46px;object-fit:cover;object-position:50% 37%;filter:none}.agency-icon{width:38px;height:32px;background:#fff}.agency-icon img{width:34px;height:26px;object-fit:cover;object-position:50% 37%;border-radius:4px}
@media(max-width:850px){.ruby-logo{width:46px;height:35px}}
@media(max-width:640px){.sidebar .ruby-logo{width:54px;height:40px}.login-art .ruby-logo{width:54px;height:40px}}
.video-links-field textarea{min-height:75px!important;font-size:13px!important}.optional-label{font-size:12px;font-weight:400;color:#ad929f}.video-links{margin-top:14px;padding-top:12px;border-top:1px solid #ebdce3}.video-links h4{font-size:11px;color:#a4778d;font-weight:600;margin:0 0 9px}.video-link{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid #e8ccd9;background:#fff9fc;border-radius:7px;padding:8px 11px;text-decoration:none;color:#94335a;margin:3px 6px 3px 0;font-size:12px}.video-link:hover{background:#f7e5ed}.video-link svg{width:20px;height:20px}.video-link small{display:block;color:#a58a99;font-size:10px;margin-top:3px;overflow-wrap:anywhere}.video-link>span{min-width:0}.ticket-reply .video-links-field{margin-top:13px}
.team-badge{display:inline-flex;align-items:center;max-width:100%;padding:4px 8px;border-radius:5px;border:1px solid #e8d8e2;background:#f8f0f5;font-size:10px;font-weight:600;line-height:1.5;color:#8f5c79;white-space:nowrap;letter-spacing:0;text-transform:none}.team-badge.unassigned{background:#fff8ee;border-color:#efdfc4;color:#b48645}.ticket-compact-creator{display:flex;align-items:center;gap:12px;max-width:310px;flex-wrap:wrap;justify-content:flex-end}.member-team{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.ticket-create-team{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #efdee7;border-radius:7px;background:#fcf7fa;margin-bottom:20px}.ticket-create-team>span:last-child{font-size:11px;color:#a38b98}
@media(max-width:640px){.ticket-compact-creator{justify-content:flex-start;gap:8px;max-width:100%}.team-badge{font-size:9px;padding:3px 6px}.ticket-create-team{flex-wrap:wrap}}
.btn.danger{background:#a82d46;border-color:#a82d46;color:#fff}.delete-account-link{color:#b4435e}.deleted-badge{display:inline-flex;font-size:10px;font-weight:500;line-height:1.5;color:#a98b97;background:#f6eef1;border:1px solid #ecdee4;padding:3px 6px;border-radius:4px;margin-left:6px;vertical-align:middle}.sidebar .nav-item{white-space:normal;line-height:1.5;align-items:flex-start}.sidebar .nav-item>svg{margin-top:1px}
.photo-attachment-field{margin:18px 0}.photo-choose{position:relative;display:flex;align-items:center;gap:10px}.photo-choose label{cursor:pointer;background:#fff8fb;border-color:#e4c4d2;color:#933050}.photo-file-input{position:absolute;width:1px!important;height:1px!important;padding:0!important;min-height:0!important;opacity:0;left:15px;bottom:0}.photo-choose:focus-within label{outline:2px solid #d791ad;outline-offset:3px}.photo-draft-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-draft{position:relative;min-width:0;background:#faf4f7;border:1px solid #ebd8e2;border-radius:8px;overflow:hidden}.photo-draft img{width:100%;height:100px;object-fit:cover;display:block}.photo-draft>button{position:absolute;top:5px;right:5px;width:25px;height:25px;display:grid;place-items:center;background:#fff;color:#97415e;border-radius:50%;box-shadow:0 2px 6px #32162120}.photo-draft>button svg{width:14px;height:14px}.photo-draft>span{display:block;font-size:10px;padding:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#97788a}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.photo-gallery a{display:block;min-width:0;text-decoration:none;border:1px solid #e8d0db;background:#fff;border-radius:8px;overflow:hidden}.photo-gallery img{width:100%;height:140px;object-fit:cover;display:block}.photo-gallery span{display:block;padding:7px 9px;font-size:11px;color:#94657d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-gallery a:hover{border-color:#b56c8b}.sanction-reason .photo-gallery{max-width:650px}.ticket-reply .photo-attachment-field{padding-top:2px}
@media(max-width:640px){.photo-gallery{gap:7px}.photo-gallery img{height:100px}.photo-gallery span{font-size:10px;padding:6px}.photo-draft-list{gap:7px}.photo-draft img{height:85px}}

.match-event,.month-day .month-event{background:var(--match-color,#16813c);color:var(--match-ink,#fff);border-color:#0002}
.match-event :is(.event-name,.event-time,.event-vs,.event-tag),.month-event :is(.month-event-time,.month-participant,.month-opponent){color:inherit}
.match-event .event-tag,.month-event .month-event-time span{background:none;color:inherit}
.match-list-row td:first-child{border-inline-start:6px solid var(--match-color,#16813c)}

.ticket-options-toggle{display:none}
@media (max-width:760px), (pointer:coarse) {
 body:has(.ticket-screen){overflow:hidden}
 .workspace:has(.ticket-screen){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .workspace:has(.ticket-screen)>main{flex:1;min-height:0;display:flex;padding:8px;overflow:hidden}
 .workspace:has(.ticket-screen)>footer{display:none}
 .ticket-screen{width:100%;min-height:0;display:flex;flex-direction:column;position:relative}
 .ticket-screen .ticket-detail-heading{margin:4px 0 8px}
 .ticket-screen .ticket-detail-heading h1{font-size:clamp(17px,4vw,25px);overflow-wrap:anywhere}
 .ticket-screen .ticket-detail-heading .subtitle,.ticket-screen .ticket-detail-heading .eyebrow,.ticket-screen .ticket-thread-heading{display:none}
 .ticket-screen .ticket-detail-grid,.ticket-screen .ticket-thread{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;overflow:hidden}
 .ticket-screen .ticket-messages{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
 .ticket-screen .ticket-reply-bottom{justify-content:flex-end}
 .ticket-screen .ticket-reply{flex:none;padding:8px 8px max(8px,env(safe-area-inset-bottom))}
 .ticket-screen .ticket-reply .field{margin-bottom:4px}
 .ticket-screen .ticket-reply textarea{min-height:42px;max-height:70px;font-size:16px}
 .ticket-screen .ticket-reply-bottom>span,.ticket-screen .ticket-details,.ticket-screen .ticket-reply-options{display:none}
 .ticket-screen .ticket-options-toggle{display:inline-flex}
 .ticket-screen.show-ticket-options .ticket-details{display:block;position:absolute;inset:44px 0 auto;z-index:5;max-height:42%;overflow:auto;background:white;border-radius:12px;box-shadow:0 6px 26px #0003}
 .ticket-screen.show-ticket-options .ticket-reply-options{display:block;max-height:18dvh;overflow:auto}
}

.agency-rules .sanction-record p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.agency-rules img,.rule-existing-image{display:block;width:auto;max-width:100%;max-height:520px;object-fit:contain;margin-top:12px;border-radius:8px}.rule-existing-image{max-height:180px}

.update-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.agency-updates time{display:block;color:var(--muted);font-size:.875rem;margin:5px 0}.agency-updates p:empty{display:none}

.nav-item.apk-download{text-decoration:none;white-space:normal}

.ios-install-steps{padding-inline-start:24px;line-height:1.55}.ios-install-steps li+li{margin-block-start:10px}

#photoViewer{position:fixed;inset:0;width:max-content;height:max-content;max-width:96vw;max-height:94dvh;padding:48px 8px 8px;margin:auto;background:#181419;border:0;border-radius:12px;overflow:auto;overscroll-behavior:contain}
#photoViewer::backdrop{background:#100910df}
#photoViewer>img{display:block;width:auto;height:auto;max-width:calc(96vw - 16px);max-height:calc(94dvh - 56px);object-fit:contain;margin:auto}
#photoViewer>[data-close-image]{position:absolute;top:7px;right:8px;min-height:34px;padding:5px 12px;background:white;color:#33232c}
[data-image-preview]{cursor:zoom-in}.detail-photo-link{display:block}

.recruitment-reason{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin-top:8px}

.ruby-logo,.agency-icon{background:transparent}.ruby-logo,.login-art .ruby-logo,.agency-icon img{object-fit:contain;object-position:center}

.recruitment-list summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}
.agency-disclosure summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}
.agency-disclosure[open] summary{margin-bottom:12px}
.meeting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.meeting-section{padding:18px}
.meeting-grid-single{grid-template-columns:minmax(0,1fr)}
.meeting-section h2{margin-bottom:12px}
.meeting-form{display:grid;gap:8px;margin-bottom:16px}
.meeting-form button{justify-self:start}
.meeting-message{padding:10px 0;overflow-wrap:anywhere}
.meeting-message small{display:block;color:var(--muted)}
.meeting-message p{margin:5px 0 0;white-space:pre-wrap}
.voice-room,.meeting-message+.meeting-message{border-top:1px solid var(--line,#e3dce0)}
.voice-room{padding:9px 0}
.voice-room-head,.voice-member,.meeting-dock-panel header,.voice-active{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.voice-member{padding:6px 0}
.voice-member .voice-speaking{color:#168bff;font-weight:800}
.voice-moderation summary{cursor:pointer}
.voice-moderation>div{display:flex;gap:6px;flex-wrap:wrap}
#voiceNotice:empty{display:none}
#meetingDock{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:20;display:grid;justify-items:end;gap:8px;max-width:calc(100vw - 24px)}
#meetingDock:empty,.menu-open #meetingDock{display:none}
.meeting-dock-button.btn{position:relative;display:grid;place-items:center;width:54px;height:54px;min-height:54px;padding:0;border-radius:50%;box-shadow:0 6px 20px #0004;touch-action:none;user-select:none;z-index:1}
.meeting-dock-button.btn.meeting-bubble-moved{position:fixed}
.meeting-dock-button svg{width:26px;height:26px}
.meeting-dock-button [data-meeting-unread]{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#fff;color:#861531;font-size:11px;font-weight:800}
.meeting-dock-button [data-meeting-unread]:empty{display:none}
.meeting-dock-panel{display:grid;gap:9px;padding:12px;width:min(365px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;order:-1}
.meeting-bubble-moved+.meeting-dock-panel{margin-bottom:62px}
#meetingInbox{min-height:44px;max-height:min(380px,55dvh);overflow:auto}
.meeting-rsvp{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.meeting-form [hidden]{display:none}
.meeting-attendance+.meeting-attendance{margin-top:14px}
.voice-active{padding:6px 8px;max-width:min(365px,calc(100vw - 24px));order:-2}
#meetingNotifications:not(:empty){margin-top:16px}
@media(max-width:680px){.meeting-grid{grid-template-columns:minmax(0,1fr)}}
.recruitment-list details[open] summary{margin-bottom:8px}
@media(max-width:720px){
 .calendar-head{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch}
 .calendar-head h1{min-width:0;white-space:normal}
 .calendar-head .segmented{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
 .calendar-head .segmented button{min-width:0;min-height:44px;padding-inline:4px}
}
@media(max-width:400px){
 .calendar-head{grid-template-columns:minmax(0,1fr)}
 .calendar-head>.btn{justify-self:start}
}

.announcement-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}
.announcement-toolbar select{max-width:100%}
.formatted-announcement{white-space:pre-wrap;overflow-wrap:anywhere}
.footer-credit{font:inherit;text-align:end;white-space:nowrap;flex-shrink:0}
.footer-credit-neon{color:#775296}
.footer-credit-rinka{color:#a7243d}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .footer-credit-neon,.footer-credit-rinka{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}
 .footer-credit-neon{background-image:linear-gradient(100deg,#247042,#197986 33%,#6645a0 68%,#af2e76)}
 .footer-credit-rinka{background-image:linear-gradient(100deg,#686a70,#9a394e 62%,#ba182d)}
 :root:is([data-theme="dark"],[data-theme="ruby"],[data-theme="neon"],[data-theme="rinka"]) .footer-credit-neon{background-image:linear-gradient(100deg,#9ef6a1,#7ee9ea 33%,#c7a8ff 68%,#ff99d9)}
 :root:is([data-theme="dark"],[data-theme="ruby"],[data-theme="neon"],[data-theme="rinka"]) .footer-credit-rinka{background-image:linear-gradient(100deg,#d4d5da,#e597a3 62%,#ff6379)}
}
