/* Operative surfaces extend the approved NadoMogu visual system. */
.nado-product {--p-ink:#343742;--p-muted:#626775;--p-line:#dce1eb;--p-wash:#f1f3f8;color:var(--p-ink)}
.nado-product .page-heading {align-items:flex-start;gap:24px}.nado-product .page-heading h1{font-size:clamp(30px,3.5vw,48px);letter-spacing:-.03em;color:#111318}.nado-product .page-heading p{color:var(--p-muted);max-width:70ch}
.nado-product .app-card{padding:24px;border:1px solid var(--p-line);box-shadow:none;background:#fff;border-radius:14px}.nado-product .app-card h2{font-size:22px;letter-spacing:-.02em;margin:0 0 20px}.nado-product .app-card h3{font-size:17px;margin:0 0 10px}.nado-product p{line-height:1.6}.nado-product .button,.p-dialog .button{min-height:44px;gap:8px;white-space:normal;text-align:center}.nado-product .button--primary,.p-dialog .button--primary{color:#fff;background:#08a5ce}.nado-product .button--outline,.p-dialog .button--outline{color:#343742;background:#fff;border-color:#d6dce7;box-shadow:none}.nado-product .button--primary:disabled,.p-dialog .button--primary:disabled{opacity:.55;cursor:wait}
.nado-product .field,.p-dialog .field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:600}.nado-product .field>span,.p-dialog .field>span{color:#454b59}.nado-product input,.nado-product select,.nado-product textarea,.p-dialog input,.p-dialog select,.p-dialog textarea{width:100%;max-width:100%;min-height:46px;border:1px solid transparent;border-radius:10px;background:#f0f2f7;padding:12px;font:inherit;color:#252a34;box-sizing:border-box}.nado-product input[type=checkbox],.p-dialog input[type=checkbox]{width:18px;min-height:18px;margin:0;accent-color:#009fc7}.nado-product input[type=file],.p-dialog input[type=file]{font-size:12px}.nado-product textarea,.p-dialog textarea{resize:vertical;min-height:105px}.nado-product input::placeholder,.nado-product textarea::placeholder,.p-dialog input::placeholder{color:#656c7b}.nado-product :focus-visible,.p-dialog :focus-visible{outline:3px solid #73d3ef;outline-offset:3px}.nado-product ::selection,.p-dialog ::selection{background:#c3effc;color:#143946}
.p-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.p-grid--aside{grid-template-columns:minmax(0,1fr) 340px}.p-stack{display:grid;gap:22px}.p-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.p-form-grid>.field--wide{grid-column:1/-1}.p-form-grid+.row-actions,.nado-product form>.row-actions,.p-dialog form>.row-actions{margin-top:24px}.p-divider{height:1px;background:#e2e6ef;margin:24px 0}.p-list{display:flex;flex-direction:column}.p-list-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid #e2e6ef}.p-list-row:last-child{border-bottom:0}.p-list-row h3,.p-list-row p{margin:6px 0}.p-list-row p{color:#626775;font-size:13px}.p-list-row>div{min-width:0}.p-list-row .row-actions{flex-shrink:0;flex-wrap:wrap}.p-status{display:inline-flex;align-items:center;border-radius:6px;background:#eff2f7;padding:5px 9px;font-size:12px;color:#50586a;font-weight:600}.p-status--completed,.p-status--succeeded,.p-status--published{background:#e7f5ec;color:#246842}.p-status--dispute,.p-status--failed,.p-status--cancelled{background:#fff0ed;color:#9b392a}.p-status--agreed,.p-status--matched,.p-status--answered,.p-status--open{background:#e6f8fe;color:#08759b}.p-note{display:flex;align-items:flex-start;gap:12px;background:#e9f8fd;border:1px solid #b5e4f3;border-radius:12px;padding:16px;color:#1c576c;margin:0 0 20px}.p-note p{font-size:13px;line-height:1.6;margin:5px 0 0}.p-note>svg{flex-shrink:0;margin-top:2px}.p-note--error{background:#fff3ef;border-color:#edc0b5;color:#8e3929}.p-form-error{padding:12px 14px;margin-bottom:16px;color:#982f24;background:#fff1ed;border-radius:8px;font-size:14px}.p-form-error[hidden]{display:none}
.p-empty{padding:48px 20px;text-align:center}.p-empty>svg{width:36px;height:36px}.p-empty h2{margin:18px 0 8px!important}.p-empty p{color:#626775;margin:0 auto 22px;max-width:55ch}.p-history{padding:0;list-style:none}.p-history li{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #e5e8ef;font-size:14px}.p-history time{font-size:12px;color:#666d7b;white-space:nowrap}.p-files{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.p-files .button{min-width:0;max-width:100%;word-break:break-word;font-size:12px;padding:10px 12px}.p-muted{color:#626775;font-size:13px}.p-large{font-size:42px;font-weight:700;letter-spacing:-.03em}.p-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid #dce1eb;margin-bottom:22px;padding-bottom:10px}.p-tabs a{padding:10px 14px;white-space:nowrap;color:#535b6a;text-decoration:none;border-radius:8px;font-size:14px}.p-tabs a[aria-current=page]{background:#e4f7fd;color:#007d9e;font-weight:700}
.p-dialog{border:1px solid #dce1eb;border-radius:16px;padding:0;max-width:calc(100vw - 24px);width:620px;max-height:calc(100dvh - 32px);color:#343742;box-shadow:0 20px 70px #19283e30;overflow:auto}.p-dialog::backdrop{background:#17253865}.p-dialog>header{position:sticky;top:0;background:white;border-bottom:1px solid #e3e7ee;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;z-index:1}.p-dialog>header h2{font-size:22px;margin:0;letter-spacing:-.02em}.p-dialog>header .button{padding:8px;min-width:44px;flex-shrink:0}.p-dialog-body{padding:24px}.p-dialog-body>p{line-height:1.6}.p-dialog .row-actions{display:flex;gap:10px;flex-wrap:wrap}.p-dialog .check-row{display:flex;align-items:flex-start;gap:10px;margin:16px 0}.p-preview{margin-top:24px;padding:14px 16px;border:1px dashed #c7ceda;border-radius:10px;color:#626775;font-size:12px}.p-preview summary{cursor:pointer;font-weight:600}.p-preview .row-actions{margin-top:12px}.p-preview .button{font-size:12px;padding:9px 12px}.p-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}.p-kv div{min-width:0}.p-kv dt{color:#626775;font-size:12px;margin-bottom:5px}.p-kv dd{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.p-avatar{width:64px;height:64px;border-radius:50%;background:#e6f8fe;color:#08759b;display:grid;place-items:center;font-size:22px;font-weight:700;flex-shrink:0}.p-person{display:flex;align-items:center;gap:16px}.p-person h2{margin-bottom:6px!important}.p-person p{margin:0}.p-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.p-packages h3{font-size:24px!important}.p-table-wrap{overflow:auto}.p-table{border-collapse:collapse;width:100%;font-size:13px}.p-table th{font-weight:600;text-align:left;color:#656b78;background:#f7f8fb;padding:14px;white-space:nowrap}.p-table td{padding:16px 14px;border-bottom:1px solid #e5e8ef;vertical-align:top}.p-table td:first-child{font-weight:600}.p-table .button{font-size:12px;padding:9px 12px}.p-stepper{display:flex;gap:10px;margin:0 0 24px;padding:0;list-style:none}.p-stepper li{flex:1;display:flex;gap:10px;align-items:center;padding:12px;border-radius:10px;background:#eceff5;font-size:13px;color:#606a7b}.p-stepper li[aria-current=step]{background:#e6f8fe;color:#08759b}.p-stepper span{display:grid;place-items:center;width:24px;height:24px;background:#fff;border-radius:50%;flex-shrink:0}
@media(max-width:1000px){.p-grid--aside{grid-template-columns:minmax(0,1fr) 290px}.p-list-row{align-items:flex-start;flex-wrap:wrap}.p-list-row .row-actions{flex-shrink:1}.p-packages{gap:12px}}
@media(max-width:760px){.p-grid,.p-grid--aside{grid-template-columns:1fr}.p-packages{grid-template-columns:1fr}.nado-product .app-card{padding:20px}.p-dialog-body{padding:20px}.p-form-grid{gap:16px}.nado-product .page-heading{flex-direction:column;gap:16px}.nado-product .page-heading>.button{width:100%}.p-history li{flex-direction:column;gap:6px}.p-stepper{gap:5px}.p-stepper li{padding:10px 6px;font-size:11px;flex-direction:column;gap:6px}.p-table{min-width:620px}}
@media(max-width:430px){.p-form-grid,.p-kv{grid-template-columns:1fr}.p-dialog>header{padding:16px}.p-dialog>header h2{font-size:19px}.p-dialog-body{padding:16px}.nado-product .row-actions{width:100%;gap:8px}.nado-product .row-actions>.button{flex:1}.p-note{padding:13px}.p-person{gap:12px}.p-tabs a{padding:10px}}
.p-thread-message{padding:18px 0;border-bottom:1px solid #e2e7ef}.p-thread-message p{white-space:pre-wrap;overflow-wrap:anywhere}.p-chat-layout{display:grid;grid-template-columns:310px minmax(0,1fr);border:1px solid #dce1eb;background:white;border-radius:14px;overflow:hidden;min-height:660px}.p-chat-list{padding:20px;border-right:1px solid #dce1eb;min-width:0}.p-chat-list .field{font-size:12px}.p-chat-list form>.row-actions{margin-top:10px}.p-chat-preview{display:flex;flex-direction:column;gap:7px;padding:16px 12px;border-bottom:1px solid #e0e5ed;text-decoration:none;color:#3e4655}.p-chat-preview.is-active{background:#eaf8fd;border-radius:10px}.p-chat-preview span,.p-chat-preview small{font-size:12px;color:#616a79}.p-chat-preview small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.p-chat-preview .p-status{align-self:flex-start;font-size:10px}.p-chat-main{padding:24px;min-width:0}.p-chat-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px}.p-chat-heading>div{display:flex;gap:12px;align-items:flex-start}.p-chat-heading h2{font-size:22px;margin:0 0 6px}.p-chat-heading p{font-size:12px;margin:0}.p-chat-heading>div>.button{display:none}.p-chat-tools{position:relative;flex-shrink:0}.p-chat-tools summary{cursor:pointer;border:1px solid #dce1eb;padding:11px;border-radius:9px;font-size:13px;list-style:none;display:flex;gap:10px}.p-chat-tools>div{position:absolute;right:0;top:50px;width:245px;z-index:4;background:#fff;box-shadow:0 12px 35px #263c5224;border:1px solid #dce1eb;border-radius:12px;padding:10px;display:grid;gap:6px}.p-chat-tools .button{justify-content:flex-start;font-size:12px;box-shadow:none}.p-chat-context{display:flex;flex-wrap:wrap;gap:12px;padding:14px;background:#f4f6fa;border-radius:10px;font-size:12px}.p-chat-context>span{display:flex;align-items:center;gap:6px}.p-chat-context svg{width:17px!important;height:17px!important}.p-chat-thread{max-height:430px;overflow:auto;overscroll-behavior:contain;padding:20px 0;scrollbar-color:#bdc9d7 #f4f6fa;scrollbar-width:thin}.p-message{display:flex;margin-bottom:15px}.p-message>div{max-width:85%;background:#f0f3f8;padding:14px 16px;border-radius:12px;min-width:0}.p-message.is-mine{justify-content:flex-end}.p-message.is-mine>div{background:#e9f7fc}.p-message strong{font-size:12px;color:#4b6471}.p-message p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.p-message blockquote{border:0;border-radius:6px;background:#ffffff90;padding:10px;margin:8px 0;color:#596c79;font-size:12px}.p-message-meta{display:flex;justify-content:space-between;gap:30px;align-items:center;font-size:11px;color:#667682}.p-message-meta details{position:relative}.p-message-meta summary{list-style:none;cursor:pointer;padding:5px}.p-message-meta details>div{position:absolute;right:0;bottom:28px;background:#fff;padding:8px;box-shadow:0 8px 24px #24354d20;border:1px solid #dce1eb;border-radius:10px;z-index:3;display:grid;min-width:170px}.p-message-meta .button{font-size:12px}.p-summary{border-top:1px solid #dce1eb;border-bottom:1px solid #dce1eb;padding:16px 0;margin-bottom:18px}.p-summary summary{font-weight:700;cursor:pointer;font-size:14px}.p-summary p{font-size:13px}.p-summary .button{font-size:12px}.p-agreement{margin:18px 0}.p-chat-main form[data-product-form=chat-message]{padding-top:20px}.p-chat-main textarea{min-height:82px}.p-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.p-attach{display:flex;gap:8px;align-items:center;max-width:70%;font-size:12px}.p-attach input{font-size:10px;min-width:0;padding:6px;min-height:35px}.p-reply-context{padding:10px;background:#eff4f9;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p-empty-plane{display:block;margin:0 auto}.p-chat-main>.p-preview{margin-top:16px}
@media(max-width:1000px){.p-chat-layout{grid-template-columns:250px minmax(0,1fr)}.p-chat-list{padding:16px}.p-chat-main{padding:20px}.p-chat-heading h2{font-size:18px}}
@media(max-width:760px){.p-chat-layout{display:block;min-height:400px}.p-chat-layout.has-conversation .p-chat-list{display:none}.p-chat-layout:not(.has-conversation) .p-chat-main{display:none}.p-chat-list{border-right:0}.p-chat-heading>div>.button{display:flex;min-width:40px;padding:8px}.p-chat-heading{gap:10px}.p-chat-tools summary{font-size:0;gap:0;padding:10px}.p-chat-heading h2{font-size:17px}.p-chat-heading p .p-status{display:block;margin-top:5px}.p-chat-main{padding:15px}.p-message>div{max-width:92%}.p-compose-actions{align-items:flex-start;flex-wrap:wrap}.p-attach{max-width:100%;width:100%}.p-compose-actions>.button{width:100%}.p-chat-thread{max-height:440px}.p-chat-context{font-size:11px;gap:8px}}
.p-auth-wrap{max-width:520px;margin:0 auto}.p-auth-wrap form>.field{margin-bottom:18px}.p-auth-wrap .p-muted>.button{font-size:12px;margin:5px 5px 5px 0}.nado-product .quick-link>svg{width:25px;height:25px}.nado-product .quick-link{gap:12px}.nado-product .check-row,.p-dialog .check-row{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:13px;line-height:1.6}.nado-product .check-row input{margin-top:2px;flex-shrink:0}.nado-product .p-large small{font-size:18px;font-weight:500}

/* File guidance is explanatory text, not a validation error. */
.nado-product .field>small,.p-modal .field>small{color:#728096;font-weight:400;line-height:1.5}
.nado-product input[type=file]::file-selector-button,.p-modal input[type=file]::file-selector-button{border:1px solid #d8dfeb;border-radius:8px;padding:7px 10px;margin-right:10px;background:white;color:#263344;font:inherit;cursor:pointer}
.a-main .p-grid--aside .app-card>.button{margin-right:8px;margin-bottom:8px}
