*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}
:root{--navy:#112c35;--ink:#19333c;--muted:#75848a;--green:#1f7866;--line:#e3e8e6;--bg:#f5f7f5}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-color:#39a68f}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #67bea8;outline-offset:3px}svg{flex-shrink:0}h1,h2,h3,p{margin:0}small{display:block}.app{display:flex;min-height:100vh}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#dce7e6;padding:35px 22px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:700;letter-spacing:1px;color:white}.brandmark{font-size:24px;font-style:italic;letter-spacing:-2px;border-right:1px solid #486068;padding-right:13px}.brandmark span{color:#72c5ae}.brand small{font-size:7px;letter-spacing:1.4px;color:#9bb5b8;margin-top:6px}.company{display:flex;align-items:center;gap:11px;margin-top:43px;padding:15px 10px;border:1px solid #365058;border-radius:9px;font-size:12px;font-weight:600}.company small{color:#9bb1b7;font-weight:400;margin-top:4px}.company-icon{color:#b6d7d0}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#62b79b}.company .live-dot{margin-left:auto}.nav-label{font-size:9px;color:#8fa7ad;letter-spacing:1.8px;margin:35px 13px 13px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;text-align:left;border-radius:7px;padding:14px 13px;font-size:13px;color:#a9bfc4}.sidebar nav button svg:last-child:not(:first-child){margin-left:auto}.sidebar nav .active{background:#25434b;color:white;box-shadow:inset 3px 0 #73c8ab}.sidebar-note{margin-top:auto;padding:24px 13px 31px;color:#abc0c3}.sidebar-note svg{color:#7fb7aa;margin-bottom:15px}.sidebar-note strong{display:block;font-size:15px;color:#e4eeec;margin-bottom:9px}.sidebar-note p{font-size:12px;line-height:1.8}.sidebar-note>span{font-size:10px;display:block;margin-top:16px;color:#6f9198}.profile{display:flex;gap:11px;align-items:center;border-top:1px solid #355059;padding-top:21px;font-size:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e9efeb;color:#426b5f;border-radius:50%;width:35px;height:35px;font-weight:700;flex-shrink:0}.profile .avatar{background:#36535a;color:#c6ded8}.profile small{font-size:10px;margin-top:5px;color:#8fa7ad}.profile a{margin-left:auto}main{margin-left:246px;width:calc(100% - 246px)}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:12px;color:#899397}.topbar>div{display:flex;gap:13px;align-items:center}.topbar b{font-weight:500;color:#374b52}.secure{display:flex;align-items:center;gap:8px;color:#68847b;font-size:11px}.mobile-brand{display:none}.content{max-width:1500px;margin:auto;padding:43px 44px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px;gap:24px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:var(--green);margin-bottom:13px}h1{font-size:38px;line-height:1.22;letter-spacing:-1.3px;font-weight:600}h1 span{color:#70877f}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:14px;font-size:13px}.primary,.secondary{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:13px 19px;border-radius:6px;font-weight:600;font-size:12px;min-height:43px;white-space:nowrap}.primary{background:var(--green);color:#fff;box-shadow:0 3px 6px #1f786610}.secondary{border:1px solid #dce4df;background:#fff;color:#35504a}.full{width:100%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stats>div{padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:9px}.stats>div>span{display:flex;justify-content:space-between;align-items:center;color:#637770;font-size:12px}.stats svg{color:#8fa8a0}.stats strong{display:block;font-size:36px;font-weight:500;letter-spacing:-1px;margin:13px 0 5px}.stats small{font-size:11px;color:#94a19c}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.amber{background:#d7a454}.green{background:#48a18b}.panel{background:white;border:1px solid var(--line);border-radius:9px}.panel-heading{padding:24px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid var(--line);border-radius:6px;background:white}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 25px 22px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:3px;background:#f3f5f3;padding:4px;border-radius:6px}.tabs button{padding:8px 12px;font-size:11px;color:#84928c;border-radius:4px}.tabs .selected{background:white;color:var(--ink);box-shadow:0 1px 3px #00000012}.search{display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:9px 12px;color:#84928c;min-width:290px}.search input{border:0!important;padding:0!important;font-size:11px!important;background:transparent;width:100%;box-shadow:none!important}.empty{min-height:260px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:40px 25px}.empty-icon{background:#f0f5f1;border:1px solid #e2ebe4;border-radius:15px;padding:18px;color:#67917e;transform:rotate(-5deg);margin-bottom:20px}.empty h3{font-size:17px;font-weight:500}.empty p{font-size:12px;line-height:1.7;color:var(--muted);max-width:350px;margin:10px 0 20px}.table-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;padding:14px 25px;color:#91a098;font-size:10px}.table-footer span:last-child{display:flex;gap:6px;align-items:center}.howto{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px dashed #d6e0d9;background:#eff3ed;border-radius:8px;padding:25px;margin-top:26px}.howto-number{font-size:22px;color:#9aac9e;font-weight:400}.howto strong{font-size:12px;font-weight:600}.howto p{font-size:10px;color:#8a998f;margin-top:6px}.howto>svg{width:14px;color:#b5c2b7}footer{display:flex;justify-content:space-between;gap:15px;padding:30px 0 24px;font-size:9px;color:#9ba9a1}footer>span:first-child{font-weight:700;letter-spacing:1px;color:#6f8378}.compact h1{font-size:30px}.compact{margin-top:18px}.back{display:flex;align-items:center;gap:7px;color:#789185;font-size:11px}.save-status{display:flex;gap:8px;align-items:center;font-size:11px;color:#7e8c85}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.metadata{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:22px;margin-bottom:23px}label{display:block;font-size:11px;font-weight:600;color:#50665e}label input,label select,label textarea{width:100%;margin-top:8px;border:1px solid #dce3df;padding:11px 12px;border-radius:5px;background:#fff;color:#29423a;font-size:12px;font-weight:400;line-height:1.6}label textarea{resize:vertical;min-height:100px}input::placeholder,textarea::placeholder{color:#a3aea7}label textarea:focus,label input:focus,label select:focus{border-color:#6ba892;box-shadow:0 0 0 3px #3f9c7e13;outline:0}.steps{display:flex;justify-content:space-between;gap:4px;margin:0 0 17px}.steps button{display:flex;align-items:center;gap:7px;font-size:10px;color:#94a097;padding:6px 0}.steps button span{border:1px solid #d9e3dc;width:23px;height:23px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:white}.steps .current{color:var(--green);font-weight:700}.steps .current span{background:var(--green);color:white;border-color:var(--green)}.form-panel{padding:25px}.section-title{display:flex;gap:14px;align-items:center;padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:25px}.section-number{font-size:24px;color:#aac3b5}.section-title p{font-size:11px;color:#8b9b91;margin-top:6px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:23px}.fields .wide{grid-column:1/-1}.fields label>span{display:flex;gap:8px;align-items:center}.fields i{font-size:9px;font-style:normal;width:19px;height:19px;border-radius:4px;background:#eff3ef;display:inline-flex;justify-content:center;align-items:center;color:#7e998a}.required{color:#c2965b}.fields small{font-size:10px;font-weight:400;color:#92a098;margin-top:7px}.form-nav{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:23px}.form-nav>span{font-size:9px;color:#9aa69e}.form-nav>div{display:flex;gap:10px}.document-panel>.panel{padding:22px;position:sticky;top:20px}.document-panel h3{text-align:center;font-size:14px;margin-top:15px}.document-panel p{text-align:center;color:#8fa097;font-size:10px;margin-top:7px}.mini-document{width:125px;margin:auto;aspect-ratio:210/260;background:white;border:1px solid #d4e3d8;box-shadow:4px 5px 0 #edf2ed;padding:10px;transform:rotate(3deg);color:#719781}.mini-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.mini-top b{font-size:14px}.mini-top>span{font-size:3px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #c5d8cb;border-left:1px solid #c5d8cb}.mini-grid>div{height:18px;border-right:1px solid #c5d8cb;border-bottom:1px solid #c5d8cb;padding:2px}.mini-grid span{font-size:3px;display:block}.mini-grid hr{margin:2px 0;width:75%;border:0;border-top:1px solid #e4ece6}.mini-sign{display:flex;height:13px}.mini-sign span{flex:1;border:1px solid #c5d8cb;border-top:0}.progress{height:4px;background:#edf2ee;border-radius:3px;margin:14px 0 23px;overflow:hidden}.progress span{display:block;background:#5ca48a;height:100%}.document-panel label{margin-bottom:15px}.divider{border-top:1px solid var(--line);margin:22px 0}.button-pair{display:flex;gap:8px;margin-top:8px}.button-pair button{flex:1;padding:10px 5px;font-size:10px;gap:5px}.share-label{font-size:8px;letter-spacing:1px;color:#9ca99f;margin-top:21px}.hint{font-size:9px;color:#95a397;line-height:1.7;margin-top:16px}.alert{display:flex;align-items:center;gap:12px;border:1px solid;padding:15px 18px;border-radius:7px;margin-bottom:22px;font-size:12px;line-height:1.6}.alert button{margin-left:auto;display:flex}.alert a{text-decoration:underline}.error{background:#fff1ed;border-color:#edcec2;color:#9b4a36}.success{background:#eaf6ef;border-color:#c7e5d4;color:#287858}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{padding:12px 22px;background:#fafbf9;font-size:9px;font-weight:500;color:#96a29a;text-transform:uppercase;letter-spacing:.5px}td{padding:20px 22px;border-top:1px solid #edf0ed;font-size:11px}td small{font-size:9px;color:#92a197;margin-top:7px}td strong{font-size:11px;font-weight:500;max-width:230px;display:block;overflow:hidden;text-overflow:ellipsis}tbody tr{cursor:pointer}tbody tr:hover{background:#f9fbf8}.row-link{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;padding:0}.row-link svg{color:#7a9a88}.badge{display:inline-flex;padding:6px 9px;font-size:9px;border-radius:5px;background:#eef2f0;color:#788b80;white-space:nowrap}.badge.ready{background:#e9f5ed;color:#468364}.badge.draft{background:#fcf3e5;color:#b58b4d}.members-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.member{display:flex;align-items:center;gap:12px;padding:22px;border-top:1px solid var(--line)}.member>div{flex:1}.member strong{font-size:12px;font-weight:500}.member small{font-size:10px;color:#94a399;margin-top:5px}.member .badge{font-size:8px}.add-member{padding:24px;align-self:start}.add-member>p{font-size:11px;color:#8fa095;margin:8px 0 24px}.add-member label{margin-bottom:18px}.info{display:flex;gap:10px;background:#f2f6f1;padding:15px;border-radius:7px;margin-top:22px;color:#87a18f}.info p{font-size:10px;line-height:1.7}.small.empty{min-height:110px;padding:10px}.modal{position:fixed;inset:20px;z-index:50;background:#e2e7e4;border-radius:10px;box-shadow:0 0 0 40px #112c35bb;display:flex;flex-direction:column;overflow:hidden}.modal-bar{background:white;padding:14px 22px;display:flex;justify-content:space-between;align-items:center}.modal-bar>div{display:flex;gap:12px;align-items:center}.modal iframe{flex:1;border:0;width:100%}.modal>a{padding:9px;text-align:center;text-decoration:underline;font-size:11px;background:white}
@media(min-width:1600px){.content{padding-top:55px}.page-heading{margin-bottom:42px}h1{font-size:44px}.stats{margin-bottom:35px}.empty{min-height:310px}}@media(max-width:1200px){.sidebar{width:215px;padding:30px 16px}.brand{font-size:13px}.brandmark{font-size:21px}.company{font-size:10px}main{margin-left:215px;width:calc(100% - 215px)}.content{padding:30px 25px 0}.topbar{padding:0 25px}.editor-grid{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.document-panel>.panel{padding:15px}.metadata{grid-template-columns:1fr}.steps button{font-size:8px}.howto{padding:20px 15px;gap:10px}.howto p{max-width:120px;line-height:1.5}.search{min-width:240px}h1{font-size:33px}.members-grid{grid-template-columns:1fr}}
@media(max-width:900px){.sidebar{width:78px;padding:25px 12px}.brandmark{border:0;padding:0}.brand>span:last-child,.company,.nav-label,.sidebar-note,.profile>div,.profile>a{display:none}.brand{justify-content:center}.sidebar nav{margin-top:40px}.sidebar nav button{font-size:0;gap:0;padding:15px;justify-content:center}.sidebar nav button>svg:last-child:not(:first-child){display:none}.profile{margin-top:auto;justify-content:center}.sidebar nav button.active{box-shadow:none}main{margin-left:78px;width:calc(100% - 78px)}.editor-grid{grid-template-columns:1fr}.document-panel>.panel{position:static}.mini-document{display:none}.document-panel h3,.document-panel p{text-align:left}.document-panel .button-pair{display:inline-flex;width:calc(50% - 5px);margin-right:5px}.document-panel .share-label{display:none}.document-panel .hint{margin-bottom:4px}.toolbar{flex-wrap:wrap}.search{flex:1;min-width:230px}.howto>svg{display:none}.stats{gap:12px}.stats>div{padding:18px}.howto-number{display:none}.metadata{grid-template-columns:repeat(3,1fr)}.steps button{font-size:11px}footer>small{display:none}}
@media(max-width:600px){.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:66px;padding:7px 15px;z-index:20;border-radius:0;flex-direction:row;align-items:center;justify-content:center}.sidebar .brand,.profile{display:none}.sidebar nav{display:flex;justify-content:space-around;width:100%;margin:0;gap:7px}.sidebar nav button{font-size:9px;padding:6px 16px;flex:1;gap:6px;flex-direction:column}.sidebar nav button svg{width:17px;height:17px}.sidebar nav .active{border-radius:6px}.app main{margin:0;width:100%;padding-bottom:66px}.topbar{height:62px;padding:0 20px}.mobile-brand{display:block;color:var(--green);font-weight:800;font-style:italic;font-size:18px;margin-right:8px}.topbar>div{gap:8px}.secure{font-size:9px}.content{padding:27px 18px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:25px}h1{font-size:31px}.eyebrow{font-size:8px}.page-heading>button{width:100%}.stats{gap:7px;margin-bottom:22px}.stats>div{padding:14px 10px}.stats>div>span{font-size:9px;min-height:24px}.stats svg{display:none}.stats strong{font-size:27px;margin:10px 0 5px}.stats small{font-size:8px;line-height:1.5}.panel-heading{padding:20px 17px}.panel-heading p{line-height:1.7}.toolbar{padding:0 17px 17px}.tabs{width:100%;justify-content:space-between}.tabs button{flex:1;padding:9px 5px;font-size:10px}.search{width:100%;min-width:0;padding:11px}.empty{min-height:270px;padding:30px 20px}.empty h3{font-size:16px}.empty p{font-size:11px}.table-footer{padding:13px 17px;font-size:8px}.table-footer span:last-child{max-width:165px;text-align:right;line-height:1.5}.howto{flex-direction:column;align-items:flex-start;gap:19px;padding:20px}.howto>div{display:flex;align-items:baseline;gap:14px;width:100%}.howto strong{min-width:80px}.howto p{max-width:none;margin:0;font-size:10px}.compact h1{font-size:28px}.compact{gap:14px}.save-status{font-size:10px}.metadata{grid-template-columns:1fr;padding:18px;gap:12px}.steps{overflow-x:auto;gap:15px;padding-bottom:5px}.steps button{white-space:nowrap;font-size:9px}.steps button span{width:20px;height:20px}.form-panel{padding:19px 17px}.fields{grid-template-columns:1fr;gap:20px}.section-title{padding-bottom:19px;margin-bottom:20px}.section-title h2{font-size:16px}.section-title p{font-size:10px}.form-nav{flex-wrap:wrap}.form-nav>span{width:100%}.form-nav>div{width:100%;justify-content:space-between}label input,label textarea,label select{font-size:16px;min-height:45px}.search input{font-size:14px!important}.document-panel .button-pair{width:100%;margin-right:0}.button-pair button{font-size:12px}.document-panel label select{font-size:14px}.hint{font-size:10px}.member{padding:18px 14px;gap:8px;flex-wrap:wrap}.member small{font-size:9px}.member .badge{margin-left:43px}.member .avatar{width:29px;height:29px;font-size:12px}.members-grid{gap:18px}.modal{inset:5px}.modal-bar{padding:10px;font-size:11px}.modal-bar .secondary{font-size:10px;padding:7px}footer{font-size:8px;line-height:1.6;padding-bottom:22px}footer>span:nth-child(2){max-width:160px;text-align:right}.alert{font-size:11px}.primary,.secondary{min-height:45px}}


/* CMR paper editor */
.cmr-workspace{border:1px solid #d9e2dc;border-radius:9px;background:#e9eee9;overflow:hidden}.cmr-guide{padding:20px;background:white;border-bottom:1px solid #d9e2dc;display:flex;justify-content:space-between;gap:15px;align-items:center}.cmr-guide>div{display:flex;gap:12px;align-items:center}.guide-icon{background:#edf5ed;color:#55826b;border-radius:8px;padding:10px}.cmr-guide h2{font-size:15px}.cmr-guide p{font-size:10px;color:#8b9a91;line-height:1.6;margin-top:6px}.cmr-guide .primary{font-size:10px;padding:12px}.paper-wrap{padding:22px}.cmr-paper{position:relative;aspect-ratio:210/297;background:#fff;box-shadow:0 4px 18px #19332b18;width:100%;container-type:inline-size}.cmr-paper>img{width:100%;height:100%;display:block;pointer-events:none}.paper-reference{position:absolute;left:4.76%;top:9%;font-size:1.1cqw;max-width:90%;overflow:hidden;white-space:nowrap;color:#435a4c}.paper-field{position:absolute;text-align:left;padding:1%;overflow:hidden;border:1px solid transparent;border-radius:0;display:flex;align-items:flex-start;background:#f7fafc35}.paper-field:hover,.paper-field:focus-visible{background:#dcefe7aa!important;outline:2px solid #399a76;outline-offset:-2px;z-index:1}.paper-field.is-filled{background:#dff1e329}.paper-value{font-size:1.45cqw;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere;color:#20372d;width:100%;max-height:100%;overflow:hidden;display:block}.paper-value.narrow{font-size:1.3cqw}.tap-hint{font-size:1.15cqw;color:#a7b5ae}.paper-check{position:absolute;right:3px;bottom:3px;color:#45986e;opacity:.7}.paper-legend{display:flex;justify-content:center;gap:20px;font-size:10px;padding:0 15px 20px;color:#8b9b91}.paper-legend span{display:flex;gap:7px;align-items:center}.paper-legend i{width:10px;height:10px;background:#fff;border:1px solid #cedbd1;border-radius:2px}.paper-legend i.filled{background:#d1e9d6}.field-backdrop{position:fixed;inset:0;background:#102d38a6;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.field-dialog{background:white;width:min(580px,100%);border-radius:14px;padding:27px;box-shadow:0 20px 80px #061c3b33;max-height:calc(100dvh - 48px);overflow:auto}.field-dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.field-dialog-top>span{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#318366}.field-dialog h2{font-size:27px;letter-spacing:-.7px}.field-explanation{font-size:14px;line-height:1.8;color:#7a8d80;margin:12px 0 24px}.field-input-label{font-size:12px}.field-input-label textarea{font-size:18px;line-height:1.6;padding:16px;min-height:190px;background:#fcfdfb}.field-counter{font-size:10px;color:#a1afa5;text-align:right;margin-top:6px}.field-dialog-buttons{display:flex;gap:9px;margin-top:24px}.field-dialog-buttons>.primary{margin-left:auto;font-size:14px;padding:14px 20px}.field-dialog-buttons>.secondary{font-size:14px}.previous-field{height:48px;width:42px}.field-save-hint{margin-top:20px;font-size:11px;color:#95a397;text-align:center}.editor-grid{grid-template-columns:minmax(0,1fr) 260px}.metadata{grid-template-columns:repeat(3,minmax(0,1fr))}.document-panel .mini-document{display:none}.document-panel h3{text-align:left;font-size:17px;margin:0}.document-panel p{text-align:left}.save-status{white-space:nowrap}
@media(max-width:1250px){.cmr-guide{flex-direction:column;align-items:stretch}.cmr-guide .primary{width:100%}.paper-wrap{padding:13px}.editor-grid{grid-template-columns:minmax(0,1fr) 220px}.paper-legend{font-size:8px;gap:9px}.metadata{grid-template-columns:1fr}.document-panel>.panel{padding:17px}}@media(max-width:900px){.editor-grid{grid-template-columns:1fr}.cmr-guide{flex-direction:row;align-items:center}.cmr-guide .primary{width:auto}.metadata{grid-template-columns:repeat(3,minmax(0,1fr))}.paper-wrap{padding:25px}.paper-legend{font-size:10px}.document-panel>.panel{position:static}}@media(max-width:600px){.cmr-guide{flex-direction:column;align-items:stretch;padding:17px}.cmr-guide h2{font-size:16px}.cmr-guide p{font-size:11px}.cmr-guide .primary{font-size:14px;padding:14px}.metadata{grid-template-columns:1fr}.paper-wrap{padding:9px}.paper-value{font-size:1.65cqw}.tap-hint{font-size:1.3cqw}.paper-check{width:6px;height:6px;right:1px;bottom:1px}.paper-legend{font-size:8px;gap:7px;padding:12px 5px}.field-backdrop{padding:10px;align-items:center}.field-dialog{padding:23px 19px;max-height:calc(100dvh - 20px);border-radius:12px}.field-dialog h2{font-size:26px}.field-explanation{font-size:14px}.field-input-label textarea{font-size:18px;min-height:140px}.field-dialog-buttons .primary{padding:14px 12px}.field-dialog-buttons .secondary{padding:12px}.field-save-hint{font-size:10px}.save-status{white-space:normal}}


.login-page{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 20%,#234e50,#112c35 65%);padding:24px}.login-card{margin:0!important;width:min(450px,100%)!important;background:white;padding:40px;border-radius:16px;box-shadow:0 30px 80px #0003}.login-brand{font-size:28px;font-weight:800;font-style:italic;display:block;color:#1c7965;letter-spacing:-1px}.login-brand span{font-size:14px;letter-spacing:2px;font-style:normal;margin-left:10px;color:#17363a}.login-eyebrow{display:block;font-size:8px;letter-spacing:2px;color:#9aac9e;margin:35px 0 12px}.login-card h1{font-size:30px}.login-card>p{font-size:13px;color:#829387;line-height:1.7;margin-top:14px}.login-card form{margin:27px 0 20px}.login-card label{margin-bottom:19px;font-size:12px}.login-card label input{font-size:16px}.login-card .login-help{font-size:11px;text-align:center;line-height:1.9}.login-card footer{text-align:center;display:block;font-size:10px;padding-bottom:0}.login-card #back-login{display:block;text-align:center;margin-top:15px;text-decoration:underline;font-size:12px}.login-card [hidden]{display:none!important}.activation-box{border:1px solid #b6d8c2;background:#f2faf4;padding:17px;margin-top:20px;border-radius:8px}.activation-box h3{font-size:14px}.activation-box p{font-size:11px;line-height:1.6;margin:8px 0}.activation-box input{width:100%;padding:10px;border:1px solid #cbded0;background:white;font-size:10px;border-radius:4px;margin:6px 0 10px}.member .secondary{padding:8px 10px;font-size:10px;min-height:35px}@media(max-width:600px){.login-card{padding:28px 23px}.member .secondary{margin-left:auto}.member .badge{margin-left:0}.login-page{padding:15px}}
.mobile-save{display:none}@media(max-width:600px){.mobile-save{display:flex;position:fixed;z-index:25;bottom:75px;left:18px;right:18px;box-shadow:0 5px 25px #0b3e4a30;font-size:14px;min-height:49px}.editor-grid{padding-bottom:60px}.field-backdrop{z-index:100}.modal{z-index:110}}

.print-backdrop{position:fixed;inset:0;background:#071e2bcc;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.print-card{position:relative;background:white;border-radius:20px;width:100%;max-width:490px;padding:30px;max-height:95dvh;overflow:auto;box-shadow:0 20px 80px #0005}.print-card h2{font-size:27px;margin:12px 0}.print-card p,.print-card li{font-size:15px;line-height:1.6}.print-card ol{padding-left:23px;margin:18px 0}.print-card li{padding:5px 0}.print-card .full{margin-top:12px;min-height:48px}.print-card small{display:block;font-size:12px;line-height:1.6;color:#52666c;margin-top:12px}.print-card hr{border:0;border-top:1px solid #dde5e7;margin-top:20px}.print-close{position:absolute;right:12px;top:10px}@media(max-width:600px){.mobile-save{gap:10px;background:#f5f8f7;padding:8px;border-radius:14px}.mobile-save button{flex:1;justify-content:center;min-height:48px}.print-backdrop{padding:10px}.print-card{padding:28px 20px}.print-card .eyebrow{font-size:10px;padding-right:15px}}

.paper-field:disabled{opacity:1;cursor:default;color:inherit}.paper-field:disabled:hover{background:transparent}

.paper-reference{left:52.5%;top:9.5%;width:40%;background:white;font-size:1.2cqw;white-space:normal;min-height:2.5%}.paper-field{padding:.2%;background:transparent}.paper-value,.paper-value.narrow{font-size:1.3cqw;line-height:1.15}.paper-field:disabled .paper-value{font-size:1.15cqw}.paper-field.is-filled{background:#eff8ed38}

.carrier-code{position:absolute;left:71%;top:6.5%;font-size:1.6cqw;font-weight:bold;color:#111;background:white;padding:0 .3%;}

.carrier-code{left:70.5%;top:5.05%;width:11.9%;height:2.35%;font-size:1.5cqw;line-height:1.2;padding:0 .4%;}.carrier-code small{display:block;font-size:.85cqw;font-weight:normal}.paper-reference{left:69%;top:9.4%;width:22%;height:2.2%;min-height:0;background:#fff}

.paper-reference{font-size:2.6cqw;color:#0082b4;font-weight:bold;line-height:1.1;overflow:visible;white-space:nowrap}

.vehicle-backdrop{position:fixed;inset:0;z-index:200;background:#102d38;display:flex;align-items:center;justify-content:center;padding:20px}.vehicle-backdrop label{display:block;margin-top:20px}.issue-date{position:absolute;left:31.9%;top:82.8%;font-size:1.35cqw;color:#111}input[readonly]{background:#eef3ef;color:#536459}

.supplier-order-mask{position:absolute;left:6.5%;top:37.8%;width:2.1%;height:26% ;background:white}.supplier-logo-mask{position:absolute;left:5.8%;top:83.7%;width:5.6%;height:11.5%;background:white}.paper-field:disabled .paper-value{font-size:1.05cqw;line-height:1.15}.paper-reference{z-index:2}

.carrier-code{left:71.9%;top:.5%;width:10.5%;height:2.4%;font-size:1.6cqw}.carrier-code small{font-size:.9cqw}.paper-reference{left:71.8%;top:5.9%;width:21%;height:2.6%;font-size:2.9cqw}.issue-date{left:31.9%;top:83.9%;font-size:1.35cqw}.paper-field:disabled .paper-value{font-size:1.2cqw;line-height:1.15}

.carrier-code-label,.carrier-code-value{position:absolute;top:.5%;height:2.35%;background:white;color:#111;display:flex;align-items:center;justify-content:center;white-space:nowrap}.carrier-code-label{left:71.9%;width:10.5%;font-size:1cqw}.carrier-code-value{left:83.1%;width:9.8%;font-size:1.7cqw;font-weight:bold}

.delete-cmr{color:#a52b32;border-color:#e8b9bc;white-space:nowrap}.delete-cmr:hover{background:#fff0f1}

.notice-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.notice-fields{padding:25px}.notice-fields label{display:block;margin:18px 0;font-size:15px}.notice-fields textarea{font-size:17px;line-height:1.4}.notice-fields>p{font-size:13px;line-height:1.6;color:#647780}.notice-preview{background:#fff;border:1px solid #d5dfe1;box-shadow:0 8px 30px #102d3814;align-self:start}.notice-preview>header{background:#142c36;color:white;padding:25px;font-size:22px;font-weight:bold}.notice-preview header small{display:block;font-size:11px;letter-spacing:3px;margin-top:4px}.notice-preview>main{margin:0;padding:28px;display:block}.notice-preview h2{font-size:29px;margin:15px 0}.notice-preview p{font-size:14px;line-height:1.7}.notice-preview label{display:block;border:1px solid #d7e0e2;padding:14px;margin:14px 0;font-size:10px;color:#52666c}.notice-preview strong{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;color:#142c36;margin-top:7px}.notice-preview aside{background:#eef2f4;padding:20px;margin-top:22px}.notice-preview aside b{font-size:25px}.notice-preview aside h3{font-size:18px;margin-bottom:10px}@media(max-width:800px){.notice-layout{grid-template-columns:1fr}.notice-fields .button-pair{flex-wrap:wrap}.notice-preview>main{padding:22px}}

.driver-greeting{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;margin-bottom:24px;background:#e9f2ed;border:1px solid #d3e3d9;border-radius:12px}.driver-greeting span{font-size:10px;letter-spacing:1.5px;color:#4b7660}.driver-greeting h2{font-size:24px;color:#15382b;margin:6px 0 0}.driver-greeting>strong{display:flex;align-items:center;gap:9px;background:#fff;padding:12px 16px;border-radius:8px;white-space:nowrap;font-size:16px}@media(max-width:600px){.driver-greeting{align-items:flex-start;flex-direction:column;padding:18px}.driver-greeting h2{font-size:22px}}

.briene-theme{--navy:#000066;--ink:#172653;--green:#00008e;--bg:#f4f6fc;--muted:#62718a;--line:#dce2ef;background:var(--bg)}.briene-theme .sidebar{background:linear-gradient(170deg,#000066,#19456b)}.briene-theme .primary{background:#00008e;color:white}.briene-theme .sidebar nav button.active{background:#ffffff20;border-left:3px solid #53c2c7}.briene-theme .topbar{border-bottom:3px solid #017280}.briene-theme .company{border-color:#ffffff25}.briene-theme .driver-greeting{background:#edf0fb;border-color:#d1d8ef}.briene-theme .driver-greeting h2,.briene-theme .page-heading h1 span{color:#00008e}.briene-theme .guide-icon,.briene-theme .info{background:#edf2fa;color:#19456b}.company-brand{display:flex;align-items:center;gap:10px;background:#fff;padding:9px;border-radius:9px;color:#00008e;width:100%}.company-brand svg{width:47px;height:60px;flex-shrink:0}.company-brand>span{font-size:11px;letter-spacing:.3px;line-height:1.5}.company-brand small{font-size:10px;color:#017280;letter-spacing:2px}.company-banner{position:relative;overflow:hidden;height:170px;border-radius:12px;margin-bottom:22px;background:#000066}.company-banner>img{width:100%;height:100%;object-fit:cover;object-position:center 52%;opacity:.6}.company-banner>div{position:absolute;inset:0;padding:30px;background:linear-gradient(90deg,#00004fe6,transparent);color:white;display:flex;justify-content:center;flex-direction:column}.company-banner h2{font-size:28px;margin:8px 0}.company-banner span{font-size:10px;letter-spacing:2px}.company-banner p{font-size:13px}.briene-theme .notice-preview>header{background:#00008e}.briene-theme .notice-preview aside{background:#edf2fa}@media(max-width:600px){.company-banner{height:135px}.company-banner>div{padding:20px}.company-banner h2{font-size:23px}.company-banner>img{object-position:60% center}}

.mileage-reminder{width:100%;display:flex;align-items:center;gap:16px;background:#ffce63;border:2px solid #d28c0b;border-radius:12px;padding:18px 22px;margin-bottom:20px;color:#422c04;text-align:left;box-shadow:0 3px 0 #bc800c25}.mileage-reminder strong{font-size:21px}.mileage-reminder small{font-size:13px;margin-top:5px}.mileage-reminder>svg:last-child{margin-left:auto}.mileage-backdrop{position:fixed;inset:0;z-index:190;background:#102d38cc;display:flex;align-items:center;justify-content:center;padding:18px}.mileage-backdrop label{display:block;margin-top:20px}.mileage-backdrop input{font-size:25px}.mileage-log{border-top:2px solid #dde3ef;margin-top:35px;padding-top:25px}@media(max-width:600px){.mileage-reminder{padding:17px}.mileage-reminder strong{font-size:18px}.mileage-reminder small{font-size:12px}}

.damage-panel{padding:30px;max-width:850px}.damage-panel h1{font-size:30px;margin:12px 0 18px}.damage-panel p{font-size:15px;line-height:1.8;margin:15px 0}.damage-panel .button-pair{gap:12px;margin:25px 0;flex-wrap:wrap}.damage-panel a.primary,.damage-panel a.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 20px;border-radius:7px}.damage-source{text-decoration:underline;color:#00008e}.briene-theme .sidebar nav{flex-shrink:0}.briene-theme .sidebar-note{margin-top:18px}@media(max-width:600px){.sidebar nav{overflow-x:auto!important;justify-content:flex-start!important}.sidebar nav button{min-width:76px;flex-shrink:0!important}}

.topbar-actions{display:flex;align-items:center;gap:18px}.logout-visible{display:inline-flex;gap:7px;align-items:center;font-size:13px;font-weight:bold;min-height:42px;padding:9px 13px;border:1px solid #b8c6df;border-radius:7px;color:#00008e;background:white;white-space:nowrap}@media(max-width:600px){.topbar-actions .secure{display:none}.topbar-actions{gap:0}.logout-visible{font-size:12px;padding:8px 10px}.topbar{gap:8px}}

/* Fixed mobile navigation: four driver actions, two rows for office/admin. */
@media(max-width:600px){
.app{--mobile-nav-height:76px}
.app:has(.sidebar nav button:nth-child(5)){--mobile-nav-height:136px}
.app .sidebar{height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom,0px));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));inset:auto 0 0;width:100%;display:block}
.sidebar .company-brand{display:none}
.app .sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;height:100%;overflow:visible!important;margin:0}
.app .sidebar nav:has(button:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}
.app .sidebar nav button{min-width:0;width:100%;padding:6px 2px;gap:5px;font-size:10px;line-height:1.15;text-align:center;justify-content:center;overflow-wrap:anywhere;border:0;box-shadow:none}
.app .sidebar nav button.active{border:0;box-shadow:inset 0 3px #53c2c7}
.app>main{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom,0px) + 12px)}
.mobile-save{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom,0px) + 9px)}
}
@media(max-width:380px){.topbar>div:first-child>span:not(.mobile-brand),.topbar>div:first-child>svg{display:none}.topbar{padding:0 12px}.mobile-brand{font-size:16px;margin-right:0}.topbar>div{gap:5px}.app .sidebar nav button{font-size:9px}}

@media(max-width:600px){.dgs-theme .sidebar nav button.active{box-shadow:inset 0 3px #73c8ab}.dgs-theme .mobile-brand{font-size:14px}.dgs-theme .topbar>div:first-child>span:not(.mobile-brand),.dgs-theme .topbar>div:first-child>svg,.dgs-theme .topbar>div:first-child>b{display:none}}

.paper-stock{border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:20px;overflow:hidden}.paper-toggle{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:18px;font-size:16px}.paper-toggle span{font-size:14px}.paper-low{border:3px solid #d13c24;background:#fff0e9}.paper-low .paper-toggle{color:#9c2615}.paper-details{padding:0 18px 18px}.paper-details p{font-size:12px;line-height:1.6;margin-top:12px}.paper-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.paper-confirm{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.paper-confirm small{display:block;font-size:12px;line-height:1.5;margin:8px 0}.paper-row button{white-space:normal}@media(max-width:600px){.paper-row{align-items:stretch;flex-direction:column}.paper-toggle strong{font-size:18px}}

.package-entry{text-align:left;width:100%;color:inherit}.package-entry:disabled{opacity:1;cursor:default}.package-shortcut{width:100%;padding:18px;margin-bottom:24px;background:#e7f2ed;border:1px solid #7ca795;color:#174936;font-weight:bold;border-radius:10px;text-align:left}.package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:24px}.package-tile{padding:24px;text-align:left;display:flex;flex-direction:column;gap:12px}.package-tile strong{font-size:20px}.package-tile span{font-size:14px;line-height:1.6}.package-settings{padding:24px}.package-settings p{font-size:14px;line-height:1.7;margin:14px 0}.package-settings textarea{font-size:16px}.package-settings button{margin-top:18px}@media(max-width:900px){.sidebar .package-entry{display:none}}

.owner-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.owner-package{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:25px;margin:18px 0 24px}.owner-package strong{font-size:23px}.owner-package p{margin-top:10px}.company-tools{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.easytrans-export{padding:15px 0;border-top:1px solid var(--line)}.easytrans-export p{font-size:12px;line-height:1.6;margin:10px 0}.easytrans-export button{margin-top:10px}@media(max-width:600px){.dgs-theme .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}.owner-package b{color:var(--green)}@media(max-width:600px){.owner-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-package{align-items:flex-start;flex-direction:column}.owner-package strong{font-size:21px}.company-tools button{flex:1}}

.damage-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:20px 0}.damage-photos img{width:100%;height:180px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f4f5f5}.damage-report{margin-top:20px}.damage-photos>div{max-width:300px}.damage-report .damage-photos>a{max-width:300px}.package-settings .company-tools label{white-space:normal;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:100%}.package-settings input[type=file]{max-width:100%;font-size:12px}
