/* DWELLIVRA Assist premium workspace: presentation only.
   Shared in authenticated workspaces and the isolated public demo. */
.workspace .ai-premium-page{
 --ai-teal:#077c77;--ai-ink:#14283f;--ai-muted:#6c8393;
 width:100%;min-width:0;color:var(--ai-ink);padding-bottom:18px;
}
.workspace .ai-premium-hero{
 position:relative;isolation:isolate;box-sizing:border-box;
 display:flex;align-items:center;min-width:0;min-height:244px;
 padding:29px 33px 28px;
 border:1px solid #d9e9e9;border-radius:17px;
 margin:0 0 20px;overflow:hidden;
 background:
  linear-gradient(115deg,#fafdfe 0%,#f4fbfb 49%,#d0f0eb 73%,#35b7ae 100%);
 box-shadow:0 10px 30px rgba(29,86,85,.06);
}
.workspace .ai-premium-hero:before{
 content:"";position:absolute;inset:auto -22% -85% 49%;height:390px;z-index:-1;
 border-radius:50%;background:linear-gradient(90deg,#4cc7be,#058178);
 transform:rotate(-26deg);opacity:.46;
}
.workspace .ai-premium-hero-copy{position:relative;z-index:2;max-width:740px;width:65%;min-width:0}
.workspace .ai-premium-overline{
 display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:800;
 letter-spacing:1.7px;color:#198783;
}
.workspace .ai-premium-hero h1{
 display:flex;align-items:center;gap:14px;margin:12px 0 8px;
 color:#152c44;font-size:clamp(29px,3vw,39px);font-weight:800;
 letter-spacing:-1.45px;line-height:1.14;overflow-wrap:break-word;
}
.workspace .ai-premium-hero h1 svg{flex:0 0 auto;color:#008a82}
.workspace .ai-premium-hero p{
 margin:0 0 19px;max-width:585px;color:#425c6d;
 font-size:clamp(12px,1.1vw,14px);line-height:1.66;font-weight:500;
}
.workspace .ai-premium-benefits{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;
 width:min(100%,680px);
}
.workspace .ai-premium-benefit{
 min-width:0;display:flex;align-items:center;gap:9px;
 padding:0;background:transparent;
}
.workspace .ai-premium-benefit-icon{
 display:grid;place-items:center;box-sizing:border-box;
 flex:0 0 37px;width:37px;height:37px;
 border-radius:50%;background:rgba(255,255,255,.86);
 box-shadow:0 3px 14px rgba(16,84,76,.08);color:#087c73;
}
.workspace .ai-premium-benefit span:last-child{min-width:0;display:block}
.workspace .ai-premium-benefit b{
 display:block;color:#1b394b;font-size:10px;line-height:1.3;font-weight:760;overflow-wrap:break-word;
}
.workspace .ai-premium-benefit small{
 display:block;color:#678395;font-size:9px;line-height:1.5;overflow-wrap:break-word;
}
.workspace .ai-premium-visual{
 position:absolute;inset:0 0 0 auto;width:40%;pointer-events:none;overflow:hidden;
}
.workspace .ai-visual-orb{position:absolute;border-radius:50%;filter:blur(1px)}
.workspace .ai-visual-orb-one{
 width:330px;height:330px;right:-92px;top:-142px;
 background:rgba(124,229,215,.65);
}
.workspace .ai-visual-orb-two{
 width:290px;height:290px;right:33%;bottom:-224px;
 background:rgba(4,116,112,.24);
}
.workspace .ai-visual-device{
 position:absolute;right:12%;top:36px;z-index:2;
 width:min(70%,350px);height:152px;
 border:9px solid #17374a;border-bottom:14px solid #17374a;
 border-radius:13px 13px 6px 6px;
 background:#f8fcfd;
 box-shadow:0 16px 26px rgba(16,51,67,.22);
 transform:perspective(750px) rotateY(-10deg) rotateZ(-3deg);
 overflow:hidden;
}
.workspace .ai-visual-device-top{
 display:flex;align-items:center;justify-content:space-between;
 gap:5px;padding:7px 11px;background:#08796f;color:#fff;
 font-size:9px;font-weight:800;white-space:nowrap;
}
.workspace .ai-visual-device-top i{font-size:6px;font-style:normal;opacity:.8}
.workspace .ai-visual-device-body{display:flex;flex-direction:column;gap:8px;padding:18px 15px 12px 26%}
.workspace .ai-visual-device-body i{
 position:absolute;left:0;top:27px;bottom:0;width:20%;
 background:linear-gradient(#e9f4f4,#f7fafb);
 border-right:1px solid #dbe8e8;
}
.workspace .ai-visual-device-body b{width:63%;height:9px;background:#315468;border-radius:9px}
.workspace .ai-visual-device-body em{
 display:block;width:92%;height:4px;background:#d7e4e5;border-radius:9px;
}
.workspace .ai-visual-device-body em:nth-of-type(2){width:75%}
.workspace .ai-visual-device-body em:nth-of-type(3){width:86%}
.workspace .ai-visual-device-body small{width:42%;height:8px;background:#50c4af;border-radius:9px;margin-top:6px}
.workspace .ai-visual-device-base{
 position:absolute;right:5%;top:185px;width:79%;height:13px;z-index:1;
 border-radius:0 0 50% 50%;background:linear-gradient(#afc2ca,#556d79);
 transform:perspective(650px) rotateX(30deg) rotateZ(-3deg);
 box-shadow:0 14px 16px rgba(18,72,78,.14);
}
.workspace .ai-visual-glow{
 position:absolute;top:129px;right:69%;z-index:3;
 display:grid;place-items:center;width:63px;height:63px;
 background:linear-gradient(145deg,#0d4056,#0e8795);
 border:2px solid #7bebe1;border-radius:14px;
 box-shadow:0 7px 22px rgba(10,106,109,.4),inset 0 0 17px #4ed8ca;
 transform:rotate(-7deg);
}
.workspace .ai-visual-glow strong{font-size:26px;color:#aaffef;font-weight:850;text-shadow:0 0 13px #63f7e5}
.workspace .ai-visual-note{
 position:absolute;right:4%;bottom:13px;z-index:2;
 padding:7px 12px;border-radius:20px;background:rgba(255,255,255,.96);
 color:#08766a;font-size:9px;font-weight:750;letter-spacing:.4px;
 box-shadow:0 7px 19px rgba(30,88,91,.12);
}
.workspace .ai-premium-main{
 display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);
 gap:17px;align-items:stretch;
}
.workspace .ai-premium-panel{
 box-sizing:border-box;min-width:0;
 border:1px solid #dfe9ed;border-radius:17px;
 background:#fff;box-shadow:0 8px 22px rgba(21,52,67,.035);
 overflow:hidden;
}
.workspace .ai-premium-compose,.workspace .ai-premium-draft{padding:22px 22px 18px}
.workspace .ai-premium-card-head{
 display:flex;align-items:flex-start;gap:11px;min-width:0;
 margin-bottom:22px;
}
.workspace .ai-premium-card-icon{
 display:grid;place-items:center;flex:0 0 38px;
 width:38px;height:38px;border-radius:11px;
 background:#eaf6f2;color:#147e73;
}
.workspace .ai-premium-card-head>div{min-width:0}
.workspace .ai-premium-card-head h2{
 margin:1px 0 5px;font-size:19px;line-height:1.3;
 color:#173148;font-weight:760;letter-spacing:-.55px;
}
.workspace .ai-premium-card-head p{
 margin:0;color:#7d8f9c;font-size:11px;line-height:1.6;max-width:550px;
}
.workspace .ai-premium-field{min-width:0;margin-bottom:19px}
.workspace .ai-premium-field>.label{
 display:block;color:#1d3a4e;font-size:11px;font-weight:770;margin-bottom:9px;
}
.workspace .ai-premium-form select.input{
 box-sizing:border-box;width:100%;min-height:45px;padding:9px 12px;
 border:1px solid #dfe7ed;border-radius:9px;background:#fff;color:#264055;
 font-weight:600;font-size:11px;
}
.workspace .ai-premium-form textarea.input{
 box-sizing:border-box;display:block;width:100%;min-height:112px;
 padding:12px 13px;border:1px solid #dfe7ed;border-radius:9px;
 color:#263f50;font-size:12px;line-height:1.6;resize:vertical;
}
.workspace .ai-premium-form textarea::placeholder{color:#9cabba}
.workspace .ai-optional{color:#96a6b0;font-size:10px;font-weight:480}
.workspace .ai-premium-counter{display:block;text-align:right;color:#8297a5;font-size:10px;margin-top:5px}
.workspace .ai-premium-tones{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
.workspace .ai-premium-tones .ai-tone{
 display:flex;align-items:center;justify-content:center;gap:5px;
 min-width:0;min-height:38px;padding:8px 5px;
 border:1px solid #dde7ed;border-radius:8px;
 background:#f8fafb;color:#577083;font-size:10px;font-weight:700;
 cursor:pointer;white-space:normal;line-height:1.3;
 transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.workspace .ai-premium-tones .ai-tone.selected{
 background:#e9f7f3;border-color:#69b7a5;
 color:#096d62;box-shadow:inset 0 0 0 1px rgba(38,151,127,.22);
}
.workspace .ai-premium-tones .ai-tone:hover{border-color:#94c6b7;background:#f1faf7}
.workspace .ai-premium-generate{
 display:flex;justify-content:center;align-items:center;gap:10px;
 width:100%;min-height:47px;padding:12px 16px;border:0;border-radius:9px;
 background:linear-gradient(90deg,#04695f,#078a7c);color:white;
 font-size:12px;font-weight:780;cursor:pointer;
 box-shadow:0 6px 12px rgba(10,113,102,.14);
}
.workspace .ai-premium-generate:hover:not(:disabled){
 background:linear-gradient(90deg,#034b4a,#087267);
}
.workspace .ai-premium-generate:disabled{cursor:wait;opacity:.6}
.workspace .ai-premium-allowance{
 font-size:10px;line-height:1.65;color:#8298a4;margin:12px 0 0;
}
.workspace .ai-premium-draft{display:flex;flex-direction:column}
.workspace .ai-premium-draft-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.workspace .ai-draft-badge{
 display:inline-flex;align-items:center;padding:5px 9px;
 background:#e8f8ef;border-radius:99px;color:#2b9369;
 font-size:9px;letter-spacing:0;font-weight:760;
}
.workspace .ai-premium-editor-wrap{
 min-width:0;display:flex;flex:1 1 auto;flex-direction:column;
 border:1px solid #dfe7ec;border-radius:11px;overflow:hidden;background:#fff;
}
.workspace .ai-premium-toolbar{
 box-sizing:border-box;display:flex;align-items:center;gap:3px;flex-wrap:wrap;
 padding:7px 9px;background:#f7f9fb;border-bottom:1px solid #e9eef0;
}
.workspace .ai-editor-tool{
 box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:2px;
 width:30px;height:31px;padding:4px;
 border:0;border-radius:6px;background:transparent;color:#6d7f91;
 cursor:pointer;
}
.workspace .ai-editor-tool:hover:not(:disabled){background:#eaf4f1;color:#086e65}
.workspace .ai-editor-tool:disabled{opacity:.4;cursor:default}
.workspace .ai-editor-tool-label{font-size:12px;font-weight:800}
.workspace .ai-premium-toolbar-separator{height:21px;border-left:1px solid #dfe6e8;margin:0 5px}
.workspace .ai-premium-improve{
 display:inline-flex;align-items:center;gap:5px;
 min-height:29px;padding:6px 9px;
 margin-left:auto;border:1px solid #d3e5dd;border-radius:7px;
 background:#fff;color:#168775;font-weight:740;font-size:9px;cursor:pointer;
}
.workspace .ai-premium-improve:disabled{opacity:.48;cursor:not-allowed}
.workspace .ai-premium-editor{
 box-sizing:border-box;display:block;flex:1 1 auto;
 min-width:0;min-height:235px;max-height:440px;overflow-y:auto;
 padding:19px 18px;outline:0;
 color:#253446;font-size:12px;line-height:1.72;overflow-wrap:anywhere;
 white-space:normal;cursor:text;
}
.workspace .ai-premium-editor:focus-visible{outline:2px solid #6bb5a6;outline-offset:-4px}
.workspace .ai-premium-editor-empty{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 text-align:center;gap:9px;background:linear-gradient(#fff,#fafcfd);cursor:default;
}
.workspace .ai-premium-editor-empty svg{color:#72b3a6}
.workspace .ai-premium-editor-empty h3{margin:0;font-size:14px}
.workspace .ai-premium-editor-empty p{
 max-width:280px;margin:0;color:#8296a3;font-size:11px;line-height:1.6;
}
.workspace .ai-premium-draft-actions{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 flex-wrap:wrap;margin-top:16px;
}
.workspace .ai-premium-draft-actions-left,.workspace .ai-premium-draft-actions-right{
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.workspace .ai-premium-draft-actions .btn{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 border-radius:8px;font-weight:730;font-size:10px;min-height:36px;
}
.workspace .ai-premium-draft-actions .btn:disabled{opacity:.4;cursor:default}
.workspace .ai-premium-review-note{
 display:flex;align-items:flex-start;gap:7px;color:#8192a1;
 font-size:10px;line-height:1.55;margin:12px 0 0;
}
.workspace .ai-premium-review-note svg{flex:0 0 14px;margin-top:1px}
.workspace .ai-premium-bottom{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:16px;margin-top:17px;
}
.workspace .ai-premium-bottom .ai-premium-panel{padding:16px}
.workspace .ai-premium-bottom-header{
 display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px;
}
.workspace .ai-premium-bottom-header h2{
 display:flex;align-items:center;gap:8px;margin:0;color:#193447;font-size:14px;font-weight:760;letter-spacing:-.25px;
}
.workspace .ai-premium-bottom-header h2 svg{color:#087d75}
.workspace .ai-premium-bottom-header>span{color:#7e94a3;font-size:10px}
.workspace .ai-premium-template-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.workspace .ai-premium-template{
 box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
 min-height:82px;padding:10px 6px;border:1px solid #e5ebee;
 border-radius:9px;background:#fff;cursor:pointer;
 font-size:10px;font-weight:600;color:#526c7d;text-align:center;line-height:1.35;
}
.workspace .ai-premium-template svg{color:#496e82}
.workspace .ai-premium-template:hover{background:#f3faf7;border-color:#99cfc2;color:#087c71}
.workspace .ai-premium-template span{min-width:0;max-width:100%;overflow-wrap:break-word}
.workspace .ai-premium-recent-list{display:grid;gap:7px}
.workspace .ai-premium-recent{
 display:flex;align-items:center;gap:10px;min-width:0;
 text-align:left;cursor:pointer;width:100%;
 padding:10px;border:1px solid #e4ebef;border-radius:9px;background:#fcfdfd;
}
.workspace .ai-premium-recent:hover{border-color:#a1d1c4;background:#f5fbf8}
.workspace .ai-recent-icon{
 display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;
 background:#e9f5f2;border-radius:8px;color:#087d72;
}
.workspace .ai-premium-recent>span:nth-child(2){flex:1;min-width:0}
.workspace .ai-premium-recent b{
 display:block;color:#243c50;font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.workspace .ai-premium-recent small{display:block;color:#93a4b0;font-size:10px;margin-top:3px}
.workspace .ai-premium-recent em{font-size:9px;font-style:normal;color:#567487;background:#edf2f6;padding:5px 7px;border-radius:99px}
.workspace .ai-premium-recent-empty{
 display:grid;place-items:center;min-height:82px;color:#8b9eaa;
 font-size:11px;line-height:1.6;text-align:center;padding:10px;
}
.workspace .ai-premium-error{margin-bottom:12px}
@media(max-width:1420px){
 .workspace .ai-premium-hero-copy{width:72%}
 .workspace .ai-premium-visual{width:33%}
 .workspace .ai-premium-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .workspace .ai-premium-template-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1120px){
 .workspace .ai-premium-main{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .ai-premium-hero-copy{width:79%}
 .workspace .ai-premium-visual{opacity:.58}
 .workspace .ai-premium-draft-actions-right,.workspace .ai-premium-draft-actions-left{flex:1 1 auto}
}
@media(max-width:860px){
 .workspace .ai-premium-hero{padding:24px;min-height:0}
 .workspace .ai-premium-hero-copy{width:100%;max-width:none}
 .workspace .ai-premium-visual{display:none}
 .workspace .ai-premium-hero:before{opacity:.18}
 .workspace .ai-premium-main{grid-template-columns:minmax(0,1fr)}
 .workspace .ai-premium-bottom{grid-template-columns:minmax(0,1fr)}
 .workspace .ai-premium-template-list{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:560px){
 .workspace .ai-premium-hero{padding:19px 16px}
 .workspace .ai-premium-hero h1{font-size:27px;gap:7px}
 .workspace .ai-premium-hero h1 svg{width:28px;height:28px}
 .workspace .ai-premium-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .ai-premium-benefit-icon{width:32px;height:32px;flex-basis:32px}
 .workspace .ai-premium-compose,.workspace .ai-premium-draft{padding:16px}
 .workspace .ai-premium-tones{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .ai-premium-template-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .workspace .ai-premium-draft-actions-left,.workspace .ai-premium-draft-actions-right{flex:1 1 100%}
 .workspace .ai-premium-draft-actions .btn{flex:1 1 auto}
 .workspace .ai-premium-editor{min-height:215px}
 .workspace .ai-premium-improve{width:100%;margin:4px 0 0}
}
@media(prefers-reduced-motion:reduce){
 .workspace .ai-premium-tones .ai-tone,.workspace .ai-premium-template{transition:none}
}

/* Calendar now lives beside New request, rather than consuming sidebar space. */
.workspace .ws-header .ws-calendar-shortcut{
 display:inline-grid;place-items:center;flex:0 0 39px;
 box-sizing:border-box;width:39px;height:39px;padding:0;
 border:1px solid #dfe8ec;border-radius:10px;
 background:#fff;color:#496b7d;cursor:pointer;
 transition:color .16s ease,background .16s ease,border-color .16s ease;
}
.workspace .ws-header .ws-calendar-shortcut:hover,
.workspace .ws-header .ws-calendar-shortcut[aria-current="page"]{
 color:#087a70;background:#edf8f4;border-color:#9dd1c3;
}
.workspace .ws-header .ws-calendar-shortcut:focus-visible{
 outline:3px solid #5bb29f;outline-offset:3px;
}
@media(max-width:660px){
 .workspace .ws-header .ws-top-actions{gap:7px}
 .workspace .ws-header .ws-calendar-shortcut{flex-basis:34px;width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){
 .workspace .ws-header .ws-calendar-shortcut{transition:none}
}
