/* Preserve Django's forms and behaviours inside the shared product shell. */
:root,html[data-theme="dark"]{color-scheme:light;--primary:#627da9;--secondary:#252936;--accent:#627da9;--body-fg:#343d51;--body-bg:#e9eaf6;--body-quiet-color:#657085;--body-loud-color:#242936;--header-color:#657085;--header-branding-color:#242936;--header-bg:transparent;--header-link-color:#3c568c;--breadcrumbs-fg:#657085;--breadcrumbs-link-fg:#3c568c;--breadcrumbs-bg:transparent;--link-fg:#3c568c;--link-hover-color:#283e6c;--link-selected-fg:#283e6c;--hairline-color:#e4e8f1;--border-color:#dbe1ed;--darkened-bg:#f2f4fa;--selected-bg:#e8edf9;--selected-row:#edf1fa;--button-fg:#fff;--button-bg:#252936;--button-hover-bg:#414657;--default-button-bg:#252936;--default-button-hover-bg:#414657;--close-button-bg:#e6e9f1;--close-button-hover-bg:#d5dbe9;--delete-button-bg:#a94d45;--delete-button-hover-bg:#8a3c35;--object-tools-fg:#fff;--object-tools-bg:#252936;--object-tools-hover-bg:#414657}
html body{font-family:system-ui,sans-serif;color:var(--body-fg)}
body:not(.auth-screen):not(.popup) #container{display:block;box-sizing:border-box;min-width:0;padding:0 28px 0 284px;width:100%}
body #header{background:transparent;color:var(--body-fg);padding:0;box-sizing:border-box;min-height:85px;width:100%;margin:0;gap:16px}
body #header a:link,body #header a:visited{color:#657085}body #header .top-tabs a[aria-current=page]{color:white}body #header .brand{color:#242936}
body #main.main{display:block;min-width:0;width:100%;margin:0}body #content{padding:25px 0 10px;width:100%;box-sizing:border-box;min-width:0}body #content-start{min-width:0;width:100%}
body #content h1{font-size:29px;font-weight:500;letter-spacing:-.8px;color:#242936;margin:0 0 22px}body #content h2{color:#424e65}
body .breadcrumbs{background:none;padding:18px 0 0;font-size:11px;color:#788399;line-height:1.7}body .breadcrumbs a{color:#627392}
body .module,body #changelist.module,body #changelist-filter,body #content-related{border:1px solid white;border-radius:19px;background:rgba(255,255,255,.8);box-shadow:0 5px 20px #68728a05;overflow:hidden}body .module{margin-bottom:22px}
body .module h2,body .module caption,body .inline-group h2{background:#f5f6fc;color:#424e65;padding:15px 20px;font-size:12px;font-weight:600;letter-spacing:.1px}body .module h2 a,body .module caption a.section{color:#424e65}
body #content-main{min-width:0}body #content-related{background:#ffffff91;padding:10px 16px;box-sizing:border-box}body #content-related .module{border:0;box-shadow:none;background:transparent}body #content-related .module h2{padding-left:0;background:transparent}
body table{background:transparent}body table thead th{background:#f4f6fb;color:#6a758a;border-color:#e5e9f2;font-size:11px;font-weight:500;line-height:1.5}body td,body th{border-bottom-color:#e8ecf4;padding:13px 17px;font-size:12px;line-height:1.6}body tbody tr{background:transparent}body tbody tr:nth-child(even){background:#f8f9fd77}body .row1,body .row2{background:transparent}body th a:link,body th a:visited{color:#3c568c}
body .object-tools{margin:0 0 18px;padding:0;display:flex;gap:8px;flex-wrap:wrap;float:none;justify-content:flex-end}body .object-tools li{float:none;height:auto;padding:0;margin:0}body .object-tools a:link,body .object-tools a:visited{background-color:#252936;border-radius:24px;padding:11px 19px;color:white;font-size:11px;font-weight:500;letter-spacing:0;text-transform:none;line-height:1.5}body .object-tools a:hover{background-color:#414657}
body #toolbar{padding:18px 20px;border:0;background:transparent;margin:0;border-bottom:1px solid #e7ebf4}body #toolbar form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}body #toolbar form #searchbar{min-height:38px;border-radius:11px;flex:1;min-width:140px;max-width:420px;padding:9px 12px;box-shadow:none}
body #toolbar form #searchbar{background:white}body #toolbar form input[type=submit]{background:#252936;border:1px solid #252936;color:white;border-radius:24px;padding:10px 18px;box-shadow:none}
body .actions{padding:12px 20px;background:#f7f8fc;border-color:#e7ebf4;color:#6b768c}body #changelist .paginator{padding:17px 20px;background:#f8f9fd;border-color:#e7ebf4;font-size:11px}
body #changelist-filter{margin-left:18px;border-radius:18px;flex-basis:230px;background:#ffffff80}body #changelist-filter h2,body #changelist-filter h3{padding:15px 19px;background:none;border-bottom:1px solid #e7ebf4;color:#4f5d74;margin:0;font-size:12px}body #changelist-filter ul{padding:10px 20px;margin:0}body #changelist-filter li{padding:4px 0;font-size:11px}body #changelist-filter li.selected{border-left:3px solid #8ba4cd;padding-left:10px}body #changelist-filter a{color:#6b7890}body #changelist .results{overflow-x:auto}
body input,body textarea,body select{border:1px solid #dce2ed;background:#ffffffd9;color:#3d4658;border-radius:10px;padding:10px 12px;font:12px system-ui,sans-serif;max-width:100%;box-sizing:border-box}body input[type=checkbox],body input[type=radio]{width:auto;min-height:16px;accent-color:#627da9}
body input[type=submit],body input[type=button],body button.button,body .submit-row input{border:1px solid #252936;border-radius:24px;background:#252936;color:#fff;padding:11px 19px;font:500 11px system-ui,sans-serif;cursor:pointer;box-shadow:none;text-transform:none;height:auto}body input[type=submit]:hover,body .submit-row input:hover{background:#414657}
body input:focus-visible,body textarea:focus-visible,body select:focus-visible,body button:focus-visible,body a:focus-visible{outline:3px solid #536eb3;outline-offset:3px}
body label,body label.required{font-weight:500;color:#56627a;font-size:12px}body .aligned label{width:175px}body .aligned .form-row input:not([type=checkbox]):not([type=radio]),body .aligned .form-row textarea{max-width:min(100%,650px)}body .form-row{padding:19px 23px;border-color:#e7ebf4;background:transparent;overflow:visible}body .form-row .help,body .help,body .helptext{font-size:11px;color:#7a879c;line-height:1.7}body .aligned .help{margin-left:185px;padding:5px 0 0}
body .form-row input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body .form-row textarea,body .form-row select{background:#fff;border:1px solid #dce2ed;border-radius:11px;padding:11px;min-height:42px;line-height:1.5;height:auto}body .form-row select[multiple]{min-height:140px}
body .submit-row{border:1px solid white;border-radius:18px;background:#ffffff9e;padding:17px 22px;margin:22px 0;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}body .submit-row input{margin:0}body .submit-row .deletelink{padding:11px 18px;border-radius:24px;background:#f7e8e5;color:#984f46;font-size:11px;height:auto}
body .errornote,body ul.errorlist{background:#fbe9e5;border:1px solid #f0cbc3;border-radius:12px;color:#954b43;font-size:12px;padding:13px 17px}body .messagelist li{border-radius:12px;margin:15px 0;font-size:12px}
body .selector{max-width:100%;display:flex;gap:12px;flex-wrap:wrap}body .selector-available,body .selector-chosen{flex:1;min-width:240px;max-width:100%;float:none}body .selector select{width:100%;border-radius:0 0 12px 12px}body .selector h2,body .selector-chosen h2{border-radius:12px 12px 0 0;background:#eef1fa;color:#53617b}body .selector .selector-filter{border-color:#e0e5ef;border-radius:0;background:#f7f8fc}body .selector ul.selector-chooser{align-self:center;margin:0;padding:8px;border-radius:18px;background:#edf0f8}
body .inline-group{border:0;margin:22px 0}body .inline-related{border-radius:16px;overflow:hidden}body #footer{padding:0}
body .brand strong{font-size:16px;letter-spacing:-.6px;line-height:1.4}body .sidebar .brand{padding-bottom:19px}body .sidebar .nav-label{margin-top:19px}body .sidebar nav{gap:2px}body .sidebar nav a{min-height:37px;font-size:11px;padding:8px 11px}body .sidebar-bottom{padding-top:18px}body .sidebar svg{width:18px;height:18px}body .popup #container{padding:0 20px;width:100%;min-width:0}
/* Sign-in shares the surfaces without exposing private navigation. */
body.auth-screen{min-height:100vh;padding:32px 24px;display:grid;place-items:center}body.auth-screen #container{width:min(1120px,100%);min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:0 65px;padding:0;margin:0;border:0;background:none;overflow:visible;box-shadow:none}
body.auth-screen #header.auth-hero{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:22px 0;min-height:590px;grid-column:1;grid-row:1}body.auth-screen #header .brand{padding:0;font-size:15px}body.auth-screen #header .brand strong{font-size:20px}body.auth-screen #header .brand small{font-size:9px;letter-spacing:1.5px}
body.auth-screen .auth-intro{margin:45px 0 35px}body.auth-screen #header .auth-intro h1{font-size:clamp(32px,3.7vw,48px);font-weight:500;letter-spacing:-1.8px;line-height:1.18;color:#283146;margin:0 0 22px}body.auth-screen .auth-intro p{font-size:14px;color:#78849a}
body.auth-screen .auth-preview{border:1px solid #fff;border-radius:25px;padding:24px;background:linear-gradient(140deg,#ffffff91,#e6e5f6a1);width:100%;box-sizing:border-box;font-size:11px;color:#78849a}body.auth-screen .auth-preview h2{font-size:18px;font-weight:500;color:#46516c;margin:16px 0 22px}body.auth-screen .auth-preview-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}body.auth-screen .auth-preview-cards>div{border:1px solid #fff;background:#ffffff70;border-radius:15px;padding:17px}body.auth-screen .auth-preview-cards strong{display:block;font-weight:500;font-size:12px;color:#4e5d77}body.auth-screen .auth-preview-cards small{display:block;font-size:10px;margin-top:6px}
body.auth-screen #main.main{grid-column:2;grid-row:1;align-self:center;background:#ffffffbd;border:1px solid white;border-radius:28px;padding:39px 34px;box-sizing:border-box;box-shadow:0 15px 50px #66749609}body.auth-screen #content{padding:0}body.auth-screen #content h1{font-size:27px;letter-spacing:-1px;line-height:1.25;margin-bottom:14px}body.auth-screen .auth-description{font-size:12px;color:#78849a;margin-bottom:28px}
body.auth-screen #login-form .form-row{padding:0 0 21px;float:none;clear:both}body.auth-screen #login-form .form-row label{float:none;display:block;margin:0 0 8px;padding:0;font-size:12px;line-height:1.5}body.auth-screen #login-form .form-row input{width:100%;padding:12px 13px;min-height:45px;border-radius:12px}body.auth-screen #login-form .submit-row{padding:5px 0 0;margin:0;border:0;background:none}body.auth-screen #login-form .submit-row input{width:100%;min-height:44px}body.auth-screen #footer{grid-column:1/-1;margin-top:14px}body.auth-screen .workspace-footer{margin:20px 0 0}
@media(max-width:1150px){body:not(.auth-screen):not(.popup) #container{padding-left:245px;padding-right:19px}body.auth-screen #container{gap:0 35px}body.auth-screen #header .auth-intro h1{font-size:36px}body #changelist-filter{flex-basis:190px}}
@media(max-width:900px){body.auth-screen #container{grid-template-columns:1fr;max-width:460px}body.auth-screen #header.auth-hero{grid-column:1;min-height:0;padding:0 8px 25px}body.auth-screen .auth-intro,body.auth-screen .auth-preview{display:none}body.auth-screen #main.main{grid-column:1;grid-row:2;padding:30px 26px}body.auth-screen #footer{grid-row:3}body #changelist-filter{margin-left:0;margin-top:15px}body #changelist .changelist-form-container{width:100%;min-width:0}}
@media(max-width:760px){body:not(.auth-screen):not(.popup) #container{padding:0 17px}body #header{padding-left:43px;min-height:76px;justify-content:space-between;flex-direction:row}body #header .top-tabs{margin:0}body #header .top-profile{display:none}body #content{padding-top:23px}body #content h1{font-size:25px;overflow-wrap:anywhere}body .breadcrumbs{font-size:10px}body .aligned label{float:none;display:block;width:auto;margin:0 0 8px;padding:0}body .aligned .help{margin-left:0}body .form-row{padding:16px}body .related-widget-wrapper{float:none;max-width:100%}body .selector{width:100%;max-width:100%}body .selector-available,body .selector-chosen{min-width:0;width:100%;flex-basis:100%}body .selector .selector-filter input{width:100%;min-width:0}body .submit-row{justify-content:flex-start;padding:16px}body #content.colMS{margin-right:0}body #content-related{float:none;width:100%;margin:0 0 20px}body #changelist{display:block}body #changelist-filter{width:100%;margin:18px 0 0}body .aligned .form-row input,body .aligned .form-row textarea{max-width:100%}body .calendarbox,body .clockbox{max-width:calc(100vw - 40px)}body.auth-screen{padding:25px 17px}body.auth-screen #header{padding-left:0}body .object-tools{justify-content:flex-start}}

body.auth-screen{background:radial-gradient(ellipse at 8% 6%,#d2e1ee 0,transparent 42%),radial-gradient(ellipse at 95% 18%,#dddaf9 0,transparent 50%),linear-gradient(140deg,#e9eef7,#e9e4f5 65%,#e0f0ec)}
@media(max-width:760px){body .aligned .form-row>div{width:100%;min-width:0}body .aligned .form-row .flex-container{display:flex;flex-direction:column;align-items:stretch;min-width:0;max-width:100%;width:100%}body .aligned .form-row select{width:100%;max-width:100%}body .aligned .form-row .flex-container.checkbox-row{flex-direction:row;align-items:center;gap:8px}}
